?? getpwd3.asp
字號:
<!--
┌─9911.com.cn────────────┐
│ 動感購物 WWW.9911.com.cn 版權所有 │
│ 動感購物2005Vb 聯系:web@snsn.net │
└───────────9911.com.cn──┘
-->
<!--#include file=conn.asp -->
<!--#include file=md5.asp -->
<!--#include file="fuction.asp"-->
<%
username=nosql(request("username"))
set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from [shop_user] where username='"&username&"'"
rs.open sql,conn,1,1
If rs.eof Then
%>
<script language="javascript">
alert("這個用戶還沒有注冊呢,請到首頁注冊吧!")
location.href="javascript:history.back()"
</script>
<%
End If
If rs("answer")<>md5(trim(request("answer"))) Then
Response.redirect"getpwderr.asp?content=答案"
End If
%>
<html>
<head>
<title>取回密碼</title>
<link rel="SHORTCUT ICON" href="/shortcut.ico">
<meta name="generator" content="snsn-shop">
<meta name=keywords content="<%=webgjz%>">
<meta name="description" content="<%=webmx%>">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
<link href="/css.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script LANGUAGE="javascript">
<!--
function FrmAddLink_onsubmit() {
if (document.FrmAddLink.passwd.value=="")
{
alert("對不起,請您輸入密碼!")
document.FrmAddLink.passwd.focus()
return false
}
else if (document.FrmAddLink.passwd.value.length < 6)
{
alert("為了安全,您的密碼應該長一點!")
document.FrmAddLink.passwd.focus()
return false
}
else if (document.FrmAddLink.passwd.value.length > 16)
{
alert("您的密碼太長了吧!")
document.FrmAddLink.passwd.focus()
return false
}
else if (document.FrmAddLink.passwd2.value=="")
{
alert("對不起,請您輸入驗證密碼!")
document.FrmAddLink.passwd2.focus()
return false
}
else if (document.FrmAddLink.passwd2.value !== document.FrmAddLink.passwd.value)
{
alert("對不起,您兩次輸入的密碼不一致!")
document.FrmAddLink.passwd2.focus()
return false
}
}
//-->
</script>
<style type="text/css">
<!--
.style1 {
color: #3399CC;
font-weight: bold;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF" topmargin="11" leftmargin="0" oncontextmenu="self.event.returnValue=false">
<form method="POST" name="FrmAddLink" language="javascript" onsubmit="return FrmAddLink_onsubmit()" action="getpwd4.asp?username=<%=username%>&depid=<%=depid%>">
<br><br>
<TABLE width=500 border=0 align="center" cellPadding=0 cellSpacing=1 bgcolor="#CCCCCC">
<TBODY>
<TR>
<TD height=25 colSpan=2 bgcolor="#FFFFFF"><FONT
color=#ff6600><B> <img src="/img/index_1.gif" width="15" height="16">
</B></FONT><B><span class="style1">取回密碼</span></B></TD>
</TR>
<TR>
<TD align=left vAlign=top bgcolor="#FFFFFF">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0" height="5">
<tr>
<td height="10"></td>
</tr>
</table>
<table border="0" cellpadding="0" width="98%" cellspacing="0" height="49" align="center">
<tr>
<td width="100%" height="22"> <p>第三步:重新設置密碼。 </td>
</tr>
<tr>
<td width="100%" height="1"> 新 密 碼:
<input type="password" name="passwd" size="12" maxlenght=16 class="wenbenkuang" >
<br>
驗證密碼:
<input type="password" name="passwd2" size="12" maxlenght=16 class="wenbenkuang" >
<br> <input name="Submit" type="submit" class="go-wenbenkuang" value="下一步設置新密碼">
<a href="javascript:window.close()" class="1">關閉窗口</a> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="5">
<tr>
<td height="10"></td>
</tr>
</table></td>
</tr>
</table></TD>
</TR>
</TBODY>
</TABLE>
</form>
</body>
</html><%
conn.close
set conn=nothing
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -