?? getpass_chk.asp
字號:
<!--#include file="conn.asp"-->
<!--#include file="const.asp"-->
<!--#include file="style.asp"-->
<img src="" width="1" height="3"><table cellpadding=0 cellspacing=1 border=0 width=770 bgcolor=#000000 align=center>
<TR align=middle>
<TD height=27 bgcolor="<%=tablebodycolor%>" align="center"><b><font color="#000000">找回密碼第三步</font></b></TD>
</TR>
<TR>
<TD align=center bgcolor="<%=tablebodycolor%>" height="20">
<%
username=request.form("username")
answer=request.form("answer")
set rs=server.createobject("adodb.recordset")
sql="select username,password,answer from user where username='"&username&"'"
rs.open sql,conn,1,1
if not rs.eof then
if answer=rs("answer") then
%>
<br>請重新設定您的新密碼!
<form name="form1" method="post" action="getpass_modify.asp">
<input type="password" name="password" size="20" maxlength="20">
<br>
<input type="password" name="password2" size="20" maxlength="20">
<input type="hidden" name="username" value="<%=username%>">
<br><br>
<input type="submit" value="提 交">
<input type="reset" value="清 空">
</form>
<%else
response.write "<br>對不起,回答錯誤!"
end if
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
</TD>
</TR>
<TR>
<TD align=center bgcolor="<%=tablebodycolor%>" height="22"><a href=javascript:history.go(-1)>返回上一頁</a></TD>
</TR>
</TABLE>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -