📄 pass.asp
字号:
<%
user1=request("user1")
user=request("user")
session("root")="no"
pass=request.form("password")
set conn=server.createobject("ADODB.CONNECTION")
conn.open "DBQ="+server.mappath("pfcr1015.asp")+";DRIVER={Microsoft Access Driver (*.mdb)};"
set rs=server.createobject("adodb.recordset")
sql="SELECT * from user where user='"&user1&"'"
rs.open sql,conn,1,3
if not rs.eof then
url=rs("url")
mail=rs("mail")
if rs("pass")=pass then
rs.close
set rs=nothing
conn.close
set conn=nothing
session("root")=pass
response.redirect "adminindex.asp?user="&user1&""
end if
end if
if logo="" or isnull(logo) then logo="images/girl.gif"
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title><%=user%>管理登录</title>
<style>
BODY {scrollbar-track-color:#ffffff; SCROLLBAR-FACE-COLOR: #ffffff; FONT-SIZE: 9pt; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; SCROLLBAR-SHADOW-COLOR: #eeeeee; SCROLLBAR-3DLIGHT-COLOR: #eeeeee; SCROLLBAR-ARROW-COLOR: #dddddd; FONT-FAMILY: "Verdana"; SCROLLBAR-DARKSHADOW-COLOR: #ffffff
}
select{font-size:8pt;font-family:verdana;background-color:#ffffff;border:1px dotted #cccccc; color:#333333;}
input{font-size:8pt;font-family:verdana;background-color:#ffffff;border-bottom:1px solid #cccccc;border-left:1px solid #cccccc; border-top:0px solid #cccccc;border-right:0px dotted #cccccc;color:#333333;}
textarea{font-size:8pt; font-family:verdana;background-color:#ffffff;border:1px dotted #cccccc;color:#333333;letter-spacing : 1pt ;line-height : 150%}
A {
COLOR: #333333; TEXT-DECORATION: none ;border-bottom:1px dotted
}
A:hover {
COLOR: #333333; background-color:#C0FFFF;
}
td {FONT-SIZE: 9pt; FONT-FAMILY: "Verdana"; color:#3333333;letter-spacing : 1pt ;line-height : 150%}
.td{border:1px dotted #999999}
</style>
</head>
<body bgcolor="#FFFFFF">
<div align="center">
<center>
<%=user%>的日记本 <br>
<br>
<table class=td border="0" cellspacing="0" cellpadding="20">
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<form method="POST" action="pass.asp?user=<%=user%>">
<input type="hidden" name="admuser" value="0595.3539876">
<p>
<font size="2">日记帐号:
<input type="text" name="user1" value="<%=user%>" size="20">
<p><font size="2">管理密码:
<input type="password" name="password" size="20">
</font></p>
<p>
<p style="margin-top: 3; margin-bottom: 3"><font size="2">
<input type="submit" value="提交" name="B1">
<input type="reset" value="全部重写" name="B2">
</font>
<input type="button" name="abort" value="取回密码" onClick="javascript:location.href='getpass.asp?user=<%=user%>'" style='cursor:hand;'>
<input type="button" name="abort" value="日记首页" onClick="javascript:location.href='index.asp?user=<%=user%>'" style='cursor:hand;'>
</p>
</font>
</form>
<font size="2">
<p align="center"><img border="0" src="images/i_kumo.gif" width="43" height="33">
</font></td>
</tr>
</table>
</td>
</tr>
</table>
<br>
</center>
</div>
<!--#include file="copy.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -