<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../tgzcm.Scnn.asp" --><!--#include file="../tgzcm.Include/tgzcm.Lable.All.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=tgzcm(0)%>_会员密码找回</title>
<style type="text/css">
<!--
body,td,th {
	font-size: 14px;
	font-family:"宋体", Times, serif;
	text-align: center;
}
#login{
	border-bottom:1px #f0f0f0  solid;
	letter-spacing:1px;
	font-size:16px;
	text-align:center
}
.input{ width:144px; height:19px; border:1px #CCCCCC solid}
.STYLE1 {
	color: #FF0000;
	font-weight: bold;
}
.STYLE2 {color: #FF0000}
#regcss{ color:#FF0000; border:1px #66CC00 dashed; background:#FFFF99; padding:2px;}
#regadd{ position:absolute; margin-top:-20px;width:144px;}
-->
</style>
<script language="JavaScript" type="text/javascript" src="../Js/tgzcm.Login.js"></script>
<script language="javascript">
<!--
if (top.location != location) top.location.href = location.href;
//-->
</script>
</head>
<body>
<%
Dim SiteHeader,SiteFooter,loste,uok,newpass
SiteHeader=tgzcm_Lable_Html(tgzcmPath&"../skin/"&tgzcm(12)&"/"&tgzcmId(21)&"tgzcm_header.html")
SiteFooter=tgzcm_Lable_Html(tgzcmPath&"../skin/"&tgzcm(12)&"/"&tgzcmId(21)&"tgzcm_footer.html")
Call tgzcm_Lable_All(SiteHeader)
Call tgzcm_Lable_All(SiteFooter)
newpass=NoSqlHack(Request.Form("newpass"))'新密码
uok=NoSqlHack(Request.Form("uok"))'答案
username=NoSqlHack(Request.QueryString("username"))'用户名
action=NoSqlHack(Request.QueryString("action"))
loste=NoSqlHack(Request.QueryString("loste"))
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><%Response.Write(SiteHeader)%></td>
  </tr>
  <tr>
    <td height="253">
    <%
   if action="two" and len(loste)>10  and uok<>"" and username<>"" Then
	   Set rs = Server.CreateObject("adodb.recordset")
	   rs.open"Select uok,uask from tgzcm_user where uok='"&uok&"'",conn,1,1
	   If not(rs.Eof and rs.bof) Then
	%>
    <table width="50%" height="151" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px #f0f0f0 solid">
    <form action="GetLostedPassword2.Asp?loginname=64de069e7577sadf_________64deo44tyy8498f95df&action=pass&loste=b98b864de069e757713db50c338f95df_________64de069e7577sadf_________64deo44tyy8498f95df&username=<%=username%>" method="post" name="tgzcmfrom">
      <tr>
        <td height="37" colspan="3" id="login"><p><img src="../Images/title.gif" width="18" height="16" align="absmiddle"> <span class="STYLE1"><%=tgzcm(0)%></span></p>
          <p><strong>密码找回管理</strong></p></td>
        </tr>
      <tr>
        <td height="33" align="center">请输入新的密码：
          <label>
          <input name="newpass" type="text" class="input" id="newpass" maxlength="30">
          <span class="STYLE2">* </span></label></td>
        </tr>
      <tr>
        <td height="60" align="center"><label>
          <input type="submit" name="button" id="button" value="下一步">
        </label></td>
        </tr></form>
      
    </table>
    <% 
	  Else
	   Call tgzcm_err_b("问题答案错误！！！","GetLostedPassword.asp")
       response.End()
	   rs.Close
	   Set rs=nothing
	  End If 
	Else
	   Call tgzcm_err_c("问题答案不能为空！！！")
       response.End()
	End If
	''''''''''''''''''''''''''''
	%>
    </td>
  </tr>
  <tr>
    <td height="65"><%Response.Write(SiteFooter):Call CloseConn%></td>
  </tr>
</table>

</body>
</html>
