|
|
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" 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="keywords" content="keyword1,keyword2,keyword3">
|
|
|
<meta http-equiv="description" content="This is my page">
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
$(function(){
|
|
|
|
|
|
var Request = GetRequest();
|
|
|
var checkid = Request["checkid"];
|
|
|
|
|
|
|
|
|
var onehtml='<li><a href="<%=basePath%>home/index.jsp?checkid=1">网站首页</a></li>';
|
|
|
|
|
|
if(checkid==1)
|
|
|
{
|
|
|
onehtml='<li class="active"><a href="<%=basePath%>home/index.jsp?checkid=1">网站首页</a></li>';
|
|
|
}
|
|
|
|
|
|
var twohtml='<li><a href="<%=basePath%>home/pinpai.jsp?checkid=2">品牌文化</a></li>';
|
|
|
|
|
|
if(checkid==2)
|
|
|
{
|
|
|
twohtml='<li class="active"><a href="<%=basePath%>home/pinpai.jsp?checkid=2">品牌文化</a></li>';
|
|
|
}
|
|
|
|
|
|
var threehtml='<li><a href="<%=basePath%>home/news.jsp?checkid=3">新闻中心</a></li>';
|
|
|
if(checkid==3)
|
|
|
{
|
|
|
threehtml='<li class="active"><a href="<%=basePath%>home/news.jsp?checkid=3">新闻中心</a></li>';
|
|
|
}
|
|
|
|
|
|
|
|
|
var fourhtml='<li><a href="<%=basePath%>home/lianxi.jsp?checkid=4">联系我们</a></li>';
|
|
|
if(checkid==4)
|
|
|
{
|
|
|
fourhtml='<li class="active"><a href="<%=basePath%>home/lianxi.jsp?checkid=4">联系我们</a></li>';
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var fivehtml='<li><a href="<%=basePath%>home/product.jsp?checkid=5">产品中心</a></li>';
|
|
|
if(checkid==5)
|
|
|
{
|
|
|
fivehtml='<li class="active"><a href="<%=basePath%>home/product.jsp?checkid=5">产品中心</a></li>';
|
|
|
}
|
|
|
var sixhtml='<li><a href="<%=basePath%>admin/index.jsp" target="_blank">后台</a></li>';
|
|
|
|
|
|
$('#navlist').html(onehtml+twohtml+fivehtml+threehtml+fourhtml+sixhtml);
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function GetRequest() {
|
|
|
var url = location.search; //获取url中"?"符后的字串
|
|
|
var theRequest = new Object();
|
|
|
if (url.indexOf("?") != -1) {
|
|
|
var str = url.substr(1);
|
|
|
strs = str.split("&");
|
|
|
for (var i = 0; i < strs.length; i++) {
|
|
|
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
|
|
|
}
|
|
|
}
|
|
|
return theRequest;
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
<div id="preloader">
|
|
|
<div id="status_1">
|
|
|
<img src="<%=basePath%>home/images/header/loader.gif" id="preloader_image" alt="loader">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="ne_top_header_main_wrapper" style="visibility:hidden;display:none;">
|
|
|
<div class="container">
|
|
|
<div class="ne_left_sec_main_wrapper">
|
|
|
<div id="day_and_time">
|
|
|
<p id="date"></p>
|
|
|
</div>
|
|
|
<div class="ne_top_about_btn hidden-xs">
|
|
|
<a href="contact.html">contact us</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- prs navigation Start -->
|
|
|
<div class="prs_navigation_main_wrapper">
|
|
|
<div class="container">
|
|
|
<div class="serach-header">
|
|
|
<div class="searchbox">
|
|
|
<button class="close">×</button>
|
|
|
<form>
|
|
|
<input type="search" placeholder="Search …">
|
|
|
<button type="submit">
|
|
|
<i class="fa fa-search"></i>
|
|
|
</button>
|
|
|
</form>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="prs_navi_left_main_wrapper">
|
|
|
<div class="prs_logo_main_wrapper">
|
|
|
<a href="index.html">
|
|
|
<img src="<%=basePath%>home/images/header/logo.png" alt="logo" class="img-responsive hidden-xs" />
|
|
|
<img src="<%=basePath%>home/images/header/logo.png" alt="logo" class="visible-xs" />
|
|
|
</a>
|
|
|
</div>
|
|
|
<div class="prs_menu_main_wrapper">
|
|
|
<nav class="navbar navbar-default">
|
|
|
<div id="dl-menu" class="xv-menuwrapper responsive-menu">
|
|
|
<button class="dl-trigger">
|
|
|
<img src="images/header/bars.png" alt="bar_png">
|
|
|
</button>
|
|
|
<div class="clearfix"></div>
|
|
|
<div class="searchd">
|
|
|
<i class="fa fa-search"></i>
|
|
|
</div>
|
|
|
<ul class="dl-menu">
|
|
|
<li class="parent"><a href="#" class="effect_nav">首页</a>
|
|
|
<!-- <ul class="lg-submenu">
|
|
|
<li><a href="index.html">Home-I</a>
|
|
|
</li>
|
|
|
<li><a href="index_II.html">Home-II</a>
|
|
|
</li>
|
|
|
<li><a href="index_III.html">Home-III</a>
|
|
|
</li>
|
|
|
<li><a href="index_IV.html">Home-IV</a>
|
|
|
</li>
|
|
|
<li><a href="index_dark.html">Home-V</a>
|
|
|
</li>
|
|
|
</ul> -->
|
|
|
</li>
|
|
|
|
|
|
<li class="parent megamenu"><a href="admin/index.jsp" target="_blank" class="effect_nav">后台 </a>
|
|
|
|
|
|
</li>
|
|
|
|
|
|
</div>
|
|
|
<!-- /dl-menuwrapper -->
|
|
|
</nav>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
|
|
</body>
|
|
|
</html>
|