📄 sponsoradd.asp
字号:
<%@ LANGUAGE = VBScript %>
<!--#include file="conn.asp"-->
<!--#include file="checklogin.asp"-->
<%
rs.Open "Select * From config",Conn
EmailAddress = rs ("EmailAddress")
rs.Close
Set rs = nothing
Conn.Close
Set Conn = nothing
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link REL="StyleSheet" HREF="../tjscripts.css" TYPE="text/css" MEDIA="screen">
<title><%= SiteTitle %>后台管理系统</title>
</head>
<body topmargin="0" leftmargin="0">
<div align="center">
<table border="1" cellspacing="1" width="760" bordercolor="#0033CC">
<tr>
<td width="100%" height="31" bgcolor="#FFCC00"><b>增加首页广告</b></td>
</tr>
<tr>
<td width="100%">
<form method="POST" action="sponsoradd_do.asp">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="99%">
<tr>
<td width="100%" height="30" colspan="2" align="center">请输入要增加的首页广告信息</td>
</tr>
<tr>
<td width="25%" height="30" align="center">首页广告名称:</td>
<td width="75%" height="30"><input type="text" name="SponsorName" size="20"></td>
</tr>
<tr>
<td width="25%" height="30" align="center">首页广告类型:</td>
<td width="75%" height="30">
<select size="1" name="SponsorType">
<option selected>Logo</option>
<option>Text</option>
</select>
</td>
</tr>
<tr>
<td width="25%" height="30" align="center">首页广告连接:</td>
<td width="75%" height="30"><input type="text" name="SponsorLink" size="40"></td>
</tr>
<tr>
<td width="25%" height="30" align="center">首页广告图片连接:</td>
<td width="75%" height="30"><input type="text" name="SponsorImg" size="40"></td>
</tr>
<tr>
<td width="25%" height="30" align="center">首页广告文字:(选填)</td>
<td width="75%" height="30"><textarea rows="5" name="SponsorText" cols="35"></textarea></td>
</tr>
<tr>
<td width="25%" height="30" align="center">首页广告开始日期:</td>
<td width="75%" height="30"><input type="text" name="SponsorBeginDate" size="10" value="<%= Date() %>"></td>
</tr>
<tr>
<td width="25%" height="30" align="center">首页广告结束日期:</td>
<td width="75%" height="30"><input type="text" name="SponsorEndDate" size="10"></td>
</tr>
<tr>
<td width="25%" height="30" align="center">首页广告所有者:</td>
<td width="75%" height="30">
<input type="text" name="SponsorOwner" size="20" value="<%= EmailAddress %>"></td>
</tr>
<tr>
<td width="25%" height="30" align="center">首页广告有效性</td>
<td width="75%" height="30"><input type="checkbox" name="SponsorValid" value="True" checked></td>
</tr>
<tr>
<td width="100%" height="30" align="center" colspan="2"></td>
</tr>
<tr>
<td width="100%" height="30" align="center" colspan="2">
<input type="submit" value="增加首页广告" name="Button"></td>
</tr>
</table>
</div>
</form>
</td>
</tr>
<tr>
<td width="100%" align="center"><a href="javascript:history.back();"><b>返回</b></a></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -