📄 add.asp
字号:
<%@ codepage ="936" %><%if instr(session("flag"),"61")=0 thenresponse.write "<SCRIPT language=JavaScript>alert('对不起,你没有权限打开此页!');"response.write"this.location.href='../login.asp';</SCRIPT>" response.endend if%><!--#include file="../../conn/dbconn2.asp" --><!--#include file="../config.asp"--><link rel="stylesheet" type="text/css" href="../style.css"><body bgcolor="#FFFFFF" marginheight=0 marginwidth=0 leftmargin=0><script LANGUAGE="JavaScript">function check(){if (document.Form1.file.value==""){alert("请选择您要上传图片的文件!")document.Form1.file.focus()document.Form1.file.select()return}if (document.Form1.type1.value==""){alert("请选择广告类型!")document.Form1.type1.focus()document.Form1.type1.select() return}if (document.Form1.web.value==""){alert("请输入链接网址!")document.Form1.web.focus()document.Form1.web.select() return}if (document.Form1.bz.value==""){alert("请选择要链接的页面!")document.Form1.bz.focus()document.Form1.bz.select() return}document.Form1.submit()}</SCRIPT><%dim rsdim sqlset rs=server.createobject("adodb.recordset") sql="select * from link order by LinkID"rs.open sql,conn,1,1 showContentrs.close set rs=nothingsub showContent%><CENTER><BR><TABLE width="151" border="0" cellpadding="0" cellspacing="0"><TR> <TD width="131" class="f12" height="2" align="center"><font color="#Ff6600"><b>添加</b></font><font color="#FF6600"><b>广告服务</b></font></TD><TD width="20" height="2"> </TD></TR></TABLE><BR><BR><TABLE width="600" border="0" align="center" cellpadding="0" cellspacing="0" height=200><TR><TD><CENTER><FORM METHOD="POST" ACTION="LinkADD.asp" NAME="Form1" enctype="multipart/form-data" ><input type="hidden" name="filepath" value="<%=picurl%>"><table width="460" border="0" cellpadding="2" cellspacing="3" style="border-collapse: collapse" bordercolor="#111111"><tr><td align="left" height="25" width="73">广告位置:</td><td width="378"><input type=file name=file size="40" class="smallInput"><font color="#ff6600"><br>(要求:gif、jpg格式或wsf格式,文件大小不超过150K)</font></td></tr><tr> <td align="left" height="25" width="73">广告类型:</td><td width="378"><select name="type1" style="height:18px;font-size:9pt"><option selected>请选择</option><option value="GIF">Gif</option><option value="SWF">Swf</option></select> <font color="#ff6600">(gif包括jpg格式)</font></td></tr><tr> <td align="left" height="25" width="73">网站URL:</td><td width="378"><input type=text name="web" size="60" class="smallInput" value="http://"></td></tr><tr> <td align="left" height="25" width="73">简要说明:</td><td width="378"><input type=text name="deseriptor" size="60" class="smallInput"></td></tr><tr> <td align="left" height="25" width="73">链接位置:</td><td width="378"><select name="bz" style="font-size: 9pt"> <option selected>选择链接页面</option><option value=0>热点广告通栏(0)</option><option value=1>动态飘浮广告(1)</option><option value=2>产品展示页面(2)</option><option value=3>首页logo广告(3)</option><option value=4>弹出窗口广告(4)</option><option value=5>友情链接页面(5)</option><option value=6>本站会员广告(6)</option><option value=7>网站首页标幅(7)</option><option value="8">首页热点推荐(8)</option><option value="9">竖型标幅广告(9)</option><option value="10">标幅(供求商机)(10)</option><option value="11">标幅(产品展示)(11)</option><option value="12">标幅(企业名录)(12)</option><option value="13">标幅(行业信息)(13)</option></select></font></td></tr><tr><td colspan="2" width="444"><input type="hidden" name="abc"></td></tr><tr> <td height="40" align="center" colspan="2" width="444"> <input type="button" value="增 加" class="smallInput" onclick="check()"> <input type="button" value="返 回" class="smallInput" onclick=javascript:history.go(-1)></td></tr></table></FORM></td></tr></table></center><p> </p><%end sub%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -