menu.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:3k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=utf-8" %>
  2. <%@ page import="cn.js.fan.module.cms.*"%>
  3. <%@ page import="cn.js.fan.module.cms.plugin.*"%>
  4. <%@ page import="java.util.Iterator"%>
  5. <%@ page import="java.util.Vector"%>
  6. <%@ page import="cn.js.fan.util.*"%>
  7. <%@ page import="cn.js.fan.web.*"%>
  8. <%@ taglib uri="/WEB-INF/tlds/LabelTag.tld" prefix="lt" %>
  9. <HTML><HEAD><TITLE>title</TITLE>
  10. <META http-equiv=Content-Type content="text/html; charset=utf-8">
  11. <LINK href="../admin/default.css" type=text/css rel=stylesheet>
  12. <META content="MSHTML 6.00.3790.259" name=GENERATOR></HEAD>
  13. <BODY bgColor=#9aadcd leftMargin=0 topMargin=0>
  14. <jsp:useBean id="privilege" scope="page" class="com.redmoon.forum.Privilege"/>
  15. <BR>
  16. <%
  17. String rootpath = request.getContextPath();
  18. String userName = privilege.getUser(request);
  19. if (userName.equals("")) {
  20. out.print(StrUtil.Alert(SkinUtil.LoadString(request,"res.label.blog.user.frame", "not_name_menu")));
  21. return;
  22. }
  23. %>
  24. <table width="100%" border="0" cellpadding="5">
  25.   <tr>
  26.     <td><img src="../../images/arrow.gif">&nbsp;<a href="../myblog.jsp?userName=<%=StrUtil.UrlEncode(userName)%>" target="_blank"><lt:Label res="res.label.blog.user.frame" key="my_blog"/></a></td>
  27.   </tr>
  28.   <tr>
  29.     <td><img src="../../images/arrow.gif">&nbsp;<a href="dir_m.jsp?userName=<%=StrUtil.UrlEncode(userName)%>" target="mainFrame"><lt:Label res="res.label.blog.user.frame" key="manage"/></a></td>
  30.   </tr>
  31.   <tr>
  32.     <td><img src="../../images/arrow.gif">&nbsp;<a href="listtopic.jsp?userName=<%=StrUtil.UrlEncode(userName)%>" target="mainFrame"><lt:Label res="res.label.blog.user.frame" key="all_article"/></a></td>
  33.   </tr>
  34.   <tr>
  35.     <td><img src="../../images/arrow.gif">&nbsp;<a href="userconfig_edit.jsp?userName=<%=StrUtil.UrlEncode(userName)%>" target="mainFrame"><lt:Label res="res.label.blog.user.frame" key="config_info"/></a></td>
  36.   </tr>
  37.   
  38.   <tr>
  39.     <td><img src="../../images/arrow.gif">&nbsp;<a href="photo.jsp?userName=<%=StrUtil.UrlEncode(userName)%>" target="mainFrame"><lt:Label res="res.label.blog.user.frame" key="album"/></a></td>
  40.   </tr>
  41.   <tr>
  42.     <td><img src="../../images/arrow.gif">&nbsp;<a href="../comment.jsp?userName=<%=StrUtil.UrlEncode(userName)%>" target="mainFrame"><lt:Label res="res.label.blog.user.frame" key="all_comment"/></a></td>
  43.   </tr>
  44.   <tr>
  45.     <td><img src="../../images/arrow.gif">&nbsp;<a href="link.jsp?userName=<%=StrUtil.UrlEncode(userName)%>" target="mainFrame"><lt:Label res="res.label.blog.user.frame" key="link"/></a></td>
  46.   </tr>
  47. </table>
  48. </BODY></HTML>