📄 user_save.asp
字号:
<!--#include file="admin.asp"-->
<!--#include file="../inc/md5.asp"-->
<%
chk_admin_login(2)
userid=request.Form("usernum")
sql="select * from [user] where userid="&userid
rs.open sql,conn,1,3
rs("star")=Request.Form("star")
rs("isgood")=Request.Form("isgood")
if Request.Form("adddays")<>"" then rs("stopdate")=rs("stopdate")+Request.Form("adddays")
rs("siteimg")=Request.Form("siteimg")
rs("money")=Request.Form("money")
rs("point")=Request.Form("point")
rs("space")=Request.Form("space")
rs("asp")=Request.Form("asp")
if request.form("password")<>rs("password") then
rs("password")=md5(request.form("password"))
end if
rs.update
rs.close
set rs=nothing
response.write"<script>alert('用户资料修改成功!');location.href='user_admin.asp'</script>"
response.end
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -