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

📄 user_edithbchk.asp

📁 信息管理系统 管理页面:admin/index.asp 用户和密码都是admin
💻 ASP
字号:
<!--#include file=conn.asp-->
<!--#include file=cookies.asp-->
<link rel="stylesheet" type="text/css" href="../1.CSS">
<%
dim rs,sql,id,username,email,hb,jf
id=trim(request("id"))
hb=trim(request("hb"))
jf=trim(request("jf"))
if not isnumeric(jf) or jf="" then
response.write "<li>积分只能为数字!"
cl
response.end
end if
if not isnumeric(hb) or hb="" then
response.write "<li>货币只能为数字!"
cl
response.end
end if
if not isnumeric(id) or id="" then
response.write "<li>参数错误!"
cl
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select hb,jf from [user] where id="&id
rs.open sql,conn,1,3
if rs.eof or rs.bof then
response.write "<li>参数错误!"
cl
response.end
end if
rs("jf")=jf
rs("hb")=hb
rs.update
rs.close
set rs=nothing
closedb
response.write "<li>修改积分成功!"
call cl()
%>
<%sub cl()%>
<body onLoad="setTimeout(window.close, 2000)">
<%end sub%>

⌨️ 快捷键说明

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