ManagerOperation.jsp
Upload User: tian320582
Upload Date: 2007-08-23
Package Size: 173k
Code Size: 5k
Category:

Jsp/Servlet

Development Platform:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  6. <title>南京工程高等职业学校网上报名系统</title>
  7. <style type="text/css">
  8. <!--
  9. .style3 {font-weight: bold; font-size: 24px;}
  10. .style6 {
  11. font-size: 16px;
  12. font-weight: bold;
  13. }
  14. .style8 {font-size: 24px}
  15. .STYLE9 {
  16. color: #333333;
  17. font-family: "新宋体";
  18. }
  19. body {
  20. background-color: #f0f0f0;
  21. background-image: url();
  22. background-repeat: no-repeat;
  23. background-attachment: scroll;
  24. background-position: center 100px;
  25. }
  26. #Layer1 {
  27. position:absolute;
  28. left:152px;
  29. top:187px;
  30. width:473px;
  31. height:303px;
  32. z-index:-1;
  33. visibility: visible;
  34. }
  35. .222 {
  36. filter: FlipH;
  37. }
  38. -->
  39. </style>
  40. </head>
  41. <%
  42. String managerName=(String)session.getAttribute("managerName");
  43. String managerPassword=(String)session.getAttribute("managerPassword");
  44. session.setAttribute("managerName",managerName);
  45. session.setAttribute("managerPassword",managerPassword);
  46. %>
  47. <jsp:useBean id="login" class="internetsignup.ManagerLoginBean" scope="page"></jsp:useBean>
  48. <script>
  49. function checkLogin()
  50. {
  51. if(<%=managerName%>==null){alert("请从登录页面登录进入!");window.location.href("ManagerLogin.jsp");}
  52. }
  53. function checkDate(f1)
  54. {
  55. if(f1.signupDate.value==""){alert("请输入要查询的日期!");f1.signupDate.focus();return false;}
  56. }
  57. function checkAccount(f2)
  58. {
  59. if(f2.studentAccount.value==""){alert("请输入要查询的学生帐号!");f2.studentAccount.focus();return false;}
  60. }
  61. </script>
  62. <body onLoad="checkLogin();">
  63. <div align="center"><img src="gif/11111.jpg" width="800" height="102" align="absmiddle"></div>
  64. <p align="center">&nbsp;</p>
  65. <hr align="center" noshade color="#66CCFF">
  66. <p align="center" class="style6 STYLE9">请选择你的操作</p>
  67. <center><table width="483" height="268" border="0" align="center" bgcolor="#f0f0f0">
  68.   <tr>
  69.     <td width="526" bgcolor="#f0f0f0"><form name="form1" onSubmit="return checkDate(this)" method="post" action="QueryByDate.jsp">
  70.             
  71.        <div align="left">◆ 输入报名日期:
  72.          <input name="signupDate" type="text" id="signupDate" value="<%=login.getTodayDate()%>" size="18">
  73.          (格式:1981-4-1)
  74.          <input type="submit" name="Submit5" value="查询">
  75.        </div>
  76.     </form>
  77.       <form name="form2" method="post" onSubmit="return checkAccount(this)" action="QueryByStudentAccount.jsp">
  78.         <div align="left">◆ 输入学生帐号:
  79.           <input name="studentAccount" type="text" id="studentAccount" size="18">
  80.           <input type="submit" name="Submit2" value="查询">
  81.         </div>
  82.       </form>
  83.       <form name="form3" method="post" action="">
  84.         <div align="left">◆
  85.             <input type="button" name="Submit3" value="删除所有信息" onClick="location.href='ConfirmPassword.jsp'">
  86. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
  87.       </form>
  88.       <form name="form4" method="post" action="">
  89.       <div align="left">◆
  90.     <input type="button" name="Submit" value="修改密码" onClick="location.href='ChangeManagerPassword.jsp'">
  91.   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
  92.       </form>
  93.       <form name="form5" method="post" action="">
  94.         
  95.         <div align="left">◆
  96.           <input type="button" name="Submit4" value="返回首页" onClick="location.href='SignUp.jsp'">
  97. </div>
  98.       </form>
  99.     <p align="left"></p></td>
  100.   </tr>
  101. </table>
  102. <form name="form1" onSubmit="return checkDate(this)" method="post" action="QueryByDate.jsp">
  103. </form>
  104. <p align="left">  </p>
  105. <TABLE cellSpacing=0 cellPadding=0 width=750 align=center bgColor=#ffffff 
  106. border=0>
  107.   <TBODY>
  108.     <TR>
  109.       <TD><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  110.           <TBODY>
  111.             <TR>
  112.               <TD height=1><IMG height=1 src="" width=1></TD>
  113.             </TR>
  114.             <TR>
  115.               <TD bgColor=#c6d6de height=4><IMG height=1 src="" width=1></TD>
  116.             </TR>
  117.             <TR>
  118.               <TD height=1><IMG height=1 src="" width=1></TD>
  119.             </TR>
  120.           </TBODY>
  121.         </TABLE>
  122.           <TABLE cellSpacing=0 cellPadding=3 width=760 align=center border=0>
  123.             <TBODY>
  124.               <TR>
  125.                 <TD height=25 align=middle vAlign=bottom bgcolor="#f0f0f0"><div align="center"><FONT 
  126.             color=#336699>南京工程高等职业学校招生办公室版权所有</FONT></div></TD>
  127.               </TR>
  128.             </TBODY>
  129.         </TABLE></TD>
  130.     </TR>
  131.   </TBODY>
  132. </TABLE>
  133. <p align="center">&nbsp;</p>
  134. <p align="center" class="style3">&nbsp; </p>
  135. </body>
  136. </html>