📄 login.asp
字号:
<!--#include file="mdb/conn.asp" -->
<!--#include file="config.asp" -->
<%
'dim p
if Request.Form("usr")<>"" and Request.Form("psd")<>"" then
if Request.Form("usr")=usr and Request.Form("psd")=psd then
'session("zhuzhuphoto")="on"
Response.cookies("adminpass") = Request.Form("psd")
'p=Request.cookies("adminpass")
'response.write p
'response.end
Response.Redirect"admin.asp"
else
Response.Redirect"info.asp?info=登陆失败,请检查用户名和密码"
end if
end if
%>
<html>
<head>
<title><%=title%> 请登陆!</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="INDEX.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="<%=bgcolor%>" text="#000000" leftmargin="0" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td>
<table width="450" border="0" align="center" cellpadding="11" cellspacing="5" bgcolor="#0084C4">
<tr>
<td align="center" bgcolor="#FFFFFF"><table width="100%" height="100" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#FFFFFF" class="sx">
<form name="form1" method="post">
<tr bgcolor="#0099CC">
<td width="23%" rowspan="2" align="right" class="y">登陆管理:</td>
<td width="77%"> 用 户 名:
<input type="text" name="usr" value="paladin" class="an">
<br>
</td>
</tr>
<tr>
<td bgcolor="#0099CC">用户密码:
<input type="password" name="psd" value="" class="an">
<input type="submit" name="Submit" value="登陆" class="an"></td>
</tr>
</form>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -