parent
7060dec638
commit
b2e1252a90
@ -0,0 +1,82 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags"%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>校园宿舍管理系统</title>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="Style/Style.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<center>
|
||||
<table width="900" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="60" bgcolor="#E6F5FF" style="color:#06F; font-size:19px; font-weight:bolder; padding-left:50px;">校园宿舍管理系统</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" background="Images/MenuBg.jpg"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="500" align="center" valign="top"><table width="900" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="191" height="500" align="center" valign="top" background="Images/leftbg.jpg">
|
||||
<%@ include file="Left.jsp"%>
|
||||
</td>
|
||||
<td width="709" align="center" valign="top" bgcolor="#F6F9FE"><table width="709" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="30" background="Images/mainMenuBg.jpg" style="padding-left:25px;">学生缺寝记录</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="470" align="center" valign="top" bgcolor="#F6F9FE"><form name="form1" method="post" action="AdminLogList.action" onSubmit="return mycheck()" >
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="33%" height="30" align="right"> </td>
|
||||
<td width="67%"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="right">楼宇:</td>
|
||||
<td><select name="Building_ID" id="Building_ID" onChange="javascript:window.location='AdminLog.action?BuildingID='+this.value;">
|
||||
<option value="">请选择</option>
|
||||
<s:iterator value="buildinglist">
|
||||
<option value="${Building_ID}" <s:if test="BuildingID==Building_ID">selected</s:if>>${Building_Name}</option>
|
||||
</s:iterator>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="right">寝室:</td>
|
||||
<td><select name="Domitory_ID" id="Domitory_ID">
|
||||
<option value="">请选择</option>
|
||||
<s:iterator value="domitorylist">
|
||||
<option value="${Domitory_ID}">${Domitory_Name}</option>
|
||||
</s:iterator>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="right">学生学号:</td>
|
||||
<td><%--@declare id="student_id"--%><label for="Student_ID"></label>
|
||||
<input type="text" name="Student_Username" id="Student_Username"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30"> </td>
|
||||
<td><input type="submit" name="button" id="button" value="开始查询"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="35" background="Images/bootBg.jpg"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,94 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<link href="Style/Style.css" rel="stylesheet" type="text/css" />
|
||||
<table width="155" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="31" align="center" background="Images/left1.jpg"><strong>系统选项</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50" align="center" valign="top"><table width="150" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="Index.jsp">后台首页</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<%if(session.getAttribute("type").toString().equals("1")){%>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="TeacherManager.action">楼宇管理员管理</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="StudentManager.action">学生管理</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="DomitoryManager.action">宿舍管理</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="RepairManager.action">维修管理</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="StudentTH.jsp">学生寝室调换</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
|
||||
<%if(session.getAttribute("type").toString().equals("3")){%>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="StudentLog.action">查询剩余电费</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="RepairAdd.jsp">上报维修信息</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="RepairList.action">我的维修记录</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<%}%>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="PasswordUpdate.jsp">修改密码</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="Quit.action" onclick="return confirm('确定要退出系统吗?')">退出系统</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@ -0,0 +1,104 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags"%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>校园宿舍管理系统</title>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="Style/Style.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<script language="JavaScript">
|
||||
|
||||
|
||||
function mycheck(){
|
||||
if(isNull(form1.Student_Username.value)){
|
||||
alert("请输入学号!");
|
||||
return false;
|
||||
}
|
||||
if(isNull(form1.Student_Password.value)){
|
||||
alert("请输入密码!");
|
||||
return false;
|
||||
}
|
||||
if(isNull(form1.Student_Password2.value)){
|
||||
alert("请输入重复密码!");
|
||||
return false;
|
||||
}
|
||||
if (document.form1.Student_Password.value != document.form1.Student_Password2.value) {
|
||||
alert("您两次输入的新密码不一致!请重新输入!");
|
||||
return false;
|
||||
}
|
||||
if(isNull(form1.Student_Name.value)){
|
||||
alert("请输入姓名!");
|
||||
return false;
|
||||
}
|
||||
if(isNull(form1.Student_Sex.value)){
|
||||
alert("请选择性别!");
|
||||
return false;
|
||||
}
|
||||
if(isNull(form1.Student_Class.value)){
|
||||
alert("请输入班级!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function isNull(str){
|
||||
if ( str == "" ) return true;
|
||||
var regu = "^[ ]+$";
|
||||
var re = new RegExp(regu);
|
||||
return re.test(str);
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<body>
|
||||
<center>
|
||||
<table width="900" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="60" bgcolor="#E6F5FF" style="color:#06F; font-size:19px; font-weight:bolder; padding-left:50px;">校园宿舍管理系统</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" background="Images/MenuBg.jpg"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="500" align="center" valign="top"><table width="900" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="191" height="500" align="center" valign="top" background="Images/leftbg.jpg">
|
||||
<%@ include file="Left.jsp"%>
|
||||
</td>
|
||||
<td width="709" align="center" valign="top" bgcolor="#F6F9FE"><table width="709" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="30" background="Images/mainMenuBg.jpg" style="padding-left:25px;">学生缺寝记录</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="470" align="center" valign="top" bgcolor="#F6F9FE">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="100%" height="30" align="center" style="color:red;">请先选择楼宇</td>
|
||||
</tr>
|
||||
<s:iterator id="aa" value="list">
|
||||
<tr>
|
||||
<td height="30" align="center">
|
||||
<a href="MyLogList.action?Building_ID=${TB_BuildingID}">${Building_Name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</s:iterator>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="35" background="Images/bootBg.jpg"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,104 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags"%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>校园宿舍管理系统</title>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="Style/Style.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<script language="JavaScript">
|
||||
|
||||
|
||||
function mycheck(){
|
||||
if(isNull(form1.Student_Username.value)){
|
||||
alert("请输入学号!");
|
||||
return false;
|
||||
}
|
||||
if(isNull(form1.Student_Password.value)){
|
||||
alert("请输入密码!");
|
||||
return false;
|
||||
}
|
||||
if(isNull(form1.Student_Password2.value)){
|
||||
alert("请输入重复密码!");
|
||||
return false;
|
||||
}
|
||||
if (document.form1.Student_Password.value != document.form1.Student_Password2.value) {
|
||||
alert("您两次输入的新密码不一致!请重新输入!");
|
||||
return false;
|
||||
}
|
||||
if(isNull(form1.Student_Name.value)){
|
||||
alert("请输入姓名!");
|
||||
return false;
|
||||
}
|
||||
if(isNull(form1.Student_Sex.value)){
|
||||
alert("请选择性别!");
|
||||
return false;
|
||||
}
|
||||
if(isNull(form1.Student_Class.value)){
|
||||
alert("请输入班级!");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function isNull(str){
|
||||
if ( str == "" ) return true;
|
||||
var regu = "^[ ]+$";
|
||||
var re = new RegExp(regu);
|
||||
return re.test(str);
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<body>
|
||||
<center>
|
||||
<table width="900" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="60" bgcolor="#E6F5FF" style="color:#06F; font-size:19px; font-weight:bolder; padding-left:50px;">校园宿舍管理系统</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" background="Images/MenuBg.jpg"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="500" align="center" valign="top"><table width="900" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="191" height="500" align="center" valign="top" background="Images/leftbg.jpg">
|
||||
<%@ include file="Left.jsp"%>
|
||||
</td>
|
||||
<td width="709" align="center" valign="top" bgcolor="#F6F9FE"><table width="709" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="30" background="Images/mainMenuBg.jpg" style="padding-left:25px;">学生管理</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="470" align="center" valign="top" bgcolor="#F6F9FE">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="100%" height="30" align="center" style="color:red;">请先选择楼宇</td>
|
||||
</tr>
|
||||
<s:iterator id="aa" value="list">
|
||||
<tr>
|
||||
<td height="30" align="center">
|
||||
<a href="MyStudentList.action?Building_ID=${TB_BuildingID}">${Building_Name}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</s:iterator>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="35" background="Images/bootBg.jpg"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,68 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<%@ taglib prefix="s" uri="/struts-tags"%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>校园宿舍管理系统</title>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="Style/Style.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<center>
|
||||
<table width="900" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="60" bgcolor="#E6F5FF" style="color:#06F; font-size:19px; font-weight:bolder; padding-left:50px;">校园宿舍管理系统</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" background="Images/MenuBg.jpg"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="500" align="center" valign="top"><table width="900" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="191" height="500" align="center" valign="top" background="Images/leftbg.jpg">
|
||||
<%@ include file="Left.jsp"%>
|
||||
</td>
|
||||
<td width="709" align="center" valign="top" bgcolor="#F6F9FE"><table width="709" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="30" background="Images/mainMenuBg.jpg" style="padding-left:25px;">我的缺寝记录</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="470" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr align="center" class="t1">
|
||||
<td bgcolor="#D5E4F4"><strong>缺寝人</strong></td>
|
||||
<td bgcolor="#D5E4F4"><strong>性别</strong></td>
|
||||
<td bgcolor="#D5E4F4"><strong>日期</strong></td>
|
||||
<td bgcolor="#D5E4F4"><strong>备注</strong></td>
|
||||
<td height="25" bgcolor="#D5E4F4"><strong>寝室长</strong></td>
|
||||
<td bgcolor="#D5E4F4"><strong>登记人</strong></td>
|
||||
</tr>
|
||||
<s:iterator id="aa" value="list">
|
||||
<tr align="center">
|
||||
<td>${Student_Name}</td>
|
||||
<td>${Student_Sex}</td>
|
||||
<td>${Log_Date}</td>
|
||||
<td>${Log_Remark}</td>
|
||||
<td height="25" align="center">${Domitory_Name}</td>
|
||||
<td>${Teacher_Name}</td>
|
||||
</tr>
|
||||
</s:iterator>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="35" background="Images/bootBg.jpg"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
@ -1,152 +1,113 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: vie
|
||||
Date: 2019/10/24
|
||||
Time: 10:21
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page language="java" import="java.util.*" contentType="text/html;charset=UTF-8" %>
|
||||
<%@ page import="java.text.SimpleDateFormat" %>
|
||||
<link href="Style/Style.css" rel="stylesheet" type="text/css" />
|
||||
<html>
|
||||
<head>
|
||||
<title>学生首页</title>
|
||||
<style>
|
||||
/*body{*/
|
||||
/* background-image: url("Images/bj_zhuce.jpg");*/
|
||||
/*}*/
|
||||
/*img{*/
|
||||
/* position: absolute;*/
|
||||
/* left: 300px;*/
|
||||
/* top: 30px;*/
|
||||
/*}*/
|
||||
video{
|
||||
position: absolute;
|
||||
left: 170px;
|
||||
top: 0px;
|
||||
width: 800px;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<%--<img src="Images/12.png">--%>
|
||||
<video autoplay muted loop style="width: 100%;">
|
||||
<source src="Images/weibo_dm_20180805_153434.mp4">
|
||||
</video>
|
||||
<h2>想拥有这样的</h2>
|
||||
<h2>大学校友吗??</h2>
|
||||
<div align="right" > </div>
|
||||
</table>
|
||||
<table width="155" border="10" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="31" align="center" background="Images/left1.jpg"><strong>系统选项</strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="50" align="center" valign="top"><table width="150" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="StudentPage.jsp">后台首页</a></td>
|
||||
</tr>
|
||||
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
|
||||
<%-- <%– <%if(session.getAttribute("type").toString().equals("1")){%>–%>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <%– <td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="TeacherManager.action">楼宇管理员管理</a></td>–%>--%>
|
||||
<%-- </tr>--%>
|
||||
<%--
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>校园宿舍管理系统</title>
|
||||
<base href="<%=basePath%>">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<link href="Style/Style.css" rel="stylesheet" type="text/css" />
|
||||
<script src="script/jquery-1.11.1.min.js">
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#right1{
|
||||
background-image: url("Images/bg002.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
#right2{
|
||||
background-image: url("Images/bg001.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
#right3{
|
||||
background-image: url("Images/bg003.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: 600px 400px;
|
||||
}
|
||||
*{ padding: 0; margin: 0}
|
||||
.mark{
|
||||
width: 100%;
|
||||
height: 3128px;
|
||||
background: #000;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
opacity: 0.3;
|
||||
}
|
||||
.pic{
|
||||
position: center;
|
||||
margin-left: 292px;
|
||||
margin-top: -620px;
|
||||
opacity: 0.9;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<%-- <tr>--%>
|
||||
<%-- <td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="ManagerPage.jsp">后台首页</a></td>--%>
|
||||
<%-- </tr>--%>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="StudentTH.jsp">学生寝室调换</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="StudentQC.jsp">学生迁出登记</a></td>
|
||||
</tr>
|
||||
<%-- <tr>--%>
|
||||
<%-- <td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <%– <td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="AdminLog.action">学生缺寝记录</a></td>–%>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <%– <td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="OutList.action">迁出记录</a></td>–%>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <%}%>--%>
|
||||
<%-- <%if(session.getAttribute("type").toString().equals("2")){%>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="MyStudent.action">学生管理</a></td>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <%– <td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="MyLog.action">学生缺寝记录</a></td>–%>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>--%>
|
||||
<%-- </tr>--%>
|
||||
<%-- <%– <%}%>–%>--%>
|
||||
<%-- <%– <%if(session.getAttribute("type").toString().equals("3")){%>–%>--%>
|
||||
<%-- <tr>--%>
|
||||
<%-- <%– <td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="StudentLog.action">我的缺寝记录</a></td>–%>--%>
|
||||
<%-- </tr>--%>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="RepairedAdd.jsp">上报维修信息</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<%-- <td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="RepairList.action">我的维修记录</a></td>--%>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="Electric.jsp"> 查看寝室电费</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<%-- <%}%>--%>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="PasswordUpdate.jsp">修改密码</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="5" align="center"><img src="Images/ic.gif" width="1" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="http://localhost:8080/StudentManageSystem_war_exploded/" onclick="return confirm('确定要退出系统吗?')">退出系统</a></td>
|
||||
</tr>
|
||||
<body id="body">
|
||||
<center>
|
||||
<table width="900" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="60" bgcolor="#E6F5FF" style="color:#06F; font-size:19px; font-weight:bolder; padding-left:50px;">校园宿舍管理系统</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="30" background="Images/MenuBg.jpg"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="500" align="center" valign="top"><table width="900" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="191" height="500" align="center" valign="top" background="Images/leftbg.jpg">
|
||||
<%@ include file="Left.jsp"%>
|
||||
</td>
|
||||
<%if(session.getAttribute("type").toString().equals("1")){%>
|
||||
<td width="709" align="center" valign="middle" bgcolor="#F6F9FE" id="right1"><h1 style="color: blue;font-size: 2.4em;">欢迎系统管理员登陆</h1></td>
|
||||
<%}%>
|
||||
<%if(session.getAttribute("type").toString().equals("2")){%>
|
||||
<td width="709" align="center" valign="middle" bgcolor="#F6F9FE" id="right2"><h1 style="color: red;font-size: 2.4em;">欢迎宿舍管理员登陆</h1></td>
|
||||
<%}%>
|
||||
<%if(session.getAttribute("type").toString().equals("3")){%>
|
||||
<td width="709" align="center" valign="middle" bgcolor="#F6F9FE" id="right3"><h1 style="color: yellow;font-size: 2.4em;">欢迎高校学生登陆</h1></td>
|
||||
<%}%>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="35" background="Images/bootBg.jpg"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div align="right" style="width: 100%;position: fixed;bottom: 0;color:yellow">
|
||||
<%!Date time= new Date();%>
|
||||
<%
|
||||
SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy年MM月dd日 E HH时mm分ss秒");
|
||||
%>
|
||||
<h3><% out.println(sdf1.format(time)); %></h3>
|
||||
</div>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
<script>
|
||||
function auto(){
|
||||
//2、3秒后要干的事情
|
||||
var body=document.getElementsByTagName('body');
|
||||
//创建一个灰色的蒙层
|
||||
var newDiv=document.createElement("div"); //<div></div>
|
||||
newDiv.className="mark"//div的class名称为mark <div class="mark"></div>
|
||||
//将创建好的蒙层追加至body
|
||||
body[0].appendChild(newDiv);
|
||||
//创建img元素
|
||||
var newImg=document.createElement('img');//<img>
|
||||
newImg.src="Images/notice.jpg";
|
||||
//<img src="images/pic.png">
|
||||
newImg.className='pic';
|
||||
body[0].appendChild(newImg);
|
||||
|
||||
//点击图片上的"x"时,关闭黑色蒙层和图片
|
||||
newImg.onclick=function()
|
||||
{
|
||||
body[0].removeChild(newDiv);
|
||||
body[0].removeChild(newImg);
|
||||
}
|
||||
}
|
||||
setTimeout(auto,3000);
|
||||
</script>
|
||||
|
Loading…
Reference in new issue