menu.jsp
资源名称:JSP-OA.rar [点击查看]
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:12k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ page contentType="text/html; charset=utf-8" %>
- <%@ page import="cn.js.fan.module.cms.*"%>
- <%@ page import="cn.js.fan.module.cms.plugin.*"%>
- <%@ page import="java.util.Iterator"%>
- <%@ page import="java.util.Vector"%>
- <%@ page import="cn.js.fan.util.*"%>
- <HTML><HEAD><TITLE>标题</TITLE>
- <META http-equiv=Content-Type content="text/html; charset=utf-8">
- <LINK href="images/default.css" type=text/css rel=stylesheet>
- <STYLE type=text/css>.ttl {
- CURSOR: hand; COLOR: #ffffff; PADDING-TOP: 4px
- }
- </STYLE>
- <SCRIPT language=javascript>
- function showHide(obj){
- var oStyle = obj.parentElement.parentElement.parentElement.rows[1].style;
- oStyle.display == "none" ? oStyle.display = "block" : oStyle.display = "none";
- }
- </SCRIPT>
- <META content="MSHTML 6.00.3790.259" name=GENERATOR></HEAD>
- <BODY bgColor=#9aadcd leftMargin=0 topMargin=0>
- <BR>
- <%
- String rootpath = request.getContextPath();
- %>
- <TABLE cellSpacing=0 cellPadding=0 width=159 align=center border=0>
- <TBODY>
- <TR>
- <TD width=23><IMG height=25
- src="images/box_topleft.gif" width=23></TD>
- <TD class=ttl onclick=showHide(this) width=129
- background="images/box_topbg.gif">快速通道</TD>
- <TD width=7><IMG height=25
- src="images/box_topright.gif" width=7></TD></TR>
- <TR>
- <TD
- style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px"
- background="images/box_bg.gif" colSpan=3>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle>
- <A href="<%=rootpath%>/index.jsp"
- target=_blank>浏览网站</A></TD></TR>
- <TR>
- <TD><img height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <a
- href="dir_frame.jsp"
- target=mainFrame>栏目管理</a></TD>
- </TR>
- <TR>
- <TD><img height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <a
- href="document_list_m.jsp"
- target=mainFrame>最近文章</a></TD>
- </TR>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <a href="nav_m.jsp" target=mainFrame>导航条</a></TD>
- </TR>
- <TR>
- <TD><img height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <a
- href="dir_frame.jsp?root_code=template"
- target=mainFrame>模板管理</a></TD>
- </TR>
- <TR>
- <TD><img height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <a
- href="../email_m.jsp"
- target=mainFrame>群发Email</a></TD>
- </TR>
- <TR>
- <TD><img height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <a
- href="../forum/admin/frame.jsp"
- target=_top>论坛管理</a> </TD>
- </TR>
- <TR>
- <TD><img height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <a
- href="../help.jsp"
- target=mainFrame>使用帮助</a></TD>
- </TR>
- <TR>
- <TD><img height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <a
- href="../blog/admin/frame.jsp"
- target=_top>博客管理</a></TD>
- </TR>
- </TBODY></TABLE></TD></TR></TR>
- <TR>
- <TD colSpan=3><IMG height=10
- src="images/box_bottom.gif"
- width=159></TD></TR></TBODY></TABLE>
- <%
- Directory dir = new Directory();
- Menu menu = dir.getMenu("root");
- Iterator ir = menu.Iterator();
- while (ir.hasNext()) {
- MenuItem mi = (MenuItem)ir.next();
- %>
- <TABLE cellSpacing=0 cellPadding=0 width=159 align=center border=0>
- <TBODY>
- <TR>
- <TD width=23><IMG height=25
- src="images/box_topleft.gif" width=23></TD>
- <TD class=ttl onclick=showHide(this) width=129
- background="images/box_topbg.gif">
- <%
- Leaf headLeaf = mi.getHeadLeaf();
- out.print(headLeaf.getName());
- %>
- </TD>
- <TD width=7><IMG height=25
- src="images/box_topright.gif" width=7></TD></TR>
- <TR style="DISPLAY: none">
- <TD
- style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px"
- background="images/box_bg.gif" colSpan=3>
- <TABLE width="100%">
- <TBODY>
- <%
- Iterator childir = mi.getChildLeaves();
- while (childir.hasNext()) {
- Leaf childLeaf = (Leaf) childir.next();
- %>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle>
- <A
- href="dir_frame.jsp?root_code=<%=StrUtil.UrlEncode(childLeaf.getCode())%>"
- target=mainFrame><%=childLeaf.getName()%></A></TD></TR>
- <%
- }
- %>
- </TBODY></TABLE>
- </TD></TR></TR>
- <TR>
- <TD colSpan=3><IMG height=10
- src="images/box_bottom.gif"
- width=159></TD></TR></TBODY></TABLE>
- <%
- }
- %>
- <TABLE cellSpacing=0 cellPadding=0 width=159 align=center border=0>
- <TBODY>
- <TR>
- <TD width=23><IMG height=25
- src="images/box_topleft.gif" width=23></TD>
- <TD class=ttl onclick=showHide(this) width=129
- background="images/box_topbg.gif">会员及会员组</TD>
- <TD width=7><IMG height=25
- src="images/box_topright.gif" width=7></TD></TR>
- <TR style="DISPLAY: none">
- <TD
- style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px"
- background="images/box_bg.gif" colSpan=3>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <A
- href="user_m.jsp"
- target=mainFrame>用户管理</A></TD>
- </TR>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <A
- href="user_group_m.jsp"
- target=mainFrame>用户组管理</A></TD>
- </TR>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle>
- <A
- href="priv_m.jsp"
- target=mainFrame>权限管理</A></TD>
- </TR>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle>
- <A
- href="../log/community.log"
- target=mainFrame>查看管理员日志</A></TD></TR></TBODY></TABLE></TD></TR></TR>
- <TR>
- <TD colSpan=3><IMG height=10
- src="images/box_bottom.gif"
- width=159></TD></TR></TBODY></TABLE>
- <TABLE cellSpacing=0 cellPadding=0 width=159 align=center border=0>
- <TBODY>
- <TR>
- <TD width=23><IMG height=25
- src="images/box_topleft.gif" width=23></TD>
- <TD class=ttl onclick=showHide(this) width=129
- background="images/box_topbg.gif">插件管理</TD>
- <TD width=7><IMG height=25
- src="images/box_topright.gif" width=7></TD>
- </TR>
- <TR style="DISPLAY: none">
- <TD
- style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px"
- background="images/box_bg.gif" colSpan=3><%
- PluginMgr pm = new PluginMgr();
- Vector v = pm.getAllPlugin();
- ir = v.iterator();
- while (ir.hasNext()) {
- PluginUnit pu = (PluginUnit)ir.next();
- // SweetSkin sv = new SweetSkin();
- %>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <A
- href="<%=pu.getAdminEntrance()%>"
- target=mainFrame><%=pu.LoadString(request, "adminMenuItem")%></A></TD>
- </TR>
- </TBODY>
- </TABLE>
- <%}%></TD>
- </TR>
- <TR>
- <TD colSpan=3><IMG height=10
- src="images/box_bottom.gif"
- width=159></TD>
- </TR>
- </TBODY>
- </TABLE>
- <TABLE cellSpacing=0 cellPadding=0 width=159 align=center border=0>
- <TBODY>
- <TR>
- <TD width=23><IMG height=25
- src="images/box_topleft.gif" width=23></TD>
- <TD class=ttl onclick=showHide(this) width=129
- background="images/box_topbg.gif">采集</TD>
- <TD width=7><IMG height=25
- src="images/box_topright.gif" width=7></TD></TR>
- <TR style="DISPLAY: none">
- <TD
- style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px"
- background="images/box_bg.gif" colSpan=3>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle>
- <A href="gather_weather.jsp"
- target=mainFrame>采集天气预报</A></TD>
- </TR>
- </TBODY></TABLE></TD></TR></TR>
- <TR>
- <TD colSpan=3><IMG height=10
- src="images/box_bottom.gif"
- width=159></TD></TR></TBODY></TABLE>
- <TABLE cellSpacing=0 cellPadding=0 width=159 align=center border=0>
- <TBODY>
- <TR>
- <TD width=23><IMG height=25
- src="images/box_topleft.gif" width=23></TD>
- <TD class=ttl onclick=showHide(this) width=129
- background="images/box_topbg.gif">数据管理</TD>
- <TD width=7><IMG height=25
- src="images/box_topright.gif" width=7></TD>
- </TR>
- <TR style="DISPLAY: none">
- <TD
- style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px"
- background="images/box_bg.gif" colSpan=3><TABLE width="100%">
- <TBODY>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <A href="bak_m.jsp"
- target=mainFrame>备份CMS数据</A></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TR>
- <TR>
- <TD colSpan=3><IMG height=10
- src="images/box_bottom.gif"
- width=159></TD>
- </TR>
- </TBODY>
- </TABLE>
- <TABLE cellSpacing=0 cellPadding=0 width=159 align=center border=0>
- <TBODY>
- <TR>
- <TD width=23><IMG height=25
- src="images/box_topleft.gif" width=23></TD>
- <TD class=ttl onclick=showHide(this) width=129
- background="images/box_topbg.gif">附件</TD>
- <TD width=7><IMG height=25
- src="images/box_topright.gif" width=7></TD></TR>
- <TR style="DISPLAY: none">
- <TD
- style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px"
- background="images/box_bg.gif" colSpan=3>
- <TABLE width="100%">
- <TBODY>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle>
- <A href="counter/showcount.jsp"
- target=mainFrame>访问统计</A></TD></TR>
- </TBODY></TABLE></TD></TR></TR>
- <TR>
- <TD colSpan=3><IMG height=10
- src="images/box_bottom.gif"
- width=159></TD></TR></TBODY></TABLE>
- <TABLE cellSpacing=0 cellPadding=0 width=159 align=center border=0>
- <TBODY>
- <TR>
- <TD width=23><IMG height=25
- src="images/box_topleft.gif" width=23></TD>
- <TD class=ttl onclick=showHide(this) width=129
- background="images/box_topbg.gif">系统设置</TD>
- <TD width=7><IMG height=25
- src="images/box_topright.gif" width=7></TD>
- </TR>
- <TR style="DISPLAY: none">
- <TD
- style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px"
- background="images/box_bg.gif" colSpan=3><TABLE width="100%">
- <TBODY>
- <TR>
- <TD><IMG height=7 hspace=5
- src="images/arrow.gif" width=5 align=absMiddle> <A
- href="cache.jsp"
- target=mainFrame>系统环境信息</A></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- <TR>
- <TD colSpan=3><IMG height=10
- src="images/box_bottom.gif"
- width=159></TD>
- </TR>
- </TBODY>
- </TABLE>
- </BODY></HTML>