<!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>刀客建站系统   管理中心 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/general.css" rel="stylesheet" type="text/css" />
<link href="css/main.css" rel="stylesheet" type="text/css" />
<script src='js/jquery.js'></script>
<style type="text/css">
a img { border:none;}
body {
  color:#000;
  background:#eef4f7;
}
#logos {
  margin:0 auto;
  background:#436aa3 url(images/ins-headbg.gif) repeat-x 0 0;
}

#logos-inside,#logos-inside-zh {
  width:744px;
  text-align:left;
  height:40px;
  padding-top:13px;
  margin:0 auto;
}
#logos-inside a:active {text-decoration:none;}
#logos-inside img {vertical-align:top}
#logos-inside sup { color:#fff; margin-left:10px; font-size:9px;*font-size:11px; font-family: Verdana, Geneva, sans-serif}

#logos-inside-zh { padding:5px 0 5px;}
#logos-inside-zh img{ float:left; margin-right:7px;}
#logos-inside-zh sup {color:#fff;font-size:12px;*font-size:14px; display:inline-block; margin-top:2px;line-height:1.5em;}
#lang-menu {
  background:#e3e3e7;
  height:21px;
  padding-top:3px;
  margin:0 0 20px 0;
  color:#333;
}

#lang-menu-inside {
  text-align:right;
  display: block;
  width:900px;
  margin:0 auto;
}
.centerForm { width:750px; margin:10px auto; background:#f60; border:1px solid #c0bbb4; background:#fff url(images/centerFormbg.jpg) repeat-x 0 bottom; padding-bottom:100px}
.ins-title { width:750px; margin:0 auto; margin-top:30px; font-size:18px; font-weight:700; font-family:Microsoft YaHei,"Verdana"; color:#124280}
.loginCtrlBar { background: url(images/ctrlbar.gif) repeat-x; height:27px; line-height:27px; color:#fff; margin:0; padding-left:10px;}
.textLeft { text-align:right; width:280px}
.formTable {margin-top:50px;}
.formTable td { padding:8px 0;}
input { border:1px solid #85807a; height:15px; padding:3px; width:177px;}

</style>


</head>

<body>
<div id="logos">
  <div id="logos-inside-zh"> <img src="images/install-Logo-zh.gif" alt="刀客建站系统" /><sup><%{$out.glo_site_version}%><br />建站系统</sup></div>
</div>
<div id="lang-menu">
    <div id="lang-menu-inside">&nbsp;</div>
</div>
<div class="ins-title">管理员登陆</div>
<div class="centerForm">
<p class="loginCtrlBar">进入管理中心</p>
<form method="post" action="index.php?act=login.save_login" id='form_id'>
<table class="formTable">
      <tr>
        <td class="textLeft">管理员账号</td>
        <td><input type="text" name="username" /></td>
      </tr>
      <tr>
        <td class="textLeft">管理员密码:</td>
        <td><input type="password" name="password" /></td>
	   </tr>
  		<%{if $out.is_checkcode}%>
        <tr>
        <td class="textLeft">验证码:</td>
        <td><input type="text" name="checkcode" class="capital" /></td>
      </tr>
		<%{/if}%>
		<tr>
      <td></td>
      <td align="right"><%{if $out.is_checkcode}%><img src="checkcode.php" width="145" height="20" alt="CAPTCHA" border="1" onclick= this.src="checkcode.php?rand="+Math.random() style="cursor: pointer;" title="看不清?点击更换另一个验证码." />&nbsp;&nbsp;<%{/if}%> &raquo; <a href="../" style="color:#5b5b5b; text-decoration:underline">返回首页</a> &nbsp;&nbsp;&raquo; <a href="index.php?act=login.forget_pass" style="color:#5b5b5b;text-decoration:underline">您忘记了密码吗?</a>
      </td>
      </tr>
		<tr><td>&nbsp;</td><td><input type="submit" value="进入管理中心" class="button" /></td></tr>
</table>
</form>
</div>
<p style="text-align:center; margin-top:40px">&copy; 2009 <a href="http://sitepub.cn" target="_blank">刀客建站系统  .com</a> All Rights Reserved</p>
<script>
$("#form_id").submit(
	function(){
		var username_obj	=	$("input[name='username']");
		if(!jQuery.trim(username_obj.val())){
			alert('请输入管理员账号');
			username_obj[0].focus();
			return false;
		}
	
		var password_obj	=	$("input[name='password']");
		if(!jQuery.trim(password_obj.val())){
			alert('请输入管理员密码');
			password_obj[0].focus();
			return false;
		}	
		<%{if $out.is_checkcode}%>
		var checkcode_obj	=	$("input[name='checkcode']");
		if(!jQuery.trim(checkcode_obj.val())){
			alert('请输入验证码');
			checkcode_obj[0].focus();
			return false;
		}
		<%{/if}%>
	}	
		
)

</script>
</body>

