⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.asp

📁 以前企业建网站
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
if request("action")="login" then
admin_name=request("admin_name")
admin_pass=request("admin_pass")
set rs=server.createobject("adodb.recordset")
sql="select * from admin where admin_name='"&admin_name&"'"
rs.open sql,conn,3,3
if rs.eof then
response.write "<br><center><font color=red>用户名不匹配</font>"
elseif admin_pass=rs("admin_pass") then
session("admin_name")=rs("admin_name")
response.redirect "manage.asp"
else
response.write "<br><center><font color=red>您的密码错误</font>"
end if
rs.close
end if
%>
<head>
<title>服务管理</title>
<link href=../style.css rel=STYLESHEET type=text/css>
</head>
<body style="background-color: #C0C0C0">
<center>
 <p><b><font size="3">管理员登陆<br>
<br>
<img border="0" src="../images/383.gif" width="383" height="1"></font></b></p>
<table border="0" width="400" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF">
<tr>
<td width="98%" height="89" valign="top">
<form method="POST" action="login.asp?action=login">
<table border="0" width="128%" cellspacing="1" height="102" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF">
<tr>
<td width="100" align="center">管理员:</td>
<td width="293"><input type="text" name="admin_name" size="20" class="input"></td>
</tr>
<tr>
<td width="100" align="center">密&nbsp;&nbsp;码:</td>            
<td width="293"><input type="password" name="admin_pass" size="20" class="input"></td>
</tr>
</table>
<p align="center"><input type="image" border="0" name="B1" src="../images/bbs01.gif" width="42" height="19"><br>
<img border="0" src="../images/383.gif" width="383" height="1"></p>
<p align="center">用户名: admin</p> 
<p align="center">密&nbsp; 码:admin<br> 
<br>
测试:为不影响广网友试用本系统,请不要擅自修改管理员与密码!<br>
<font color="#FF0000"><br>
谢谢合作!</font></p>
</form>
</td>
</tr>
</table>
<p align="center"><br>
 </p>
</center>
</body>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -