📄 login.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!-- #include file="../lib/conn.asp" -->
<!-- #include file="../lib/str.asp" -->
<!-- #include file="../lib/md5.asp" -->
<!-- #include file="../lib/user.asp" -->
<!-- #include file="../lib/var.asp" -->
<!-- #include file="../lib/checkcode.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="img/Style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE2 {
font-size: 14pt;
font-weight: bold;
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
}
.STYLE3 {font-family: Arial, Helvetica, sans-serif}
.STYLE4 {
color: #336600;
font-weight: bold;
}
-->
</style>
</head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>用户登录</title>
<body>
<%if Request("action")="login" then
call userlogin()
else%>
<br />
<br />
<br /><br /><br /><br /><br /><br /><br />
<Script Language="Javascript">
function chk(){
if (document.form.username.value=="")
{
alert ("用户名不能为空,请重新输入");
document.form.username.focus();
document.form.username.select();
return false;
}
if (document.form.userpwd.value=="")
{
alert ("密码不能为空,请重新输入");
document.form.userpwd.focus();
document.form.userpwd.select();
return false;
}
return true;
}
</Script>
<form action="login.asp" method="post" name="form" target="_self" id="form" onsubmit="return chk()">
<table width="26%" height="140" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#94D200" class="atable1">
<!--DWLayoutTable-->
<tr>
<td width="445" valign="top" bgcolor="#94D200"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="30"><div align="center" class="STYLE2">Common User Login</div></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" height="107" border="0" align="center" cellpadding="3" cellspacing="0" bgcolor="#FFFFFF" class="jushe">
<tr>
<td width="33%" height="30" bgcolor="#F5F5F5"> <span class="STYLE3">Name</span>:</td>
<td width="67%" bgcolor="#F5F5F5"><input name="username" type="text" class="atable1" id="username" size="14" maxlength="14" /></td>
</tr>
<tr>
<td height="13" bgcolor="#F5F5F5"> <span class="STYLE3">Password</span>:</td>
<td bgcolor="#F5F5F5"><input name="userpwd" type="password" class="atable1" id="userpwd" size="14" maxlength="14" /></td>
</tr>
<tr>
<td colspan="2" bgcolor="#F5F5F5"><div align="center">
<input name="提交" type="submit" class="atable1" id="提交" value="Enter" />
<input name="重填" type="reset" class="atable1" id="重填" value="Reset" />
<input type="hidden" name="checkcode" value="0" /><input type="hidden" name="rank" value="0" />
<input name="action" type="hidden" id="action" value="login" />
<input name="m5" type="hidden" id="m5" value="1" />
</div></td>
</tr>
</table></td>
</tr>
</table></form>
<%end if%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -