📄 login.asp
字号:
<!--#include file="conn.asp"-->
<%
if request("intereye")="提交" then
dim sql
dim loginname
dim loginpassword
loginname=request("loginname")
loginpassword=request("loginpassword")
sql="select * from admin"
rs.open sql,conn,1,1
if trim(rs("admin"))<>loginname or trim(rs("password"))<>loginpassword then
response.redirect"login.asp"
end if
session("loginname")=loginname
session("loginpassword")=loginpassword
session("logined")=true
rs.close
set rs=nothing
conn.close
set conn=nothing
response.redirect"guanli.htm"
end if
%>
<title>超级用户登陆入口</title>
<script language="javascript">
<!--
alert('你是管理员吗?\n\n只有管理员才可以进呀!\n\n要不你也试试?')
-->
</script>
<meta http-equiv=Content-Language content=zh-cn>
<link rel=stylesheet type=text/css href=css/intereye.css></head>
<body topmargin=150 background=images/bg.gif><div align=center>
<center>
<table border=1 cellpadding=0 cellspacing=0 style=border-collapse:collapse bordercolor=#111111 width=202 id=AutoNumber1 height=111>
<tr><td width=199 align=center height=22 bgcolor=#34AACD>
<font color=#FFFFFF>超级用户登陆入口</font><tr>
<td width=199 align=center height=65>
<form method=POST action=login.asp>
<table border=0 cellpadding=0 cellspacing=0 style=border-collapse:collapse bordercolor=#111111 width=100% id=AutoNumber2 height=88 bgcolor=#E0E0E0><tr><td width=32% height=31 align=center>用户名
<td width=68% height=31>
<input type=text name=loginname size=20 style=border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1><tr><td width=32% height=31 align=center>密 码
<td width=68% height=31>
<input type=password name=loginpassword size=20 style=border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1><tr><td width=100% height=26 colspan=2>
<p align=center><input type=submit value=提交 name=intereye style="font-size: 9pt; height: 19; width: 52; color: #E0E0E0; background-color: #006898; border: 2 solid #3399FF" onMouseOver ="this.style.backgroundColor='#ff0000'" onMouseOut ="this.style.backgroundColor='#006898'"> <input type=reset value=重置 name=reset style="font-size: 9pt; height: 19; width: 52; color: #E0E0E0; background-color: #006898; border: 2 solid #3399FF" onMouseOver ="this.style.backgroundColor='#ff0000'" onMouseOut ="this.style.backgroundColor='#006898'">
<a href="index.asp" style="font-size: 9pt; height: 19; width: 52; color: #E0E0E0; background-color: #006898; border: 2 solid #3399FF" onMouseOver ="this.style.backgroundColor='#ff0000'" onMouseOut ="this.style.backgroundColor='#006898'">那我走了</a></table></form><tr>
<td width=199 align=center height=20 bgcolor=#34AACD>
<font color=#FFFFFF>会计电算化40215班专用通讯录</font>
</table></center></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -