⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user_editdj.asp

📁 个人网站系统,本人基于第三方源码进行更改!
💻 ASP
字号:
<!--#include file=conn.asp-->
<!--#include file=cookies.asp-->
<%
dim rs,sql,id
id=trim(request("id"))
if not isnumeric(id) or id="" then
response.write "<li>参数错误!"
response.end
end if
set rs = Server.CreateObject("ADODB.RecordSet")
sql="select a,b,c,d from [user] where id="&cstr(id)
rs.open sql,conn,1,1
%>
<meta http-equiv="Content-Language" content="zh-cn">
<link href="inc_style.css" rel="stylesheet" type="text/css">
<title>修改道具数量</title>
<body topmargin="0" leftmargin="0">
<div align="center">
  <center>
  <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#CCCCCC" width="180" height="35">
    <form action="user_editdjchk.asp?id=<%=id%>" method="POST">
    <tr>
      <td width="80" height="25">
      <p align="center"><font color="#FF0000">颜色道具:</font></td>
      <td width="101" height="25">
      <input type="text" name="a" size="10" value="<%=rs("a")%>" maxlength="10">
      <font color="#FF0000">个</font></td>
    </tr>
    <tr>
      <td width="80" height="25">
      <p align="center"><font color="#FF0000">置顶道具:</font></td>
      <td width="101" height="25">
      <input type="text" name="b" size="10" value="<%=rs("b")%>" maxlength="10">
      <font color="#FF0000">个</font></td>
    </tr>
    <tr>
      <td width="80" height="25">
      <p align="center"><font color="#FF0000">图片道具:</font></td>
      <td width="101" height="25">
      <input type="text" name="c" size="10" value="<%=rs("c")%>" maxlength="10">
      <font color="#FF0000">个</font></td>
    </tr>
    <tr>
      <td width="80" height="25">
      <p align="center"><font color="#FF0000">验证道具:</font></td>
      <td width="101" height="25">
      <input type="text" name="d" size="10" value="<%=rs("d")%>" maxlength="10">
      <font color="#FF0000">个</font></td>
    </tr>
    <tr>
      <td width="80" height="6"></td>
      <td width="101" height="6">
      <p align="center">
      <input type="submit" value="提交" name="B1" style="color: #FFFFFF; border: 1px solid #000000; background-color: #666666"></td>
    </tr>
    <tr>
      <td width="181" height="6" colspan="2">
      <p align="center"><font color="#FF0000">全部必须为数字</font></td>
    </tr>
    </form>
  </table>
  </center>
</div>
<%
rs.close
set rs=nothing
closedb
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -