<?php
header("content-type:text/html;charset=utf-8");
require("../configuration.php");
require("includes.php");
	//语言包引入
	$l_langpackage=new loginlp;
?>
<!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>
<script type='text/javascript' src='../servtools/md5.js'></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $l_langpackage->l_backend?></title>
<style>
<!--
body { margin:0px }
td  { font-family: 宋体; font-size: 9pt }
img { border:0px }

.backend_title{ border:1px solid #e5e5e5;margin-left:2px }

.login_main { margin-top:90px }

.login_box_h { color:#00000;margin-left:52px;margin-top:28px;font-size:20px;font-family:宋体; }

.login_box_t { color:#000000;margin-left:46px;margin-top:10px;margin-bottom:28px;font-size:12px;font-family:宋体;padding-left:6px }

.input-text {
   WIDTH:206px;HEIGHT:22px;
	BORDER-RIGHT: #c8c8c8 1px solid; BORDER-TOP: #aaa 1px solid; BACKGROUND: #fff; FONT: 12px arial, helvetica, sans-serif; BORDER-LEFT: #aaa 1px solid; BORDER-BOTTOM: #c8c8c8 1px solid
}
.form-button {
	BORDER-RIGHT: #a04300 1px solid; PADDING-LEFT: 2px;PADDING-RIGHT: 2px; BORDER-TOP: #ed6502 1px solid;  BACKGROUND: url(images/login_btn_bg.gif) #ffac47 repeat-x 0px 100%; PADDING-BOTTOM: 1px; FONT: bold 12px arial, helvetica, sans-serif; BORDER-LEFT: #ed6502 1px solid; CURSOR: pointer; COLOR: #fff; PADDING-TOP: 0px; BORDER-BOTTOM: #a04300 1px solid; WHITE-SPACE: nowrap; TEXT-ALIGN: center! important
}
.login_cr { height:28px;padding-top:7px }
-->
</style>
<script type='text/javascript'>
	function check_form(){
		var admin_name=document.getElementById("admin_name").value;
		var admin_password=document.getElementById("admin_password").value;
		if(admin_password==""||admin_name==""){
			alert('<?php echo $l_langpackage->l_null?> ');return false;
		}else{
			document.getElementById("admin_password").value=MD5(admin_password);
		}
	}
</script>
</head>
<body bgcolor="#FFFFFF">

<!-- imageReady Slices1 -->
<table id="Table_01" width="100%" height="79" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="161">
			<img src="images/top_01.gif" width="161" height="79" alt=""></td>
		<td width="239">
			<img src="images/top_02.gif" width="239" height="79" alt=""></td>
		<td width="179">
			<img src="images/top_03.gif" width="179" height="79" alt=""></td>
		<td width="100">
			<img src="images/top_04.gif" width="100" height="79" alt=""></td>
		<td width="278">
			<img src="images/top_05.gif" width="278" height="79" alt=""></td>
		<td width="*" height="79" background="images/top_06.gif"><img src="images/spacer.gif" width="1" height="1" alt=""></td>
	</tr>
</table>
<!-- End imagesReady Slices1 -->

<!-- imagesReady Slices  -->
<table class="login_main" id="Table_01" width="530" height="200" border="0" cellpadding="0" cellspacing="0" align=center>
     <tr>
		<td height="18" colspan="3">
		<table class=backend_title>
		<tr>
		<td background="images/iweb_sns_title.jpg" height="21" width="80"><img border="0" src="images/spacer.gif" width="1" height="1"></td>
		<td valign="bottom"><b><?php echo $l_langpackage->l_login_entrance?></b>&nbsp;</td></tr>
		</table>		
		</td>
	</tr>
	<tr>
		<td  width="5" height="2"></td>
		<td  width="*" height="2"></td>
		<td  width="5" height="2" ></td>
	</tr>
	<tr>
		<td  width="5" height="5"><img border="0" src="images/login_boxtl.gif"></td>
		<td  width="*" height="5" background="images/login_boxtc.gif"><img border="0" src="images/login_boxtc.gif"></td>
		<td  width="5" height="5" ><img border="0" src="images/login_boxtr.gif"></td>
	</tr>
	
	<tr>
		<td  width="5" height="*" background="images/login_boxmm.gif"><img border="0" src="images/login_boxmm.gif"></td>
		<td  width="*" background="images/login_box_bg.jpg" valign="top">
		  <!--login_box_start-->
		  <div class=login_box_h><?php echo $l_langpackage->l_login_admin?></div>
		  <table class=login_box_t border="0" cellpadding="0" cellspacing="0" width="420">
		  	<form action="check_login.php" method="post" name="login_main" id="login_main" onsubmit="return check_form();">
		  <tr>
		     <td  width="50%" height="18" valign="bottom"><b><?php echo $l_langpackage->l_name?>：</b></td>
		     <td  width="50%"><b><?php echo $l_langpackage->l_pw?>：</b></td>
	     </tr>
	     <tr>
		     <td  width="50%" height="25" valign="top">
		     <input class="input-text" id="admin_name" name="admin_name" /></td>
		     <td  width="50%" valign="top">
		     <input class="input-text" id="admin_password" type="password" name="admin_password" /></td>
	     </tr>


	     <tr>
		     <td  width="50%" height="9"></td>
		     <td  width="50%"></td>
	     </tr>
	      <tr>
		     <td  width="50%" height="25"><font color="#EA7601"><?php echo $l_langpackage->l_forget?></font></td>
		     <td  width="50%" align="right">
		     <input class="form-button validation-passed" type="submit" value="<?php echo $l_langpackage->l_login?>">
		     </td>
	      </tr>
	    </form>
		  </table>	
		  <!--login_box_end-->
       </td>
		<td  width="5" height="*" background="images/login_boxmm.gif"><img border="0" src="images/login_boxmm.gif"></td>
	</tr>
	
	<tr>
		<td  width="5" height="6"><img border="0" src="images/login_boxml.gif"></td>
		<td  width="*" height="6" background="images/login_boxmc.gif"><img border="0" src="images/login_boxmc.gif"></td>
		<td  width="5" height="6"><img border="0" src="images/login_boxmr.gif"></td>
	</tr>	
	<tr>
		<td  width="5" height="*" background="images/login_boxmm.gif"><img border="0" src="images/login_boxmm.gif"></td>
		<td  width="*" height="*" align=center valign=middle>
		  <div class=login_cr><?php echo $l_langpackage->l_title?></div>		
		</td>
		<td  width="5" height="*" background="images/login_boxmm.gif"><img border="0" src="images/login_boxmm.gif"></td>
	</tr>
	<tr>
		<td  width="5" height="6"><img border="0" src="images/login_boxbl.gif"></td>
		<td  width="*" height="6" background="images/login_boxbc.gif"><img border="0" src="images/login_boxbc.gif"></td>
		<td  width="5" height="6"><img src="images/login_boxbr.gif"></td>
	</tr>
	
</table>
<!-- End imagesReady Slices -->
</body>
</html>