<?php
error_reporting(E_ERROR | E_WARNING | E_PARSE);
// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
// HTTP/1.0
header("Pragma: no-cache");
@include("../class/config.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>帝国网站管理系统后台登陆</title>
<link href="../data/images/css.css" rel="stylesheet" type="text/css">
<base onmouseover="window.status='帝国网站管理系统(Empire CMS)';return true">
<script>
if(self!=top)
{parent.location.href='index.php';}
</script>
</head>

<body background="../data/images/bg.gif" onload="document.form1.username.focus();">
<form name="form1" method="post" action="enews.php">
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <table width="320" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
    <input type=hidden name=enews value=login>
    <tr class="header"> 
      <td height="25" colspan="2"><div align="center"><strong><font color="#FFFFFF">管理员登陆</font></strong></div></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="32%" height="25">用户名：</td>
      <td width="68%" height="25"><input name="username" type="text" id="username"></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="25">密码：</td>
      <td height="25"><input name="password" type="password" id="password"></td>
    </tr>
    <?
	if(empty($public_r['adminloginkey']))
	{
	?>
    <tr bgcolor="#FFFFFF"> 
      <td height="25">验证码：</td>
      <td height="25"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td width="52"> <input name="key" type="text" id="key" size="6"> </td>
            <td><img src="ShowKey.php" align="bottom"></td>
          </tr>
        </table></td>
    </tr>
	<?
	}
	?>
    <tr bgcolor="#FFFFFF">
      <td height="25">窗口模式：</td>
      <td height="25"><input type="radio" name="adminwindow" value="0" checked>
        正常
        <input type="radio" name="adminwindow" value="1">
        全屏</td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="25">&nbsp;</td>
      <td height="25"><input type="submit" name="Submit" value="登陆"> <input type="reset" name="Submit2" value="重置"></td>
    </tr>
  </table>
</form>
</body>
</html>
