📄 setup_login.asp
字号:
<%
'#############################################################
'# 中国在线--极酷论坛 ver.2001 3.0
'#
'# 版权所有: 中国在线 (ChinaXP.Net)
'#
'# 制作人 : 周周 (SeeYa!)
'#
'#
'# 主页地址: http://www.ChinaXP.net/ 中国在线
'# http://bbs.ChinaXP.Net 中国在线--极酷论坛
'#
'#############################################################
blnSetup = Request.Form("setup")
%>
<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE FILE="inc_functions.asp" -->
<html>
<head>
<title>Forum-Setup Page</title>
<meta name="copyright" content="中国在线(www.ChinaXP.Net)">
<Style><!--
a:link {color:<% =strLinkColor %>;text-decoration:none;}
a:visited {color:<% =strVisitedLinkColor %>;text-decoration:none;}
a:hover {color:<% =strHoverFontColor %>;text-decoration:underline;}
--></style>
</head>
<body bgColor="white" text="midnightblue" link="darkblue" aLink=red vLink="red" onLoad="window.focus()">
<%
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open strConnString
Name = Request.Form("Name")
Password = Request.Form("Password")
RequestMethod = Request.ServerVariables("Request_method")
if RequestMethod = "POST" Then
'## Forum_SQL
strSql = "SELECT COUNT(*) AS ApprovalCode "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS "
strSql = strSql & " WHERE M_NAME = '" & Name & "' AND "
strSql = strSql & " M_PASSWORD = '" & Password & "' AND "
strSql = strSql & " M_LEVEL = 3"
Set dbRs = my_Conn.Execute(strSql)
If dbRS.Fields("ApprovalCode") = "1" and ChkQuoteOk(Name) and ChkQuoteOk(Password) Then
%>
<p> </p>
<p align="center"><font face="宋体, Arial, Helvetica" size="4">登陆成功!</font></p>
<% Session(strCookieURL & "Approval") = "15916941253" %>
<p> </p>
<p align="center"><p align="center"><font face="宋体, Arial, Helvetica" size="2"><a href="setup.asp?RC=3" target="_top">Click here to Continue.</a></font></p>
<meta http-equiv="Refresh" content="0; URL=setup.asp?RC=3">
<% Response.End %>
<% else %>
<div align=center><center>
<p><font face="宋体, Arial, Helvetica" size="4">There has been a problem !</font></p>
</center></div>
<form action="setup_login.asp" method="post" id=Form1 name=Form1>
</form>
<input type="hidden" name="setup" value="Y">
<table width="50%" height="50%" align="center" border="0" cellspacing="0" cellpadding="5">
<tr>
<td bgColor=navyblue align="center"><p align="center"><font face="宋体, Arial, Helvetica" size="2"><b>你无权进入</b></font></p></td>
</tr>
<tr>
<td bgColor=navyblue align="left"><p><font face="宋体, Arial, Helvetica" size="2">I如果你认为这个讯息是错误的,请重新尝试一遍</font></p></td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="5" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td align="center" colspan="2" bgColor=navyblue><b><font face="宋体, Arial, Helvetica" size="2">管理员登陆</font></b></td>
</tr>
<tr>
<td align="right" nowrap><b><font face="宋体, Arial, Helvetica" size="2">名称:</font></b></td>
<td><input type="text" name="Name" size="20"></td>
</tr>
<tr>
<td align="right" nowrap nowrap><b><b><font face="宋体, Arial, Helvetica" size="2">密码:</font></b></td>
<td><input type="Password" name="Password" size="20"></td>
</tr>
<tr>
<td colspan="2" align="right"><input type="submit" value="登陆" id="Submit1" name="Submit1"></td>
</tr>
</table>
</td>
<tr>
</form>
</font>
<% End IF %>
<% Else %>
Response.Redirect("default.asp")
<% End IF %>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -