<!--#include file="conn.asp"-->
<%
action = request.form("action")
if action = "admin" then
password = Request.form("password")
sql = "select * from [admin] where id=1"
set rs = server.createobject("adodb.recordset")
rs.open sql,conn,1,1
if password <> rs("password") then
else
session("adminname") = rs("name")
session("adminpassword") = rs("password")
rs.close
set rs = nothing
conn.close
set conn = nothing
response.redirect "admincenter.asp"
end if
end if
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<link rel="stylesheet" href="images/style2.css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>免费 激情电影网 jqdy.com</title>
</head>

<body bgcolor="#DDDDDD" background="images/15.gif" topmargin="25" leftmargin="5">

<div align="center">
  <center>
  <table border="1" cellpadding="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#006D91" width="220" height="90">
    <tr>
      <td width="100%" background="images/12.gif" align="center"><p style="margin-top: 2">登 陆 管 理</td>
    </tr>
    <tr>
      <td width="100%" bgcolor="#FBFBFB" align=center>
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="74%">
      <form method="post" action="admin.asp" name="admin">
       <input type="hidden" name="action" value="admin">
        
        <tr><td width="25%" height=10></td><td width="75%" height=10></td></tr>
        <tr>
          <td width="25%" align="center"><p style="margin-top: 2">账号:</td>
          <td width="75%" align="center"><input type="text" size="20" name="name" style="width: 120; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'" value="admin"></td>
        </tr>
        <tr>
          <td width="25%" align="center">密码:</td>
          <td width="75%" align="center">
          <input type="password" size="20" name="password" style="width: 120; height: 16" onmouseover="this.style.borderColor='#486841';this.style.backgroundColor='#E2F1A6'" onmouseout="this.style.borderColor='#006D91';this.style.backgroundColor='#EFEFEF'"></td>
        </tr>
        <tr>
          <td width="100%" align="center" colspan="2">
          <table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
            <tr><td width="50%" height=10></td><td width="50%" height=10></td></tr>
               <tr>
              <td width="50%" align="center">
                  <a href="javascript:document.admin.submit()">
              <img border="0" src="images/16.gif" alt="登录"></a></td>
              <td width="50%" align="center">
                  <a href="javascript:document.admin.reset()">
                  <img border="0" src="images/17.gif" alt="重置"></a></td>
            </tr>
          </table>
          </td>
        </tr>
      </form>
      </table>
      </td>
    </tr>
  </table>
  </center>
</div>

</body>

</html>
<%
conn.close
set conn = nothing
%>