<%@page import="com.yeshi.buwan.domain.AdminInfo"%>
|
<%@ page contentType="text/html; charset=UTF-8"%>
|
<%@ page pageEncoding="UTF-8"%><%@ taglib prefix="page" uri="/pagelib"%>
|
<!doctype html>
|
<html>
|
<head>
|
<meta charset="utf-8">
|
<title>首页</title>
|
<link rel="stylesheet" href="/BuWan/css/index.css" type="text/css" />
|
<script type="text/javascript" src="/BuWan/js/jquery-1.9.1.min.js"></script>
|
<script type="text/javascript">
|
$("#leftmenu").load(function() {
|
var mainheight = $(this).contents().find("body").height() + 30;
|
$(this).height(mainheight);
|
});
|
|
$("#topmenu").load(function() {
|
var mainheight = $(this).contents().find("body").height();
|
$(this).height(mainheight);
|
});
|
|
$("#content").load(function() {
|
var mainheight = $(this).contents().find("body").height() + 30;
|
$(this).height(mainheight);
|
});
|
|
$(function() {
|
$("#na").find("li").click(function() {
|
$("#na").find("li").attr("class", "");
|
$(this).attr("class", "a00");
|
});
|
|
});
|
</script>
|
|
|
|
</head>
|
|
<%
|
AdminInfo info = (AdminInfo) request.getSession().getAttribute(
|
"ADMIN_INFO");
|
%>
|
|
<body>
|
<div class="div_top">
|
<div class="img_1">
|
<img src="../img/glxt.png" />
|
</div>
|
|
<div class="div_u">
|
<ul id="na">
|
<a href="systemList.action" target="topmenu"><li class="a00">APP类型</li>
|
</a>
|
<a href="/BuWan/admin/main/topmenu.jsp?type=2" target="topmenu"><li>视频资源库</li>
|
</a>
|
|
<%
|
if (info != null && info.getSuperadmin().equalsIgnoreCase("1")) {
|
%>
|
<a href="/BuWan/admin/main/topmenu.jsp?type=3" target="topmenu"><li>管理员设置</li>
|
</a>
|
<%
|
}
|
%>
|
<li><a href="logout.action">退出登录</a>
|
</li>
|
</ul>
|
</div>
|
|
<iframe name="topmenu" frameBorder="0" scrolling="no" height="44px"
|
style="margin-top: -2px;" width="100%"></iframe>
|
|
<div class="div_quan"
|
style="margin-top: -5px; height:auto; overflow: hidden;">
|
|
|
<iframe name="leftmenu" id="leftmenu" frameBorder="0" scrolling="no"
|
style=" width:303px; float:left;";
|
></iframe>
|
<div style="float: left; margin-top: 18px; ">
|
|
<iframe name="content"
|
style=" float: left; width:1500px; height:auto; overflow: hidden;"
|
id="content" frameBorder="0" scrolling="no" style="float:right"></iframe>
|
</div>
|
</div>
|
</body>
|
<script type="text/javascript">
|
window.open("systemList.action", "topmenu");
|
</script>
|
|
</html>
|