<?php
if ($admin_login == 'login') {
$web_name;
	print <<<EOT

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title> - 后台管理系统</title>
<link type="text/css" rel="stylesheet" href="/css/css.css">
<frameset rows="*" cols="100,*" framespacing="0" frameborder="1" border="false" id="frame" scrolling="yes">
	<frame name="left" scrolling="auto" marginwidth="0" marginheight="0" src="admin_left.php">
	<frame name="main" scrolling="auto" src="admin_right.php">
</frameset>
<noframes>
	<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
	<p>Please Use IE 5.0</p>
	</body>
</noframes>
</head>
</html>


EOT;
}elseif ($admin_login == 'Y') {
print <<<EOT

登陆成功!

EOT;
}else {
print <<<EOT

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>$web_name - 后台管理系统</title>
<link type="text/css" rel="stylesheet" href="../css/admin_css.css">
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/js.js"></script>
</head>
<body>
<table width="300" border="0" align="center" cellpadding="0" cellspacing="0">
           
              <tr>
                <td height="168" align="left" valign="middle" ><p class="STYLE2">
                <form name='myform' action="" enctype="multipart/form-data" method="POST">
                <input  name="login"  type="hidden" value="1">
                <b>后台用户登陆</b><br>
                <br><br>
                
                用户名: <input  name="name"  type="text"   size="21"  maxlength="20" ><br><br><br>
                
                密&nbsp;&nbsp;&nbsp;&nbsp;码: <input  name="pw"  type="password"   size="21"   maxlength="35"><br><br><br>
                验证码: <input  name="num_check"  type="text"   size="4"   maxlength="4">&nbsp;&nbsp;<a href="javascript:refreshimg()" title='看不清楚，换个图片'><img src = "../require/chk_num.php" id="imgcheckcode"></a><a href="javascript:refreshimg()" title='看不清楚，换个图片'>看不清楚，换个图片</a><br><br><br>
                
                <input type="submit" name="submit" value=" 登    陆 ">
                
                
                </form>
                </p></td>
              </tr>
              
</table>
</body>
</html>


EOT;
}
?>
