<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="../../css/global.css" rel="stylesheet" type="text/css">
<link href="css/default.css" rel="stylesheet" type="text/css">
<script language="javascript" src="../../jquery/jquery.min.js" charset="UTF-8"></script>
<script language="javascript" src="../../jquery/Date.js" charset="UTF-8"></script>
<script language="javascript" src="../../jquery/utils.js" charset="UTF-8"></script>
</head>
<body>
<script src="../../jquery/jquery.formValidator_min.js" language="javascript" charset="UTF-8"></script>
<script src="../../jquery/jquery.formValidatorRegex.js" language="javascript" charset="UTF-8"></script>
<script language="javascript" src="../../jquery/jquery.uploadPreview.js" charset="UTF-8"></script>
<script src="../../jquery/jquery.corners.min.js" language="javascript" charset="UTF-8"></script>
<script src="../../jquery/jquery.ui.draggable.js" language="javascript" charset="UTF-8"></script>
<script src="../../jquery/jquery.hiAlerts-min.js" language="javascript" charset="UTF-8"></script>
<script language="javascript">
$(document).ready(function(){
$.formValidator.initConfig({formid:"form1",onerror:function(msg){alert(msg)},onsuccess:function(){
hiAlert('<center><font color=red>警告:请不要断开网络,正在从本机向服务器端传递数据!</font><br /><img src="../../ButtonImg/loading.gif" width=280></center>');return true;}
});
$("#AD_img").uploadPreview({width:120, height:120, imgDiv:"#imgDiv", imgType: ["bmp", "gif", "png", "jpg"], maxwidth:1920, maxheight: 1024 });
} );
</script>
<link href="../../jquery/css/jquery.hiAlerts.css" rel="stylesheet" type="text/css" media="screen" />
<link href="../../jquery/css/validator.css"rel="stylesheet" type="text/css" media="screen" />
<form action="myadmin.php?file=msg&active=upload" method="post" enctype="multipart/form-data" name="form1" id="form1" >
<div id="box">
<div id="boxTitle">上传广告图片</div>
<div id="boxInfo">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="26">标 题:
<input name="AD_title" type="text" id="AD_title" size="50" maxlength="60"></td>
<td rowspan="2"><div id="view_box"><div id="imgDiv"></div></div></td>
</tr>
<tr>
<td height="26">所属分类: <select name="AD_classid" id="AD_classid" style="width:220px">
<option value="1" >幻灯广告</option>
</select>
位置:
<input name="AD_order" type="text" id="AD_order" value="1" size="6" maxlength="4"></td>
</tr>
<tr>
<td height="26" colspan="2">链接地址:
<textarea name="AD_url" cols="60" rows="3" id="AD_url"></textarea></td>
</tr>
<tr>
<td height="26" colspan="2">图 片:
<input name="AD_img" type="file" id="AD_img" size="50">
<input name="AD_thumb" type="checkbox" id="AD_thumb" value="1" checked
onClick="thumbclk()">自动生成缩略图<div id="AD_imgTip"></div><script language="javascript">
function thumbclk()
{
if($("#AD_thumb").attr("checked")==true){
$("#thumbid").css('display','none');
}
else
{ $("#thumbid").css('display',''); }
}
</script></td>
</tr>
<tr>
<td height="26" colspan="2" id="thumbid" style="display:none">缩 略 图:
<input name="AD_img_thumb" type="file" id="AD_img_thumb" size="60"></td>
</tr>
<tr>
<td height="26" colspan="2" align="left">
<button class="btn" type="submit" ><img src="../../ButtonImg/uploAD.gif" /></button>
<input type="hidden" name="MAX_FILE_SIZE" size="5200000"></td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
- 1
- 2
- 3
- 4
- 5
- 6
前往页