Files
VANTEN/WebRoot/mainframe.jsp
2017-10-29 23:10:14 +08:00

79 lines
2.9 KiB
Plaintext

<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@page import="java.sql.Connection"%>
<%@page import="java.sql.*"%>
<%@page import="java.sql.DriverManager"%>
<%-- <%@ page import="login.*" %> --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>学生管理</title>
<link rel="stylesheet" href="css/manage.css" type="text/css">
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<link rel="stylesheet" href="css/footer.css" type="text/css">
<script src="js/ie-emulation-modes-warning.js"></script>
<style type="text/css">
/* .jumbotron{
background:url(images/index3.jpg);
background-repeat:no-repeat;
height:100%;
background-size:100% 100%;
} */
</style>
</head>
<%-- <%
java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
java.util.Date currentTime = new java.util.Date();//得到当前系统时间
String str_date1 = formatter.format(currentTime); //将日期时间格式化
String str_date2 = currentTime.toString(); //将Date型日期时间转换成字符串形式
%> --%>
<body onbeforeunload="window.location='JSPhandle/logout.jsp'">
<%
if (session.getAttribute("actualuser") == null) {
out.println(
"<script language=javascript>alert('登录超时 (1440 秒未活动)或未登录,请重新登录。');window.location.href='index.html'</script>");
return;
}
Object user0 = session.getAttribute("actualuser");
/* out.println("欢迎"+user0);//输出当前session用户 */
%>
<%@ include file="module/top.jsp"%>
<div class="container">
<h1 class="heading_title_text text-center">VANTEN信息管理系统</h1>
<div class="row">
<%@ include file="module/sidebar.jsp"%>
<div class="col-lg-1 col-md-1 hidden-xs"></div>
<div class="col-lg-9 col-md-9">
<div class="jumbotron">
<h1 class="text-center">欢迎访问</h1>
<p class="text-center">15信管2班</p>
<!-- Large modal -->
<button type="button" class="btn btn-primary" data-toggle="modal"
data-target=".bs-example-modal-lg">按按试试</button>
<div class="modal fade bs-example-modal-lg" tabindex="-1"
role="dialog" aria-labelledby="myLargeModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<img src="images/index2.png" alt="图片不见了"
style="display:block;width:100%;" />
</div>
</div>
</div>
</div>
</div>
</div>
<%@ include file="module/footer.jsp"%>
</div>
<script src="js/jquery-1.11.2.min.js" type="text/javascript"></script>
<script src="js/bootstrap.js" type="text/javascript"></script>
</body>
</html>