📄 remember.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="Config.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%= cfgTitle %></title>
<style type="text/css">
<!--
body {
background-color: #666688;
}
-->
</style>
<style type="text/css">
<!--
.style2 {font-weight: bold}
.style3 {
font-size: 14px;
font-weight: bold;
color: #FFFFFF;
}
-->
</style>
<link href="Style.css" rel="stylesheet" type="text/css">
<%
Dim Question
Dim Answer
Dim Password
Question = "非正确用户"
call creaters(rs,"select * from users where username='" & request("user") & "'")
if not rs.eof then
Question = rs("question")
Answer = rs("Answer")
Password = rs("Password")
end if
call closers(rs)
%>
</head>
<body>
<!--#include file="top.asp"-->
<link href="Style.css" rel="stylesheet" type="text/css">
<table width="614" border="0" align="center" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="614" height="15" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="614" height="15"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="29" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="614" height="29" valign="middle" background="images/Main_01.gif"> <span class="style3">密码保护提问</span></td>
</tr>
</table></td>
</tr>
<tr>
<td height="80" valign="top"><table width="100%" border="0" cellpadding="10" cellspacing="0" background="images/Main_02.gif">
<!--DWLayoutTable-->
<tr>
<td width="614" height="80" align="left" valign="top"><table width="99%" height="94" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#C0E096">
<tr>
<td height="21" bgcolor="#FFFFFF"><a href="#" class="style2"> 请填写资料</a></td>
</tr>
<tr>
<td height="70" align="center" valign="middle" bgcolor="#F3F9EC">
<table width="85%" height="140" border="0" align="center" cellpadding="1">
<form name="frmUnit" method="post" action="Remember.asp?action=question&user=<%= request("user") %>">
<tr>
<td height="21" colspan="2"> </td>
</tr>
<tr>
<td width="40%" height="21"><div align="right">提问:</div></td>
<td width="60%" align="left">
<%= Question %>
</td>
</tr>
<tr>
<td height="21"><div align="right">回答:</div></td>
<td height="21" align="left"><input name="answer" type="text" class="InputBox" id="answer"></td>
</tr>
<tr>
<td height="21" colspan="2"><div align="center">
<% if request("action") = "question" then %>
<% if request.Form("answer") = answer then %>
您的密码是:<%= Password %> 请<a href="Default.asp?user=<%= request("user") %>">立即登录</a>修改密码!
<% Else %>
您的答案错误,请重新输入。
<% End If %>
<% end if %>
</div></td>
</tr>
<tr>
<td height="21" colspan="2"><div align="center">
<input name="btnSubmit" type="submit" class="InputBox" id="btnSubmit" value="提交" >
<input name="Submit2" type="reset" class="InputBox" value="重置">
<input name="btnBack" type="button" class="InputBox" value="返回" onClick="history.back(1);"> </div></td>
</tr>
<tr>
<td height="21" colspan="2"> </td>
</tr>
</form>
</table>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="614" height="25" valign="top"><img src="images/Main_03.gif" width="614" height="25"></td>
</tr>
</table></td>
</tr>
</table>
<!--#include file="down.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -