<%@ LANGUAGE=VBScript%>
<%Response.Expires=0
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Pragma","No-Cache"
Response.AddHeader "Cache-Control","Private"
Response.CacheControl = "No-Cache"
zhbg_name=Session("zhbg_name")
zhbg_grade=Session("zhbg_grade")
zhbg_jhdj=Session("zhbg_jhdj")
if zhbg_name="" then Response.Redirect "../error.asp?id=210"
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("zhbg_usermdb")
rs.open "select * from 用户 where 姓名='"&zhbg_name&"'",conn
if rs.eof or rs.bof then
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing
	Response.Write "<script Language=Javascript>alert('提示：你不是国度中人，不能申请密码保护？！');history.go(-1);</script>"
	response.end
end if
zhbg_id=rs("id")
rs.close
conn.close
set conn=nothing
%><!--#include file="DATA.ASP"--><%
sql="select * from 密码保护 where 用户="&zhbg_id
set rs=conn1.execute(sql)
if not(rs.eof or rs.bof) then
	rs.close
	set rs=nothing
	conn1.close
	set conn1=nothing
	Response.Write "<script Language=Javascript>alert('提示：你已申请过密码保护了，不可以再申请！');history.go(-1);</script>"
	response.end
end if
rs.close
set rs=nothing
conn1.close
set conn1=nothing
%>
<script language="JavaScript">
function load()
{var name=navigator.appName
var vers=navigator.appVersion
if(name=="Netscape")
{window.location.reload()
}else
{history.go(0)
}}
</script>
<html>
<head>
<title>密码保护申请</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../../css.css" rel="stylesheet" type="text/css">
</head>
<body >
<table width="48%" height="113" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="55" align="center"> <form name="form1" method="post" width=300 height=109 action="MMBH2.ASP">
        <div align="center" style="width: 661; height: 214"> 
          <p align="center"><a href="javascript:load()">【刷新】</a><a href="javascript:history.go(-1)">【返回】</a> </p>
          <p align="center"><b>&nbsp;申请密码保护</b></p>
          <p align="center">您的<b>ID</b>号为：<font color="#FFFFFF"><%=zhbg_id%></font>，姓名：<font color="#FFFFFF"><%=zhbg_name%></font></p>
          <p align="center">请认真填写以下内容，并请牢记，</p>
          <p align="center">这是你找回丢失密码的唯一办法。</p>
          <p align="center">提示问题： 
            <input type="text" name="wt" maxlength="10" size="12">
          </p>
          <p align="center">问题答案： 
            <input type="text" name="da" maxlength="10" size="12">
          </p>
          <p align="center"> <b><font color="#FF0000">(以上内容填写只可以使用汉字，最长不得超过五个字)</font></b></p>
          <p align="center"> 
            <input type="submit" name="Submit" value="申  请">
          </p>
        </div>
      </form>
</td>
  </tr>
</table>
</body>
</html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>