<%@ 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 id,门派,性别 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")
menpai=rs("门派")
sex=rs("性别")
rs.close
conn.close
set conn=nothing
if sex="男" then
	sex="大侠"
else
	sex="女侠"
end if
if menpai="游侠" or menpai="无" or menpai="" then
	menpai=""
end if
%><!--#include file="DATA.ASP"--><%
sql="select * from 密码保护 where 用户="&zhbg_id
set rs=conn1.execute(sql)
if rs.eof or rs.bof then
	rs.close
	set rs=nothing
	conn1.close
	set conn1=nothing
	Response.Write "<script Language=Javascript>alert('提示：你还未申请过密码保护，为了您的数据安全，请先申请密码保护！');location.href = 'mmbh1.asp';</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="428" border="1" align="center" cellpadding="10" cellspacing="13" bordercolor="#cccccc" bgcolor="#cccccc">
  <tr>
    <td height="55" align="center" > <form name="form1" method="post" action="MMBHXG1.ASP">
        <p align="center"><b>修改密码保护资料  </b><a href="javascript:load()">【刷新】</a><a href="javascript:history.go(-1)">【返回】</a></p>
        <p align="center">第一步：验证身份</p>
  <p align="center"><font size="2" color="#800040"><%=menpai%></font><%=sex%><font size="2" color="#8000FF"><%=zhbg_name%></font>，您的ID是：<font color="#FF0000"><%=zhbg_id%></font></p>
        <p align="center">您的密码提示问题： 
          <input type="text" name="wt" size="12" maxlength="10">
        </p>
        <p align="center">您的提示问题答案： 
          <input type="text" name="da" size="12" maxlength="10">
        </p>
  <p align="center"> 
    <input type="submit" name="Submit" value="下一步">
    <input type="submit" name="Submit2" value="清除">
  </p>
</form> 
</td>
  </tr>
</table>
<p align="center"><font color="#FF9900" size="3">[非凡国度 http://www.oneidc.cn]</font></p>
</body>
</html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>