期末2
1
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>会议系统</title>
</head>
<frameset cols="100%,*">
<frame src="zhiyuanleft.jsp">
</frameset>
</frameset>
<body>
</body>
</html>
2
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>会议系统</title>
</head>
<frameset cols="100%,*">
<frame src="agent.jsp">
</frameset>
</frameset>
<body>
</body>
</html>
3
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>会议系统</title>
</head>
<frameset cols="100%,*">
<frame src="guanlileft.jsp">
</frameset>
</frameset>
<body>
</body>
</html>
addhuiyishi
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>新增会议室信息</title> </head> <body> <% Object message = request.getAttribute("message"); if(message!=null && !"".equals(message)){ %> <script type="text/javascript"> alert("<%=request.getAttribute("message")%>"); </script> <%} %> <table align="center" border="0px" cellpadding="10px" cellspacing="10px"> <form action="qimoServlet?method=addhuiyishi" method="post" onsubmit="return check()"> <tr> <td><a href="guanlileft.jsp">返回管理员功能页面</a></td> </tr> <tr> <td>会议室编号:</td> <td><input type="text" name="meetroomid" id="meetroomid"></td> </tr> <tr> <td>会议室级别(容纳人数):</td> <td> <select name="capacity"> <option value="A(大型会议室,容纳50人以上)">A(大型会议室,容纳50人以上)</option> <option value="B(中型会议室,容纳20人—40人)">B(中型会议室,容纳20人—40人)</option> <option value="C(小型会议室,容纳10人以下)">C(小型会议室,容纳10人以下)</option> </select> </td> </tr> <tr> <td>会议室名称:</td> <td><input type="text" name="meetroomname" id="meetroomname"></td> </tr> <tr> <td>会议室地址:</td> <td><input type="text" name="address" id="address"></td> </tr> <tr> <td>可用状态:</td> <td> <select name="readystate"> <option value="可用">可用</option> <option value="不可用">不可用</option> </select> </td> <tr> <td>目前状态:</td> <td> <select name="status"> <option value="占用">占用</option> <option value="不占用">不占用</option> </select> </td> </tr> <tr align="center"> <th colspan="2"> <input type="submit" value="提交"> </th> </tr> </form> </table> </body> </html>
addzhiyuan
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>添加职员信息</title> <script> </script> </head> <body> <% Object message = request.getAttribute("message"); if(message!=null && !"".equals(message)){ %> <script type="text/javascript"> alert("<%=request.getAttribute("message")%>"); </script> <%} %> <table align="center" border="0px" cellpadding="10px" cellspacing="10px"> <form action="qimoServlet?method=addzhiyuan" method="post" onsubmit="return check()"> <tr> <td><a href="login.jsp">返回登陆功能页面</a></td> </tr> <tr> <td>添加职员信息</td> </tr> <tr> <td>职员编号:</td> <td><input type="text" name="zhiyuanid" id="zhiyuanid"></td> </tr> <tr> <td>姓名:</td> <td><input type="text" name="zhiyuanname" id="zhiyuanname"></td> </tr> <tr> <tr> <td>性别:</td> <td> <select name="sex"> <option value="男">男</option> <option value="女">女</option> </select> </td> </tr> <tr> <td>手机号:</td> <td><input type="text" name="phone" id="phone"></td> </tr> <tr> <tr> <td>部门:</td> <td><input type="text" name="department" id="department"></td> </tr> <tr> <tr> <td>职位:</td> <td><input type="text" name="position" id="position"></td> </tr> <tr> <tr align="center"> <th colspan="2"> <input type="submit" value="提交"> </th> </tr> </form> </table> </body> </html>
chingzhimima
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>重置密码页面</title>
</head>
<body>
<table align="center" border="0px" cellpadding="10px" cellspacing="10px">
<form action="qimoServlet?method=chongzhimima" method="post" onsubmit="return check()">
<tr>
<td><a href="guanlileft.jsp">返回管理员页面</a></td>
</tr>
<tr>
<td>密码重置页面</td>
</tr>
<tr>
<td>重置成功</td>
</tr>
</form>
</table>
</body>
</html>
deletehuiyshi
<%@page import="Dao.Dao"%> <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Insert title here</title> </head> <body> <% request.setCharacterEncoding("utf-8"); response.setCharacterEncoding("utf-8"); int id=Integer.parseInt(request.getParameter("id")); Dao.deleteMeetRoom(id); response.sendRedirect("zhuce.jsp"); %> </body> </html>
deletezhiyuan
<%@page import="Dao.Dao"%> <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Insert title here</title> </head> <body> <% request.setCharacterEncoding("utf-8"); response.setCharacterEncoding("utf-8"); int id=Integer.parseInt(request.getParameter("id")); Dao.deletezhiyuan(id); response.sendRedirect("index.jsp"); %> </body> </html>