<?php 
session_start();
require_once("../core/ht.fun.php");
if($_GET['action']=='login'){check_login();};
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FFS 后台登陆</title>
<link type="text/css" rel="stylesheet" href="<?php echo $config['url'];?>/css/main.css" />
<style type="text/css">
html{ background:none;}
body { background:#016aa9 url(../images/login_bg.jpg) no-repeat center 100px; overflow:hidden;}
</style>
<script type="text/javascript" src="<?php echo $config['url'];?>/js/ht_fun.js">
</script>
</head>
<body>
<form action="?action=login" method="post" class="g_login_form" name="g_login_form" onsubmit="return check_login(this);">
  <p>
    <label>用户</label>
    <input type="text" name="username" />
  </p>
  <p>
    <label>密码</label>
    <input type="password" name="password" />
    <input type="image" src="../images/g_login_botton.gif" name="login_submit" class="login_submit" />
  </p>
</form>
</body>
</html>
