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

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=utf-8" %>
  2. <%@ page import="com.redmoon.forum.*"%>
  3. <%@ page import="java.util.Iterator"%>
  4. <%@ page import="java.util.*"%>
  5. <%@ page import="cn.js.fan.util.*"%>
  6. <%@ page import="com.redmoon.forum.plugin.*"%>
  7. <%@ page import="com.redmoon.forum.plugin.sweet.*"%>
  8. <HTML><HEAD><TITLE>菜单</TITLE>
  9. <META http-equiv=Content-Type content="text/html; charset=utf-8">
  10. <LINK href="default.css" type=text/css rel=stylesheet>
  11. <STYLE type=text/css>.ttl {
  12. CURSOR: hand; COLOR: #ffffff; PADDING-TOP: 4px
  13. }
  14. body {
  15. background-color: #9CAECE;
  16. }
  17. </STYLE>
  18. <SCRIPT language=javascript>
  19.   function showHide(obj){
  20.     var oStyle = obj.parentElement.parentElement.parentElement.rows[1].style;
  21.     oStyle.display == "none" ? oStyle.display = "block" : oStyle.display = "none";
  22.   }
  23. </SCRIPT>
  24. <META content="MSHTML 6.00.3790.259" name=GENERATOR></HEAD>
  25. <BODY leftMargin=0 topMargin=0>
  26. <jsp:useBean id="privilege" scope="page" class="com.redmoon.forum.Privilege"/>
  27. <%
  28. if (!privilege.isUserLogin(request))
  29. {
  30. out.print(cn.js.fan.web.SkinUtil.makeErrMsg(request, cn.js.fan.web.SkinUtil.LoadString(request, "pvg_invalid")));
  31. return;
  32. }
  33. String userName = ParamUtil.get(request, "userName");
  34. if (userName.equals("")) {
  35. out.print(StrUtil.Alert("用户名不能为空!"));
  36. return;
  37. }
  38. %>
  39. <br>
  40. <TABLE cellSpacing=0 cellPadding=0 width=159 align=center border=0>
  41.   <TBODY>
  42.     <TR>
  43.       <TD width=23><IMG height=25 
  44.       src="images/box_topleft.gif" width=23></TD>
  45.       <TD class=ttl onclick=showHide(this) width=129 
  46.     background="images/box_topbg.gif">菜单</TD>
  47.       <TD width=7><IMG height=25 
  48.       src="images/box_topright.gif" width=7></TD>
  49.     </TR>
  50.     <TR>
  51.       <TD 
  52.     style="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px" 
  53.     background="images/box_bg.gif" colSpan=3><table width="98%"  border="0" align="center" cellspacing="2" class="p9">
  54.         <tr>
  55.           <td height="22"><IMG height=7 hspace=5 
  56.             src="images/arrow.gif" width=5 align=absMiddle><a href="dir_m.jsp?userName=<%=StrUtil.UrlEncode(userName)%>" target="mainFrame">我的目录</a></td>
  57.         </tr>
  58.         <tr>
  59.           <td height="22"><IMG height=7 hspace=5 
  60.             src="images/arrow.gif" width=5 align=absMiddle><a href="commodity_m.jsp?listType=listall&userName=<%=StrUtil.UrlEncode(userName)%>" target="mainFrame">全部商品</a></td>
  61.         </tr>
  62.         <tr>
  63.           <td height="22"><IMG height=7 hspace=5 
  64.             src="images/arrow.gif" width=5 align=absMiddle><a target="mainFrame" href="myorder.jsp?showType=seller&userName=<%=StrUtil.UrlEncode(userName)%>">本店订单</a></td>
  65.         </tr>
  66.         <tr>
  67.           <td height="22"><IMG height=7 hspace=5 
  68.             src="images/arrow.gif" width=5 align=absMiddle><a href="notice.jsp?userName=<%=StrUtil.UrlEncode(userName)%>" target="mainFrame">管理公告</a></td>
  69.         </tr>
  70.         <tr>
  71.           <td height="22"><img height=7 hspace=5 
  72.             src="images/arrow.gif" width=5 align=absMiddle><a target="mainFrame" href="guestbook.jsp?shopCode=<%=StrUtil.UrlEncode(userName)%>">本店留言</a></td>
  73.         </tr>
  74.         <tr>
  75.           <td height="22"><img height=7 hspace=5 
  76.             src="images/arrow.gif" width=5 align=absMiddle><a target="mainFrame" href="../../../../message/message.jsp">短&nbsp;&nbsp;消&nbsp;&nbsp;息</a></td>
  77.         </tr>
  78.         <tr>
  79.           <td height="22"><img height=7 hspace=5 
  80.             src="images/arrow.gif" width=5 align=absMiddle><a target="mainFrame" href="introduction.jsp?userName=<%=StrUtil.UrlEncode(userName)%>">店铺信息</a></td>
  81.         </tr>
  82.         <tr>
  83.           <td height="22"><img height=7 hspace=5 
  84.             src="images/arrow.gif" width=5 align=absMiddle><a target="mainFrame" href="link.jsp?userName=<%=StrUtil.UrlEncode(userName)%>">友情链接</a></td>
  85.         </tr>
  86.         <tr>
  87.           <td height="22"><img height=7 hspace=5 
  88.             src="images/arrow.gif" width=5 align=absMiddle><a target="_blank" href="../shop.jsp?userName=<%=StrUtil.UrlEncode(userName)%>">查看本店</a></td>
  89.         </tr>
  90.         <tr>
  91.           <td height="22"><img height=7 hspace=5 
  92.             src="images/arrow.gif" width=5 align=absMiddle><a target="_blank" href="../../../../forum/index.jsp">进入论坛</a></td>
  93.         </tr>
  94.       </table>
  95.       </TD>
  96.     </TR>
  97.     <TR>
  98.       <TD colSpan=3><IMG height=10 
  99.       src="images/box_bottom.gif" 
  100. width=159></TD>
  101.     </TR>
  102.   </TBODY>
  103. </TABLE>
  104. </BODY></HTML>