📄 find.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body background="picture/beijing.jpg" bgcolor="#E0E1E2" text="#0000ff" link="#000077" vlink="#ac2424" alink="#000022">
<div align="center">
<font size="+7">图书管理系统</font> V0.1
</div>
<table width="110%" border="0">
<tr bgcolor="#CCCCCC">
<td width="84%">图书管理系统->确认密码</td>
<td width="16%"><a href="index.asp">返回首页</a></td>
</tr>
</table>
<%
dim xm,zh,wt,da
xm=request.Form("xm")
zh=request.Form("zh")
wt=request.Form("wt")
da=request.Form("da")
%>
<!-- #include file="adofunctions.asp" -->
<%
if wt="" or da="" then
response.Redirect "finduser.asp"
else
if xm<>"" then
strsql="select * from 登录人员表 where 提示问题='" + wt + "'and 提示答案='" + da + "'and 姓名='" + xm +"'"
end if
if zh<>"" then
strsql="select * from 登录人员表 where 提示问题='" + wt + "'and 提示答案='" + da + "'and 帐号='" + zh +"'"
end if
if zh<>"" and xm<>"" then
strsql="select * from 登录人员表 where 提示问题='" + wt + "'and 提示答案='" + da + "'and 姓名='" + xm +"'and 帐号='" + zh +"'"
end if
end if
dim objRS
Set objRS = GetSQLRecordset(strSQL,"数据.mdb", "登录人员表")
if not objRS.eof then
%>
你的密码是:<%=objRS("密码")%>,这一次要记好了哟。可别再忘了。<a href="index.asp">返回登录<a>
<% else%>
对不起,没找到,可能你的输入有误。请重新输入条件查询。<a href="finduser.asp">重新查询密码</a>
<%end if%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -