📄 login.asp
字号:
<!--#include file="top.asp"-->
<!--#include file="head.asp"-->
<Script LANGUAGE="javascript">
if(self!=top){top.location=self.location;}
</script>
<%
action=request("action")
if action<>"check" then
%>
<br>
<table width="700px" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center"><b>管理员登陆</b></td>
</tr>
</table>
<table style="border:0px dotted #666666" width=640px height=150 cellspacing=0 cellpadding=0 align=center border="0">
<tr>
<td align=center height=20> </td>
<tr>
<td align=center><br>
<form action=login.asp?action=check method=post>
<table width=70% cellspacing=1 cellpadding=4 align=center border="0">
<tr>
<td width=200 align="center">姓名</font>
<td width=200><input style="border-bottom:1px dotted #666666;border-left:0px solid #666666;border-right:0px solid #999999;border-top:0px solid #999999" name=id size=16>
<tr>
<td width=200 align="center">密码</font>
<td width=200><input style="border-bottom:1px dotted #666666;border-left:0px solid #666666;border-right:0px solid #999999;border-top:0px solid #999999" name=pwd size=16 type=password>
<tr>
<td colspan=2 align=center><br>
<input type=submit value=" 登 录 ">
</table>
</form>
</table>
<!--#include file="foot.asp"-->
<%else
if Request("id")="admin" and Request("pwd")="admin" then
Response.Cookies("login")="ok"
Response.Cookies("login").Expires=date+365
response.redirect("admin.asp")
else
response.redirect("index.asp")
end if
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -