get_pwd_step2.asp
上传用户:shxinnian
上传日期:2013-01-14
资源大小:155k
文件大小:3k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
Windows_Unix
- <!--#include file="conn.asp"-->
- <%
- dim rs,sql
- dim uID
- uID=request.form("uID")
- set rs=Server.CreateObject("Adodb.Recordset")
- sql="select uID,question 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
- %>
- <html>
- <head>
- <title>取回密码 | 回答问题---全国计算机等级考试鄂州大学考点网上报名系统</title>
- <meta http-equiv="Content-Language" content="zh-cn">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <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;
- }
- function form1_onsubmit() {
- if (document.form1.uID.value=="")
- {
- alert("请设定您的登陆名。")
- document.form1.uID.focus()
- return false
- }
- }
- // --></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?uID=<%=uID%>">
- <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="100%" 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">问题:<%=rs("question")%>
- <%
- conn.close
- set conn=nothing
- rs.close
- set rs=nothing
- %></td>
- </tr>
- <tr>
- <td width="100%" height="25">
- <p align="center">答:<input type="text" name="answer" size="32"></td>
- </tr>
- <tr>
- <td width="100%" height="25">
- <p align="center">您的真实姓名:<input type="text" name="rname" size="23"></td>
- </tr>
- <tr>
- <td width="100%" height="27">
- <p align="center"><input type="submit" value=" 到下一步 " name="submit" class="form"></td>
- </tr>
- <tr>
- <td width="100%" height="107"></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>