⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 findpassword_finish.asp

📁 一个网上的考试系统
💻 ASP
字号:
<!--#include file ="../include.asp"-->
<% 
	StartPage "用户查找密码确认页",2
%>
<!--
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<link rel="stylesheet" type="text/css" href="../default.css">
<BODY  leftmargin=150 rightmargin=150 topmargin=30>
<IMG src="../images/title.JPG" border=0>
<hr>
<br>
-->
<%
UserName = request.form("UserName")
Question = request.form("Answer")

'Response.Write(UserName)
'Response.Write(Question)
%>

<table border="1" cellpadding="0" cellspacing="0" style="BORDER-COLLAPSE: collapse" bordercolor=LightSkyBlue width="80%" align=center>
	<tr>
		<td colspan=3  bgcolor=LightSkyBlue   height=20></td>
	</tr>

	<tr>
		<td>
			<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="135">
			  <tr>
			    <td width="100%" colspan="3" height="16"  align=center><font  size=20  color=LightSkyBlue>查找用户密码</font></td>
			  </tr>
			  <tr>
			    <td width="100%" colspan="3" height="16"><font face="隶书"  color=LightSkyBlue  size=5><b>查找程序</font></b></td>
			  </tr>
			  <tr>
			    <td width="13%" rowspan="2" height="33"  align=center><font face="隶书"  color=LightSkyBlue  size=5><b>填用户名</font></b></td>
			    <td width="28%" height="17"  align=right></td>
			    <td width="79%" height="17"></td>
			  </tr>
			  <tr>
			    <td width="28%" height="17"  align=right></td>
			    <td width="79%" height="16">
			    </td>
			  </tr>
			  <tr>
			    <td width="28%" rowspan="2" height="33"  align=center><font face="隶书"  color=LightSkyBlue  size=5><b>提示问题</font></b></td>
			    <td width="73%" height="16"  align=center>
			    <%
					set conn = Server.CreateObject ("adodb.connection")
					conn.Open "NetExamine","sa",""
					set userconn = Server.CreateObject ("adodb.recordset")	
					sqlstr = "select * from 用户表 where 用户名 = '"+UserName+"'and 提示答案 = '"+Question+"'"
					'Response.Write (sqlstr)
					userconn.Open sqlstr,conn
					if not userconn.EOF then
						Response.Write "您的密码为:"+userconn.Fields("密码")
					else
						Response.Write "您输入的提示答案有错,请返回重输!<br>"	
						Response.Write "<a href = FindPassWord_InputName.asp>返回</a>"
					end if
					'Response.Write (sqlstr)
					userconn.Close()
					conn.Close ()
			    %>
			    </td>
			    
			  </tr>
			  <tr>
			    <td width="11%" height="16"  align=right></td>
			    <td width="62%" height="16"></td>
			  </tr>
			  <tr>
			    <td width="28%" rowspan="2" height="33"  align=center><font face="隶书"  color=LightSkyBlue  size=5><b>进行确认</td>
			    <td width="11%" height="16"></td>
			    <td width="62%" height="17"></td>
			  </tr>
			  <tr>
			    <td width="73%" height="16" colspan=2 align=center></td>
			    <!--<td width="62%" height="16"></td>-->
			  </tr>
			  
			  <tr>
					<td  colspan=3  height=16></td>
			  </tr>
			</table>
		<td>
	</tr>
		
	<tr>
		<td colspan=3  bgcolor=LightSkyBlue   height=20></td>
	</tr>
</table>
<% 
	EndPage
%>
<!--
<br>
<hr>
<center>
<font  size=2>
欢迎来到本网站,最佳分辨率:800×600
<br>如果有困难请与我联系:FD_FYY@hotmail.com
</font>
</center>
</BODY>
</HTML>
-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -