admin_cardsadd2.asp
来自「国内第一数字点卡销售程序。功能强大。 完整无错!数据文件经MD5加密!经严格测」· ASP 代码 · 共 95 行
ASP
95 行
<!--#include file="conn.asp"-->
<%set rs=server.createobject("adodb.recordset")
if session("admin_rank")<>1 and session("admin_rank")<>4 then
response.write("<script>alert('您无权查看本页,SORRY!');window.location=('login.asp')</script>")
response.end
end if
if request("hw_id")<>"" then
hw_id=int(request("hw_id"))
end if
%>
<link rel="stylesheet" type="text/css" href="css.css">
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>欢迎进入后台管理</title>
</head>
<body style="background-color: #F0FBF1">
<table border="0" width="650" cellpadding="2" height="375" cellspacing="1">
<tr>
<td height="227" width="651" valign="top">
<p align="center" style="margin-top: 7; margin-bottom: 7"> <b><font color="#FF0000" size="4">录入卡号和密码</font></b><p align="left" style="margin-left: 50">卡号密码输入框,示例abcdefg
123456,每行一个卡号+空格(分隔符)+密码。
<div align="center">
<center> <form name="Form1" method="post" action="admin_cardsaddsave.asp">
<table border="0" width="99%" cellspacing="1" bgcolor="#C0C0C0" height="1" cellpadding="3">
<tr>
<td width="67%" bgcolor="#FFFFFF" height="45" align="center">
<b><font color="#800000">选择当前游戏卡:</font></b>
<select size="1" name="hw_id">
<%
sql="select * from hw where hw_cz='0'"
rs.open sql,conn,3,3
if rs.eof then
%>
<option value=""></option>
<%else
do while not rs.eof
if hw_id=rs("hw_id") then%>
<option value="<%=rs("hw_id")%>" selected><%=rs("hw_name")%></option>
<%else%>
<option value="<%=rs("hw_id")%>"><%=rs("hw_name")%></option>
<%end if
rs.movenext
loop
end if
rs.close%>
</select></td>
<td width="31%" bgcolor="#FFFFFF" height="45" valign="top">
</td>
</tr>
<tr>
<td width="67%" bgcolor="#FFFFFF" height="1" valign="top" align="center">
<textarea rows="30" name="SO" cols="55" style="background-color: #FFFFFF; border-style: solid; border-width: 1; padding: 1"></textarea>
</td>
</center>
<center>
</center>
<td width="31%" bgcolor="#FFFFFF" height="1" valign="top">
<font face="黑体" size="4" color="#FF0000">录入须知!</font><br>1、请在表单中输入点卡的卡号和密码,点卡和密码之间用空格隔开,最多20个空格;
类似如下:<br>
111111 222222<br>
333333 444444<br>
其中左边为卡号,右边的为密码<br>
<p>2、每行只能是一个卡号+空格+密码,否则只取第一个!</p>
<p>3、不能输入任何除字母、数字或“-”之外的任何字符。</p>
<p>4、卡号和密码的长度建议都不超过30位,输入完成后请仔细核对,以免重复或输错。</p>
<p>5、可从文本文档或Excel中复制卡号和密码。</p>
<p>6、密码为空的也必须输入字符,如“无密码”,否则无法录入</p>
<p>7、每次最好不要超过200张点卡,以免因为web表单传递限制导致出错。
</p>
</td>
</tr>
</table>
<center>
<p><input type="submit" value="提 交" name="subn" style="width: 55; height: 24; background-color: #FFCC99">
<input type="reset" value="重 填" name="reset" style="width: 55; height: 24"> </p>
<p> </p>
</form>
</center>
</div>
</td>
</tr>
</table>
</body>
</html>
<%set rs=nothing%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?