<%temp_customer_manage_password_getback_answer_show=site.object_p%>
<!-- object[<%=site.object_p%>]::temp_customer_manage_password_getback_answer_show -->
<%
if request("customer_reg_name")="" or not site.check.checkt(request.form("customer_reg_name")) then
site.Error.info="请正确填写您的用户名！"
site.Error.location="back"
site.Error.err()
end if

site.object(site.object_p).rs.open "select customer_reg_password_verify_question,customer_reg_password_verify_answer from jins_customer_list where customer_reg_name='"&request.form("customer_reg_name")&"' and customer_open=1 ",conn,1,1
if site.object(site.object_p).rs.eof then
site.Error.info="没有此用户！"
site.Error.location="back"
site.Error.err()
end if

if site.object(site.object_p).rs("customer_reg_password_verify_question")="" or site.object(site.object_p).rs("customer_reg_password_verify_answer")="" then
site.Error.info="您没有预留取回密码提示问题或答案，所以您无法取回您的密码！"
site.Error.location="back"
site.Error.err()
end if

%>
<form name=answerinfo method=post action=do.asp?tr=customer|manage|password|getback|check >
<TABLE cellSpacing=0 cellPadding=0 width=95%  border=0 <%=site.object(site.object_p).style%> style="border: 1px solid #C0C0C0" >
                <tr>
                  <td align="center">
                        <div align="center">
                        <table width="100%" border="0" cellpadding="10" cellspacing="1" >
                          <tr>
                            <td height=15 colspan=2 bgcolor="#f1f1f1"><font color=red>·取回密码第二步 &gt;&gt; 回答问题</font></td>
                          </tr>
                          <tr >
                            <td width="40%" align=right>您预留的取回密码提示问题是：</td>
                            <td width="58%" ><font color=red><%=site.object(site.object_p).rs("customer_reg_password_verify_question")%></font></td>
                          </tr>
						  <tr >
						    <td width="100%" align=left colspan=2 background="<%=site.object(site.object_p).image%>/dot03.gif" height="1" ></td>
						  </tr>
                          <tr >
                            <td width="40%" align=right>您的取回密码提示问题的答案为：</td>
                            <td width="58%" ><input type=text name="answer" id="answer" size=30 > <font color=red>**</font></td>
                          </tr>
						  <tr >
						    <td width="100%" align=left colspan=2 background="<%=site.object(site.object_p).image%>/dot03.gif" height="1" ></td>
						  </tr>
                          <tr >
                            <td width="98%" align="center" colspan="2"><input name=customer_reg_name value='<%=request("customer_reg_name")%>' type=hidden><input onClick="checksubmit();" type=button value=" 取回密码！ ">
                                <input type=reset name="Clear" value=" 重新填写 ">
                            </td>
                          </tr>
                        </table>
                    	</div>
                    </td>
                </tr>
</TABLE>
</form>
<script language=javascript>
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}

function checkinfo()
{
   if(checkspace(document.answerinfo.answer.value)) {
	document.answerinfo.answer.focus();
    alert("请填写答案！");
	return false;
  }
  
return true;
}

function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}

function checksubmit(){
if(checkinfo())
answerinfo.submit();
}

</script>
<%
site.object(site.object_p).rs.close
set site.object(site.object_p).rs=nothing

%>