<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
<title>asp User Password Retrieve </title>
<link href= "inc/css tutorial. css" rel= "stylesheet" type= "Text/css"/>
<body>
<table width= "border=" 0 "align=" center "cellpadding=" 0 "cellspacing=" 0 ">
<tr>
<TD width= "190" rowspan= "2" align= "center" ></td >
<TD height= "colspan=" 2 "align=" center "valign=" Bottom "> </td>
</tr>
<tr>
<TD width= "186" align= "center" valign= "Bottom" > </td>
<TD width= "424" align= "center" valign= "bottom" ><table width= "98%" border= "0" cellpadding= "0" cellspacing= "0" >
<tr>
<TD width= "2%" background= "bgpic/4.gif" ></td>"
<TD width= "align=" "Center" valign= "Middle" background= "Bgpic/4.gif" class= "Doman" ><a href= "user.asp" class= "Doman" > Login </a> | <a href= "reg.asp" ><span class= "Doman" > Registration </span></a> | <a href= "findpwd.asp" target= "_blank" class= "style7" > Retrieve password </a> | <a href= "help.html" target= "_blank" class= "Doman" > Use Help </a> | <a href= "http://www.gero.cn" target= "_blank" class= "Doman" > Strength old Home </a></td>
<TD width= "3%" ></tr>
</table></td>
</tr>
</table>
<table width= "border=" 0 "align=" center "cellpadding=" 0 "cellspacing=" 1 "bgcolor=" #0099ff ">
<tr>
5
<TD height= "246" align= "center" bgcolor= "#ECF3F9" ><table width= "780" height= "173" border= "0" cellpadding= "0" >
<tr>
<TD height= "169" align= "center" valign= "Middle" bgcolor= "#FFFFFF" ><table width= "" height= "" 0 "border=" cellpadding= "0" >
<tr>
<TD height= "></td>"
</tr>
</table>
<table width= "574" border= "0" cellpadding= "0" >
<tr>
<TD width= "570" align= "center" bgcolor= "#E9F0F8" class= "Style17" ><table width= "570" border= "0" cellpadding= " 0 "cellspacing=" 0 "bgcolor=" #E9F0F8 ">
<form name= "Form1" Id= "Form1" method= "Post" action= "" > <tr valign= "Top" bgcolor= "#FFFFFF" >
<TD height= "colspan=" 3 "align=" center "class=" Caption_dark "><table width=" 522 "border=" 0 "cellpadding=" 0 "cellspacing=" 0 ">
<tr>
<TD width= "Ten" ></td>"
<TD width= "background=" bgpic/getpass2.gif ><font color= "#fe8301" >1, enter user name </font></td>
<TD width= "One" ></td>"
<TD width= "8" > </td>
<TD width= "Ten" ></td>"
<TD width= "161" background= "Bgpic/getpass2.gif" >2, choose password Questions, fill in the answers </td>
<TD width= "One" ></td>"
<TD width= "One" > </td>
<TD width= "Ten" ></td>"
<TD width= "align=" "Center" background= "Bgpic/getpass2.gif" >3, confirmation information </td>
<TD width= "One" ></td>"
<TD width= "> </td>"
<TD width= "Ten" ></td>"
<TD width= "align=" "Center" background= "Bgpic/getpass2.gif" >4, Success </td>
<TD width= "One" ></td>"
</tr>
</table></td>
</tr>
<tr>
<TD width= "194" height= "align=" "Center" > Username:</td>
<TD width= "374" colspan= "2" >
<input name= "name" type= "text" class= "Button3" id= "name"/>
<span class= "BT2" >*</span> Enter user name to retrieve password </td>
</tr>
<tr>
<TD height= "align=" "Center" > Choice Problem:</td>
<TD height= "colspan=" "2" >
<select name= "name1" id= "name1" >
<option value= "What do I have a name for?" "> Do I have a name?" </option>
<option value= "What's my cell phone number?" "> What's My mobile number?" </option>
<option value= "What's my favorite?" "> What is my favorite thing?" </option>
<option value= "What's my wife's name?" "> What's my wife's name?" </option>
<option value= "Where is my home address?" "> Where is my home address?" </option>
<option value= "My birthday?" "> My birthday?" </option>
</select>
<span class= "BT2" >*</span> Choose your question for registration </td>
</tr>
<tr>
<TD height= align= "center" > Fill in the Answers:</td>
<TD height= "colspan=" "2" >
<input name= "name2" type= "text" class= "Button3" id= "name2"/>
<span class= "BT2" >* your registration is the answer to fill out </span></td>
</tr>
<tr>
<TD height= "align=" "Center" > Verification Code:</td>
<TD height= "colspan=" "2" >
<input name= "Name3" type= "text" class= "Button3" id= "Name3" size= "/>"
<span class= "Style7" > according to this input verification code </span>: <span class= "BT2" >*</span><span class= "Style7" > Prevent malicious program attacks </span> </td>
</tr>
<TR align= "center" >
<TD height= "colspan=" 3 "><input name=" Submit "type=" Submit "class=" TOMG "value=" Confirm "/>
</td>
</tr>
</form>
</table></td>
</tr>
</table>
<table width= "height=" border= "0" cellpadding= "0" >
<tr>
<td><% Dim Sql,user,an,qn,ver
User=html_encode (Request. Form ("name")
An=html_encode (Request. Form ("name1"))
Qn=html_encode (Request. Form ("name2"))
Ver=html_encode (Request. Form ("Name3"))
' Response.Write (ver)
' Response.End
If Len (user) >4 and Len (an) >4 and Len (QN) >2 and Len Ver =4
If not IsNumeric (ver) Then
Response. Write ("<b><font=red> Authentication code Error!) </b></font> ")
Response.End
End If
Sql= "SELECT * from Reg where username= '" &user& "' and pwd_q= '" &an& "' and pwd_an= '" &qn& "'"
Call Opensql ()
Set Sqlrs=sqlcn.execute (SQL)
If Sqlrs.eof Then
Response.Write "<div Align=center><b><font color=red> The information entered is incorrect! </b></font></div> "
Else
Response.Write ("<div align=center> your password is: <b><font color=red>" &sqlrs ("password") & "</b ></font> please remember your password! </div> ")
End If
End If
%></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>