<?php defined('APP_NAME') || exit('Access Denied'); 
?><!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
<meta name="Author" content="QQ:401421567" />
<title>后台管理</title>
<link rel="stylesheet" href="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/css/bootstrap.min.css" />
<link rel="stylesheet" href="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/css/me.css" />
<script>var vip_key = "<?php echo(isset($vip['_key']) ? $vip['_key'] : ''); ?>";</script>
<script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/js/jquery.js"></script>
<script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/js/bootstrap.min.js"></script>
<script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>js/layer/layer.js"></script>
<script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/js/admin.js" type="text/javascript"></script>
<!--[if lt IE 8]>
	<p class="text-red pd20 f24 text-center">
		【友情提示】<br />您的浏览器版本太低了，部分功能可能无法使用！<br />
		请使用<strong>Chrome</strong>、<strong>Firefox</strong>登陆后台！感谢您的支持！
	</p>
<![endif]-->
<!--[if lt IE 9]>
  <script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/js/html5.js"></script>
  <script src="<?php echo(isset($C['admin_static']) ? $C['admin_static'] : ''); ?>admin/js/respond.min.js"></script>
<![endif]-->
</head>
<body scroll="no" style="overflow-x:hidden;overflow-y:hidden;height:100%;margin:0;padding:0;">
<div style="position: relative;min-width:980px;width:100%;height: 100%;">
<nav class="navbar navbar-custom" style="height:50px;width:100%">
	<div class="navbar-header">
		<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#topnavbar" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
		<a class="navbar-brand" href="./" style="width:165px;">Admin</a>
	</div>
	<div class="collapse navbar-collapse" id="topnavbar">
		<ul class="nav navbar-nav" id="topnav">
			<?php if(isset($_navs[0]) && is_array($_navs[0])) { foreach($_navs[0] as $pKey=>&$name) { ?>
			<li class="dropdown" pKey="<?php echo(isset($pKey) ? $pKey : ''); ?>"><a href="javascript:;" hidefocus="true" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><b><?php echo(isset($name) ? $name : ''); ?></b> <span class="caret"></span></a>
				<ul class="dropdown-menu">
				<?php if(isset($_navs[2][$pKey]) && is_array($_navs[2][$pKey])) { foreach($_navs[2][$pKey] as $url=>&$arr) { ?>
					<li><a href="javascript:;" addtabs="<?php echo(isset($url) ? $url : ''); ?>" urlKey="<?php echo(isset($url) ? $url : ''); ?>" pKey="<?php echo(isset($pKey) ? $pKey : ''); ?>"><?php echo(isset($arr['name']) ? $arr['name'] : ''); ?></a></li>
				<?php }} ?>
				</ul>
			</li>
			<?php }} ?>
		</ul>
		<ul class="nav navbar-nav navbar-right small">
			<li><a href="javascript:;"><?php echo(isset($_user['username']) ? $_user['username'] : ''); ?>（<?php echo(isset($_group['groupname']) ? $_group['groupname'] : ''); ?>） 您好！</a></li>
			<li><a href="../" target="_blank"><span class="glyphicon glyphicon-home"></span> 查看前台</a></li>
			<li><a href="javascript:;" onClick="clearHC();"><span class="glyphicon glyphicon-trash"></span> 清空缓存</a></li>
			<li><a href="index.php?u=index-logout"><span class="glyphicon glyphicon-log-out"></span> 安全退出</a></li>
			<li class="copyright" id="copyright"><a href="http://wpa.qq.com/msgrd?v=3&uin=401421567&site=hotel&menu=yes" target="_blank"><span class="glyphicon glyphicon-user"></span> 技术支持</a></li>
		</ul>
	</div>
</nav>
<div class="col-xs-12" id="tabs" style="position: absolute;top:60px;width:100%;bottom:80px;">
	<a id="closeer" class="pull-right tabdrop f24 text-danger" href="javascript:delsTab();" title="删除所有标签页，当前页和首页除外"><b class="glyphicon glyphicon-remove"></b></a>
	<a id="ifr_refresh" class="pull-right tabdrop f24 text-danger" href="javascript:;" title="刷新内页" style="margin-right:10px;"><b class="glyphicon glyphicon-refresh"></b></a>
	<ul class="nav nav-tabs" role="tablist" id="box_tab"><li role="presentation" class="active" id="my-index" pKey="home"><a href="#tab_my-index" aria-controls="my-index" role="tab" data-toggle="tab" urlKey="my-index">后台首页</a></li></ul>
	<div id="box_frame" class="tab-content" style="display: block;height:100%;position: absolute;left:0;bottom: 0;right:0;top:50px"><div role="tabpanel" class="tab-pane active" id="tab_my-index"><iframe class="iframeClass layui-layer-load" frameborder="no" style="position: absolute;top:0;left: 0;bottom: 0;right: 0;height:100%;" border="0" onload="$(this).removeClass('layui-layer-load');" src="index.php?u=my-index"></iframe></div></div>
</div>
</div>
</body>
</html>