chklogin.asp
来自「不用注册也可以发言」· ASP 代码 · 共 55 行
ASP
55 行
<%
if request.form("username")="admin" and request.form("password")="admin"then
response.cookies("loginok")=true
response.redirect "manage.asp"
else
%>
<html>
<head>
<title>验证权限</title>
<meta http-equiv=“Content-Type" content=“text/html; charset=gb2312">
<link rel="stylesheet" href="css/STYLE.CSS" type="text/css">
</head>
<body bgcolor="#BAB198">
<div align=“center">
<table width="238" border="0" cellspacing="0" cellpadding="0" height="211" align="center">
<tr>
<td> <img src="images/exclam.gif" width="238" height="211"></td>
</tr>
</table>
<table width="230" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="20">
<div align="center"><font color="#FF0000"><img src="images/tips.gif" width="27" height="36"></font></div>
</td>
<td valign="middle">
<div align="center">
<p><font color="#CC0000"><b>您不是版主,没有管理权限!</b></font></p>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<p><a href="Login.asp">重 新 登 陆</a></p>
</div>
</td>
</tr>
<tr>
<td colspan="2" height="20">
<div align="center">
<p><a href="guest.asp">返 回 留 言 本</a></p>
</div>
</td>
</tr>
</table>
<p> </p>
<p> </p>
</div>
<%
end if
%>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?