⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 staff.jsp

📁 Student Information system
💻 JSP
字号:
<%@ page errorPage="error.jsp" %>

<%!
String name,pass,role;
%>

<%
HttpSession hs=request.getSession(false);
if (hs!= null)
{
	if(!(hs.getAttribute("valid").equals("yes")))
	{
		response.sendRedirect("error.jsp");
	}
	else
	{
		name=(String)hs.getAttribute("name");
		pass=(String)hs.getAttribute("pass");
		role=(String)hs.getAttribute("role");
	}
}
else
{
	response.sendRedirect("error.jsp");
}
%>

<%
name=(String)session.getAttribute("name");
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Staff</title>
<link href="css/styles.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="3">&nbsp;</td>
  </tr>
  <tr> <td>&nbsp;</td></tr>
  <tr>
    <td width="3%">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="63%"><b><font color="red" size="4">A</font><font color="green">c</font> <font color="orange" size="4">I</font>
    <font color="green" size="4">T</font>&nbsp<font color="red"></b><b>S</b></font>TUDENT <font color="red"><b>I</b></font>NFORMATION<font color="red"> <b>S</b></font>YSTEM</td>
    <td width="30%" class="logout"><p>Welcome<font color="green"><b> <%=name%></b></font> logged in as<font color="red"><b> <%if(role.equals("admin")){%>ADMIN<%}else if(role.equals("staff")){%> STAFF <%}else if(role.equals("student")){%> STUDENT <%}%></font></td>
</tr>
  <tr>
    <td height="10" colspan="3"></td>
  </tr>
  <tr>
    <td height="30" class="bordertop">&nbsp;</td>
    <td height="30" class="bordertop">&nbsp;</td>
    <td height="30" class="bordertop"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="logout"><a href="help1.html">Help</a> | <a href="signout.jsp">Logout</a> </td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="3"><table width="90%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><table width="220"  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src="images/box_top.jpg" width="220" height="3"></td>
          </tr>
          <tr>
            <td class="borderbox"><table width="77%"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="10" colspan="2"><div align="center"></div></td>
              </tr>
              <tr>
                <td colspan="2"><div align="center">
                  <h1>Staff</h1>
                </div></td>
              </tr>
              <tr>
                <td height="10" colspan="2"></td>
              </tr>
              <tr>
                <td width="16"><h2><img src="images/Add_Student.jpg" width="16" height="14"></h2></td>
                <td width="84%"><h2><a href="StaffAddStudent.jsp">Add Student</a></h2></td>
              </tr>
              <tr>
                <td><img src="images/Display_Student.jpg" width="12" height="12"></td>
                <td><h2><a href="StaffDisplayStudent.jsp">Display Student</a></h2></td>
              </tr>
              
              <tr>
                <td><p><img src="images/Search_Student.jpg" width="16" height="16"></p></td>
                <td><h2><a href="StaffSearchStudent.jsp">Search Student</a></h2></td>
              </tr>
            
                         
              <tr>
                <td><img src="images/change_password.jpg" width="15" height="17"></td>
                <td><h2><a href="StaffChangePassword.jsp">Change Password</a></h2></td>
              </tr>
              <tr>
                <td colspan="2">&nbsp;</td>
              </tr>
              
              <tr>
                <td height="10" colspan="2"></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><img src="images/box_bottom.jpg" width="220" height="4"></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>     
           
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<br>
<br>
<br>
<br><br>
<br>
</table>
<br><br>
<br>
<br>
<center><p class="footer">&copy; Archarya Institute Of Technology 2008. All Rights Reserved</p></center>
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -