?? 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>凌云院校物資管理系統(tǒng)</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 + -