📄 p2rmodify.asp
字号:
<%@ LANGUAGE = VBScript %>
<!--#include file="conn.asp"-->
<!--#include file="checklogin.asp"-->
<%
rs.Open "Select * From p2r order by ID",Conn
%>
<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%">
<div align="center">
<table border="1" cellspacing="1" width="100%" bordercolor="#A50F18">
<tr>
<td width="8%" height="30" align="center">广告编号</td>
<td width="8%" height="30" align="center">广告名称</td>
<td width="10%" height="30" align="center">发送时间</td>
<td width="10%" height="30" align="center">广告连接</td>
<td width="8%" height="30" align="center">广告类型</td>
<td width="8%" height="30" align="center">广告时间</td>
<td width="8%" height="30" align="center">广告价值</td>
<td width="8%" height="30" align="center">广告点击次数</td>
<td width="8%" height="30" align="center">广告点击限制</td>
<td width="8%" height="30" align="center">广告所有者</td>
<td width="8%" height="30" align="center">广告有效性</td>
<td width="8%" height="30" align="center">修改</td>
</tr>
<%
While Not rs.EOF
P2RID = rs ("ID")
P2RName = rs ("P2RName")
InboxSendTime = rs ("InboxSendTime")
P2RLink = rs ("P2RLink")
P2RType = rs ("P2RType")
P2RTime = rs ("P2RTime")
P2RValuation = rs ("P2RValuation")
P2RVisit = rs ("P2RVisit")
P2RLimit = rs ("P2RLimit")
P2ROwner = rs ("P2ROwner")
P2RValid = rs ("P2RValid")
%>
<form method="POST" action="p2rmodify_do.asp">
<tr><td colspan="12"><input type="hidden" name="P2RName" value="<%= P2RName %>"></td></tr>
<tr>
<td height="30" align="center"><%= P2RID %></td>
<td width="9%" height="30" align="center"><input type="text" name="P2RName2" size="5" value="<%= Right (P2RName, Len (P2RName) - 4) %>"></td>
<td height="30" align="center"><%= InboxSendTime %></td>
<td height="30" align="center"><input type="text" name="P2RLink" size="8" value="<%= P2RLink %>"></td>
<% If P2RType = "Points" Then %>
<td height="30" align="center"><select size="1" name="P2RType">
<option selected>Points</option>
<option>Dollars</option>
</select></td>
<% Else %>
<td height="30" align="center"><select size="1" name="P2RType">
<option>Points</option>
<option selected>Dollars</option>
</select></td>
<% End If %>
<td height="30" align="center"><input type="text" name="P2RTime" size="5" value="<%= P2RTime %>"></td>
<td height="30" align="center"><input type="text" name="P2RValuation" size="5" value="<%= P2RValuation %>"></td>
<td height="30" align="center"><input type="text" name="P2RVisit" size="5" value="<%= P2RVisit %>"></td>
<td height="30" align="center"><input type="text" name="P2RLimit" size="5" value="<%= P2RLimit %>"></td>
<td height="30" align="center"><input type="text" name="P2ROwner" size="10" value="<%= P2ROwner %>"></td>
<% If P2RValid = True Then %>
<td height="30" align="center"><input type="checkbox" name="P2RValid" value="ON" checked></td>
<% Else %>
<td height="30" align="center"><input type="checkbox" name="P2RValid" value="ON"></td>
<% End If %>
<td height="30" align="center">
<input type="submit" value="修改" name="Button"></td>
</tr>
</form>
<%
rs.MoveNext
Wend
rs.Close
Set rs = nothing
Conn.Close
Set Conn = nothing
%>
</table>
</div>
</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 + -