<!--#include file="../Include/Conno.asp" -->
<!--#include file="../Include/char.asp" -->
<!--#include file="../Include/const.asp" -->
<%
If Request.ServerVariables("REQUEST_METHOD")="POST" then
 'If UserName Repeat
 m_UserName = checkStr(Trim(Request.Form("txtUserName")))
 m_Sql="Select * From T_Member where F_UserName='" & m_UserName & "'"
 Set rs = conn.Execute(m_Sql)
 If rs.Eof then
     rs.Close
	 CloseDatabase
	 Response.Write "<script>alert('对不起，由于不存在该用户名，所以无法进行下一步操作！');history.back();</Script>"
	 Response.End()
 else
   m_Question = Trim(rs("F_Question"))
 End if
 rs.Close
 CloseDatabase
End if
%>
<html>
<head>
<title>会员俱乐部取回密码（第二步：回答问题）</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/member.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="../Include/JChar.js"></script>
<script language="JavaScript">
  function CheckValidForm()
  {
    var msg="";
	if (document.thisForm.txtAnswer.value=="") 
	{
		msg="对不起，答案不能为空，请输入答案!";
		alert(msg);
	 	document.thisForm.txtAnswer.focus();
	return false;
	}

  }
</script>
</head>
<body topmargin="0" leftmargin="0">
<!--#include file="../include/top.asp" -->
<!--#include file="../include/member_top.asp" --><!--#include file="club_top.asp" -->
<!--#include file="Top.asp" -->
<table  width="780" height="222" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td valign="top"> 
      <FORM method=post name=thisForm action="LostPassStep3.asp"  onSubmit="return CheckValidForm()">
        <br>
        <TABLE width=98% border=0 align="center" cellPadding=6 cellSpacing=1 borderColor=#111111 
      style="BORDER-COLLAPSE: collapse">
          <TBODY>
            <TR bgcolor="#FF9900"> 
              <TD colSpan=2 align=center><strong><font color="#FFFFFF">取回密码（第二步：回答问题）</font></strong></TD>
            </TR>
            <TR bgcolor="f2f2f2"> 
              <TD width="12%" height=21>请输入问题： </TD>
              <TD width="88%"><%= m_Question %>&nbsp;</TD>
            </TR>
            <TR bgcolor="f2f2f2">
              <TD width="12%" height=22>请输入答案：</TD>
              <TD><input type="text" name="txtAnswer">
                <input name="hidUserName" type="hidden" value="<%=m_UserName%>">
                <input name="hidQuestion" type="hidden" value="<%=m_Question%>"></TD>
            </TR>
            <TR bgcolor="f2f2f2"> 
              <TD colspan="2" align="left">说明：请填写您正确的问题答案。</TD>
            </TR>
            <TR> 
              <TD height=56 colSpan=2 align="center" valign="bottom"> <input name=Step2  style="FONT-FAMILY: 宋体; FONT-SIZE: 12px; HEIGHT: 30px" type=submit value="  再进入下一步  "> 
              </TD>
            </TR>
          </TBODY>
        </TABLE>
      </form>
	  </td>
  </tr>
</table>
</table>
<!--#include file="../include/bottom.asp" -->
</body>
</html>
