📄 login.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>管理员登录</title>
</head>
<body>
<% If request.Cookies("okadmin")="" Then %>
<table width="400" border="0" align="center" height="223">
<tr>
<td height="38"> </td>
</tr>
<tr>
<td height="25"><div align="center"> </div></td>
</tr>
<tr>
<td height="9"> <div align="center">
<table border="3" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="90%" id="AutoNumber1" bordercolorlight="#BDBD79" bordercolordark="#BDBD79" bgcolor="#F5F9E6" height="101">
<tr>
<td height="101">
<div align="center">
<form method="post" action="chklogin.asp">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
<tr>
<td width="100%" height="135">
<table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3" height="186">
<tr>
<td width="100%" height="40">
<p align="center"><font size="3"><strong>网站后台信息管理</strong></font></td>
</tr>
<tr>
<td width="100%" height="118">
<p align="center"><font face="宋体"><span style="font-size: 9pt">帐号</span></font><span style="font-size: 9pt">: <input type="text" name="username" size="16"><br>
<br>
密码: <input type="password" name="password" size="16"></span></p>
<p align="center">
<input type="submit" value="登录" name="submit">
<input type="reset" value="取消" name="submit1"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div></td>
</tr>
</table>
</div></td>
</tr>
</table>
<table width="400" height="73" border="0" align="center">
<tr>
<td><div align="center">
<p align="center"><span style="font-size: 9pt">
<% if request("err")=1 then%>
错误提示: <font color="#990000"><b>管理员名称不能为空!</b>
<%end if%>
</font>
<% if request("err")=2 then%>
错误提示: <font color="#990000"><b>管理员密码不能为空!</b>
<%end if%>
</font>
<% if request("err")=3 then%>
错误提示: <font color="#990000"><b>管理员密码错误!</b>
<%end if%>
</font>
<% if request("err")=4 then%>
错误提示: <font color="#990000"><b>管理员名称错误!</b>
<%end if%>
</font></span> </div></td>
</tr>
</table>
<% Else %>
<% response.Redirect("manage.asp") %>
<% End If %>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -