final commit

final
Vie 6 years ago
parent c8e15dced7
commit 8f4eac5ccb

@ -1,17 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.8.0_161">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v8.0">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v9.0"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>

4
.idea/.gitignore vendored

@ -1,2 +1,6 @@
# Default ignored files
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -0,0 +1,19 @@
<component name="ArtifactManager">
<artifact type="exploded-war" name="sushe1:Web exploded">
<output-path>$PROJECT_DIR$/out/artifacts/sushe1_Web_exploded</output-path>
<root id="root">
<element id="javaee-facet-resources" facet="sushe1/web/Web" />
<element id="directory" name="WEB-INF">
<element id="directory" name="classes">
<element id="module-output" name="sushe1" />
<element id="library" level="application" name="mysql-connector-java-5.1" />
</element>
<element id="directory" name="lib">
<element id="library" level="project" name="lib" />
<element id="library" level="project" name="jar包" />
<element id="library" level="application" name="lib1" />
</element>
</element>
</root>
</artifact>
</component>

@ -0,0 +1,9 @@
<component name="ArtifactManager">
<artifact type="jar" name="sushe:jar">
<output-path>$PROJECT_DIR$/out/artifacts/sushe_jar</output-path>
<root id="archive" name="sushe.jar">
<element id="archive" name="archive.jar" />
<element id="javaee-facet-resources" facet="sushe1/web/Web" />
</root>
</artifact>
</component>

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="test1@localhost" uuid="6e8463e7-b3e1-45a9-88d9-fa089ac44fd5">
<driver-ref>mysql.8</driver-ref>
<synchronize>true</synchronize>
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
<jdbc-url>jdbc:mysql://localhost:3306/test1</jdbc-url>
<driver-properties>
<property name="autoReconnect" value="true" />
<property name="zeroDateTimeBehavior" value="CONVERT_TO_NULL" />
<property name="tinyInt1isBit" value="false" />
<property name="characterEncoding" value="utf8" />
<property name="characterSetResults" value="utf8" />
<property name="yearIsDateType" value="false" />
<property name="serverTimezone" value="UTC" />
</driver-properties>
</data-source>
</component>
</project>

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" native2AsciiForPropertiesFiles="true" defaultCharsetForPropertiesFiles="UTF-8">
<file url="file://$PROJECT_DIR$/src/com/action/AdminLog.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/AdminLogList.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/BuildingAddSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/BuildingDel.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/BuildingManager.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/BuildingUpdate.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/BuildingUpdateSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/DomitoryAdd.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/DomitoryAddSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/DomitoryDel.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/DomitoryManager.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/DomitoryUpdate.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/DomitoryUpdateSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/GoLogin.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/LogAdd.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/LogAddSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/MyLog.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/MyLogList.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/MyStudent.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/MyStudentList.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/Notice.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/OutList.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/PasswordUpdateSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/Quit.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/RepairAdd.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/RepairList.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentAddSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentDel.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentLog.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentManager.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentQC.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentQCSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentRZ.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentRZSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentTH.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentTHSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentUpdate.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/StudentUpdateSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/TBAddSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/TBDel.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/TBManager.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/TeacherAddSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/TeacherDel.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/TeacherManager.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/TeacherUpdate.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/action/TeacherUpdateSave.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/dao/AdminDao.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/dao/BuildingDao.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/dao/DomitoryDao.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/dao/LogDao.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/dao/NoticeDao.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/dao/OutDao.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/dao/RepairDao.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/dao/StudentDao.java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/com/dao/TBDao.java" charset="GBK" />
<file url="file://$PROJECT_DIR$/src/com/dao/TeacherDao.java" charset="GBK" />
<file url="PROJECT" charset="UTF-8" />
</component>
</project>

@ -1,17 +1,19 @@
<component name="libraryTable">
<library name="Java EE 6-Java EE 6">
<CLASSES>
<root url="jar://$PROJECT_DIR$/lib/javax.jms.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javax.annotation.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javax.jms.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javax.ejb.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javax.persistence.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javax.transaction.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javax.resource.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javax.servlet.jsp.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javax.servlet.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javax.servlet.jsp.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javax.servlet.jsp.jstl.jar!/" />
<root url="file://$PROJECT_DIR$/lib" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$PROJECT_DIR$/lib" recursive="false" />
</library>
</component>

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="jar包">
<CLASSES>
<root url="file://E:/小组项目/jar包" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://E:/小组项目/jar包" />
</SOURCES>
<jarDirectory url="file://E:/小组项目/jar包" recursive="false" />
<jarDirectory url="file://E:/小组项目/jar包" recursive="false" type="SOURCES" />
</library>
</component>

@ -0,0 +1,19 @@
<component name="libraryTable">
<library name="lib">
<CLASSES>
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/commons-io-2.0.1.jar!/" />
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/mysql-connector-java-3.1.12-bin.jar!/" />
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/commons-lang3-3.1.jar!/" />
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/freemarker-2.3.19.jar!/" />
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/commons-logging-1.1.1.jar!/" />
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/jackson-mapper-asl-1.9.2.jar!/" />
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/xwork-core-2.3.8.jar!/" />
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/javassist-3.11.0.GA.jar!/" />
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/ognl-3.0.6.jar!/" />
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/commons-fileupload-1.2.2.jar!/" />
<root url="jar://$PROJECT_DIR$/WebContent/WEB-INF/lib/struts2-core-2.3.8.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8 (2)" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/classes" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8.0_221" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/target" />
</component>
</project>

@ -2,7 +2,7 @@
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/demo.iml" filepath="$PROJECT_DIR$/demo.iml" />
<module fileurl="file://$PROJECT_DIR$/sushe1.iml" filepath="$PROJECT_DIR$/sushe1.iml" />
</modules>
</component>
</project>

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

@ -1,10 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>demo</name>
<name>sushe</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>

@ -0,0 +1,123 @@
<%@ 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"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!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.Building_ID.value)){
alert("请选择楼栋号!")
return false;
}
if(isNull(form1.Building_Type.value)){
alert("请选择楼栋类型")
return false;
}
if(isNull(form1.Building_DomitoryName.value)){
alert("请输入楼栋管理员姓名!")
return false;
}
if(isNull(form1.Building_DomitoryTel.value)){
alert("请输入管理员联系方式!")
return false;
}
if(isNull(form1.Building_Address.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="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7BC69" style="color:#000000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="30" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F0FFF0"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">添加楼宇</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#F6F9FE"><form name="form1" method="post" action="BuildingAddSave.action" onSubmit="return mycheck()" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
<td width="67%">&nbsp;</td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>请输入楼栋号:</td>
<td><input name="Building_ID" type="text" class="text2" id="Building_ID"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请选择楼栋类型:</td>
<td><select name="Building_Type" id="Building_Type">
<option value="">请选择</option>
<option value="男生宿舍">男生宿舍</option>
<option value="女生宿舍">女生宿舍</option>
</select></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请输入楼栋名字:</td>
<td><input name="Building_Name" type="text" class="text2" id="Building_Name"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请输入楼栋宿管姓名:</td>
<td><input name="Building_DomitoryName" type="text" class="text2" id="Building_DomitoryName"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请输入楼栋管理人员电话:</td>
<td><input name="Building_DomitoryTel" type="text" class="text2" id="Building_DomitoryTel"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请输入地址:</td>
<td><input name="Building_Address" type="text" class="text2" id="Building_Address"></td>
</tr>
<tr>
<td height="30">&nbsp;</td>
<td><input type="submit" name="button" id="button" value="添加楼宇">
&nbsp;&nbsp;
<input type="button" name="button2" id="button2" value="返回上页" onClick="javascript:history.back(-1);"></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,91 @@
<%@ 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="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7BC69" style="color:#000000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="30" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F0FFF0"><table width="1005" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">楼栋管理</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#F0FFF0">
<form name="form1" method="post" action="BuildingManager.action">
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="28%" height="30" style="padding-left:20px;"> 功能导航: <a href="BuildingAdd.jsp">添加楼栋</a></td>
<td width="72%">名称:
<select name="SearchRow" id="SearchRow">
<option value="Building_Name">楼栋名字</option>
<option value="Building_DomitoryName">楼栋管理员名字</option>
<option value="Building_DomitoryTel">楼栋管理员电话</option>
<option value="Building_Address">楼栋地址</option>
</select>
<input name="SearchKey" type="text" class="text1" id="SearchKey">
<input type="submit" name="button" id="button" value="点击查询"></td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center" class="t1">
<td height="25" bgcolor="#FF7F50"><strong>楼栋号</strong></td>
<td bgcolor="#FF7F50"><strong>楼栋类型</strong></td>
<td bgcolor="#FF7F50"><strong>楼栋名字</strong></td>
<td bgcolor="#FF7F50"><strong>楼栋管理员名字</strong></td>
<td bgcolor="#FF7F50"><strong>楼栋管理员电话</strong></td>
<td bgcolor="#FF7F50"><strong>楼栋地址</strong></td>
<td bgcolor="#FF7F50"><strong>操作</strong></td>
</tr>
<s:iterator id="aa" value="list">
<tr align="center">
<td height="25" align="center">${Building_ID}</td>
<td>${Building_Type}</td>
<td>${Building_Name}</td>
<td>${Building_DomitoryName}</td>
<td>${Building_DomitoryTel}</td>
<td>${Building_Address}</td>
<td align="center">
<a href="BuildingUpdate.action?Build_ID=${Build_ID}">修改</a>
<a href="BuildingDel.action?Build_ID=${Build_ID}" onClick="return confirm('确定要删除该楼宇吗?')">删除</a>
</td>
</tr>
</s:iterator>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,120 @@
<%@ 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.Building_Username.value)){
alert("请输入用户名!");
return false;
}
if (document.form1.Building_Password.value != document.form1.Building_Password2.value) {
alert("您两次输入的新密码不一致!请重新输入!");
return false;
}
if(isNull(form1.Building_Name.value)){
alert("请输入姓名!");
return false;
}
if(isNull(form1.Building_Sex.value)){
alert("请选择性别!");
return false;
}
if(isNull(form1.Building_Tel.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="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7bc69" style="color:#000000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="30" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">修改楼宇</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#f0fff0"><form name="form1" method="post" action="BuildingUpdateSave.action" onSubmit="return mycheck()" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
<td width="67%"><input name="Build_ID" type="text" class="noshow" id="Build_ID" value="<s:property value='cnbean.Build_ID'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>楼栋号:</td>
<td><input name="Building_ID" type="text" class="text2" id="Building_ID" value="<s:property value='cnbean.Building_ID'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>楼栋类型:</td>
<td><input name="Building_Type" type="text" class="text2" id="Building_Type" value="<s:property value='cnbean.Building_Type'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>楼栋名:</td>
<td><input name="Building_Name" type="text" class="text2" id="Building_Name" value="<s:property value='cnbean.Building_Name'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>楼栋宿管人员名字:</td>
<td><input name="Building_DomitoryName" type="text" class="text2" id="Building_DomitorName" value="<s:property value='cnbean.Building_DomitoryName'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>楼栋宿管人员电话:</td>
<td><input name="Building_DomitoryTel" type="text" class="text2" id="Building_DomitoryTel" value="<s:property value='cnbean.Building_DomitoryTel'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>楼栋地址:</td>
<td><textarea name="Building_Address" id="Building_Address" cols="45" rows="5"><s:property value='cnbean.Building_Address'/></textarea></td>
</tr>
<tr>
<td height="30">&nbsp;</td>
<td><input type="submit" name="button" id="button" value="修改楼宇">
&nbsp;&nbsp;
<input type="button" name="button2" id="button2" value="返回上页" onClick="javascript:history.back(-1);"></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,129 @@
<%@ 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.Domitory_BuildingID.value)){
alert("请选择楼宇!");
return false;
}
if(isNull(form1.Domitory_Name.value)){
alert("请输入寝室号!");
return false;
}
if(isNull(form1.Domitory_Type.value)){
alert("请输入寝室类型!");
return false;
}
if(isNull(form1.Domitory_Number.value)){
alert("请输入寝室长姓名!");
return false;
}
if(isNull(form1.Domitory_Tel.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:#000000; font-size:19px; font-weight:bolder; padding-left:50px;">校园宿舍管理系统</td>
</tr>
<tr>
<td height="25" background="Images/MenuBg.jpg">&nbsp;</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="DomitoryAddSave.action" onSubmit="return mycheck()" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
<td width="67%">&nbsp;</td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>楼栋:</td>
<td><select name="Domitory_BuildingID" id="Domitory_BuildingID">
<option value="">请选择</option>
<s:iterator id="bb" value="list">
<option value="${Building_ID}">
${Building_Name}
</option>
</s:iterator>
</select></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>寝室号:</td>
<td><input name="Domitory_Number" type="text" class="text2" id="Domitory_Number"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>寝室类型:</td>
<td><select name="Domitory_Type" id="Domitory_Type">
<option value="">请选择</option>
<option value="四人寝">四人寝</option>
<option value="六人寝">六人寝</option>
<option value="九人寝">九人寝</option>
</select></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>学生姓名:</td>
<td><input name="Domitory_StudentName" type="text" class="text2" id="Domitory_StudentName"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>学生电话:</td>
<td><input name="Domitory_StudentTel" type="text" class="text2" id="Domitory_StudentTel"></td>
</tr>
<tr>
<td height="30">&nbsp;</td>
<td><input type="submit" name="button" id="button" value="添加宿舍">
&nbsp;&nbsp;
<input type="button" name="button2" id="button2" value="返回上页" onClick="javascript:history.back(-1);"></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,83 @@
<%@ 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="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7BC69" style="color:#000000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="25" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">宿舍管理</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#F0FFF0"><form name="form1" method="post" action="DomitoryManager.action">
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%" height="30" style="padding-left:20px;"> 功能导航:</td>
<td width="78%">查询:
<select name="SearchRow" id="SearchRow">
<option value="Domitory_StudentName">学生姓名</option>
<option value="Domitory_Number">寝室号</option>
<option value="Domitory_StudentTel">电话</option>
</select>
<input name="SearchKey" type="text" class="text1" id="SearchKey">
<input type="submit" name="button" id="button" value="点击查询"></td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center" class="t1">
<td height="25" bgcolor="#FF7F50"><strong>楼栋号</strong></td>
<td bgcolor="#FF7F50"><strong>寝室号</strong></td>
<td bgcolor="#FF7F50"><strong>寝室类型</strong></td>
<td bgcolor="#FF7F50"><strong>学生姓名</strong></td>
<td bgcolor="#FF7F50"><strong>电话</strong></td>
<td bgcolor="#FF7F50"><strong>操作</strong></td>
</tr>
<s:iterator id="aa" value="list">
<tr align="center">
<td height="25" align="center">${Domitory_BuildingID}</td>
<td>${Domitory_Number}</td>
<td>${Domitory_Type}</td>
<td>${Domitory_StudentName}</td>
<td align="center">${Domitory_StudentTel}</td>
<td align="center"><a href="DomitoryUpdate.action?Domitory_ID=${Domitory_ID}">修改</a>
<a href="DomitoryDel.action?Domitory_ID=${Domitory_ID}" onClick="return confirm('确定要删除该学生寝室信息吗?')">删除</a></td>
</tr>
</s:iterator>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,127 @@
<%@ 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.Domitory_BuildingID.value)){
alert("请选择楼宇!");
return false;
}
if(isNull(form1.Domitory_Name.value)){
alert("请输入寝室号!");
return false;
}
if(isNull(form1.Domitory_Type.value)){
alert("请输入寝室类型!");
return false;
}
if(isNull(form1.Domitory_Number.value)){
alert("请输入人数!");
return false;
}
if(isNull(form1.Domitory_Tel.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="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7BC69" style="color:#000000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="25" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">修改宿舍</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#F6F9FE"><form name="form1" method="post" action="DomitoryUpdateSave.action" onSubmit="return mycheck()" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
<td width="67%"><input name="Domitory_ID" type="text" class="noshow" id="Domitory_ID" value="<s:property value='cnbean.Domitory_ID'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>楼栋:</td>
<td><select name="Domitory_BuildingID" id="Domitory_BuildingID">
<option value="">请选择</option>
<option value="01">学生宿舍1栋</option>
<option value="01">学生宿舍2栋</option>
<option value="01">学生宿舍3栋</option>
<option value="01">学生宿舍4栋</option>
</select></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>学生姓名:</td>
<td><input name="Domitory_StudentName" type="text" class="text2" id="Domitory_StudentName" value="<s:property value='cnbean.Domitory_StudentName'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>寝室类型:</td>
<td><select name="Domitory_Type" id="Domitory_Type">
<option value=" ">请选择</option>
<option value="四人寝">四人寝</option>
<option value="六人寝">六人寝</option>
<option value="九人寝">九人寝</option>
</select></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>宿舍号:</td>
<td><input name="Domitory_Number" type="text" class="text2" id="Domitory_Number" value="<s:property value='cnbean.Domitory_Number'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>学生电话:</td>
<td><input name="Domitory_StudentTel" type="text" class="text2" id="Domitory_StudentTel" value="<s:property value='cnbean.Domitory_StudentTel'/>"></td>
</tr>
<tr>
<td height="30">&nbsp;</td>
<td><input type="submit" name="button" id="button" value="修改宿舍">
&nbsp;&nbsp;
<input type="button" name="button2" id="button2" value="返回上页" onClick="javascript:history.back(-1);"></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -1,59 +1,87 @@
<%@ page import="java.util.Date" %>
<%@ page import="java.text.SimpleDateFormat" %><%--
<%--
Created by IntelliJ IDEA.
User: Vie
Date: 2019/10/24
Time: 15:25
User: ASUS
Date: 2020/1/4
Time: 12:06
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style>
body{
background-image: url("Images/12.png");
background-size: cover;
}
</style>
<%@ 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>
<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>
<div align="right" style="color: lavender">欢迎你,<%=request.getParameter("Username")%></div>
<center>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<table width="100%" 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>
<td height="60" bgcolor=""#7BC69" style="color:#00000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="30" background="Images/MenuBg.jpg">&nbsp;</td>
<td height="30" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="900" border="0" cellspacing="0" cellpadding="0">
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/leftbg.jpg">
<%@ include file="StudentLeft.jsp"%>
</td>
<td width="709" align="center" valign="top" bgcolor="#F6F9FE"><table width="709" border="0" cellspacing="0" cellpadding="0">
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">电费使用情况</td>
</tr>
</table>
</td>
<tr>
<td height="470" align="center" valign="top" bgcolor="#F0FFF0"><form name="form1" method="post" action="electricManager.action">
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%" height="30" style="padding-left:20px;"> 功能导航:
<td width="78%">查询:
<select name="SearchRow" id="SearchRow">
<option value="Electric_Dormitory_Number">寝室号</option>
</select>
<input name="SearchKey" type="text" class="text1" id="SearchKey">
<input type="submit" name="button" id="button" value="点击查询"></td>
</tr>
</table>
</td>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center" class="t1">
<td height="25" bgcolor="#FF7F50"><strong>电费编号</strong></td>
<td bgcolor="#FF7F50"><strong>宿舍号</strong></td>
<td bgcolor="#FF7F50"><strong>电费余额</strong></td>
<td bgcolor="#FF7F50"><strong>操作</strong></td>
</tr>
<s:iterator id="aa" value="list">
<tr align="center">
<td height="25" align="center">${Electric_ID}</td>
<td>${Electric_Dormitory_Number}</td>
<td>${Electric_Residual}</td>
<td align="center"><a href="electricupdate.action?Electric_ID=${Electric_ID}">修改</a> </td>
</tr>
</s:iterator>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
<div align="center" 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>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 KiB

After

Width:  |  Height:  |  Size: 664 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 850 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

@ -2,58 +2,47 @@
<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>
<td height="31" align="center" background="Images/left19.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>
<td height="5" align="center"><img src="Images/left16.PNG" 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>
<td height="30" align="center" background="Images/left16.PNG" 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>
<td height="30" align="center" background="Images/left16.PNG" 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="30" align="center" background="Images/left2.jpg" style="text-align:left; padding-left:40px;"><a href="StudentManager.action">学生管理</a></td>
<td height="30" align="center" background="Images/left16.PNG" style="text-align:left; padding-left:40px;"><a href="BuildingManager.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>
<td height="30" align="center" background="Images/left16.PNG" 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>
<td height="30" align="center" background="Images/left16.PNG" 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>
<td height="30" align="center" background="Images/left16.PNG" style="text-align:left; padding-left:40px;"><a href="electricManager.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>
@ -61,32 +50,26 @@
<%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>
<td height="30" align="center" background="Images/left16.PNG" 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>
<td height="30" align="center" background="Images/left16.PNG" style="text-align:left; padding-left:40px;"><a href="electricManager1.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>
<td height="30" align="center" background="Images/left16.PNG" 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>
<td height="30" align="center" background="Images/left16.PNG" style="text-align:left; padding-left:40px;"><a href="Quit.action" onclick="return confirm('确定要退出系统吗?')">退出系统</a></td>
</tr>
</table>
</td>

@ -0,0 +1,243 @@
<%@ 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>
<base href="<%=basePath%>">
<title>高校公寓管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="Style/Style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="styles/edumis.css">
<link rel="stylesheet" type="text/css" href="styles/login.css">
<script src="script/jquery-1.11.1.min.js"></script>
<script src="script/edumis_function.js"></script>
<script src="script/jquery.md5.js"></script>
<style>
body{
background-image: url("Images/bg004.png");
background-size:cover;
}
#Mycanvas{
text-align: center;
overflow: hidden;
}
.text1{
width: 55%;
height: 90%;
}
img{
position:absolute;
left:300px;
bottom: 100px;
}
</style>
</head>
<body>
<img src="Images/yishuzi.png" >
<div id="body-bg"></div>
<div class="clear"></div>
<canvas id="Mycanvas"></canvas>
<center class="panel login center-block">
<table width="400" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td height="292" align="left" valign="top" background="Images/niu.gif">
<table width="350" height="200" border="0" cellpadding="0" cellspacing="0" style="display: block;margin-top: 45px;margin-left: -20px;">
<tr>
<td align="center" valign="top">
<form name="form1" action="GoLogin.action" method="post" onSubmit="return mycheck()&&check()" style="width:900px;height:30px">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" colspan="2" align="center" class="STYLE2"><span style="color:red;">
<%if(request.getAttribute("Msg")!=null){%>
<%=request.getAttribute("Msg")%>
<%}%>
</span></td>
</tr>
<tr>
<td height="30" align="right" class="STYLE2" style="font-size: 2em">身份:</td>
<td align="left"><select name="Type" id="Type" class="text1" style="width:180px;height:30px">
<option value="" style="font-size: 1.8em">请选择</option>
<option value="系统管理员" style="font-size: 1.7em">系统管理员</option>
<option value="学生" style="font-size: 1.7em">学生</option>
</select></td>
</tr>
<tr>
<td width="45%" height="50" align="right" class="STYLE2" style="font-size: 2em">用户名:</td>
<td width="300" align="left"><input type="text" name="Username" id="Username" class="text1" style="width:180px;height:30px" /></td>
</tr>
<tr>
<td height="30" align="right" class="STYLE2" style="font-size: 2em">密码:</td>
<td align="left"><input type="password" name="Password" id="Password" class="text1" style="width:180px;height:30px" /></td>
</tr>
<tr>
<tr>
<td height="100" colspan="5" align="center"><label>
<input type="submit" name="button" id="button" value="登录" style="width:60px;height:35px">
</label></td>
</tr>
</table>
</form>
</td>
</tr>
</table></td>
</tr>
</table>
</center>
<script type="text/javascript" src="script/layer_edumis/layer.js" ></script>
<script src="scripts/login.js"></script>
<script type="text/javascript" src="script/logReg.js" ></script>
<script type="text/javascript">
var mes="";
mes="";
if(mes.length>0){
layer.alert("本系统无此用户,请联系所在学院。", {icon: 5});
};
var date = new Date();
date = date.getFullYear();
window.onload=function(){
var year = document.getElementById("year");
year.innerHTML = date;
}
//定义画布宽高和生成点的个数
var WIDTH = window.innerWidth, HEIGHT = window.innerHeight, POINT = 35;
var canvas = document.getElementById('Mycanvas');
canvas.width = WIDTH,
canvas.height = HEIGHT;
var context = canvas.getContext('2d');
context.strokeStyle = 'rgba(255,255,255,0.4)',
context.strokeWidth = 1,
context.fillStyle = 'rgba(255,255,255,0.4)';
var circleArr = [];
//线条开始xy坐标结束xy坐标线条透明度
function Line (x, y, _x, _y, o) {
this.beginX = x,
this.beginY = y,
this.closeX = _x,
this.closeY = _y,
this.o = o;
}
//点圆心xy坐标半径每帧移动xy的距离
function Circle (x, y, r, moveX, moveY) {
this.x = x,
this.y = y,
this.r = r,
this.moveX = moveX,
this.moveY = moveY;
}
//生成max和min之间的随机数
function num (max, _min) {
var min = arguments[1] || 0;
return Math.floor(Math.random()*(max-min+1)+min);
}
// 绘制原点
function drawCricle (cxt, x, y, r, moveX, moveY) {
var circle = new Circle(x, y, r, moveX, moveY)
cxt.beginPath()
cxt.arc(circle.x, circle.y, circle.r, 0, 2*Math.PI)
cxt.closePath()
cxt.fill();
return circle;
}
//绘制线条
function drawLine (cxt, x, y, _x, _y, o) {
var line = new Line(x, y, _x, _y, o)
cxt.beginPath()
cxt.strokeStyle = 'rgba(255,255,255,'+ o +')'
cxt.lineWidth = 2;
cxt.moveTo(line.beginX, line.beginY)
cxt.lineTo(line.closeX, line.closeY)
cxt.closePath()
cxt.stroke();
}
//初始化生成原点
function init () {
circleArr = [];
for (var i = 0; i < POINT; i++) {
circleArr.push(drawCricle(context, num(WIDTH), num(HEIGHT), num(15, 2), num(10, -10)/40, num(10, -10)/40));
}
draw();
}
//每帧绘制
function draw () {
context.clearRect(0,0,canvas.width, canvas.height);
for (var i = 0; i < POINT; i++) {
drawCricle(context, circleArr[i].x, circleArr[i].y, circleArr[i].r);
}
for (var i = 0; i < POINT; i++) {
for (var j = 0; j < POINT; j+=3) {
if (i + j < POINT) {
var A = Math.abs(circleArr[i+j].x - circleArr[i].x),
B = Math.abs(circleArr[i+j].y - circleArr[i].y);
var lineLength = Math.sqrt(A*A + B*B);
var C = 1/lineLength*40-0.03;
var lineOpacity = C > 0.2 ? 0.2 : C;
if (lineOpacity > 0) {
drawLine(context, circleArr[i].x, circleArr[i].y, circleArr[i+j].x, circleArr[i+j].y, lineOpacity);
}
}
}
}
}
//调用执行
window.onload = function () {
init();
setInterval(function () {
for (var i = 0; i < POINT; i++) {
var cir = circleArr[i];
cir.x += cir.moveX;
cir.y += cir.moveY;
if (cir.x > WIDTH) cir.x = 0;
else if (cir.x < 0) cir.x = WIDTH;
if (cir.y > HEIGHT) cir.y = 0;
else if (cir.y < 0) cir.y = HEIGHT;
}
draw();
}, 16);
}
</script>
</body>
</html>
<script src="script/Jquery/Jquery.js"></script>
<script>
<script language="JavaScript">
function mycheck(){
if(isNull(form1.Type.value)){
alert("请选择身份!");
return false;
}
if(isNull(form1.Username.value)){
alert("请输入用户名!");
return false;
}
if(isNull(form1.Password.value)){
alert("请输入密码!");
return false;
}
}
function isNull(str){
if ( str == "" ) return true;
var regu = "^[ ]+$";
var re = new RegExp(regu);
return re.test(str);
}
</script>

@ -0,0 +1,49 @@
<html>
<head>
<meta http-equiv="content-type" content="text/xml; charset=utf-8" />
<title>My97DatePicker</title>
<script type="text/javascript" src="config.js"></script>
<script>
if(parent==window)
location.href = 'http://www.my97.net';
var $d, $dp, $pdp = parent.$dp, $dt, $tdt, $sdt, $IE=$pdp.ie, $FF = $pdp.ff,$OPERA=$pdp.opera, $ny, $cMark = false;
if ($pdp.eCont) {
$dp = {};
for (var p in $pdp) {
$dp[p] = $pdp[p];
}
}
else
$dp = $pdp;
$dp.getLangIndex = function(name){
var arr = langList;
for (var i = 0; i < arr.length; i++) {
if (arr[i].name == name) {
return i;
}
}
return -1;
}
$dp.getLang = function(name){
var index = $dp.getLangIndex(name);
if (index == -1) {
index = 0;
}
return langList[index];
}
$dp.realLang = $dp.getLang($dp.lang);
document.write("<script src='lang/" + $dp.realLang.name + ".js' charset='" + $dp.realLang.charset + "'><\/script>");
for (var i = 0; i < skinList.length; i++) {
document.write('<link rel="stylesheet" type="text/css" href="skin/' + skinList[i].name + '/datepicker.css" title="' + skinList[i].name + '" charset="' + skinList[i].charset + '" disabled="true"/>');
}
</script>
<script type="text/javascript" src="calendar.js"></script>
</head>
<body leftmargin="0" topmargin="0" onload="$c.autoSize()" tabindex=0>
</body>
</html>
<script>new My97DP();</script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,12 @@
var langList =
[
{name:'en', charset:'UTF-8'},
{name:'zh-cn', charset:'UTF-8'},
{name:'zh-tw', charset:'UTF-8'}
];
var skinList =
[
{name:'default', charset:'UTF-8'},
{name:'whyGreen', charset:'UTF-8'}
];

@ -0,0 +1,14 @@
var $lang={
errAlertMsg: "Invalid date or the date out of range,redo or not?",
aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"],
clearStr: "Clear",
todayStr: "Today",
okStr: "OK",
updateStr: "OK",
timeStr: "Time",
quickStr: "Quick Selection",
err_1: 'MinDate Cannot be bigger than MaxDate!'
}

@ -0,0 +1,14 @@
var $lang={
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?",
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],
aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"],
aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],
clearStr: "\u6E05\u7A7A",
todayStr: "\u4ECA\u5929",
okStr: "\u786E\u5B9A",
updateStr: "\u786E\u5B9A",
timeStr: "\u65F6\u95F4",
quickStr: "\u5FEB\u901F\u9009\u62E9",
err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!'
}

