📄 login.asp
字号:
<% id=request("id")
session("id")=id %>
<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;
}
-->
</style>
<link href="css/my.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style5 {font-size: 12px; color: #000000; }
-->
</style>
<Script Language="JavaScript">
<!--
function check_Null(){
if (document.form1.user.value==""){
alert("对不起,你的用户名不能为空!");
return false;
}
if (document.form1.psw1.value==""){
alert("对不起,你的密码不能为空!");
return false;
}
return true;
}
// -->
</Script>
</head>
<body>
<table width="760" height="416" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="93" align="left" valign="top" background="images/ww3.jpg"><!--#include file="top.asp"--></td>
</tr>
<tr>
<td height="102" align="left" valign="top" background="images/ww3.jpg"><table width="745" height="141" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="141" align="left"><form name="form1" method="post" action="chuli.asp" onsubmit="JavaScript: return check_Null();">
<table width="674" height="94" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="245" align="center" valign="top" class="style5">对不起,你还没有登录!请先登录!</td>
<td width="429" align="left" valign="top"><table width="294" height="102" border="0" cellpadding="4" cellspacing="0">
<tr>
<td width="61" height="30" align="right"><span class="style5">用 户</span></td>
<td width="217"><input name="user" type="text" class="form" size="20"></td>
</tr>
<tr>
<td height="31" align="right"><span class="style5">密 码</span></td>
<td><input name="psw1" type="password" class="form" size="20"></td>
</tr>
<tr align="center">
<td colspan="2"><input type="image" name="B1" src="images/ss1.jpg" value="submit">
<a href="userlogin.asp"><img src="images/ss2.jpg" width="46" height="25" border="0"></a> </td>
</tr>
</table></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
<tr>
<td height="123" align="center" valign="middle" background="images/ww3.jpg"><!--#include file="dibu.asp"--></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -