📄 p2smodify.asp
字号:
<%@ LANGUAGE = VBScript %>
<!--#include file="conn.asp"-->
<!--#include file="checklogin.asp"-->
<%
rs.Open "Select * From p2s 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="100%" 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 height="30" align="center">编号</td>
<td height="30" align="center">序号</td>
<td height="30" align="center">名称</td>
<td height="30" align="center">连接</td>
<td height="30" align="center">图片连接</td>
<td height="30" align="center">文字描述</td>
<td height="30" align="center">类型</td>
<td height="30" align="center">价值</td>
<td height="30" align="center">注册人数</td>
<td height="30" align="center">注册限制</td>
<td height="30" align="center">所有者</td>
<td height="30" align="center">有效性</td>
<td height="30" align="center">注册周期</td>
<td height="30" align="center">注册总人数</td>
<td height="30" align="center">注册分组</td>
<td height="30" align="center">点击分组</td>
<td height="30" align="center">用户优先级</td>
<td height="30" align="center">修改</td>
</tr>
<%
While Not rs.EOF
P2SID = rs ("ID")
OrderNo = rs ("OrderNo")
P2SName = rs ("P2SName")
P2SLink = rs ("P2SLink")
P2SImg = rs ("P2SImg")
P2SText = rs ("P2SText")
P2SType = rs ("P2SType")
P2SValuation = rs ("P2SValuation")
P2SSignup = rs ("P2SSignup")
P2SLimit = rs ("P2SLimit")
P2SOwner = rs ("P2SOwner")
P2SValid = rs ("P2SValid")
P2SPeriod = rs ("P2SPeriod")
P2sTotalSignup = rs ("P2sTotalSignup")
P2SGroup = rs ("P2SGroup")
GroupForP2C = rs ("GroupForP2C")
MemberPriority = rs ("MemberPriority")
%>
<form method="POST" action="p2smodify_do.asp">
<tr><td width="100%" colspan="12"><input type="hidden" name="P2SName" value="<%= P2SName %>"></td></tr>
<tr>
<td height="30" align="center"><%= P2SID %></td>
<td height="30" align="center"><input type="text" name="OrderNo" size="3" value="<%= OrderNo %>"></td>
<td height="30" align="center"><input type="text" name="P2SName2" size="5" value="<%= Right (P2SName, Len (P2SName) - 4) %>"></td>
<td height="30" align="center"><input type="text" name="P2SLink" size="5" value="<%= P2SLink %>"></td>
<td height="30" align="center"><input type="text" name="P2SImg" size="5" value="<%= P2SImg %>"></td>
<td height="30" align="center"><textarea rows="2" name="P2SText" cols="10"><%= P2SText %></textarea></td>
<% If P2SType = "Points" Then %>
<td height="30" align="center"><select size="1" name="P2SType">
<option selected>Points</option>
<option>Dollars</option>
</select></td>
<% Else %>
<td height="30" align="center"><select size="1" name="P2SType">
<option>Points</option>
<option selected>Dollars</option>
</select></td>
<% End If %>
<td height="30" align="center"><input type="text" name="P2SValuation" size="3" value="<%= P2SValuation %>"></td>
<td height="30" align="center"><input type="text" name="P2SSignup" size="3" value="<%= P2SSignup %>"></td>
<td height="30" align="center"><input type="text" name="P2SLimit" size="3" value="<%= P2SLimit %>"></td>
<td height="30" align="center"><input type="text" name="P2SOwner" size="5" value="<%= P2SOwner %>"></td>
<% If P2SValid = True Then %>
<td height="30" align="center"><input type="checkbox" name="P2SValid" value="ON" checked></td>
<% Else %>
<td height="30" align="center"><input type="checkbox" name="P2SValid" value="ON"></td>
<% End If %>
<% If P2SPeriod = 1 Then %>
<td height="30" align="center"><select size="1" name="P2SPeriod">
<option value="-1">只能一次</option>
<option value="1" selected>每天一次</option>
</select></td>
<% Else %>
<td height="30" align="center"><select size="1" name="P2SPeriod">
<option value="-1" selected>只能一次</option>
<option value="1">每天一次</option>
</select></td>
<% End If %>
<td height="30" align="center"><input type="text" name="P2sTotalSignup" size="3" value="<%= P2sTotalSignup %>"></td>
<td height="30" align="center"><input type="text" name="P2SGroup" size="3" value="<%= P2SGroup %>"></td>
<td height="30" align="center"><input type="text" name="GroupForP2C" size="3" value="<%= GroupForP2C %>"></td>
<td height="30" align="center"><input type="text" name="MemberPriority" size="3" value="<%= MemberPriority %>"></td>
<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 + -