navigation.jsp~3~
上传用户:toby828
上传日期:2015-06-26
资源大小:8558k
文件大小:3k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <%@ page import="com.core.ChStr" %>
  3. <%@ page import="com.dao.ManagerDAO"%>
  4. <%@ page import="com.actionForm.ManagerForm"%>
  5. <%
  6. //验证用户是否登录
  7. String manager="";
  8. manager=(String)session.getAttribute("manager");
  9. if (manager==null || "".equals(manager)){
  10. response.sendRedirect("login.jsp");
  11. }
  12. ChStr chStr=new ChStr();
  13. ManagerDAO managerDAO=new ManagerDAO();
  14. managerDAO.query(manager);
  15. %>
  16. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  17. <script src="JS/onclock.JS"></script>
  18. <script src="JS/menu.JS"></script>
  19. <div class=menuskin id=popmenu
  20.       onmouseover="clearhidemenu();highlightmenu(event,'on')"
  21.       onmouseout="highlightmenu(event,'off');dynamichide(event)" style="Z-index:100;position:absolute;"></div>
  22. <table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  23.   <tr>
  24.     <td height="150" valign="top" background="Images/top_bg.gif" bgcolor="#EEEEEE"><table width="100%" height="53"  border="0" cellpadding="0" cellspacing="0">
  25.       <tr>
  26.         <td width="77%" height="18">&nbsp;</td>
  27.         <td colspan="4">&nbsp;</td>
  28.       </tr>
  29.       <tr>
  30.         <td>&nbsp;</td>
  31.         <td width="2%"><img src="Images/Top_flag.gif" width="3" height="7"></td>
  32.         <td width="8%"><a href="#" onClick="window.location.reload();">刷新页面</a></td>
  33.         <td width="1%"><img src="Images/Top_flag.gif" width="3" height="7"></td>
  34. <script language="javascript">
  35. function myclose(){
  36. if(confirm("真的要关闭当前窗口吗?")){
  37. window.close();
  38. }
  39. }
  40. </script>
  41.         <td width="12%"><a href="#" onClick="myclose()" >关闭系统</a></td>
  42.       </tr>
  43.     </table>
  44.       <table width="98%" height="93"  border="0" cellpadding="0" cellspacing="0">
  45.         <tr>
  46.           <td align="right" valign="bottom" class="word_Green">当前登录用户:<%=chStr.toChinese(manager)%></td>
  47.         </tr>
  48.       </table></td>
  49.   </tr>
  50.   <tr>
  51.     <td height="33" align="right" background="Images/navigation_bg.gif" bgcolor="#EEEEEE"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
  52.       <tr>
  53.         <td width="3%">&nbsp;</td>
  54.         <td width="25%"><div id="bgclock" class="word_Green"></div></td>
  55. <script language="javascript">
  56. function quit(){
  57. if(confirm("真的要退出系统吗?")){
  58. window.location.href="logout.jsp";
  59. }
  60. }
  61. </script>
  62.         <td width="70%" align="right"><a href="main.jsp">首页</a>┊<a  onmouseover=showmenu(event,sysmenu) onmouseout=delayhidemenu() class='navlink' style="CURSOR:hand" >系统设置</a>┊<a  onmouseover=showmenu(event,readermenu) onmouseout=delayhidemenu() class='navlink' style="CURSOR:hand" >读者管理</a>┊<a  onmouseover=showmenu(event,bookmenu) onmouseout=delayhidemenu() class='navlink' style="CURSOR:hand" >图书管理</a>┊<a  onmouseover=showmenu(event,borrowmenu) onmouseout=delayhidemenu() class='navlink' style="CURSOR:hand" >图书借还</a>┊<a  onmouseover=showmenu(event,querymenu) onmouseout=delayhidemenu() class='navlink' style="CURSOR:hand" >系统查询</a>┊<a  onmouseover=showmenu(event,sortmenu) onmouseout=delayhidemenu() class='navlink' style="CURSOR:hand" >排行榜</a>┊<a  href="manager.do?action=querypwd">更改口令</a>┊<a href="#" onClick="quit()">退出系统</a></td>
  63.         <td width="2%">&nbsp;</td>
  64.       </tr>
  65.     </table></td>
  66.   </tr>
  67. </table>