📄 psw.asp
字号:
<!--#include file="odbc_connection.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>找回密码</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style5 {font-size: 12px; color: #000000; }
-->
</style>
<link href="css/my.css" rel="stylesheet" type="text/css">
<Script Language="JavaScript">
<!--
function check_Null(){
if (document.form1.user.value==""){
alert("对不起,你的用户名不能为空!");
return false;
}
return true;
}
// -->
</Script>
<style type="text/css">
<!--
.style6 {color: #FF0000}
-->
</style>
</head>
<body>
<table width="760" height="304" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="56" align="center" valign="top"><!--#include file="top.asp"--></td>
</tr>
<tr>
<td height="94" align="left" valign="top" background="images/ww3.jpg"><form name="form1" method="post" action="psw.asp?make=look" onsubmit="JavaScript: return check_Null();">
<table width="688" height="94" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="239" height="40" align="right"><span class="style5">请输入你的用户名:</span></td>
<td width="427"><input type="text" class="form" name="user">
<input name="Submit" type="submit" class="style5" value="下 一 步"></td>
</tr>
</table>
</form></td>
</tr>
<tr>
<td height="65" align="center" background="images/ww3.jpg">
<%make=request("make")
user=request("user")%>
<%if make="look" then%>
<%dim rsb,sqlb
sqlb="select user from login where user='"&user&"'"
set rsb=db.execute(sqlb)
if rsb.bof and rsb.eof then %>
<table width="581" height="29" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="style5">对不起,请正确输入你的用户名!</td>
</tr>
</table>
<%else%>
<%response.Redirect"psw1.asp?user="&user&""%>
<%end if%>
<%end if%>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -