<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="com.cn.domain.Admin" %>
<%  // 设置页面使用的编程语言、内容类型和字符编码，并导入Admin类
    String path = request.getContextPath();  // 获取项目的上下文路径
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  // 获取项目的完整URL路径
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">  <!-- 设置页面编码为UTF-8 -->
<meta name="renderer" content="webkit|ie-comp|ie-stand">  <!-- 兼容性设置 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">  <!-- IE兼容设置 -->
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />  <!-- 响应式布局设置 -->
<meta http-equiv="Cache-Control" content="no-siteapp" />  <!-- 禁止网站应用缓存 -->
<link rel="Bookmark" href="/favicon.ico" >  <!-- 收藏夹图标 -->
<link rel="Shortcut Icon" href="/favicon.ico" />  <!-- 快捷方式图标 -->
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->  <!-- IE9以下版本HTML5shiv和respond.js兼容设置 -->
<link rel="stylesheet" type="text/css" href="<%=basePath%>static/h-ui/css/H-ui.min.css" />  <!-- H-ui前端框架样式 -->
<link rel="stylesheet" type="text/css" href="<%=basePath%>static/h-ui.admin/css/H-ui.admin.css" />  <!-- H-ui后台管理模板样式 -->
<link rel="stylesheet" type="text/css" href="<%=basePath%>lib/Hui-iconfont/1.0.8/iconfont.css" />  <!-- 图标字体样式 -->
<link rel="stylesheet" type="text/css" href="<%=basePath%>static/h-ui.admin/skin/default/skin.css" id="skin" />  <!-- 皮肤样式 -->
<link rel="stylesheet" type="text/css" href="<%=basePath%>static/h-ui.admin/css/style.css" />  <!-- 自定义样式 -->
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->  <!-- IE6 PNG图片透明设置 -->
<title>火车站售票后台管理系统  v1.0</title>
</head>
<body>
<header class="navbar-wrapper">  <!-- 页面头部，包含导航栏 -->
	<div class="navbar navbar-fixed-top">  <!-- 固定顶部的导航栏 -->
		<div class="container-fluid cl"> <a class="logo navbar-logo f-l mr-10 hidden-xs" href="<%=basePath%>pages/admin/adminMain.jsp">火车站售票后台管理系统 </a> 
			<span class="logo navbar-slogan f-l mr-10 hidden-xs">v1.0</span>  <!-- 系统版本 -->
			<a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>  <!-- 导航栏切换按钮 -->
		</div>
	</div>
</header>
<aside class="Hui-aside">  <!-- 侧边栏菜单 -->
	<div class="menu_dropdown bk_2">
		<dl id="menu-article">  <!-- 车次管理菜单 -->
			<dt><i class="Hui-iconfont">&#xe616;</i> 车次管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					<li><a data-href="<%=basePath%>GetAllTrainServlet" data-title="车次管理" href="javascript:void(0)">车次列表</a></li>
				</ul>
			</dd>
		</dl>
		<dl id="menu-picture">  <!-- 订单中心菜单 -->
			<dt><i class="Hui-iconfont">&#xe613;</i> 订单中心<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					<li><a data-href="<%=basePath%>GetAllPrepServlet" data-title="订单中心" href="javascript:void(0)">订单列表</a></li>
				</ul>
			</dd>
		</dl>
		<dl id="menu-member">  <!-- 会员中心菜单 -->
			<dt><i class="Hui-iconfont">&#xe60d;</i> 会员中心<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					<li><a data-href="<%=basePath%>MemberCenterServlet" data-title="会员列表" href="javascript:;">会员列表</a></li>
				</ul>
			</dd>
		</dl>
		<dl id="menu-admin">  <!-- 管理员管理菜单 -->
			<dt><i class="Hui-iconfont">&#xe62d;</i> 管理员管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					<li><a data-href="<%=basePath%>GetAllAdminServlet" data-title="管理员列表" href="javascript:void(0)">管理员列表</a></li>
					<li><a data-href="<%=basePath%>pages/admin/right/updateAdminPassword.jsp" data-title="修改密码" href="javascript:void(0)">修改密码</a></li>
				</ul>
			</dd>
		</dl>
		<dl id="menu-tongji">  <!-- 销售统计菜单 -->
			<dt><i class="Hui-iconfont">&#xe61a;</i> 销售统计<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
			<dd>
				<ul>
					<li><a data-href="<%=basePath%>CountPrepServlet" data-title="统计详情" href="javascript:void(0)">统计详情</a></li>
				</ul>
			</dd>
		</dl>
	</div>
</aside>
<div class="dislpayArrow hidden-xs">  <!-- 显示/隐藏侧边栏的箭头 -->
	<a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a>
</div>
<section class="Hui-article-box">  <!-- 页面主要内容区域 -->
	<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">  <!-- 标签导航 -->
		<div class="Hui-tabNav-wp">
			<ul id="min_title_list" class="acrossTab cl">
				<li class="active">  <!-- 当前激活的标签 -->
					<span title="我的桌面" data-href="<%=basePath%>/pages/admin/welcome.jsp">我的桌面</span>
					<em></em>
				</li>
			</ul>
		</div>
		<div class="Hui-tabNav-more btn-group">  <!-- 标签导航左右切换按钮 -->
			<a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a>
			<a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a>
		</div>
	</div>
	<div id="iframe_box" class="Hui-article">  <!-- 内嵌iframe区域 -->
		<div class="show_iframe">
			<div style="display:none" class="loading"></div>
			<iframe scrolling="yes" frameborder="0" src="<%=basePath%>/pages/admin/welcome.jsp"></iframe>
		</div>
	</div>
</section>

<div class="contextMenu" id="Huiadminmenu">  <!-- 右键菜单 -->
	<ul>
		<li id="closethis">关闭当前 </li>
		<li id="closeall">关闭全部 </li>
	</ul>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="<%=basePath%>lib/jquery/1.9.1/jquery.min.js"></script>  <!-- jQuery库 -->
<script type="text/javascript" src="<%=basePath%>lib/layer/2.4/layer.js"></script>  <!-- layer弹出层插件 -->
<script type="text/javascript" src="<%=basePath%>static/h-ui/js/H-ui.min.js"></script>  <!-- H-ui前端框架功能 -->
<script type="text/javascript" src="<%=basePath%>static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="<%=basePath%>lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>
<script type="text/javascript">
$(function(){
	/*$("#min_title_list li").contextMenu('Huiadminmenu', {
		bindings: {
			'closethis': function(t) {
				console.log(t);
				if(t.find("i")){
					t.find("i").trigger("click");
				}		
			},
			'closeall': function(t) {
				alert('Trigger was '+t.id+'\nAction was Email');
			},
		}
	});*/
});
/*个人信息*/
function myselfinfo(){
	layer.open({
		type: 1,
		area: ['300px','200px'],
		fix: false, //不固定
		maxmin: true,
		shade:0.4,
		title: '我的信息',
		content: 'ID：${sessionScope.admin.adminId}<br/>用户名：${sessionScope.admin.userName}<br/>密码：${sessionScope.admin.password}<br/>注册时间：${sessionScope.admin.creatTime}<br/>权限代码：${sessionScope.admin.flag}<br/>登录时间：${sessionScope.admin.loginTime}<br/>'
		
	});
}


</script> 

</body>
</html>