<% data_path="../" 'ACC连接数据库路径，对SQL无效 %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=webname%>_找回密码</title>
<link rel="stylesheet" href="<%=HOPE_InstallDir%>blue/blue.CSS" type="text/css" />
<%
 Response.Expires = 0
Response.AddHeader "Pragma", "no-cache"
Response.AddHeader "cache-control", "no-store"

%>
<!--#include file="../inc/head.asp"-->
<SCRIPT type=text/JavaScript>
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</SCRIPT>
<SCRIPT language=javascript>
//--检测登陆-->
  function check() {

if (trim(document.Form1.user.value) =="")
{
alert("请填写您的登陆名！");
document.Form1.user.focus();
return false;
}
var filter=/^\s*[A-Za-z0-9]{6,20}\s*$/;
if (!filter.test(document.Form1.user.value)) { 
alert("登陆名填写不正确,请重新填写！可使用的字符为（A-Z a-z 0-9）长度不小于6个字符，不超过20个字符，注意不要使用空格。"); 
document.Form1.user.focus();
document.Form1.user.select();
return false; 
} 
 		 }
            function trim(inputString) {
	   
              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") { 
	          //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) { 
	         //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); 
              }
              return retValue;
           } 
 //-->
</SCRIPT>
</head>
 <body  topmargin="0"  bottommargin="0">
 <div class="juzhong">
 <table width="783" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
 <TABLE width=783 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
  <TR>
     <TD class=outborder vAlign=top align=middle width="100%">
      <TABLE width="100%" border=1 cellPadding=6 cellSpacing=0 bordercolor="#F1F1F1">
        <TBODY>
        <TR>
          <TD class=L align=middle bgColor=F1F1F1><span style="font-weight: bold"><FONT 
            color=#CC3300>忘记密码？先确认一下身份!</FONT></span></TD>
        </TR>
        <TR>
          <TD height="200" align=middle class=LL>
            <P><BR>
            <FORM action="<%=HOPE_InstallDir%>login/getanswer1.asp" name="Form1" onSubmit="javascript:if(check()==false) return false;"
            method=post>请输入您的会员登录名： 
                  <INPUT      name=user maxlength="20">
                   <INPUT type=submit value="下一步" name=Submit  style="background-color:#DFDFDF"> 
            </FORM>
                <STRONG>忘记您的登录名？<A 
            href="getmemberid.asp">请点击这里</A><BR>
                <BR>
            </STRONG></TD>
</TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
   <Br>
 </div>
   <div class="nav_778">
   <!--#include file="../inc/end.asp"-->
   </div>
 </body></html>
<%
conn.close
set conn=nothing
%>