navigation.jsp~1~
上传用户: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. <%
  5. //验证用户是否登录
  6. String manager="";
  7. manager=(String)session.getAttribute("manager");
  8. if (manager==null || "".equals(manager)){
  9. response.sendRedirect("login.jsp");
  10. }
  11. ChStr chStr=new ChStr();
  12. %>
  13. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  14. <script src="JS/onclock.JS"></script>
  15. <script src="JS/menu.JS"></script>
  16. <div class=menuskin id=popmenu 
  17.       onmouseover="clearhidemenu();highlightmenu(event,'on')" 
  18.       onmouseout="highlightmenu(event,'off');dynamichide(event)" style="Z-index:100;position:absolute;"></div>
  19. <table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
  20.   <tr>
  21.     <td height="150" valign="top" background="Images/top_bg.gif" bgcolor="#EEEEEE"><table width="100%" height="53"  border="0" cellpadding="0" cellspacing="0">
  22.       <tr>
  23.         <td width="77%" height="18">&nbsp;</td>
  24.         <td colspan="4">&nbsp;</td>
  25.       </tr>
  26.       <tr>
  27.         <td>&nbsp;</td>
  28.         <td width="2%"><img src="Images/Top_flag.gif" width="3" height="7"></td>
  29.         <td width="8%"><a href="#" onClick="window.location.reload();">刷新页面</a></td>
  30.         <td width="1%"><img src="Images/Top_flag.gif" width="3" height="7"></td>
  31. <script language="javascript">
  32. function myclose(){
  33. if(confirm("真的要关闭当前窗口吗?")){
  34. window.close();
  35. }
  36. }
  37. </script>
  38.         <td width="12%"><a href="#" onClick="myclose()" >关闭系统</a></td>
  39.       </tr>
  40.     </table>
  41.       <table width="98%" height="93"  border="0" cellpadding="0" cellspacing="0">
  42.         <tr>
  43.           <td align="right" valign="bottom" class="word_Green">当前登录用户:<%=chStr.toChinese(manager)%></td>
  44.         </tr>
  45.       </table></td>
  46.   </tr>
  47.   <tr>
  48.     <td height="33" align="right" background="Images/navigation_bg.gif" bgcolor="#EEEEEE"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
  49.       <tr>
  50.         <td width="3%">&nbsp;</td>
  51.         <td width="25%"><div id="bgclock" class="word_Green"></div></td>
  52. <script language="javascript">
  53. function quit(){
  54. if(confirm("真的要退出系统吗?")){
  55. window.location.href="logout.jsp";
  56. }
  57. }
  58. </script>
  59.         <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>
  60.         <td width="2%">&nbsp;</td>
  61.       </tr>
  62.     </table></td>
  63.   </tr>
  64. </table>