get_pwd_step3.asp
上传用户:shxinnian
上传日期:2013-01-14
资源大小:155k
文件大小:4k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
Windows_Unix
- <%response.buffer="True"%>
- <!--#include file="conn.asp"-->
- <%
- dim rs,sql
- dim uID,rname,answer
- answer=request.form("answer")
- rname=request.form("rname")
- uID=request("uID")
- set rs=Server.CreateObject("Adodb.Recordset")
- sql="select uID,pwd,answer,rname from member where uID='"&uID&"'"
- rs.open sql,conn,1,1
- If rs.eof Then
- %>
- <script language="javascript">
- alert("无此会员名,请返回首页登记新会员!")
- location.href="javascript:history.back()"
- </script>
- <%
- End If
- If rs("answer")<>answer Then
- Response.redirect"get_pwd_err.asp?content=答案"
- End If
- If rs("rname")<>rname Then
- Response.redirect"get_pwd_err.asp?content=真实姓名"
- End If
- %>
- <html>
- <head>
- <title>取回密码</title>
- <meta http-equiv="Content-Language" content="zh-cn">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <meta name="Description" content="全国计算机等级考试鄂州大学考点网上报名系统">
- <meta name="Keywords" content="全国计算机等级考试鄂州大学考点网上报名系统">
- <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
- <meta name="ProgId" content="FrontPage.Editor.Document">
- <style type="text/css">
- <!---a:link { color: #000080; font-family: Arial; text-decoration: underline }
- a:visited { color: #680090; font-family: Arial; text-decoration: underline }
- a:hover { color: red; text-decoration: none }
- body { color: #000000; font-size: 9pt; line-height: 12pt; font-family: Arial }
- th { font-size: 9pt; line-height: 12pt }
- td { font-size: 9pt; line-height: 12pt }
- a.1:link { font-family: Arial; text-decoration: none; color: black }
- a.1:visited { font-family: Arial; text-decoration: none; color: black }
- a.1:hover { font-family: Arial; text-decoration: none; color: silver }
- .form { font-size: 9pt }
- ---></style>
- <script language="javascript">
- <!--
- if (parent.frames.length > 0) {
- parent.location.href = location.href;
- }
- // --></script>
- </head>
- <body bgcolor="#303430" topmargin="11" leftmargin="0">
- <div align="center">
- <center>
- <form method="POST" name="form1" language="javascript" onsubmit="return form1_onsubmit()" action="get_pwd_step3.asp">
- <table border="0" cellpadding="0" cellspacing="0" width="400" bgcolor="#FFFFFF" height="438">
- <tr>
- <td height="43" valign="middle" width="146">
- <p align="center"><img border="0" src="images/title.gif" width="499" height="39"></p>
- </td>
- <td height="43" valign="middle" width="254"> </td>
- </tr>
- <tr>
- <td height="381" valign="top" width="398" colspan="2"></center>
- <div align="center">
- <center>
- <table border="0" cellpadding="5" width="99%" cellspacing="4" height="368">
- <tr>
- <td width="100%" height="18"></td>
- </tr>
- <tr>
- <td width="100%" height="18"></td>
- </tr>
- <tr>
- <td width="100%" height="18">第三步:取得密码。</td>
- </tr>
- <tr>
- <td width="100%" height="18">
- <p align="center"></td>
- </tr>
- <tr>
- <td width="100%" height="25">
- <p align="center">请记住,您的密码是:<font color="red"><%=rs("pwd")%></font>
- <%
- conn.close
- set conn=nothing
- rs.close
- set rs=nothing
- %>
- </td>
- </tr>
- <tr>
- <td width="100%" height="25"></td>
- </tr>
- <tr>
- <td width="100%" height="27">
- <p align="center">回到 <a href="index.htm">首页</a>
- </td>
- </tr>
- <tr>
- <td width="100%" height="107">
- <div align="center"></div>
- </td>
- </tr>
- </table>
- </center>
- </div>
- </td>
- </tr>
- <tr>
- <td height="14" width="398" colspan="2">
- <p align="center"><a href="javascript:window.close()" class="1">关闭窗口</a></td>
- </tr>
- </table>
- </form>
- </div>
- </body>
- </html>