📄 --adrot_add.asp
字号:
<!--#include file="data.asp"-->
<%@ codepage ="936" %>
<%
if instr(session("flag"),"62")=0 then
response.write "<SCRIPT language=JavaScript>alert('对不起,你没有权限打开此页!');"
response.write"this.location.href='../login.asp';</SCRIPT>"
response.end
end if
%>
<!--#include file="../../conn/dbconn2.asp" -->
<link rel="stylesheet" type="text/css" href="../style.css">
<script language="javascript" src="ShowProcessBar.js"></script>
<head><title>添加文件</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="Css.css" rel=stylesheet>
</head>
<BODY background="../../images/adbj.gif">
<Script Language="javaScript">
function validate()
{
if (document.myform.src.value=="")
{
alert("链接地址不能为空");
document.myform.src.focus();
return false ;
}
if (document.myform.content.value=="")
{
alert("说明不能为空");
document.myform.content.focus();
return false ;
}
if (document.myform.height.value=="")
{
alert("高度不能为空");
document.myform.height.focus();
return false ;
}
if (document.myform.width.value=="")
{
alert("宽度不能为空");
document.myform.width.focus();
return false ;
}
}
</Script>
<form method="post" action="adrot_save.asp" enctype="multipart/form-data" name=myform onSubmit='return validate()'>
<div align="center">
<br>
<div align="center">
<center>
<TABLE border=1 bordercolorlight='#53A9FF' bordercolordark=#53A9FF cellspacing=1 cellpadding=2 width="450" style="border-collapse: collapse" bordercolor="#111111">
<TR>
<TD height=20 width=73 align="center" bgcolor="#EEF7FF">链接地址</TD>
<TD height=20 width="371" bgcolor="#EEF7FF">
<INPUT name="url"
size=30 value="http://">
</TD>
</TR>
<TR>
<TD height=20 width=73 align="center" bgcolor="#EEF7FF">
广告说明</TD>
<TD height=20 width="371" bgcolor="#EEF7FF">
<TEXTAREA cols=40 name="content" rows=6 class="txt" style="overflow:auto"></TEXTAREA>
</TD>
</TR>
<tr>
<TD height=20 width=73 align="center" bgcolor="#EEF7FF">广告类型:</TD>
<td height="16" width="371" bgcolor="#EEF7FF">
<select name="type" style="height:18px;font-size:9pt">
<option value="GIF" selected>Gif</option>
<option value="SWF">Swf</option>
</select>
广告长宽:
<input type="text" name="width" size=2 value="468">
×
<input type="text" name="height" size=1 value="60">
</td>
</tr>
<tr>
<TD height=20 width=73 align="center" bgcolor="#EEF7FF"> 广告</TD>
<td height="16" width="371" bgcolor="#EEF7FF">
<input type="file" name="src" size="20" value="浏览">
<input type="submit" value="发布上传" name="B1" onclick="window.opener.location.href='adrot.asp';window.close();" style="font-size: 9pt; ">
</td>
</tr>
</table>
</center>
</div>
</div></form></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -