📄 changepwd.asp
字号:
<link href="style.css" type="text/css" rel="stylesheet">
<!--#include file="conn.asp"-->
<%
'确认原密码
dim id
id=request("uid")
if request("pwd")<>"" then
if request("utype")<>"3" then 'utpye=3 admin
sql1="select * from u where id="&id
else
sql1="select * from admin where id="&id
end if
set rs1=db.execute(sql1)
if request("pwd")=rs1("pwd") then
response.Redirect("pwd2.asp?uid="&id&"&utype="&request("utype"))
else
response.write "<script>alert('原密码错误');history.go(-1)</script>"
end if
else
%><div><form action="" method="post">确认原密码
<input name="pwd" type="password" size="15" >
<input type="submit" value="确认">
<input type="reset" value="重置">
</form></div>
<%end if %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -