📄 addnew.asp
字号:
<html>
<head>
<title>增加图片新闻</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../shop/.css" type="text/css">
<link rel="stylesheet" href="../shop/admin/.css" type="text/css">
<link rel="stylesheet" href="../images/font.css" type="text/css">
<script language="javascript">
function switches(content)
{
whichDiv=event.srcElement;
if (content.style.display=="none")
{content.style.display="";
whichDiv.src="flash";
}
else
{
content.style.display="none";
whichDiv.src="img";
}
}
function isok(theform)
{
if (theform.newspic.value=="")
{
alert("动画不能为空!")
theform.newspic.focus();
return false;
}
}
</script>
</head>
<body text="#B2B2F9" background="../images/bgpic.gif">
<br>
<table border="0" width="450" align=center>
<tr>
<td width="100%"><font color="#666666">增加广告动画</font></td>
</tr>
<tr>
<td width="100%"> <hr size="1"> </td>
</tr>
<tr>
<td width="100%"></td>
</tr>
</table>
<table width="450" border="0" cellspacing="2" cellpadding="5" align="center">
<form name="form1" method="post" action="Addnews_submit.asp" enctype="multipart/form-data" onSubmit="return isok(this)">
<tr bgcolor="">
<td width="20%" align="right" class="unnamed1"><font color="#666666">动画类型:</font></td>
<td class="unnamed1"><select name="classid" id="classid" class="button" onChange="switches(typeJG)">
<option value="img" selected>Images 图片</option>
<option value="flash">Flash 动画</option>
</select>
<span class="tt3_1"><font color="#FF0000"><strong>(* W-180PX; H-52PX)</strong></font></span></td>
</tr>
<tr id=typeJG style="DISPLAY:">
<td width="20%" align="right" class="unnamed1"><font color="#666666">链 接: </font></td>
<td class="unnamed1"><input name="urlpath" type="text" class="button" id="urlpath" value="http://" size="40"></td>
</tr>
<tr bgcolor="">
<td align="right" width="20%" class="unnamed1"><font color="#666666">广告动画</font>:</td>
<td width="73%" class="unnamed1"> <input type="file" name="newspic" size="30" class="button" >
<input type="hidden" name="image" value="../manage/image"> </td>
</tr>
<tr bgcolor="">
<td align="right" width="20%" class="unnamed1"> </td>
<td width="73%" class="unnamed1"> <br>
<input type="submit" name="Submit3" value="添加" class="button">
<input type="reset" name="Submit22" value="取消" class="button"> </td>
</tr>
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -