<?php 
session_start();
include_once '../../common.php';
include_once '../../conn.php';	
if(!isset($_SESSION['username'])){
	echo "<script>alert('管理身份已失效请重新登录!')</script><script>top.location.href='../index.php'</script>";
	exit;
	}
$username=ubo($_SESSION['username']);
$sql1 = mysql_query("SELECT * FROM zhucema WHERE  user='$username'");
$row=mysql_fetch_array($sql1);
if($row[zdsl]!="1"){echo "<script>location.href='../index.php'</script>";}
?>
<!doctype html>
<html>
<head>
<meta charset="gb2312">
<title>菜单</title>
<link rel="stylesheet" type="text/css" href="newui/layui.css" />
<script type="text/javascript" src="newui/layui/layui.js"></script>
</head>
<body  class=" layui-bg-black">
<div style="height: 50px; background-color: #2B2E37;color:#009688;text-align: center;line-height:50px; font-size: 18px;">菜单栏</div>
<ul class="layui-nav layui-nav-tree" lay-filter="test">
<li class="layui-nav-item layui-nav-itemed">
<a href="javascript:;" class="javascript:;"><i class="layui-icon">&#xF080;</i><cite>&nbsp;订单管理</cite></a>
<dl class="layui-nav-child">
<dd> <a href="dingdan.php" target="main" >&nbsp;&nbsp;<cite>订单列表</a> </cite></dd>
<dd> <a href="wanjia.php" target="main" >&nbsp;&nbsp;<cite>玩家列表</a> </cite></dd>
</dl>	
</li>    
<li class="layui-nav-item layui-nav-itemed">
<a href="javascript:;" class="javascript:;"><i class="layui-icon">&#xF007;</i><cite>&nbsp;代理管理</cite></a>
<dl class="layui-nav-child">
<dd> <a href="user.php" target="main" >&nbsp;&nbsp;<cite>下级代理</a> </cite></dd>
</dl>	
</li>  
</ul>
<script>
layui.use('element', function(){
var element = layui.element;
});
</script>
</body>
</html>