📄 login.asp
字号:
<%@ language=VBscript %>
<%
dim name,pass
session("log")=False
session.timeout=60
if request.form("send")<>empty then
name=trim(request.form("name"))
pass=trim(request.form("pass"))
if name="guest" and pass="guest" then session("log")=True
end if
if session("log") then response.redirect "manager.asp"
%>
<html>
<head>
<title>斑竹登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
input { font-size: 9pt}
td { font-size: 9pt}
.button { color: #FFFFFF; background-color: #000000}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<p> </p>
<p> </p>
<div align="center">
<form method="post" action="login.asp">
<table width="317" border="1" bordercolor="#000000">
<tr align="center" bgcolor="#000000">
<td colspan="2" height="21"><font color="#FFFFFF"> 计 数 器 管 理</font></td>
</tr>
<tr align="center">
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr bgcolor="#EAEAEA">
<td width="95" align="right" height="40">用户名:</td>
<td width="202" height="40">
<input type="text" name="name" size="20" maxlength="20">
</td>
</tr>
<tr bgcolor="#EAEAEA">
<td width="95" align="right">密码:</td>
<td width="202">
<input type="password" name="pass" size="20" maxlength="20">
</td>
</tr>
<tr bgcolor="#EAEAEA" align="center">
<td colspan="2">
<input type="submit" name="send" value="确定" class="button">
<input type="reset" name="Submit2" value="清除" class="button">
<br>
<br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form> <p align="left"> </p>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -