<%@ Language=VBScript %>
<%Option Explicit%>
<!-- #INCLUDE FILE = "../inc.asp" -->
<%
Dim sURL
sURL = Request.QueryString("URL")
If sURL = Empty Then sURL = Request.ServerVariables("SCRIPT_NAME")

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="manager.css" type="text/css">
<base target="_self">
</head>
<body <%=g_BodyTag%>>
<%If Request.Cookies("AdminLoged") = "True" Then%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><%=Request.Cookies("Admin")%>，您已经成功登陆！<a href="m_adminlogout.asp">退出</a></td>
  </tr>
</table>
<%Else%>
<form name="form" method="post" action="m_adminlogin.asp">
  <table width="300" border="0" cellspacing="0" cellpadding="0" class="solid1" align="center">
    <tr> 
      <td bgcolor="#FFFFFF"> 
        <table width="100%" border="0" cellspacing="1" cellpadding="3">
          <tr align="center"> 
            <td background="images/admin_bg_1.gif" height="20" colspan="2"><font color="#FFFFFF"><b>管理员登陆</b></font></td>
          </tr>
          <tr> 
            <td bgcolor="#DEE5FA" align="center">管理员： </td>
            <td bgcolor="#DEE5FA" align="center"> 
              <input type="text" name="Name">
            </td>
          </tr>
          <tr> 
            <td bgcolor="#DEE5FA" align="center">密　码： </td>
            <td bgcolor="#DEE5FA" align="center"> 
              <input type="password" name="Password">
            </td>
          </tr>
          <tr align="right"> 
            <td bgcolor="#DEE5FA" colspan="2">
			  <input type="hidden" name="URL" value="<%=sURL%>">
              <input type="submit" name="Submit" value="登陆">
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</form>
<%End If%>
</body>
</html>