navigation.jsp~4~
上传用户:toby828
上传日期:2015-06-26
资源大小:8558k
文件大小:3k
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.core.ChStr" %>
- <%@ page import="com.dao.ManagerDAO"%>
- <%@ page import="com.actionForm.ManagerForm"%>
- <%
- //验证用户是否登录
- String manager="";
- manager=(String)session.getAttribute("manager");
- if (manager==null || "".equals(manager)){
- response.sendRedirect("login.jsp");
- }
- ChStr chStr=new ChStr();
- ManagerDAO managerDAO=new ManagerDAO();
- ManagerForm form=(ManagerForm)managerDAO.query(manager);
- %>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <script src="JS/onclock.JS"></script>
- <script src="JS/menu.JS"></script>
- <div class=menuskin id=popmenu
- onmouseover="clearhidemenu();highlightmenu(event,'on')"
- onmouseout="highlightmenu(event,'off');dynamichide(event)" style="Z-index:100;position:absolute;"></div>
- <table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td height="150" valign="top" background="Images/top_bg.gif" bgcolor="#EEEEEE"><table width="100%" height="53" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="77%" height="18"> </td>
- <td colspan="4"> </td>
- </tr>
- <tr>
- <td> </td>
- <td width="2%"><img src="Images/Top_flag.gif" width="3" height="7"></td>
- <td width="8%"><a href="#" onClick="window.location.reload();">刷新页面</a></td>
- <td width="1%"><img src="Images/Top_flag.gif" width="3" height="7"></td>
- <script language="javascript">
- function myclose(){
- if(confirm("真的要关闭当前窗口吗?")){
- window.close();
- }
- }
- </script>
- <td width="12%"><a href="#" onClick="myclose()" >关闭系统</a></td>
- </tr>
- </table>
- <table width="98%" height="93" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td align="right" valign="bottom" class="word_Green">当前登录用户:<%=chStr.toChinese(manager)%></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="33" align="right" background="Images/navigation_bg.gif" bgcolor="#EEEEEE"><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="3%"> </td>
- <td width="25%"><div id="bgclock" class="word_Green"></div></td>
- <script language="javascript">
- function quit(){
- if(confirm("真的要退出系统吗?")){
- window.location.href="logout.jsp";
- }
- }
- </script>
- <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>
- <td width="2%"> </td>
- </tr>
- </table></td>
- </tr>
- </table>