<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>彩票中国后台管理系统</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="<%=request.getContextPath()%>/LetouBack/css/main.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="javaScript/common.js"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/Letousky/jsp/js/jqy.js"></script>
	<link href="<%=request.getContextPath()%>/LetouBack/css/top.css" rel="stylesheet" type="text/css">
	
  </head>
  <%
	/*String userName = (String)session.getAttribute("uName");
	if (userName==null)
	{
		response.sendRedirect(request.getContextPath()+"/LetouBack/login.jsp");
	}
	else
	{
		request.setAttribute("userName",userName);
	}*/
 %>
  <body style="overflow:hidden;" leftmargin="0" topmargin="0">
  	<div style="height:auto;display:block;" id="header">
	  	<div onResize="countWidth2()">
		  	<div class='header_top'>
		  		<ul>
		  			<li class='header_top_title'>彩票中国后台管理系统</li>
		  		</ul>
		  		<ul class='header_top_right'>
		  			<li><a href="javascript:void(0)" onClick="logout()">退出系统</a></li>
		  		</ul>
		  	</div>
		  	<div class='header_center_back'>
		  		<ul>
		  			<li class='header_center_tv'></li>
		  			<li class='header_center_url'>
		  				<a href="#"></a>
		  			</li>
		  		</ul>
		  	</div>
		  	<div >
		  		<div class='header_bottom_left' id='adminMenuLeft'></div>
		  		<div id="_center" class='header_bottom_center'>
		  			<ul class='header_bottom_center_ul'>
		  				<li class='header_bottom_center_ul_book'></li>
		  				<li class='header_bottom_center_ul_glcd'>管理菜单</li>
		  				<li class='header_bottom_center01'></li>
		  				<li class='header_bottom_center02'></li>
		  				<li class='header_bottom_center_username'>当前登录用户名:<%=session.getAttribute("uName") %></li>
		  			</ul>
		  			
		  		</div>
				<div class='header_bottom_right' id='adminMenuRight'></div>
			</div>
		</div>
	  </div>
  	<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
		  <tbody><tr>
			<td width="8" bgcolor="#353c44"></td>
			<td width="147" valign="top"><iframe width="100%" height="100%" frameborder="0" title="leftFrame" id="leftFrame" name="leftFrame" src="<%=request.getContextPath()%>/LetouBack/left.jsp" border="0"></iframe></td>
			<td width="10" bgcolor="#add2da"></td>
			<td valign="top"><iframe width="100%" height="100%" frameborder="0" id="main" title="rightFrame" id="rightFrame" name="rightFrame" src="<%=request.getContextPath()%>/LetouBack/index.jsp" border="0"></iframe>
			<noframes></noframes>
			</td>
			<td width="8" bgcolor="#353c44"></td>
		  </tr>
		</tbody>
	</table>
	<div id="center_div">
	  </div>
	 <div>
	 	 <div style="margin:0px;float:left;background:url('<%=request.getContextPath() %>/LetouBack/image/downPage_left.jpg') no-repeat;width:165px;height:11px;"></div>
		 <div  id='down_center' style="float:left;height:11px;width:500px;background:url('<%=request.getContextPath() %>/LetouBack/image/downPage_center.jpg') repeat-x;"></div>
	 	 <div style=" width:13px;height:12px;float:right;margin:0px;background:url('<%=request.getContextPath() %>/LetouBack/image/downPage_angle.jpg') no-repeat;"></div>	
	 </div>
	  
	  
  </body>
</html>
	<script type="text/javascript">
		function countWidth(){
			document.getElementById('down_center').style.width=(document.body.clientWidth-178)+"px";
			document.getElementById('leftFrame').style.height=(document.body.clientHeight-138)+"px";
			document.getElementById('center_div').style.height=(document.body.clientHeight-148)+"px";
		}
		countWidth();
		function countWidth2(){
			document.getElementById('_center').style.width=(document.body.clientWidth-25)+"px";
			var h = $("#header").height();
			var w = $(window).height();
			var m = w-h-20;
			$("#main").height(m);
		}
		countWidth2();
		function logout()
		{
			if (confirm("确定要退出？"))
			{
				window.location.href='<%=request.getContextPath()%>/LetouBack/logout.jsp';
			}
		}
	</script>