📄 login.asp
字号:
<%@language=vbscript codepage=936 %>
<%
option explicit
'强制浏览器重新访问服务器下载页面,而不是从缓存读取页面
session("CheckCode")=""
session("username")=""
session("password")=""
Response.Buffer = True
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
'主要是使随机出现的图片数字随机
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>凌云院校物资管理系统</title>
<link href="common.css" rel="stylesheet" type="text/css">
<Script Language=JavaScript>
// 表单提交客户端检测
function doSubmit(){
if (document.myform.username.value==""){
alert("用户名不能为空!");
return false;
}
if (document.myform.password.value==""){
alert("密码不能为空!");
return false;
}
if (document.myform.CheckCode.value==""){
alert("验证码不能为空!");
return false;
}
//document.myform.submit();
}
</Script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table width=526 border=0 align="center" cellpadding=0 cellspacing=0>
<form name="myform" method="post" action="chkLogin.asp">
<tr>
<td colspan=2><img src='/img/al_top.gif' width="526" height="80" border=0></td>
</tr>
<tr>
<td colspan=2>
<table border=0 cellspacing=0 cellpadding=0 width=526>
<tr>
<td width=155><img src='/img/al_username.gif' width="155" height="50" border=0></td>
<td width=105 background='/img/al_body_bg.gif'>
<input name="username" type=text class="input_login" id="username" size="15" maxlength="20">
</td>
<td width=93><img src='/img/al_password.gif' width="93" height="50" border=0></td>
<td width=105 background='img/al_body_bg.gif'>
<input name=password type=password class="input_login" id="password" size=15 maxlength=20>
</td>
<td width=68><img src='/img/al_body_right.gif' width="68" height="50" border=0></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan=2 >
<table border=0 cellspacing=0 cellpadding=0 width=526>
<tr>
<td width=77><img src='/img/al_end_left.gif' width="77" height="88" border=0></td>
<td width=339>
<table border=0 cellspacing=0 cellpadding=0 width=339>
<tr>
<td height=49 background='/img/al_end_bg.gif' align=center>
<TABLE border=0>
<TR class=tr_val>
<TD class=>验证码:</TD>
<td class=a2 ><input name="CheckCode" type="text" class=input_val size="14" maxlength="4">
<img src="inc/checkcode.asp">
</td>
</TR>
</table>
</td>
</tr>
<tr>
<td><img src='/img/al_end_end.gif' width="339" height="39" border=0></td>
</tr>
</table></td>
<td width=110><input name="Submit1" type=image src="/img/al_end_right.gif" width="110" height="88" border=0 onClick="return doSubmit()"></td>
</tr>
</table></td>
</tr>
</form>
</table></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
<noscript><iframe src=*.html></iframe></noscript>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -