WebRoot/front/index.jsp

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-INF/tld/public.tld" prefix="public" %>
<%@ page import="com.sys.common.util.DateUtil"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
Date date = new Date();
String nowTime = DateUtil.convDate2String(date,DateUtil.DEFAULT_DATE_TIME_PATTERN);
%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
 <script type="text/javascript" src="<%=basePath%>/front/front_js/calendar.js" charset="utf-8"></script>
 <script type="text/javascript" src="<%=basePath%>/front/front_js/public.js" charset="utf-8"></script>
 <script type="text/javascript">
 	function showDiv(divId){
 		var test = document.getElementById(divId);
 		var dis = test.style.display;
 		if(dis == "block") {
 			test.style.display="none";
 		}else if(dis == "none"){
 			test.style.display="block";
 		}
 	}
 </script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="<%=basePath %>/front/style.css" media="screen" />
</head>
<body>
<div id="wrapper">
	<div id="header" class="container">
		<div id="logo">
			<h1>大学生心理测试咨询系统</h1>
		</div>
		<div id="banner"><img src="<%=basePath %>/front/images/img01.jpg" width="667" height="118" alt="" /></div>
	</div>
	<div id="menu" class="container">
		<ul>
			<li class="active"><a href="<%=basePath %>/front/welcome.jsp" target="mainFrame">首页</a></li>
			<li><a href="<%=basePath %>/wiki/wiki_query2.do" target="mainFrame">心理百科</a></li>
			<li><a href="<%=basePath %>/news/news_query2.do" target="mainFrame">案例分析</a></li>
			<li><a href="<%=basePath %>/test/test_query2.do" target="mainFrame">心理测试</a></li>
			<%if(request.getSession().getAttribute("frontUsername") != null) {%>
			<li>
				<a href="#" onclick="showDiv('child1')">心理咨询</a>
				<br><br>
				<div id="child1" style="display: none;position: absolute;z-index: 9999;background-color: black;">
					<a href="<%=basePath %>/pro_jsp/topic/topic_add.jsp" onclick="showDiv('child1')" target="mainFrame">添加咨询</a><br><br>
					<a href="<%=basePath %>/topic/topic_query2.do" onclick="showDiv('child1')" target="mainFrame">我的咨询</a><br/><br/>
					<a href="<%=basePath %>/topic/topic_query3.do" onclick="showDiv('child1')" target="mainFrame">所有咨询</a><br><br>
				</div>
			</li>
			<%} %>
			<!--<li><a href="<%=basePath %>/base/base.do?ACT_ID=frontFileQuery" target="mainFrame">公共下载</a></li>-->
			<li><a href="<%=basePath %>" target="_blank">后台管理</a></li>
		</ul>
	</div>
后面还有 67 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。