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

📄 login.asp

📁 默认管理员:etaodu 密码:etaodu 陶都房市++介绍: 本版本是基于<住易江南>美化
💻 ASP
字号:
<!--#include file="conn.asp"-->
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>管理员登录</title>
<link rel=stylesheet type=text/css href=css.asa>
</head>

<body bgcolor="#ECF5FF">
<%
  IF Request.Form("IsSub")="YES" THEN
    Set conn=Server.CreateObject("ADODB.Connection")
    conn.open ConnStr
    Set rs=conn.execute("Select 值 From 系统 Where ID=1")
    IF rs(0)=Request.Form("password") THEN
      rs.close
      conn.close
      Set conn=nothing
      Set rs=nothing
      Session("fjvote_IsManager")=True
      Response.redirect "list.asp"
    ELSE
      rs.close
      conn.close
      Set conn=nothing
      Set rs=nothing
      Response.write "<Script Language=JavaScript>alert('密码错误,请重新输入')</Script>"
    END IF
  END IF
  str="你尚未登录,或者超时断开连接"
  IF Request.QueryString("cmd")="out" THEN
    str="你已经成功退出管理系统"
    Session("fjvote_IsManager")=""
  END IF
%>
<form method="POST" action="login.asp">
<input type="hidden" name="IsSub" value="YES">
<div align="center">
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="191">
    <tr>
      <td width="100%" height="191">
      <div align="center">
		<%=str%><br><br>
        <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#0099CC" width="40%" id="AutoNumber2" height="48">
          <tr>
                <td width="100%" height="17" background="dh.gif"> 
                  <p align="center"><b><font size="2">请输入密码</font></b></td>
          </tr>
          <tr>
            <td width="100%" height="30" bgcolor="#FFFFFF">          
              <p align="center">
              <input type="password" name="password" size="20">
              <input type="submit" value="提交" name="B1"></p>
            </td>
          </tr>
        </table>
      </div>
      </td>
    </tr>
  </table>
</div>
</form>
</body>

</html>

⌨️ 快捷键说明

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