<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php  echo $admin_login; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/validator.js"></script>
<style type="text/css">
body {
  color: white;
}
</style>
</head>
<body style="background: #278296">
<form method="post" action="index.php?ctl=index&act=admin_login" name='theForm'  onsubmit="return validate();">
  <table cellspacing="0" cellpadding="0" style="margin-top: 100px" align="center">
  <tr>
    <td><a href="http://www.binzcms.com/" target="_blank"><img src="images/login.png" width="178" height="256" border="0" alt="BINZCMS" /></a></td>
    <td style="padding-left: 50px">
      <table>
      <tr>
        <td><?php  echo $admin_login_name; ?><!--管理员名称-->：</td>
        <td><input type="text" name="username" id="username" size="18" /></td>
      </tr>
      <tr>
        <td><?php  echo $admin_login_passwd; ?><!--管理员密码-->：</td>
        <td><input type="password" name="password" id="password" size="18" /></td>
      </tr>
      <tr>
        <td><?php  echo $admin_login_code; ?><!--输入验证码-->：</td>
        <td><input type="text" name="login_code" id="login_code" class="login_code" size="10"/>&nbsp;<?php  echo $binz_code; ?></td>
      </tr>
      <tr><td>&nbsp;</td><td><input type="submit" value="<?php  echo $admin_login_submit; ?>" class="button" /></td></tr>
      <tr>
        <td colspan="2" align="right">&raquo; <a href="../" target="_blank" style="color:white"><?php  echo $admin_login_index; ?><!--返回前台首页--></a> <!--&raquo; <a href="get_password.php?act=forget_pwd" style="color:white"><?php  echo $admin_login_forget_pwd; ?></a>--><!--找回密码-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2" align="right">&nbsp;</td>
      </tr>
      </table>
    </td>
  </tr>
  </table>
</form>
<script language="JavaScript">
<!--
 document.getElementById('username').focus();
  /**
   * 检查表单输入的内容
   */
  function validate()
  {
    var validator = new Validator('theForm');
    validator.required('username','<?php  echo $admin_login_name_null; ?>');
	validator.required('password','<?php  echo $admin_login_pwd_null; ?>');
    validator.required('login_code','<?php  echo $admin_login_code_null; ?>');
    return validator.passed();
  }
//-->
</script>
</body>