
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="robots" content="none" />
<title>壹报通——用户登陆</title>
<script src="/inc/js/ajax/ajax.js" type="text/javascript"></script>
<script src="/inc/js/ajax/form.js" type="text/javascript"></script>
<style type="text/css">
<!--
body {font-family:Arial;line-height:100%;}
.relative {	position:relative;left:0px;top:0px;}
.relative .adminLoginChs {	position:absolute;left:20px;top:15px;}
.relative .adminLoginEn {	position:absolute;left:20px;top:50px;}
.relative .cbeEn {	position:absolute;left:12px;top:130px;}
.loginInfo {	font-size:12px;font-weight:bold;color:#36AEE2;}
.copyright {	font-size:12px;color:#898989;}
.loginButton {	background-image:url(images/button/login.gif);border:none;width:82px;height:20px;color:#333;font-size:12px;}
.textBox {	border:1px solid #84A2BE;height:20px;width:162px;}
.loginBox {	position:absolute;left:600px;top:40px;}
body,td,th {	font-size:12px;}
-->
</style>
</head>

<body>
<div class="relative" style="z-index:10;">
<table width="244" height="200" border="0" cellpadding="0" cellspacing="0" background="images/loginBoxBg.gif" class="loginBox">
  <tbody>
  <tr>
    <td height="79" valign="top"><img src="images/loginBoxTop.jpg" width="244" height="79" /></td>
  </tr>
  <tr>
    <td align="center" valign="top">
      <table width="100%" height="122" border="0" cellpadding="1" cellspacing="1"><form id="loginForm" name="loginForm" method="post" action="/inc/login/check.asp">
        <tbody>
        <tr>
          <td width="53" height="27" align="right">用户名(Username)</td>
          <td width="184" align="left"><input name="username" type="text" class="textBox" id="username" /></td>
        </tr>
        <tr>
          <td height="27" align="center">密　码(Password)</td>
          <td align="left"><input name="password" type="password" class="textBox" id="password" /></td>
        </tr>
        <tr>
          <td height="22">　</td>
          <td align="left"><input name="remember" type="checkbox" id="remember" value="1" />
            记住用户名</td>
        </tr>
        <tr>
          <td colspan="2" align="center"><input name="Submit" type="submit" class="loginButton" value="登 录(Login)" />
            &nbsp;&nbsp;
            <input name="Submit2" type="reset" class="loginButton" value="清 空(Reset)" /></td>
        </tr>
        </tbody>
        </form>
      </table>
        
    <hr align="center" width="80%" size="1" noshade="noshade" />
	</td>
  </tr>
  <tr>
    <td height="4"><img src="images/loginBoxBottom.gif" width="244" height="4" /></td>
  </tr>
</tbody>
</table>
</div>
<table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
  <tbody>
  <tr>
    <td height="83"><img src="images/logo/logo.gif" width="188" height="65" /></td>
  </tr>
</tbody>
</table>
<table width="770" height="155" border="0" align="center" cellpadding="0" cellspacing="0">
  <tbody>
  <tr>
    <td width="188"><img src="images/loginPageLeft.jpg" width="188" height="155" /></td>
    <td width="653" valign="top" background="images/loginPageCenter.gif"><div class="relative" style="z-index:1;"><img src="images/adminLoginChs.gif" width="109" height="27" class="adminLoginChs" /><img src="images/adminLoginEn.gif" width="195" height="24" class="adminLoginEn" /><img src="images/cbeEn.gif" width="269" height="22" class="cbeEn" /></div></td>
    <td width="4"><img src="images/loginPageRight.gif" width="4" height="155" /></td>
  </tr>
</tbody>
</table>
<table width="770" height="124" border="0" align="center" cellpadding="0" cellspacing="0">
  <tbody>
  <tr>
    <td width="13" height="124">　</td>
    <td width="757" class="loginInfo"><img src="images/ico/ico1.gif" width="26" height="23" align="absmiddle" />客户需注册会员后，方可在线登记信息<br />      <br />
    <img src="images/ico/ico2.gif" width="26" height="20" align="absmiddle" />客户注册成功后，可以获取操作平台，直接在线填写项目表格。<br />      <br />
    <img src="images/ico/ico3.gif" width="26" height="23" align="absmiddle" />客户所登信息在经网站审核后，方可发布。</td>
  </tr>
</tbody>
</table>
<table width="770" height="50" border="0" align="center" cellpadding="0" cellspacing="0" background="images/loginBottomBg.gif">
  <tbody>
  <tr>
    <td align="center" valign="middle" class="copyright">Copyright 2004-2012 壹报通 版权所有 </td>
  </tr>
</tbody>
</table>

</body>
</html>
<script type="text/javascript">
var loginForm=new document.getElementById("loginForm"),isLogin);
loginForm.check=checkForm;

function checkForm(){
	if(document.getElementById("username").value==""){
		alert("请录入用户名！");
		document.getElementById("username").focus();
		return false;
	}
	if(document.getElementById("password").value==""){
		alert("请录入密码！");
		document.getElementById("password").focus();
		return false;
	}
	return true;
}

function isLogin(){
	var loginState=loginForm.responseText
	if(loginState=="1"){
		location="/"
	}else{
		alert("登录失败!")
	}
}
</script>
