📄 login.asp
字号:
<!-- #include file="setup.asp" -->
<!-- #include file="../Utility/MD5.asp" -->
<!-- #include file="../Wolib/function.asp" -->
<!-- #include file="CheckAdmin.asp" -->
<title>后台管理登陆</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<%
if Request.ServerVariables("Request_method") = "POST" then
if Request("pass")="" then call Wodig.MsgBox2("请输入管理员密码!",1,"javascript:history.back();")
session("pass")=md5(""&Request("pass")&"")
if Conn.Execute("Select UserPass From [Wo_Users] where UserName='"&CookieUserName&"'")(0)<>session("pass") then
call Wodig.MsgBox2("管理员密码错误,请返回重新登录!",1,"javascript:history.back();")
else
Response.Redirect("admin.html")
end if
end if
%>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="loginHead"> </td>
</tr>
<tr>
<td class="loginBg"><table width="600" height="260" border="1" align="center">
<tr>
<td>
<table width="230" border="1" cellpadding="0" cellspacing="5">
<tr>
<td><div align="right"><img src="img/logo.gif"></div></td>
</tr>
<tr>
<td height="30"><div align="right"><a href="../default.asp"><%=SiteConfig("SiteName")%></a></div></td>
</tr>
<tr>
<td height="30"><div align="right">绵阳秘密网[Www.MyMMW.Com.Cn]</div></td>
</tr>
</table></td>
<td width="25" background="img/login_line.gif"> </td>
<td>
<form method="POST" action="login.asp">
<input type="hidden" value="login" name="login">
<table width="300" border="1" cellpadding="0" cellspacing="3">
<tr>
<td width="102" height="30"><div align="right">管理员:</div></td>
<td width="183">
<input size="25" name="AdminUserName" type="text" value="<%=CookieUserName%>" Readonly></td>
</tr>
<tr>
<td height="30"><div align="right">管理密码:</div></td>
<td width="183"><input size="27" name="pass" type="password"></td>
</tr>
<%if SiteConfig("EnableAntiSpamTextGenerateForLogin")=1 then%>
<tr id=CommonListCell>
<td width="40%" align="right" height="30">验 证 码:</td>
<td>
<input type="text" name="VerifyCode" MaxLength="4" size="10" onblur="CheckVerifyCode(this.value)" onKeyUp="if (this.value.length == 4)CheckVerifyCode(this.value)"> <img src="../VerifyCode.asp" title="验证码,看不清楚?请点击刷新验证码" style="cursor:pointer" onclick="this.src='../VerifyCode.asp?'+Math.random()"> <span id="CheckVerifyCode" style="color:red"></span>
</td>
</tr>
<%end if%>
<tr>
<td height="30"><div align="right"></div></td>
<td align="center" height="30"><input type="submit" value=" 登录 "> <input type="button" onClick="javascript:history.back()" value=" 取消 "></td>
</tr>
</table></td>
</tr>
</table></form></td>
</tr>
<tr>
<td height="40" class="bottom">版权所有 © 2005-2008 Powered by 绵阳秘密网 </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -