?? getpwdshjia2.asp
字號:
?
+
<!--#include file=conn.asp -->
<!--#include file=../webconfig.asp -->
<%
username=request.form("username")
set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from [shjia] where username='"&username&"' "
rs.open sql,conn,1,1
If rs.eof Then
%>
<script language="javascript">
alert("這個用戶還沒有注冊呢,請到首頁注冊吧!")
location.href="../index.asp"
</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">
<link rel="stylesheet" type="text/css" href="style.css">
<style>
td{font-size:9pt;line-height:120%;color:#353535}
body{font-size:9pt;line-height:120%}
a:link { color: #000000; text-decoration: none }
a:visited { color: #000000; text-decoration: none }
a:active { color: #000000; text-decoration: none }
a:hover { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
<script language="javascript">
<!--
function form1_onsubmit() {
if (document.form1.answer.value=="")
{
alert("請輸入您的問題答案。")
document.form1.answer.focus()
return false
}
}
// --></script>
</head>
<body bgcolor="#FFFFFF" topmargin="11" leftmargin="0" oncontextmenu="self.event.returnValue=false">
<div align="center"><br><br>
<form method="POST" name="form1" language="javascript" onsubmit="return form1_onsubmit()" action="getpwdshjia3.asp?username=<%=username%>">
<table cellpadding="0" cellspacing="0" width="320" style="border-collapse: collapse" border="0">
<tr>
<td height="169">
<div align="center">
<center>
<table border="0" cellpadding="0" width="99%" cellspacing="0" height="1" style="border-collapse: collapse" bordercolor="#111111">
<%if rs("quesion")<>"" then%>
<tr>
<td width="100%" height="22">
<p>第二步:請回答下列問題。
</td>
</tr>
<tr>
<td width="100%" height="22">
<p>問題:<font color="red"><%=rs("quesion")%></font>
<%
conn.close
set conn=nothing
%>
</td>
</tr>
<tr>
<td width="100%" height="1">
<p>答案:
<input type="text" name="answer" size="12" class="form" style="BORDER-RIGHT: #ffffff 1px groove; BORDER-TOP: #ffffff 1px groove; BORDER-LEFT: #ffffff 1px groove; COLOR: #333333; BORDER-BOTTOM: #ffffff 1px groove; HEIGHT: 18px; BACKGROUND-COLOR: #ffffff"; >
<br> <input name="imageField" type="image" src="../images/xyb.gif" width="54" height="18" border="0" onFocus="this.blur()">
<p> 您在個人資料中設置的提示問題為空,所以不能找回密碼!如果您真的忘記了密碼,請與<a href="mailto:<%=webemail%>">管理員</a>聯系!
</td>
</tr>
<%end if%>
</table>
<a href="javascript:window.close()" class="1">關閉窗口</a>
</center>
</div>
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -