<!--#include file="../inc/conn2.asp" -->
<%
username=request("username")
set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from [com_user] where UserName='"&username&"' "
rs.open sql,conn,1,1

If rs.eof Then
Response.redirect"getpwderr.asp?content=用户名"
End If
%>
<html><head><title>取回密码 | 回答问题</title>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
*{margin:0; padding:0; -webkit-text-size-adjust:none;}
body{margin:0px; background:#fff;}
TD {color: #333; font-family:Verdana,tahoma,Arial; font-size:12px; line-height:180%;}
div {color: #333; font-family:Verdana,tahoma,Arial; font-size:12px; line-height:180%;}
A:link {COLOR: #171766; text-decoration:none;}
A:visited {COLOR: #171766; text-decoration:none;}
A:hover {Color: #F00; text-decoration:none; }
</style>
<script language="javascript">
<!--
function form1_onsubmit() {
if (document.form1.UserAnswer.value=="")
	{
	alert("请输入您的问题答案。")
	document.form1.UserAnswer.focus()
	return false
	}
}
// --></script>
</head>
<body topmargin="20" leftmargin="0" oncontextmenu="self.event.returnValue=false">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="padding:20px;">
    
<form method="POST" name="form1" language="javascript" onSubmit="return form1_onsubmit()" action="getpassword3.asp?username=<%=username%>">
<table border="0" cellpadding="10" cellspacing="1" width="100%" bgcolor="#cccccc" style="border-collapse: collapse" align="center">
<TR><TD height=30 align=center bgcolor="f2f2f2">第二步：请回答下列问题。</TD>
</TR>
<tr bgcolor="#ffffff"> 
<td height="100" >  
如果您忘记了注册邮箱，不能找回密码！请与我们客服联系取回您的密码!
<table border="0" cellpadding="0" width="99%" cellspacing="0" height="1" style="border-collapse: collapse" bordercolor="#111111">
<tr> 
<td width="100%" height="22">
填写您注册的邮箱：
</td>
</tr>
<tr> 
<td width="100%" height="1">邮箱：
<input class=wenbenkuang type="text" name="UserEmail" size="18">
<input class=go-wenbenkuang name="imageField" type="submit" value=" 下一步 " onFocus="this.blur()">
<p>&nbsp;</p>
</td>
</tr>

</table>
<p align="center"><a href="javascript:window.close()" class="1">关闭窗口</a></p>
</td>
</tr>
</table>
</form>

    </td>
  </tr>
</table>


<%     
conn.close     
set conn=nothing     
%>
</div>
</body>
</html>