zoukankan      html  css  js  c++  java
  • 12.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>Insert title here</title>
    </head>
    <body>
    
    <div id="addSubjectForm" align="center">
                    <form action="Manservlet?method=query" method="post">
                    <tr>
                    <h1></h1> 
                    
                    <td>请选择方式:
                    <select name="fangshi"> 
                     <option value="1">查看教师信息</option> 
                     <option value="2">查看学生信息</option>
                     
                     </select> 
                    </td>
                    
                    </tr>
                    <tr>
                          <td colspan="2"><div align="center">
                            <input type="submit" value="查询信息">    
                        </div>
                    </td>
                      </tr>
                      <tr align="center">
                      <font color="red" size="5"> <br>  <br>
    
                    请点击 <a href="manage.jsp">这里回到主页面</a>!!! <br>
    
                </font>
                      </tr>
                     
                    </form>
    </div>
    
    
    </body>
    </html>
    <%@ 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>Insert title here</title>
    </head>
    <body>
    <div id="addSubjectForm" align="center">
                    <form action="Manservlet?method=add" method="post">
                    <tr>
                    <h1></h1> 
                    
                    <td>请选择方式:
                    <select name="fangshi"> 
                     <option value="1">添加教师信息</option> 
                     <option value="2">添加学生信息</option>
                     
                     </select> 
                    </td>
                    
                    </tr>
                    <tr>
                    <td>工号:</td>
                    <td> 
                     <input pattern="[a-zA-Z0-9]{6,10}" name="ID" >
                     </td> 
                    </tr>
                    <tr>
                    <td>姓名:</td>
                    <td>
                    <input type="text" name="name">
                    </td>
                    </tr>
                
                    <tr>
                    <td>性别:</td>
                    <td>
                    <input type="text" name="sex">
                    </td>
                    </tr>
                
                    <tr>
                    <td>部门:</td>
                    <td>
                    <input type="text" name="class1">
                    </td>
                    </tr>
                    
                    <tr>
                    <td>职称:</td>
                    <td>
                    <input type="text" name="title">
                    </td>
                    </tr>
                    
                    
                    
                    
                    <tr>
                          <td colspan="2"><div align="center">
                            <input type="submit" value="添加信息">    
                        </div>
                    </td>
                      </tr>
                      <tr align="center">
                      <font color="red" size="5"> <br>  <br>
    
                    请点击 <a href="manage.jsp">这里回到主页面</a>!!! <br>
    
                </font>
                      </tr>
                     
                    </form>
    </div>
    </body>
    </html>
    <%@ 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>Insert title here</title>
    </head>
    <body>
    <div id="addSubjectForm" align="center">
                    <form action="Manservlet?method=deleteshow" method="post">
                    <tr>
                    <h1></h1> 
                    
                    <td>请选择方式:
                    <select name="fangshi"> 
                     <option value="1">暂停教师用户</option> 
                     <option value="2">暂停学生用户</option>
                     
                     </select> 
                    </td>
                    
                    </tr>
                    <tr>
                          <td colspan="2"><div align="center">
                            <input type="submit" value="查询信息">    
                        </div>
                    </td>
                      </tr>
                      <tr align="center">
                      <font color="red" size="5"> <br>  <br>
    
                    请点击 <a href="manage.jsp">这里回到主页面</a>!!! <br>
    
                </font>
                      </tr>
                     
                    </form>
    </div>
    </body>
    </html>
    <%@ 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>Insert title here</title>
    </head>
    <body>
    <div id="addSubjectForm" align="center">
                    <form action="Manservlet?method=updateshow" method="post">
                    <tr>
                    <h1></h1> 
                    
                    <td>请选择方式:
                    <select name="fangshi"> 
                     <option value="1">修改教师信息</option> 
                     <option value="2">修改学生信息</option>
                     
                     </select> 
                    </td>
                    
                    </tr>
                    <tr>
                          <td colspan="2"><div align="center">
                            <input type="submit" value="查询信息">    
                        </div>
                    </td>
                      </tr>
                      <tr align="center">
                      <font color="red" size="5"> <br>  <br>
    
                    请点击 <a href="manage.jsp">这里回到主页面</a>!!! <br>
    
                </font>
                      </tr>
                     
                    </form>
    </div>
    </body>
    </html>
    <%@ 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>Insert title here</title>
    </head>
    <body>
    <div id="addSubjectForm" align="center">
                    <form action="Manservlet?method=summary" method="post">
                    <tr>
                    <h1>请选择汇总查看方式</h1> 
                    
                    <td>请选择汇总查看方式
                    <select name="fangshi"> 
                     <option value="1">显示成绩未达到及格</option> 
                     <option value="2">显示成绩达到优秀</option>
                     
                     </select> 
                    </td>
                    
                    </tr>
                    <tr>
                          <td colspan="2"><div align="center">
                            <input type="submit" value="查询信息">    
                        </div>
                    </td>
                      </tr>
                      <tr align="center">
                      <font color="red" size="5"> <br>  <br>
    
                    请点击 <a href="teacher.jsp">这里回到主页面</a>!!! <br>
    
                </font>
                      </tr>
                     
                    </form>
    </div>
    </body>
    </html>
    <%@ page language="java" contentType="text/html; charset=UTF-8"
        pageEncoding="UTF-8"%>
        <%@page import="dao.*"  %>
        <%@page import= "java.util.*" %>
        <%@page import="entity.*" %>
    <!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>Insert title here</title>
    </head>
    <body>
    
    <div id="stushowclass" align="center"><!--显示试题-->            
                          <%
                          List<Staff> list=(List<Staff>)request.getAttribute("list");    
                          if(list==null||list.size()<1){
                              response.setHeader("refresh",
                                    "5;URL=manage.jsp");
                          %>
                          <font color="red" size="5"> 查询信息时出现错误,未能读出个人的信息<br> 五秒后将跳转到主页面 <br>
                    如果没有跳转,请点击 <a href="manage.jsp">这里</a>!!! <br>
                </font>
                          <% }
                          else{%>
                              <table border="0" cellspacing="10" cellpadding="0">
                            <tr>
                            <td align="center" colspan="5">
                            <h1>个人信息</h1>
                            </td>
                            </tr>
                            <tr align="center">
                                    <td><b>学生工号</b></td>
                                    <td><b>学生姓名</b></td>
                                    <td><b>课程名称</b></td>
                                    <td><b>成绩</b></td>
                                    
                                </tr>
                           <%
                              for(Staff school:list){
                              
                      %>
                              <tr align="center">
                              
                              <td><%=school.getStuID() %></td>
                              <td><%=school.getStuname() %></td>
                              <td><%=school.getCourse() %></td>
                              <td><%=school.getGrade() %></td>
                      </tr>
                      
                      <%}
                          
                      %>
                     <tr align="center">
                      <font color="red" size="5"> <br>  <br>
    
                    请点击 <a href="manage.jsp">这里回到上一个页面</a>!!! <br>
    
                </font>
                      </tr>
                     <%} %>
    
    </body>
    </html>
  • 相关阅读:
    只有标题1没有标题2、3的解决方法
    python函数学习总结
    python基础知识学习总结
    StructuredStreaming中,如果trigger触发时前一批数据还没处理完怎么办?
    StructuredStreaming解析JSON CVS
    StructuredStreaming整合kafka
    kafka--如何选择Kafka的分区数和消费者个数
    kafka中groupid作用
    查看kafka版本
    spark项目java与scala相互调用打包
  • 原文地址:https://www.cnblogs.com/cdl-sunshine/p/14168479.html
Copyright © 2011-2022 走看看