@ -0,0 +1,14 @@
var $lang={
errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?",
aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],
aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"],
aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"],
aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],
clearStr: "\u6E05\u7A7A",
todayStr: "\u4ECA\u5929",
okStr: "\u78BA\u5B9A",
updateStr: "\u78BA\u5B9A",
timeStr: "\u6642\u9593",
quickStr: "\u5FEB\u901F\u9078\u64C7",
err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!'
}

@ -0,0 +1,10 @@
.Wdate{
border:#999 1px solid;
height:20px;
background:#fff url(datePicker.gif) no-repeat right;
}
.WdateFmtErr{
font-weight:bold;
color:red;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

@ -0,0 +1,246 @@
/*
* My97 DatePicker 4.7
*/
.WdateDiv{
width:180px;
background-color:#FFFFFF;
border:#bbb 1px solid;
padding:2px;
}
.WdateDiv2{
width:360px;
}
.WdateDiv *{font-size:9pt;}
.WdateDiv .NavImg a{
display:block;
cursor:pointer;
height:16px;
width:16px;
}
.WdateDiv .NavImgll a{
float:left;
background:transparent url(img.gif) no-repeat scroll 0 0;
}
.WdateDiv .NavImgl a{
float:left;
background:transparent url(img.gif) no-repeat scroll -16px 0;
}
.WdateDiv .NavImgr a{
float:right;
background:transparent url(img.gif) no-repeat scroll -32px 0;
}
.WdateDiv .NavImgrr a{
float:right;
background:transparent url(img.gif) no-repeat scroll -48px 0;
}
.WdateDiv #dpTitle{
height:24px;
margin-bottom:2px;
padding:1px;
}
.WdateDiv .yminput{
margin-top:2px;
text-align:center;
height:20px;
border:0px;
width:50px;
cursor:pointer;
}
.WdateDiv .yminputfocus{
margin-top:2px;
text-align:center;
font-weight:bold;
height:20px;
color:blue;
border:#ccc 1px solid;
width:50px;
}
.WdateDiv .menuSel{
z-index:1;
position:absolute;
background-color:#FFFFFF;
border:#ccc 1px solid;
display:none;
}
.WdateDiv .menu{
cursor:pointer;
background-color:#fff;
}
.WdateDiv .menuOn{
cursor:pointer;
background-color:#BEEBEE;
}
.WdateDiv .invalidMenu{
color:#aaa;
}
.WdateDiv .YMenu{
margin-top:20px;
}
.WdateDiv .MMenu{
margin-top:20px;
*width:62px;
}
.WdateDiv .hhMenu{
margin-top:-90px;
margin-left:26px;
}
.WdateDiv .mmMenu{
margin-top:-46px;
margin-left:26px;
}
.WdateDiv .ssMenu{
margin-top:-24px;
margin-left:26px;
}
.WdateDiv .Wweek {
text-align:center;
background:#DAF3F5;
border-right:#BDEBEE 1px solid;
}
.WdateDiv .MTitle{
background-color:#BDEBEE;
}
.WdateDiv .WdayTable2{
border-collapse:collapse;
border:#c5d9e8 1px solid;
}
.WdateDiv .WdayTable2 table{
border:0;
}
.WdateDiv .WdayTable{
line-height:20px;
border:#c5d9e8 1px solid;
}
.WdateDiv .WdayTable td{
text-align:center;
}
.WdateDiv .Wday{
cursor:pointer;
}
.WdateDiv .WdayOn{
cursor:pointer;
background-color:#C0EBEF;
}
.WdateDiv .Wwday{
cursor:pointer;
color:#FF2F2F;
}
.WdateDiv .WwdayOn{
cursor:pointer;
color:#000;
background-color:#C0EBEF;
}
.WdateDiv .Wtoday{
cursor:pointer;
color:blue;
}
.WdateDiv .Wselday{
background-color:#A9E4E9;
}
.WdateDiv .WspecialDay{
background-color:#66F4DF;
}
.WdateDiv .WotherDay{
cursor:pointer;
color:#6A6AFF;
}
.WdateDiv .WotherDayOn{
cursor:pointer;
background-color:#C0EBEF;
}
.WdateDiv .WinvalidDay{
color:#aaa;
}
.WdateDiv #dpTime{
float:left;
margin-top:3px;
margin-right:30px;
}
.WdateDiv #dpTime #dpTimeStr{
margin-left:1px;
}
.WdateDiv #dpTime input{
width:18px;
height:20px;
text-align:center;
border:#ccc 1px solid;
}
.WdateDiv #dpTime .tB{
border-right:0px;
}
.WdateDiv #dpTime .tE{
border-left:0;
border-right:0;
}
.WdateDiv #dpTime .tm{
width:7px;
border-left:0;
border-right:0;
}
.WdateDiv #dpTime #dpTimeUp{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -32px -16px;
}
.WdateDiv #dpTime #dpTimeDown{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -48px -16px;
}
.WdateDiv #dpQS {
float:left;
margin-right:3px;
margin-top:3px;
background:url(img.gif) no-repeat 0px -16px;
width:20px;
height:20px;
cursor:pointer;
}
.WdateDiv #dpControl {
text-align:right;
}
.WdateDiv .dpButton{
height:20px;
width:45px;
border:#ccc 1px solid;
margin-top:2px;
margin-right:1px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

@ -0,0 +1,256 @@
/*
* My97 DatePicker 4.7 Skin:whyGreen
*/
.WdateDiv{
width:180px;
background-color:#fff;
border:#C5E1E4 1px solid;
padding:2px;
}
.WdateDiv2{
width:360px;
}
.WdateDiv *{font-size:9pt;}
.WdateDiv .NavImg a{
cursor:pointer;
display:block;
width:16px;
height:16px;
margin-top:1px;
}
.WdateDiv .NavImgll a{
float:left;
background:url(img.gif) no-repeat;
}
.WdateDiv .NavImgl a{
float:left;
background:url(img.gif) no-repeat -16px 0px;
}
.WdateDiv .NavImgr a{
float:right;
background:url(img.gif) no-repeat -32px 0px;
}
.WdateDiv .NavImgrr a{
float:right;
background:url(img.gif) no-repeat -48px 0px;
}
.WdateDiv #dpTitle{
height:24px;
padding:1px;
border:#c5d9e8 1px solid;
background:url(bg.jpg);
margin-bottom:2px;
}
.WdateDiv .yminput{
margin-top:2px;
text-align:center;
border:0px;
height:20px;
width:50px;
color:#034c50;
background-color:transparent;
cursor:pointer;
}
.WdateDiv .yminputfocus{
margin-top:2px;
text-align:center;
border:#939393 1px solid;
font-weight:bold;
color:#034c50;
height:20px;
width:50px;
}
.WdateDiv .menuSel{
z-index:1;
position:absolute;
background-color:#FFFFFF;
border:#A3C6C8 1px solid;
display:none;
}
.WdateDiv .menu{
cursor:pointer;
background-color:#fff;
color:#11777C;
}
.WdateDiv .menuOn{
cursor:pointer;
background-color:#BEEBEE;
}
.WdateDiv .invalidMenu{
color:#aaa;
}
.WdateDiv .YMenu{
margin-top:20px;
}
.WdateDiv .MMenu{
margin-top:20px;
*width:62px;
}
.WdateDiv .hhMenu{
margin-top:-90px;
margin-left:26px;
}
.WdateDiv .mmMenu{
margin-top:-46px;
margin-left:26px;
}
.WdateDiv .ssMenu{
margin-top:-24px;
margin-left:26px;
}
.WdateDiv .Wweek {
text-align:center;
background:#DAF3F5;
border-right:#BDEBEE 1px solid;
}
.WdateDiv .MTitle{
color:#13777e;
background-color:#bdebee;
}
.WdateDiv .WdayTable2{
border-collapse:collapse;
border:#BEE9F0 1px solid;
}
.WdateDiv .WdayTable2 table{
border:0;
}
.WdateDiv .WdayTable{
line-height:20px;
color:#13777e;
background-color:#edfbfb;
border:#BEE9F0 1px solid;
}
.WdateDiv .WdayTable td{
text-align:center;
}
.WdateDiv .Wday{
cursor:pointer;
}
.WdateDiv .WdayOn{
cursor:pointer;
background-color:#74d2d9 ;
}
.WdateDiv .Wwday{
cursor:pointer;
color:#ab1e1e;
}
.WdateDiv .WwdayOn{
cursor:pointer;
background-color:#74d2d9;
}
.WdateDiv .Wtoday{
cursor:pointer;
color:blue;
}
.WdateDiv .Wselday{
background-color:#A7E2E7;
}
.WdateDiv .WspecialDay{
background-color:#66F4DF;
}
.WdateDiv .WotherDay{
cursor:pointer;
color:#0099CC;
}
.WdateDiv .WotherDayOn{
cursor:pointer;
background-color:#C0EBEF;
}
.WdateDiv .WinvalidDay{
color:#aaa;
}
.WdateDiv #dpTime{
float:left;
margin-top:3px;
margin-right:30px;
}
.WdateDiv #dpTime #dpTimeStr{
margin-left:1px;
color:#497F7F;
}
.WdateDiv #dpTime input{
height:20px;
width:18px;
text-align:center;
color:#333;
border:#61CAD0 1px solid;
}
.WdateDiv #dpTime .tB{
border-right:0px;
}
.WdateDiv #dpTime .tE{
border-left:0;
border-right:0;
}
.WdateDiv #dpTime .tm{
width:7px;
border-left:0;
border-right:0;
}
.WdateDiv #dpTime #dpTimeUp{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -32px -16px;
}
.WdateDiv #dpTime #dpTimeDown{
height:10px;
width:13px;
border:0px;
background:url(img.gif) no-repeat -48px -16px;
}
.WdateDiv #dpQS {
float:left;
margin-right:3px;
margin-top:3px;
background:url(img.gif) no-repeat 0px -16px;
width:20px;
height:20px;
cursor:pointer;
}
.WdateDiv #dpControl {
text-align:right;
margin-top:3px;
}
.WdateDiv .dpButton{
height:20px;
width:45px;
margin-top:2px;
border:#38B1B9 1px solid;
background-color:#CFEBEE;
color:#08575B;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -1,19 +1,13 @@
<%--
Created by IntelliJ IDEA.
User: Vie
Date: 2019/10/24
Time: 16:03
To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="java.text.SimpleDateFormat" %>
<%
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>
<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" />
@ -48,27 +42,26 @@
</script>
<body>
<div align="right" style="color: lavender">欢迎你,<%=request.getParameter("Username")%></div>
<center>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<table width="100%" 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>
<td height="60" bgcolor="#7bc69" style="color:#000000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="30" background="Images/MenuBg.jpg">&nbsp;</td>
<td height="30" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="900" border="0" cellspacing="0" cellpadding="0">
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/leftbg.jpg">
<%@ include file="StudentLeft.jsp"%>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="709" align="center" valign="top" bgcolor="#F6F9FE"><table width="709" border="0" cellspacing="0" cellpadding="0">
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/mainMenuBg.jpg" style="padding-left:25px;">修改密码</td>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">修改密码</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#F6F9FE"><form name="form1" method="post" action="PasswordUpdateSave.action" onSubmit="return mycheck()" >
<td height="470" align="center" valign="top" bgcolor="#f0fff0"><form name="form1" method="post" action="PasswordUpdateSave.action" onSubmit="return mycheck()" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
@ -106,13 +99,5 @@
</table>
</center>
<div align="center" 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>
</body>
</html>

@ -0,0 +1,99 @@
<%@ 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" />
<script language="JavaScript">
function mycheck(){
if(isNull(form1.Address.value)){
alert("请输入维修地址!");
return false;
}
if(isNull(form1.Info.value)){
alert("请输入维修信息!");
return false;
}
if(isNull(form1.Tel.value)){
alert("请输入联系电话!");
return false;
}
}
function isNull(str){
if ( str == "" ) return true;
var regu = "^[ ]+$";
var re = new RegExp(regu);
return re.test(str);
}
</script>
</head>
<body>
<center>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7bc69" style="color:#000000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="30" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">上报维修信息</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#f0fff0">
<form name="form1" method="post" action="RepairAdd.action" onSubmit="return mycheck()" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
<td width="67%">&nbsp;</td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请描述地址:</td>
<td><input name="repair_address" type="text" class="text2" id="Address"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请描述维修对象:</td>
<td><input name="repair_info" type="text" class="text2" id="info"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请输入联系电话:</td>
<td><input name="repair_tel" type="text" class="text2" id="Tel"></td>
</tr>
<tr>
<td height="30">&nbsp;</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">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,81 @@
<%@ 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="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7bc69" style="color:#000000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="30" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">维修管理</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#f0fff0"><form name="form1" method="post" action="RepairManager.action">
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%" height="30" style="padding-left:20px;"> 功能导航:
<td width="78%">查询:
<select name="SearchRow" id="SearchRow">
<option value="repair_info">物品名</option>
<option value="repair_tel">电话</option>
<option value="repair_address">地址</option>
</select>
<input name="SearchKey" type="text" class="text1" id="SearchKey">
<input type="submit" name="button" id="button" value="点击查询"></td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center" class="t1">
<td height="25" bgcolor="#ff7f50"><strong>维修物品</strong></td>
<td bgcolor="#ff7f50"><strong>维修地址</strong></td>
<td bgcolor="#ff7f50"><strong>维修电话</strong></td>
<td bgcolor="#ff7f50"><strong>维修状态</strong></td>
<td bgcolor="#ff7f50"><strong>操作</strong></td>
</tr>
<s:iterator id="aa" value="list">
<tr align="center">
<td height="25" align="center">${repair_info}</td>
<td>${repair_address}</td>
<td>${repair_tel}</td>
<td align="center">${repair_status}</td>
<td align="center"><a href="RepairUpdate.action?repair_id=${repair_id}">修改</a> </td>
</tr>
</s:iterator>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,94 @@
<%@ 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.repair_id.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="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7bc69" style="color:#000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="20" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">修改维修状态</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#f0fff0"><form name="form1" method="post" action="RepairUpdateSave.action" onSubmit="return mycheck()" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
<td width="67%"><input name="repair_id" type="text" class="noshow" id="repair_id" value="<s:property value='cnbean.repair_id'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>维修状态:</td>
<td><select name="repair_status" id="repair_status">
<option value="">请选择</option>
<option value="已修"
<s:if test='cnbean.repair_status=="已修"'>selected</s:if>
>已修
</option>
<option value="未修"
<s:if test='cnbean.repair_status=="未修"'>selected</s:if>
>未修
</option>
</select></td>
</tr>
<tr>
<td height="30">&nbsp;</td>
<td ><input type="submit" name="button" id="button" value="修改维修状态"></a>
<input type="button" name="button2" id="button2" value="返回上页" onClick="javascript:history.back(-1);"></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -1,62 +1,145 @@
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %><%--
Created by IntelliJ IDEA.
User: vie
Date: 2019/12/30
Time: 20:48
To change this template use File | Settings | File Templates.
--%>
<!--这里是pages文件夹里的addStu.jsp-->
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ page language="java" import="com.mysql.cj.x.protobuf.MysqlxDatatypes" pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%
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">
<meta name="viewport" content="width=device-width,initial-scale=1.0,
minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>添加学生信息</title>
<style>
body{
background-image: url("Images/bg11.jpg");
}
</style>
<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_DomitoryID.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_State.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>
<h2 align="center">请输入添加学生信息</h2>
<div style="width:100%;text-align:center">
<%-- <form action="../addServlet">--%>
<table border=5 style="margin:auto">
<center>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>学号:</td>
<td><input type="text" name="stuid" id="stuid"></td>
<td height="60" bgcolor="#7bc69" style="color:#000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td>登录密码:</td>
<td><input type="text" name="stupass" id="stupass"></td>
<td height="20" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td>姓名:</td>
<td><input type="text" name="stuname" id="stuname"></td>
<td height="500" align="center" valign="top"><table width=100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">添加学生</td>
</tr>
<tr>
<td>学生电话:</td>
<td><input type="text" name="stutel" id="stutel"></td>
<td height="470" align="center" valign="top" bgcolor="#f0fff0"><form name="form1" method="post" action="StudentAddSave.action" onSubmit="return mycheck()" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
<td width="67%">&nbsp;</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" value="提交">
</td>
<td height="30" align="right"><span style="color:red;">*</span>学号:</td>
<td><input name="Student_Username" type="text" class="text2" id="Student_Username"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>宿舍号:</td>
<td><input name="Student_DomitoryID" type="text" class="text2" id="Student_DomitoryID"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>密码:</td>
<td><input name="Student_Password" type="password" class="text2" id="Student_Password"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>重复密码:</td>
<td><input name="Student_Password2" type="password" class="text2" id="Student_Password2"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>姓名:</td>
<td><input name="Student_Name" type="text" class="text2" id="Student_Name"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>性别:</td>
<td><select name="Student_Sex" id="Student_Sex">
<option value="">请选择</option>
<option value="男">男</option>
<option value="女">女</option>
</select></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>班级:</td>
<td><input name="Student_Class" type="text" class="text2" id="Student_Class"></td>
</tr>
<tr>
<td height="30">&nbsp;</td>
<td><input type="submit" name="button" id="button" value="添加学生">
&nbsp;&nbsp;
<input type="button" name="button2" id="button2" value="返回上页" onClick="javascript:history.back(-1);"></td>
</tr>
</table>
</form>
</div>
<div align="center" 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>
</form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -7,7 +7,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>校园宿舍管理系统</title>
<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" />

@ -0,0 +1,101 @@
<%@ page language="java" import="org.apache.struts2.ServletActionContext" 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="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7bc69" style="color:#000; font-size:19px; font-weight:bolder; padding-left:50px;" background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="20" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F0FFF0"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">学生管理</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#F0FFF0">
<form name="form1" method="post" action="StudentManager.action">
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="28%" height="30" style="padding-left:20px;"> 功能导航: <a href="StudentAdd.jsp">添加学生</a></td>
<td width="72%">查询:
<select name="SearchRow" id="SearchRow">
<option value="Student_Name">姓名</option>
<option value="Student_Username">学号</option>
<option value="Student_Class">班级</option>
</select>
<input name="SearchKey" type="text" class="text1" id="SearchKey">
<input type="submit" name="button" id="button" value="点击查询"></td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center" class="t1">
<td height="25" bgcolor="#FF7F50"><strong>学号</strong></td>
<td bgcolor="#FF7F50"><strong>姓名</strong></td>
<td bgcolor="#FF7F50"><strong>性别</strong></td>
<td bgcolor="#FF7F50"><strong>班级</strong></td>
<td bgcolor="#FF7F50"><strong>宿舍号</strong></td>
<td bgcolor="#FF7F50"><strong>操作</strong></td>
</tr>
<s:iterator id="aa" value="list">
<tr align="center">
<td height="25" align="center">${Student_Username}</td>
<td>${Student_Name}</td>
<td>${Student_Sex}</td>
<td>${Student_Class}</td>
<td align="center">${Student_DomitoryID}</td>
<td align="center"><a href="StudentUpdate.action?Student_ID=${Student_ID}">修改</a> <a href="StudentDel.action?Student_ID=${Student_ID}" onClick="return confirm('确定要删除该学生吗?')">删除</a></td>
</tr>
</s:iterator>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<%
for (int i=0;i<240/16;i++){
%><td><a href="StudentManager.action?a=<%=i%>" <%session.setAttribute("number111", i*16);%>><%if(i<9){%>
<%=0+Integer.toString(i+1)%>
<%}%>
<%if(i>=9){%>
<%=i+1%>
<%}%>
</a></td>
<%
}
%>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,136 @@
<%@ 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 (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="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7bc69" style="color:#000; font-size:19px; font-weight:bolder; padding-left:50px;" background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="20" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F0FFF0"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">学生管理</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#F0FFF0"><form name="form1" method="post" action="StudentUpdateSave.action" onSubmit="return mycheck()" >
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
<td width="67%"><input name="Student_ID" type="text" class="noshow" id="Student_ID" value="<s:property value='cnbean.Student_ID'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>学号:</td>
<td><input name="Student_Username" type="text" class="text2" id="Student_Username" value="<s:property value='cnbean.Student_Username'/>"></td>
</tr>
<tr>
<td height="30" align="right">密码:</td>
<td><input name="Student_Password" type="password" class="text2" id="Student_Password">
<span style="color:#F60">不修改则不填写</span></td>
</tr>
<tr>
<td height="30" align="right">重复密码:</td>
<td><input name="Student_Password2" type="password" class="text2" id="Student_Password2">
<span style="color:#F60">不修改则不填写</span></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>姓名:</td>
<td><input name="Student_Name" type="text" class="text2" id="Student_Name" value="<s:property value='cnbean.Student_Name'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>性别:</td>
<td><select name="Student_Sex" id="Student_Sex">
<option value="">请选择</option>
<option value="男"
<s:if test='cnbean.Student_Sex=="男"'>selected</s:if>
>男
</option>
<option value="女"
<s:if test='cnbean.Student_Sex=="女"'>selected</s:if>
>女
</option>
</select></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>班级:</td>
<td><input name="Student_Class" type="text" class="text2" id="Student_Class" value="<s:property value='cnbean.Student_Class'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>宿舍号:</td>
<td><input name="Student_DomitoryID" type="text" class="text2" id="Student_DomitoryID" value="<s:property value='cnbean.Student_DomitoryID'/>"></td>
</tr>
<tr>
<td height="30">&nbsp;</td>
<td><input type="submit" name="button" id="button" value="修改学生">
&nbsp;&nbsp;
<input type="button" name="button2" id="button2" value="返回上页" onClick="javascript:history.back(-1);"></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,36 @@
body {
margin-top: 0px;
}
body,td,th {
font-family: ;
font-size: 12px;
}
form {
margin:0px 0px 0px 0px;
padding:0px 0px 0px 0px;
}
.STYLE2 {
color:#333;
}
.box1 {
width:250px;
height:20px;
}
/*.box2 {
width:250px;
height:90px;
}*/
.box2 {
width:500px;
height:300px;
}
.noshow{ display:none;}
A:link{ COLOR:#333; TEXT-DECORATION: none; }
A:visited{ COLOR: #333; TEXT-DECORATION: none; }
A:active{ COLOR: #333; TEXT-DECORATION: none; }
A:hover{ COLOR:#FF3300; TEXT-DECORATION: none; }
A.left1:link{ COLOR:#2160c1; font-weight:bolder; TEXT-DECORATION: none; }
A.left1:visited{ COLOR: #2160c1; font-weight:bolder; TEXT-DECORATION: none; }
A.left1:active{ COLOR: #2160c1; font-weight:bolder; TEXT-DECORATION: none; }
A.left1:hover{ COLOR:#FF3300; font-weight:bolder; TEXT-DECORATION: none; }

@ -1,31 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
<servlet>
<servlet-name>StudentServlet</servlet-name>
<servlet-class>com.demo.StudentServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>StudentServlet</servlet-name>
<url-pattern>/addStudent.jsp</url-pattern>
</servlet-mapping>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>struts2 </filter-name>
<url-pattern>*.jsp </url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>/addStudent.jsp</welcome-file>
<welcome-file>Login.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>addServlet</servlet-name>
<servlet-class>com.action.addServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>addServlet</servlet-name>
<url-pattern>/StudentAdd.jsp</url-pattern>
</servlet-mapping>
<error-page>
<error-code>404</error-code>
<location>/StudentManager.jsp</location>
</error-page>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
</web-app>

@ -0,0 +1,178 @@
body,input{
margin: 0;
padding: 0;
background-color: chartreuse;
}
input{
display: inline-block;
background: #fff;
}
.xiao-container{
width: 100%;
}
.xiao-register-box{
position: relative;
height: 800px;
width: 800px;
top: 50px;
margin: 0 auto;
z-index: 99999;
background:#ffffff;
border: 7px solid #ccc;
}
.xiao-title-box{
position: absolute;
width: 300px;
height: 50px;
margin-left: 250px;
margin-top: 5px;
text-align: center;
font-size: 28px;
font-weight: 800;
color: #ff5000;
line-height: 50px;
}
.xiao-username-box{
position: absolute;
width: 420px;
height: 40px;
line-height: 40px;
margin-top:100px;
margin-left:80px;
font-weight: 700;
}
.xiao-username-input{
display: inline-block;
margin-left: 28px;
/*background: green;*/
}
#username{
height: 35px;
width: 290px;
border: 2px solid #ccc;
border-radius: 5px;
}
.xiao-userPassword-box{
position: absolute;
width: 420px;
height: 40px;
line-height: 40px;
margin-top:180px;
margin-left:80px;
font-weight: 700;
}
.xiao-userPassword-input{
display: inline-block;
margin-left: 28px;
}
#userPassword{
height: 35px;
width: 290px;
border: 2px solid #ccc;
border-radius: 5px;
}
.xiao-userRePassword-box{
position: absolute;
width: 420px;
height: 40px;
line-height: 40px;
margin-top:260px;
margin-left:80px;
font-weight: 700;
}
.xiao-userRePassword-input{
display: inline-block;
margin-left: 28px;
}
#userRePassword{
height: 35px;
width: 290px;
border: 2px solid #ccc;
border-radius: 5px;
}
.xiao-userPhone-box{
position: absolute;
width: 420px;
height: 40px;
line-height: 40px;
margin-top:340px;
margin-left:80px;
font-weight: 700;
}
.xiao-userPhone-input{
display: inline-block;
margin-left: 28px;
}
#userPhone{
height: 35px;
width: 290px;
border: 2px solid #ccc;
border-radius: 5px;
}
.xiao-userEmail-box{
position: absolute;
width: 420px;
height: 40px;
line-height: 40px;
margin-top:420px;
margin-left:80px;
font-weight: 700;
}
.xiao-userEmail-input{
display: inline-block;
margin-left: 28px;
}
#userEmail{
height: 35px;
width: 290px;
border: 2px solid #ccc;
border-radius: 5px;
}
#userGender{
height: 35px;
width: 290px;
border: 2px solid #ccc;
border-radius: 5px;
}
.xiao-userGender-box{
position: absolute;
width: 420px;
height: 40px;
line-height: 40px;
margin-top:500px;
margin-left:82px;
font-weight: 700;
}
.xiao-userGender-input{
display: inline-block;
margin-left: 62px;
}
.xiao-require{
color: red;
}
.xiao-submit-box{
position:absolute;
width: 80px;
height: 40px;
line-height: 40px;
margin-top: 580px;
margin-left:200px;
border-radius: 5px;
background: grey;
}
#xiao-submit-button{
display: inline-block;
width: 80px;
height: 40px;
border-radius: 5px;
background: red;
}
.xiao-goLogin-box{
position:absolute;
width: 150px;
height: 20px;
margin-top: 600px;
margin-left:320px;
}

@ -0,0 +1,92 @@
/****************************************************************
* *
* *
* www.dmaku.com *
* *
* *
****************************************************************/
@charset "utf-8";
/* CSS reset */
*{ font-family:"microsoft yahei",simsun,Tahoma,sans-serif;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
fieldset,img {border:0; }
ol,ul {list-style:none; }
h1,h2,h3,h4,h5,h6,button,input,select,textarea {font-size:100%;}
button::-moz-focus-inner,input::-moz-focus-inner{padding:0; border:0;}
table {border-collapse:collapse;border-spacing:0;}
i, cite, em, var, dfn, address {font-style: normal;}
body{ font-size:14px;}
a{color: #313131;text-decoration: none; }
a:hover{text-decoration: underline;}
a:active, a:focus{outline:none}
.fl{float: left;}
.fr{float: right;}
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; font-size:0;}
.clearfix{zoom:1;clear:both;}
.clear{clear:both; height:0; line-height:0; font-size:0;}
.hidden,.none{display: none;}
/*.w1060{ width:1060px; height:auto; margin:0 auto;}*/
.padding_nei{ /*写padding不撑开*/
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
-ms-box-sizing:border-box;
-o-box-sizing:border-box;
box-sizing:border-box;
}
.main01 .sousuo div{
-webkit-border-radius: 17px;
-moz-border-radius: 17px;
-ms-border-radius:17px;
-o-border-radius:17px;
border-radius:17px;
}
.w1100{ width:1100px; height:auto; margin:0 auto;}
.w1096{ width:1096px; height:auto; margin:0 auto;}
/*注册页面*/
.login_bj{ background:url(../images/bg11.jpg) no-repeat top center;}
.zhuce_body{ float:left; width:100%; height:auto;}
.zhuce_body .logo{ width:114px; height:54px; margin:53px 0 0 65px;}
.zhuce_body .zhuce_kong{ position:absolute; top:50%; left:50%; width:650px; height:580px; margin-left:-300px; margin-top:-239px;}
.zhuce_body .zhuce_kong .zc{width:600px; height:408px;}
.zhuce_body .zhuce_kong .zc .bj_bai{ float:left; width:314px; height:408px; padding-left:50px; background:#FFF;}
.zhuce_body .zhuce_kong .zc .bj_bai h3{ font:16px/70px "微软雅黑", "黑体"; color:#333333; width:270px; text-align:center;}
.zhuce_body .zhuce_kong .zc .bj_right{ float:left;width:185px; height:408px; padding-left:51px; background:#f8f8f8;}
.zhuce_kong > p{font:16px/70px "微软雅黑", "黑体"; text-align:center; color:#fff;}
.zhuce_body .zhuce_kong .zc .bj_bai .kuang_txt{ width:236px; height:32px; border:1px solid #dddddd; line-height:32px; padding-left:32px; color:#b1a9a9; margin-bottom:10px; }
.zhuce_body .zhuce_kong .zc .bj_bai .btn_zhuce{ width:270px; height:33px; background:#37b5f9; font-size:14px; line-height:33px; text-align:center; border:0px; color:#fff; border-radius:3px; cursor:pointer;}
.zhuce_body .zhuce_kong .zc .bj_bai .phone{background:url(../images/zc_06.jpg) no-repeat 10px 10px;}
.zhuce_body .zhuce_kong .zc .bj_bai .email{background:url(../images/zc_12.jpg) no-repeat 10px 10px;}
.zhuce_body .zhuce_kong .zc .bj_bai .possword{background:url(../images/zc_16.jpg) no-repeat 10px 10px;}
.zhuce_body .zhuce_kong .zc .bj_bai .yanzm{background:url(../images/zc_19.jpg) no-repeat 10px 10px; margin-bottom:0px;}
.zhuce_body .zhuce_kong .zc .bj_bai .hui_kuang{ float:left; width:97px; height:31px; border:1px solid #dddddd;}
.zhuce_body .zhuce_kong .zc .bj_bai .shuaxin{ float:left; margin:0px 0 0 150px; width:14px; height:14px;}
.zhuce_body .zhuce_kong .zc .bj_bai div{ float:left; width:100%; line-height:43px;}
.zhuce_body .zhuce_kong .zc .bj_bai div input{ float:left; margin-top:15px;}
.zhuce_body .zhuce_kong .zc .bj_bai div span{ padding-left:5px;}
.zhuce_body .zhuce_kong .zc .bj_bai div .lan{ color:#19aaf8; padding-left:0px;}
.zhuce_body .zhuce_kong .zc .bj_right P { width:135px; font:12px/60px ""; color:#999999;}
.zhuce_body .zhuce_kong .zc .bj_right P a{ color:#37b5f9;}
.zhuce_body .zhuce_kong .zc .bj_right > a{ float:left; width:82px; height:28px; padding-left:51px; line-height:28px; margin-bottom:12px; border-radius:3px; }
.zhuce_body .zhuce_kong .zc .bj_right .zhuce_qq{ border:1px solid #37b5f9; color:#37b5f9; background:url(../images/zc_03.jpg) no-repeat 28px 7px #fff;}
.zhuce_body .zhuce_kong .zc .bj_right .zhuce_wb{ border:1px solid #f26d7e; color:#f26d7e; background:url(../images/zc_10.jpg) no-repeat 28px 7px #fff;}
.zhuce_body .zhuce_kong .zc .bj_right .zhuce_wx{ border:1px solid #00c800; color:#00c800; background:url(../images/zc_15.jpg) no-repeat 28px 7px #fff;}
/*登录页面*/
.zhuce_body .login_kuang{ position:absolute; top:50%; left:50%; width:512px; height:325px; margin-left:-256px; margin-top:-162px;}
.zhuce_body .login_kuang .zc{ width:512px; height:auto;}
.zhuce_body .login_kuang .zc .bj_bai{ float:left; width:261px; height:256px; padding-left:38px; background:#FFF;}
.zhuce_body .login_kuang .zc .bj_bai h3{ font:16px/70px "微软雅黑", "黑体"; color:#37b5f9; width:270px; text-align:left;}
.zhuce_body .login_kuang .zc .bj_right{ float:left;width:173px; height:256px; padding-left:37px; background:#f8f8f8;}
.zhuce_body .login_kuang .zc .bj_bai .kuang_txt{ width:220px; height:32px; border:1px solid #dddddd; background:#faffbd; line-height:32px; padding-left:4px; color:#b1a9a9; margin-bottom:10px; }
.zhuce_body .login_kuang .zc .bj_bai a{ color:#37b5f9; float:right; margin-right:35px;}
.zhuce_body .login_kuang .zc .bj_bai .btn_zhuce{ width:227px; height:33px; background:#37b5f9; font-size:14px; line-height:33px; text-align:center; border:0px; color:#fff; border-radius:3px; cursor:pointer;}
.zhuce_body .login_kuang .zc .bj_bai .btn_zhuce:hover,.login_qita_kuang .zc .left .btn_zhuce:hover{ background:#0065d0;}

@ -0,0 +1,524 @@
@charset "utf-8";
/* CSS Document */
/* create by vincent 1312065793@qq.com*/
div, ul, li, h1, h2, h3, h4, h5, h6, img, p, dl, dt, dd, ol, th, td {margin: 0px;padding: 0px;}
li {list-style-type: none;}
form, input, button, option, textarea, select {
margin: 0px;
padding: 0px;
color:#000;
}
textarea{
resize:none;
}
input{
outline:none;
}
input, button, textarea, select {
font-family: "微软雅黑", "华文细黑", STHeiti-Light, STHeiti, "宋体";
}
a {
text-decoration: none;
cursor:pointer;
color:#b3b7c1;
}
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:hover {text-decoration: none; }
a:active {text-decoration: none;}
table {font-size:inherit;}
th {font-weight:normal;}
img {border: 0;}
h3 {font-size: 14px;}
h4 {font-size: 12px;}
em{ font-style:normal;}
.clear {clear: both;height: 0px;overflow: hidden;}
/*清除浮动*/
.fix:after{
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
.fix{display:inline-table;}/* Hides from IE-mac \*/
* html .fix{height:1%;}
.fix{display:block;}/* End hide from IE-mac */
*+html .fix{min-height:1%;}/* IE7 */
body{
background: #FFFFFF;
font-family: Arial,Helvetica,sans-serif;
font-size: 14px;
margin: 0px;
padding: 0px;
}
#minWidth{
min-width:1348px;
}
ul,ol{
list-style: none;
}
a{
border: 0 none;
outline: 0;
color: #5a5959;
text-decoration: none;
}
a:hover,
a:focus {
outline: 0;
}
/* from-group css*/
.form-group{
width: 100%;
float: left;
margin: 0 2px;
}
.form-group .control-label {
margin-bottom: 0;
padding-top: 14px;
text-align: right;
font-weight: bold;
float: left;
}
.form-group .form-item{
width: auto;
padding: 5px 12px;
float: left;
}
.form-group .form-control {
padding: 0 12px;
border: 1px solid #ccc;
border-radius: 4px;
color: #555;
font-size: 16px;
height: 34px;
width: auto;
}
.form-control::-moz-placeholder {
color: #c9c9c9;
opacity: 1;
font-size: 14px;
}
.form-control:-ms-input-placeholder {
color: #c9c9c9;
font-size: 14px;
}
.form-control::-webkit-input-placeholder {
color: #c9c9c9;
font-size: 14px;
}
.checkbox{
position: relative;
display: block;
min-height: 20px;
}
.checkbox label {
padding-left: 20px;
margin-bottom: 0;
font-weight: normal;
cursor: pointer;
}
/* btn 按钮*/
.btn {
display: inline-block;
float: left;
padding: 6px 12px;
margin-bottom: 0;
font-size: 14px;
font-weight: normal;
text-align: center;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
transition: all .5s;
-webkit-transition: all .5s;
-moz-transition: all .5s;
-ms-transition: all; accelerator: .5s;
}
/*btn 默认*/
.btn-default {
color: #333;
background-color: #fff;
border-color: #ccc;
}
.btn-default:hover {
color: #333;
background-color: #e6e6e6;
border-color: #adadad;
}
/*btn 首选项*/
.btn-primary {
color: #fff;
background-color: #428bca;
border-color: #357ebd;
}
.btn-primary:hover{
color: #fff;
background-color: #3071a9;
border-color: #285e8e;
}
/*btn 成功*/
.btn-success {
color: #fff;
background-color: #2b7dad;
border-color: #4cae4c;
}
.btn-success:hover{
color: #fff;
background-color: #288dc7;
border-color: #398439;
}
/*btn 一般信息*/
.btn-info {
color: #fff;
background-color: #5bc0de;
border-color: #46b8da;
}
.btn-info:hover {
color: #fff;
background-color: #31b0d5;
border-color: #269abc;
}
/*btn 警告*/
.btn-warning {
color: #fff;
background-color: #f0ad4e;
border-color: #eea236;
}
.btn-warning:hover {
color: #fff;
background-color: #ec971f;
border-color: #d58512;
}
/*btn 危险*/
.btn-danger {
color: #fff;
background-color: #d9534f;
border-color: #d43f3a;
}
.btn-danger:hover {
color: #fff;
background-color: #c9302c;
border-color: #ac2925;
}
/*btn 不可用*/
.btn-useless {
color: #898989;
background-color: #E4E4E4;
border-color: #DADADA;
}
/* breadcrumb */
.breadcrumb{
position: relative;
font-size: 14px;
height: 40px;
line-height: 40px;
padding: 0 30px;
margin: 0px 0 5px 0;
background: #FFFFFF url("../images/home.png") no-repeat 10px center;
z-index: 10 !important;
}
.breadcrumb li{
height: 40px;
line-height: 40px;
display: inline-block;
float: left;
color: #CCCCCC;
margin-left: 4px;
}
.breadcrumb span{
height: 40px;
line-height: 40px;
padding: 0px 35px;
padding-right: 15px;
position: absolute;
right: 0;
top: 0;
font-size: 16px;
display: block;
background: #929191 url("../images/iconfont-rili.png") no-repeat 10px center;
color: #000;
z-index: 2;
}
.breadcrumb .active {
color: #9c9c9c;
}
/* table 绘制*/
table{
border-collapse:collapse;
border-spacing:0;
}
.table_border{
border-right:1px solid #ededed;
border-bottom:1px solid #ededed;
}
.table_border td{
border-left:1px solid #ededed;
border-top:1px solid #ededed;
}
.table_border th{
border-left:1px solid #ededed;
border-top:1px solid #ededed;
}
/* 分页 ljq */
.pagination {
display: inline-block;
padding-left: 0;
margin: 20px 0;
}
.pagination > li {
display: inline;
}
.pagination > li > a,
.pagination > li > span {
position: relative;
float: left;
padding: 6px 12px;
margin-left: -1px;
line-height: 1.42857143;
color: #428bca;
text-decoration: none;
background-color: #fff;
border: 1px solid #ddd;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
margin-left: 0;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
color: #2a6496;
background-color: #eee;
border-color: #ddd;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
z-index: 2;
color: #fff;
cursor: default;
background-color: #428bca;
border-color: #428bca;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
color: #777;
cursor: not-allowed;
background-color: #fff;
border-color: #ddd;
}
/* 分页样式2 oylp*/
.paging{
margin-top: 40px;
display:none;
text-align: center;
}
.page-btn{
display: inline-block;
font-size: 12px;
padding: 6px 12px;
margin-bottom: 5px;
color:#428bca;
border:1px solid #DDDDDD;
cursor: pointer;
background: #ffffff;
}
.last-page{
border-right:0;
}
.next-page{
border-left:0;
}
.Last{
display: inline-block;
}
.page-btn:hover{
background: #EEEEEE;
}
.num-page{
background: #FFFFFF;
color:#428bca;
font-size: 12px;
padding: 6px 12px;
margin-bottom: 5px;
border:1px solid #DDDDDD;
cursor: pointer;
margin: 0 -4px 5px;
}
.num-page:hover{
background: #EEEEEE;
}
/*loading */
.loading {
background: #e84c3d none repeat scroll 0 0;
height: 3px;
left: 0;
position: fixed;
top: 0;
width: 0;
z-index: 999999;
}
/* circle loading*/
.circle-loading {
width: 10px;
height: 10px;
border: 2px solid #e84c3d;
z-index: 9999;
border-radius: 50%;
position: fixed;
top: 10px;
right: 10px;
border-bottom: 2px solid transparent;
animation: loading .5s infinite linear;
-webkit-animation: loading .5s infinite linear;
-moz-animation: loading .5s infinite linear;
-o-animation: loading .5s infinite linear;
}
@keyframes loading {
form {transform: rotate(0deg);}
to {transform: rotate(360deg);}
}
@-webkit-keyframes loading {
form {-webkit-transform: rotate(0deg);}
to {-webkit-transform: rotate(360deg);}
}
@-moz-keyframes loading {
form {-moz-transform: rotate(0deg);}
to {-moz-transform: rotate(360deg);}
}
@-o-keyframes loading {
form {-o-transform: rotate(0deg);}
to {-o-transform: rotate(360deg);}
}
/* 浏览器版本提示 */
.top-tip {
background: #f6e5e5 none repeat scroll 0 0;
display: none;
height: 50px;
width: 100%;
min-width: 1200px;;
}
.top-tip .tip-content{
color: #de0000;
display: block;
font-size: 14px;
font-weight: 300;
height: 50px;
line-height: 50px;
margin: 0 auto;
position: relative;
top: 0;
width: 1200px;
}
.tip-content a{
position: absolute;
right: 0;
top: 10px;
display: block;
height: 30px;
line-height: 30px;
width: 80px;
padding: 0 5px;
background: #5cb85c;
color: #FFFFFF;
}
.tip-content a:hover{
color: #fff;
background-color: #449d44;
}
.tip-content .b1{
right: 165px;
}
.tip-content .b2{
right: 50px;
}
.tip-content .tip-ico{
height: 50px;
line-height: 50px;
position: absolute;
padding-left: 30px;
top: 0px;
left: 0px;
background: url(../images/iconfont-tixing.png) 5px center no-repeat;
}
.tip-content .how-change{
height: 50px;
line-height: 50px;
position: absolute;
padding-left: 30px;
top: 0px;
left: 720px;
display: block;
color: #1196db;
cursor: pointer;
text-decoration: underline;
background: url(../images/iconfont-nvshelp.png) 5px center no-repeat;
}
.tip-content .tip-close{
cursor: pointer;
display: block;
width: 20px;
height: 20px;
position: absolute;
right: 0px;
top: 15px;
background: url(../images/iconfont-close.png) 0px center no-repeat;
}
/*back to top css*/
.left-side {
position: fixed;
width: 54px;
height: 162px;
left: 40px;
bottom: 115px;
z-index: 9999;
display: none
}
.left-side li{
width: 54px;
height: 54px;
border-bottom: 1px solid #FFFFFF;
position: relative;
transition: all 0.3s;
}
.left-side li img{
position: absolute;
right: -165px;
top: 0;
display: none;
}
.side-weixin{
background:#EEEEEE url(../images/img/icon_weixin.png) no-repeat !important;
}
.side-weixin-h{
background:#2b7dad url(../images/img/icon_weixin.png) no-repeat !important;
}
.side-weibo{
background:#EEEEEE url(../images/img/icon_weibo.png) no-repeat;
}
.side-weibo-h{
background:#2b7dad url(../images/img/icon_weibo.png) no-repeat;
}
.side-top{
background: #ff8b00 url(../images/img/icon_top.png) no-repeat;
}
.side-top-h{
background: #2b7dad url(../images/img/icon_top.png) no-repeat;
}

@ -0,0 +1,275 @@
@charset "utf-8";
/* CSS Document */
body{
background: #ddd;
overflow: hidden;
}
#body-bg{
background-image: url("../images/bg11.jpg");
background-attachment: fixed;
background-position: center 0;
background-repeat: no-repeat;
background-size: cover;
height: 100%;
left: -50px;
position: absolute;
top: -30px;
width: 100%;
z-index: -10;
filter: url(blur.html#blur); /* FireFox, Chrome, Opera */
-webkit-filter: blur(2px); /* Chrome, Opera */
-moz-filter: blur(2px);
-ms-filter: blur(2px);
filter: blur(2px);
filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=2, MakeShadow=false); /* IE6~IE9 */
}
/* usual css*/
.panel{
border: 1px solid transparent;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
position:absolute;
top:50%;
left:50%;
transform: translate(-50%, -60%);
-ms-transform: translate(-50%,-60%); /* IE 9 */
-moz-transform: translate(-50%,-60%); /* Firefox */
-webkit-transform: translate(-50%,-60%); /* Safari 和 Chrome */
-o-transform: translate(-50%,-60%);
}
.center-block {
display: block;
margin-right: auto;
margin-left: auto;
}
.close {
position: absolute;
top: 5px;
right: 5px;
font-size: 16px;
font-weight: bold;
line-height: 1;
color: #000;
text-shadow: 0 1px 0 #fff;
}
/* nav-tab 标签页*/
.nav-tabs{
border-bottom: 1px solid #ddd;
height: 40px;
*height: 40px;
}
.tab-pane {
display: none;
}
.show{
display: block;
}
/* modal dialog 弹出层 */
.modal-dialog{
display: none;
position: absolute;
left: 425px;
z-index: 1000;
overflow: hidden;
}
.modal-header {
min-height: 16.42857143px;
padding: 15px;
border-bottom: 1px solid #e5e5e5;
}
.modal-title {
margin: 0;
line-height: 1.42857143;
}
.modal-body {
position: relative;
padding: 15px;
}
.modal-content {
position: relative;
background-color: #fff;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border: 1px solid #999;
border: 1px solid rgba(0, 0, 0, .2);
border-radius: 6px;
outline: 0;
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.modal-footer {
padding: 15px;
text-align: right;
border-top: 1px solid #e5e5e5;
}
#QRCodeshow{
float: right;
}
#QRCodeshow .pc{margin: -30px auto;background-repeat:no-repeat; display:block; background:url(../images/qrcodeshow.png); background-position:3px 0px;width:60px; height:60px; }
#QRCodeshow .pc:hover{margin: -30px auto;width:60px; height:60px; display:block; background:url(../images/qrcodeshow.png); background-position:-74px 0px;}
#QRCodeshow .wx{margin: -30px auto;background-repeat:no-repeat; width:60px; height:60px; display:block; background:url(../images/qrcodeshow.png); background-position:-150px 0px;}
#QRCodeshow .wx:hover{margin: -30px auto;width:60px; height:60px; display:block; background:url(../images/qrcodeshow.png); background-position:-212px 0px;}
#QRCodeshow .image{
background: url("../images/ewm.html") no-repeat;
width: 72px;
height: 72px;
margin-top: -30px;
margin-right:0px;
border: none;
/*以下为IE6设置PNG透明代码*/
/*
_background:none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/logo-ecjtu.png");
*/
}
.login{
width: 600px;
padding: 30px 0;
background:url(../images/opciaty.png);
background-repeat:repeat;
background:rgba(255, 255, 255, 0.53);
}
#QRCode{
display:none;
float: left;
width: 400px;
}
#QRCode h3{
line-height: 30px;
letter-spacing: 1px;
font-size: 18px;
margin-top:-17px;
margin-left: 110px;
}
#QRCode .image{
margin-left:105px;
margin-top:5px;
}
#QRCodeNote h4{
line-height: 14px;
letter-spacing: 1px;
font-size: 14px;
margin-left:85px;
margin-bottom:-10px;
margin-top:5px;
color:#f9200b;
}
#logo{
width: 190px;
height: 230px;
float: left;
border-right: 1px #ffffff solid;
}
#logo .image{
background: url("../images/logo-ecjtu.png") no-repeat;
width: 125px;
height: 125px;
margin: 20px auto;
border: none;
/*以下为IE6设置PNG透明代码*/
/*
_background:none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/logo-ecjtu.png");
*/
}
#logo h3{
line-height: 50px;
letter-spacing: 1px;
color: #E16E1F;
font-size: 16px;
margin-left:25px;
}
.login form{
display:block;
float: left;
width: 400px;
}
input{
letter-spacing: 1px;
font-size: 14px;
}
.form-group span{
display: inline-block;
height: 40px;
line-height: 40px;
color: #a7d4de;
font-size: 12px;
}
.form-group .control-label{
width: 100px;
color: #494E9F;
font-size: 16px;
letter-spacing: 2px;
font-weight: normal;
}
.form-group .normal{
width: 230px;
}
.form-group .yzm{
width: 70px;
}
.form-group .checkbox{
margin-left: 80px;
}
.form-group .offset{
margin-left: 100px;
}
.btn-success{
margin-right: 30px;
}
.btn-success,.btn-primary {
width: 80px;
border: none;
}
.nav-tabs li{
background: #FFFFFF;
display: block;
float: left;
line-height: 40px;
padding: 0 10px;
}
.nav-tabs li a{
display: block;
}
.modal-header a{
width: 20px;
height: 20px;
display: block;
background: url("../images/close.gif") no-repeat;
}
.modal-header a:hover{
background: url("../images/close-h.gif") no-repeat;
}
.nav-tabs .active{
border: 1px solid #ddd;;
border-bottom: none;
margin-bottom: -2px;
}
#define{
width: 100%;
position: fixed;
bottom: 15px;
color: #FFFFFF;
text-align: center;
}
#define hr{
color: #3239A9;
height: 3px;
background: #024f63;
border: none;
width: 70%;
margin: 0 auto;
}
#define p{
padding-top: 15px;
color: #024f63;
}

@ -0,0 +1,82 @@
<%--
Created by IntelliJ IDEA.
User: ASUS
Date: 2020/1/4
Time: 12:06
To change this template use File | Settings | File Templates.
--%>
<%@ 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="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#E6F5FF" style="color:#000000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="30" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="709" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">电费使用情况</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#F6F9FE"><form name="form1" method="post" action="electricManager1.action">
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="22%" height="30" style="padding-left:20px;"> 功能导航:
<td width="78%">查询:
<select name="SearchRow" id="SearchRow">
<option value="Electric_Dormitory_Number">寝室号</option>
</select>
<input name="SearchKey" type="text" class="text1" id="SearchKey">
<input type="submit" name="button" id="button" value="点击查询"></td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center" class="t1">
<td height="25" bgcolor="#FF7F50"><strong>电费编号</strong></td>
<td bgcolor="#FF7F50"><strong>宿舍号</strong></td>
<td bgcolor="#FF7F50"><strong>电费余额</strong></td>
</tr>
<s:iterator id="aa" value="list">
<tr align="center">
<td height="25" align="center">${Electric_ID}</td>
<td>${Electric_Dormitory_Number}</td>
<td>${Electric_Residual}</td>
</s:iterator>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,105 @@
<%@ 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" />
<script language="JavaScript">
function mycheck(){
if(isNull(form1.Address.value)){
alert("请输入维修地址!");
return false;
}
if(isNull(form1.Info.value)){
alert("请输入维修信息!");
return false;
}
if(isNull(form1.Tel.value)){
alert("请输入联系电话!");
return false;
}
}
function isNull(str){
if ( str == "" ) return true;
var regu = "^[ ]+$";
var re = new RegExp(regu);
return re.test(str);
}
</script>
</head>
<body>
<center>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="60" bgcolor="#7BC69" style="color:#000000; font-size:19px; font-weight:bolder; padding-left:50px;"background="Images/bg015.jpg">高校生活,寓你同行</td>
</tr>
<tr>
<td height="30" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/bg008.jpg">
<%@ include file="Left.jsp"%>
</td>
<td width="100%" align="center" valign="top" bgcolor="#F6F9FE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" background="Images/bg007.jpg" style="padding-left:25px;">上报维修信息</td>
</tr>
<tr>
<td height="470" align="center" valign="top" bgcolor="#F6F9FE">
<form name="form1" method="post" action="RepairAdd.action" onSubmit="return mycheck()" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
<td width="67%">&nbsp;</td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请输入id号</td>
<td><input name="repair_" type="text" class="text2" id="Id">
<%if(request.getAttribute("Msg")!=null){%>
<span style="color:red;"><%=request.getAttribute("Msg")%></span>
<%}%></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请描述地址:</td>
<td><input name="repair_address" type="text" class="text2" id="Address"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请描述维修对象:</td>
<td><input name="repair_info" type="text" class="text2" id="Info"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:blue;">*</span>请输入联系电话:</td>
<td><input name="repair_tel" type="password" class="text2" id="Tel"></td>
</tr>
<tr>
<td height="30">&nbsp;</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">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -0,0 +1,91 @@
<%--
Created by IntelliJ IDEA.
User: ASUS
Date: 2020/1/4
Time: 17:38
To change this template use File | Settings | File Templates.
--%>
<%@ 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.Electric_Residual.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">&nbsp;</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="electricUpdatesave.action" onSubmit="return mycheck()" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%" height="30" align="right">&nbsp;</td>
<td width="67%"><input name="Electric_ID" type="text" class="noshow" id="Electric_ID" value="<s:property value='cnbean.Electric_ID'/>"></td>
</tr>
<tr>
<td height="30" align="right"><span style="color:red;">*</span>电费:</td>
<td><input name="Electric_Residual" type="text" class="text2" id="Electric_Residual" value="<s:property value='cnbean.Electric_Residual'/>"></td>
</tr>
<tr>
<td height="30">&nbsp;</td>
<td><input type="submit" name="button" id="button" value="修改电费">
&nbsp;&nbsp;
<input type="button" name="button2" id="button2" value="返回上页" onClick="javascript:history.back(-1);"></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td height="35" background="Images/bootBg.jpg">&nbsp;</td>
</tr>
</table>
</center>
</body>
</html>

@ -7,7 +7,7 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>校园宿舍管理系统</title>
<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" />
@ -16,17 +16,19 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
<style>
#right1{
background-image: url("Images/bg002.jpg");
background-image: url("Images/bg013.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 900px;
}
#right2{
background-image: url("Images/bg001.jpg");
background-image: url("Images/bg013.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 900px;
}
#right3{
background-image: url("Images/bg003.jpg");
background-image: url("Images/bg013.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: 600px 400px;
@ -52,28 +54,22 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
<body id="body">
<center>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<table width="100%" 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>
<td height="60" bgcolor="#7bc69" style="color:#000; font-size:19px; font-weight:bolder; padding-left:50px;" background="Images/bg015.jpg"><h2>高校生活,寓你同行</h2></td>
</tr>
<tr>
<td height="30" background="Images/MenuBg.jpg">&nbsp;</td>
<td height="20" background="Images/bg005.png">&nbsp;</td>
</tr>
<tr>
<td height="500" align="center" valign="top"><table width="900" border="0" cellspacing="0" cellpadding="0">
<td height="500" align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="191" height="500" align="center" valign="top" background="Images/leftbg.jpg">
<td width="191" height="500" align="center" valign="top" background="Images/bg008.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>
<%}%>
<td width="709" align="center" valign="middle" bgcolor="#F6F9FE" id="right1"><h1 style="color: blue;font-size: 2.4em;"></h1>
</td>
</tr>
</table>
</td>
@ -86,28 +82,3 @@ String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.
</center>
</body>
</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>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,383 @@
/**
* Created by Vincent on 14-8-7.
*/
/**
*
* 获得URL参数
*/
function GetQueryString(name)
{
var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
var r = window.location.search.substr(1).match(reg);
if(r!=null)return unescape(r[2]); return null;
}
//iframe获取url指定参数
function GetParentQueryString(name){
var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
var r = parent.location.search.substr(1).match(reg);
if(r!=null)return unescape(r[2]); return null;
}
/**
* 关闭ajax产生的缓存
*/
$.ajaxSetup({
cache : false
// 关闭AJAX相应的缓存
});
/**
* 弹出警告框
*
* @param mes
* @constructor
*/
function Edialog(mes) {
$("body").eq(0).css("overflow", "hidden");
var height = $(document).height();
var width = $(document).width();
$(document.body).append('<div id="bg"></div>');
$('#bg').css({
position : "absolute",
"z-index" : 9998,
left : 0,
top : 0,
zoom : 1,
"height" : height,
"width" : width,
"filters" : "alpha(opacity=50)",
"background" : "#212121",
"opacity" : 0
});
$(document.body).append(
'<div style="width: 300px; height: 170px; " id="mydialog"><p id="dia_p">'
+ mes + '</p><div id="C_OK">确定</div></div>');
$('#mydialog').css({
background : '#FFFFFF',
position : 'absolute',
"z-index" : 9999,
left : ($(window).width() - $('#mydialog').outerWidth()) / 2,
top : $(document).scrollTop() + ($(window).height()-250) * 0.5
});
$('#dia_p').css({
textAlign : 'center',
margin : '45px 15px',
height : '25px',
lineHeight : '25px'
});
$('#C_OK').css({
position : 'absolute',
bottom : '0px',
height : '40px',
lineHeight : '40px',
textAlign : 'center',
width : '300px',
background : '#DADADA',
cursor : 'pointer',
letterSpacing : '5px',
fontSize : '16px'
});
$('#bg').fadeTo(200, 0.4);
$('#mydialog').fadeTo(200);
$('#C_OK').mouseover(function() {
$(this).css({
background : '#37CDB1',
color : '#FFFFFF'
});
}).mouseout(function() {
$(this).css({
background : '#DADADA',
color : '#000000'
});
}).click(function() {
$("body").eq(0).css("overflow", "auto");
$('#bg').fadeTo(0, 0, function() {
$(this).css({
"z-index" : -1
});
$('#mydialog').remove(0);
$('#bg').remove(0);
});
});
}
/**
* 获取时间函数
*/
function timmer() {
today = new Date();
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++)
this[i + 1] = initArray.arguments[i];
}
var d = new initArray("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六");
document.write("<font color=#FFFFFF style='font-size: 14px;'> ", today
.getFullYear(), "年", today.getMonth() + 1, "月", today.getDate(),
"日 ", d[today.getDay() + 1], "</font>");
}
/**
* 个人中心
*/
$(document).ready(
function() {
$(".info").bind(
{
'mouseover' : function() {
$(".set-info-ul").stop().animate({
top : '30px'
}, 100).show();
$(this).find('.arrow-index').removeClass(
'arrow-down').addClass('arrow-top');
},
'mouseout' : function() {
$(".set-info-ul").stop().animate({
top : '27px'
}, 100).hide();
$(this).find('.arrow-index').removeClass(
'arrow-top').addClass('arrow-down');
}
});
});
/**
* adjust the rightside data-center's height
*/
function reSize() {
var sidebarH = $("#sidebar").height();
var contentH = $("#data-center").height();
if (contentH < sidebarH) {
contentH = sidebarH - 100;
} else {
contentH = "auto";
}
$("#data-center").css("min-height", contentH);
}
$(function() {
reSize();
});
/**
* loading
*/
$(function() {
$('body')
.prepend(
"<div class=\"loading\"></div><div class=\"circle-loading\"></div>");
// loading
$('.loading').animate({
'width' : '95%'
}, 9000);
$(window).load(function() {
$('.circle-loading').fadeOut(300);
$('.loading').stop().animate({
'width' : '100%'
}, 300, function() {
$(this).fadeOut(300);
});
});
});
/**
* 获取浏览器版本
*/
function getBrowser() {
try {
var browser = navigator.appName;
var b_version = navigator.appVersion;
var version = b_version.split(";");
var trim_Version = version[1].replace(/[ ]/g, "");
if (browser == "Microsoft Internet Explorer"
&& trim_Version == "MSIE6.0") {
return 6;
} else if (browser == "Microsoft Internet Explorer"
&& trim_Version == "MSIE7.0") {
return 7;
} else if (browser == "Microsoft Internet Explorer"
&& trim_Version == "MSIE8.0") {
return 8;
} else if (browser == "Microsoft Internet Explorer"
&& trim_Version == "MSIE9.0") {
return 9;
} else {
return 10;
}
} catch (e) {
// TODO handle the exception
}
}
/**
* fix ie7 empty td auto add &nbsp;
*/
$(function() {
var broswerVersion = getBrowser();
if (broswerVersion < 8) {
$('table td').each(function() {
var textLength = $(this).html().length;
if (textLength <= 0) {
$(this).append("&nbsp;");
}
});
}
});
$(function() {
var broswerVersion = getBrowser();
var messsgeTip = "<div class=\"top-tip\">"
+ "<div class=\"tip-content\">"
+ "<p class=\"tip-ico\">提示您的浏览器IE内核版本过低部分显示效果不佳请切换成极速模式360浏览器或更新你的浏览器</p>"
+ "<span class=\"how-change\" href=\"javascript:;\">如何设置极速模式?</span> "
+ "<a class=\"b1\" href=\"http://se.360.cn\" target=\"_blank\">360&nbsp;浏览器</a> "
+ "<a class=\"b2\" href=\"http://www.firefox.com.cn\" target=\"_blank\">火狐&nbsp;浏览器</a>"
+ "<em class=\"tip-close\"></em>" + "</div></div>";
if (broswerVersion < 9) {
$('body').prepend(messsgeTip);
$(".top-tip").slideDown(300);
}
$(".tip-close").click(function() {
$(".top-tip").slideUp(300);
});
$(".how-change")
.click(
function() {
/* 弹出层 */
var contentHelp = "<img width=\"980px\" style=\"margin:0 auto;border:none;display:block\" src=\"images/360broswer.jpg\"/>";
layer.open({
type : 1,
shade : [ 0.3, "#000" ],
area : [ '1000px' ],
title : "如何将360浏览器切换成极速模式", // 不显示标题"如何将360浏览器切换成极速模式"
maxmin : true,
content : contentHelp,
cancel : function(index) {
layer.close(index);
}
});
});
});
/**
* 获取下一天 上一天
*
* @param {Object}
* _val format "YY-MM-DD"
* @param {Object}
* _day 要加的天数
*/
function addDay(_val, _day) {
Date.prototype.Format = function(fmt) {
var o = {
"M+" : this.getMonth() + 1, // 月份
"d+" : this.getDate(), // 日
"h+" : this.getHours(), // 小时
"m+" : this.getMinutes(), // 分
"s+" : this.getSeconds(), // 秒
"q+" : Math.floor((this.getMonth() + 3) / 3), // 季度
"S" : this.getMilliseconds()
// 毫秒
};
if (/(y+)/.test(fmt))
fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "")
.substr(4 - RegExp.$1.length));
for ( var k in o)
if (new RegExp("(" + k + ")").test(fmt))
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k])
: (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
};
Date.prototype.addDays = function(d) {
this.setDate(this.getDate() + d);
};
Date.prototype.addWeeks = function(w) {
this.addDays(w * 7);
};
Date.prototype.addMonths = function(m) {
var d = this.getDate();
this.setMonth(this.getMonth() + m);
if (this.getDate() < d)
this.setDate(0);
};
Date.prototype.addYears = function(y) {
var m = this.getMonth();
this.setFullYear(this.getFullYear() + y);
if (m < this.getMonth()) {
this.setDate(0);
}
};
var now = new Date(_val);
now.addDays(_day); // 加减日期操作
return now.Format("yyyy-MM-dd");
}
/**
* 内添加斑马线形式的条纹
*/
$(function() {
$(".table-striped").each(function() {
$(this).find("tr:even").css("background", "#F9F9F9");
});
});
/**
* back to top
*/
$(function() {
var _goToTop = "<ul class=\"left-side\">"
+ "<li class=\"side-weixin\" title=\"微信\">"
+ "<img src=\"images/qr_img.png\">" + "</li>"
+ "<li class=\"side-weibo\" title=\"新浪微博\"></li>"
+ "<li class=\"side-top\" title=\"返回页面顶部\"></li>" + "</ul>";
$("#footer").after(_goToTop);
$(window).scroll(function() {
if ($(window).scrollTop() > ($("#sidebar").height() - 200)) {
$(".left-side").fadeIn(300);
} else {
$(".left-side").fadeOut(300);
}
});
$(".side-weixin").hover(function() {
$(this).addClass("side-weixin-h").find("img").show();
}, function() {
$(this).removeClass("side-weixin-h").find("img").hide();
});
$(".side-weibo").hover(function() {
$(this).addClass("side-weibo-h");
}, function() {
$(this).removeClass("side-weibo-h");
}).click(function() {
window.open("http://weibo.com/p/1005051156351525");
});
$(".side-top").hover(function() {
$(this).addClass("side-top-h");
}, function() {
$(this).removeClass("side-top-h");
}).click(function() {
goTop();
});
// 回到顶部
function goTop() {
$('html,body').animate({
'scrollTop' : 0
}, 400);
}
});
/**
* 鼠标经过表格变色
*/
function rowChangeColor(){
$("tr").each(function(){
$(this).mouseover(function(){
$(this).css("background","#eee");
}).mouseout(function(){
$(this).css("background","#fff");
});
});
}
/*
*
*/

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save