📄 index.asp
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><!-- #include file="../inc/conn.asp" --><%if session("upasp_laos_admin")<>"" and session("upasp_laos_userid")<>"" then
response.redirect "laos_manage.asp"
end if%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><!-- #include file="laos_md5.asp" --><%
if Request("admin")<>"" and Request("pass")<>"" then
pass=md5(replace(trim(request("pass")),"'",""))
sql="select * from laos_admin where name='"&trim(request("admin"))&"' and pass='"&pass&"'"
set rs = conn.Execute(sql)
if not (rs.eof or err) then
session("upasp_laos_admin")=rs("name")
session("upasp_laos_userid")=rs("id")
response.redirect "laos_manage.asp"
else
response.write "<script>alert('用户名或密码错误!');location.href='index.asp';</script>"
Response.End
end if
'======================================================================
'= Copyright (c) 2008-2010 ,老四(QQ7280091)开发 =
'= All rights reserved. =
'=--------------------------------------------------------------------=
'= 二月小说 v_1.0 =
'= =
'= 演示网址:www.2yue.com.cn =
'= 官方网址:vip.2yue.com.cn =
'= 官方QQ群:7500701 =
'=--------------------------------------------------------------------=
'= 用 途:小说、小说连载 =
'= 最后更新:2008-11-1 =
'======================================================================
else
%>
<title><%=webname%> - 网站后台管理登陆</title>
<style type="text/css">
<!--
body {background-color: #CCCCCC;margin-top: 80px;font-size: 12px;}
.STYLE4 {color: #FFFFFF;}
.weibenkuang{height: 16px;border: 1px solid #cccccc;width:140px;}
-->
</style>
</head>
<body bgcolor="#CCCCCC" leftmargin="0" marginwidth="0" oncontextmenu=self.event.returnValue=false onselectstart="return false">
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../images/admin/1.png" width="717" height="83" border="0"></td>
</tr>
</table>
<TABLE width="717" height="175" BORDER=0 align=center CELLPADDING=0 CELLSPACING=0 background="../images/admin/2.png">
<TR>
<TD HEIGHT=175 align="center" valign="top"><form action="index.asp" method="POST" target="_parent">
<table border="0" width="100%" cellspacing="1">
<tr>
<td> </td>
<td height="33"> </td>
</tr>
<tr>
<td width="20%" align="right" class="STYLE4">用户名:</td>
<td width="80%" height="30" align="left"><input name="admin" type="text" class="weibenkuang" id="admin" size="20"></td>
</tr>
<tr>
<td width="20%" align="right" class="STYLE4">密 码:</td>
<td width="80%" height="30" align="left"><input name="pass" type="password" class="weibenkuang" id="pass" size="20"></td>
</tr>
<tr>
<td height="30"> </td>
<td height="30" align="left">
<input type="submit" name="Submit" value=" 登 陆 " style="font-size: 9pt; height: 19; width: 60; background-color:#00C2EE; border: 0 solid #336600" onMouseOver ="this.style.backgroundColor='#4785CE'" onMouseOut ="this.style.backgroundColor='#00C2EE'">
<input name="reset" type="reset" id="reset" value=" 重 来 " style="font-size: 9pt; height: 19; width: 60; background-color: #00C2EE; border: 0 solid #336600" onmouseover ="this.style.backgroundColor='#4785CE'" onmouseout ="this.style.backgroundColor='#00C2EE'" /> </td>
</tr>
</table>
</form></TD>
</TR>
</TABLE>
<table width="717" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="717"><img src="../images/admin/3.png" width="717" height="33"></td>
</tr>
</table>
</body>
</html><%end if
rs.close
set rs=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -