?? changepwd.asp
字號(hào):
<link href="style.css" type="text/css" rel="stylesheet">
<!--#include file="conn.asp"-->
<%
'確認(rèn)原密碼
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('原密碼錯(cuò)誤');history.go(-1)</script>"
end if
else
%><div><form action="" method="post">確認(rèn)原密碼
<input name="pwd" type="password" size="15" >
<input type="submit" value="確認(rèn)">
<input type="reset" value="重置">
</form></div>
<%end if %>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -