📄 adminok.asp
字号:
<!--#include file="css.asp"-->
<meta http-equiv="Content-Language" content="zh-cn">
<BODY BGCOLOR=#666666>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="4%" height="23">
<tr>
<td width="33%" height="23">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100" height="0" align="right">
<tr>
<td width="100%">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="170">
<tr>
<td><img src="images/spacer.gif" width="262" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="338" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td><img name="admin_r1_c1" src="images/admin_r1_c1.gif" width="262" height="43" border="0" alt=""></td>
<td rowspan="2"><img name="admin_r1_c2" src="images/admin_r1_c2.gif" width="338" height="164" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="43" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"><img name="admin_r2_c1" src="images/admin_r2_c1.gif" width="262" height="160" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="121" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"><img name="admin_r3_c2" src="images/admin_r3_c2.gif" width="338" height="165" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="39" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"><img name="admin_r4_c1" src="images/admin_r4_c1.gif" width="262" height="217" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="126" border="0" alt=""></td>
</tr>
<tr>
<td><img name="admin_r5_c2" src="images/admin_r5_c2.gif" width="338" height="91" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="91" border="0" alt=""></td>
</tr>
<tr>
<TD align="center" height="174" bgcolor="#000000" colspan="9" width="261">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
</table>
</td>
</tr>
<tr>
<td width="100%"><form name="form1" method="post" action="adminok.asp">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">
<p align="center"></td>
</tr>
</table>
<p><br>
</p>
<div align="center">
<center>
<table width="216" border="0" cellspacing="0" cellpadding="4" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td colspan="2" width="291"><font color="#FF6600"> </font></td>
</tr>
<tr>
<td width="103">
<p><font color="#666666">超级:</font></td>
<td width="182"><font color="#666666">
<input type="text" name="name" size="20" style="font-size: 9pt; border-style: solid; border-width: 1"></font></td>
</tr>
<tr>
<td width="103">
<p><font color="#666666">密码:</font></td>
<td width="182"><font color="#666666">
<input type="password" name="psw" size="20" style="font-size: 9pt; border-style: solid; border-width: 1"></font></td>
</tr>
<tr>
<td colspan="2" width="291">
<font color="#666666">
<input type="submit" name="Submit" value="提 交" style="font-size: 9pt; border-style: solid; border-width: 1">
<input type="reset" name="Submit2" value="重 置" style="font-size: 9pt; border-style: solid; border-width: 1"> </font>
</td>
</tr>
</table>
</center>
</div>
</form></td>
</tr>
</table>
</TD>
</tr>
<tr>
<TD align="center" height="15" bgcolor="#000000" colspan="9" width="261">
<table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%">
<p align="center"><font color="#FF6600"> <%
name=trim(Request.form("name"))
psw=trim(Request.form("psw"))
if InStr(name,"=")<>0 or InStr(name,"`")<>0 or InStr(name,"'")<>0 or InStr(name," ")<>0 or InStr(name," ")<>0 or InStr(name,"'")<>0 or InStr(name,chr(34))<>0 or InStr(name,"\")<>0 or InStr(name,",")<>0 or InStr(name,"<")<>0 or InStr(name,">")<>0 or InStr(name,"or")<>0 or InStr(name,"and")<>0 then
Response.write "☆用户名含有非法字符!请重新输入☆"
Response.end
end if
if InStr(psw,"=")<>0 or InStr(psw,"`")<>0 or InStr(psw,"'")<>0 or InStr(psw," ")<>0 or InStr(psw," ")<>0 or InStr(psw,"'")<>0 or InStr(psw,chr(34))<>0 or InStr(psw,"\")<>0 or InStr(psw,",")<>0 or InStr(psw,"<")<>0 or InStr(psw,">")<>0 or InStr(psw,"or")<>0 or InStr(psw,"and")<>0 then
Response.write "☆密码含有非法字符!请重新输入☆"
Response.end
end if
if name="" or psw="" then
Response.write "☆请填写完整用户名和密码☆"
Response.end
end if
%>
<!--#include file="data.asp"-->
<%
sql="select * from admin where admin='"&name&"' and password='"&psw&"'"
set rs=conn.execute(sql)
if rs.eof or rs.bof then
Response.write "☆用户名密码输入错误!请重新输入!☆"
Response.end
else
session("admin")="ok"
rs.close
conn.close
set rs=nothing
set conn=nothing
Response.Redirect "kj.asp"
Response.end
end if
%></font></td>
</tr>
</table>
</TD>
</tr>
<tr>
<TD align="center" height="1" colspan="9" bgcolor="#000000" width="261">
<font color="#FF6600">龙腾绝音
<a href="http://WWW.TT90.COM" style="text-decoration: none">
<font color="#FF6600">WWW.TT90.COM</font></a> 版权所有</font></TD>
</tr>
<tr>
<TD COLSPAN=9 align="center" height="1" bgcolor="#000000" width="261">
</TD>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -