⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _listtopic__jsp.java

📁 CMS 1、增加子站点功能
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
      out.print((menulf.getTarget()));
      out.write(_jsp_string21, 0, _jsp_string21.length);
      out.print((menulf.getLink(request)));
      out.write(_jsp_string22, 0, _jsp_string22.length);
      out.print((menulf.getWidth()));
      out.write(_jsp_string24, 0, _jsp_string24.length);
      out.print((menulf.getName(request)));
      out.write(_jsp_string27, 0, _jsp_string27.length);
      
		com.redmoon.forum.ui.menu.LeafChildrenCacheMgr dl2 = new com.redmoon.forum.ui.menu.LeafChildrenCacheMgr(menulf.getCode());
		java.util.Vector v2 = dl2.getChildren();
		Iterator ir2 = v2.iterator();
		if (v2.size()>0)
			out.print("<ul>");
		while (ir2.hasNext()) {
			com.redmoon.forum.ui.menu.Leaf menulf2 = (com.redmoon.forum.ui.menu.Leaf) ir2.next();
			
      out.write(_jsp_string28, 0, _jsp_string28.length);
      out.print((menulf2.getTarget()));
      out.write(_jsp_string21, 0, _jsp_string21.length);
      out.print((menulf2.getLink(request)));
      out.write(_jsp_string22, 0, _jsp_string22.length);
      out.print((menulf2.getWidth()));
      out.write(_jsp_string24, 0, _jsp_string24.length);
      out.print((menulf2.getName(request)));
      out.write(_jsp_string29, 0, _jsp_string29.length);
      
		}
		if (v2.size()>0)
			out.print("</ul>");
		out.print("</li>");
	}
	if (headv.size()>0)
		out.print("</ul>");
	
	out.print("</li>");
	
	// \u6700\u540e\u4e00\u9879\u4e0d\u5199\u5206\u9694\u7ebf
	if (headCt!=lastpos) {
		if (menuleaf.getType()==com.redmoon.forum.ui.menu.Leaf.TYPE_PRESET && menuItem.equals(""))
			;
		else
			out.print("<li class='menuDiv'></li>");
	}
	
	// \u5728\u5012\u6570\u7b2c\u4e8c\u9879\u5199\u63d2\u4ef6\u7684\u83dc\u5355\u9879
	if (headCt==navpos) {
		com.redmoon.forum.plugin.PluginMgr headerPm = new com.redmoon.forum.plugin.PluginMgr();
		Iterator irHeaderPlugin = headerPm.getAllPlugin().iterator();
		while (irHeaderPlugin.hasNext()) {
			com.redmoon.forum.plugin.PluginUnit pu = (com.redmoon.forum.plugin.PluginUnit)irHeaderPlugin.next();
			com.redmoon.forum.plugin.base.IPluginUI ipu = pu.getUI(request, response, out);
			com.redmoon.forum.plugin.base.IPluginViewCommon pvc = ipu.getViewCommon();
			if (pvc!=null) {
				String hnavstr = pvc.render(com.redmoon.forum.plugin.base.IPluginViewCommon.POS_NAV_BAR);
				if (!hnavstr.equals("")) {
					out.print("<li>" + hnavstr + "</li>");
					out.print("<li class='menuDiv'></li>");
				}
			}
		}	
	}
	
	headCt++;
}

      out.write(_jsp_string30, 0, _jsp_string30.length);
      
String pos_boardcode = ParamUtil.get(request, "boardcode");
if (!pos_boardcode.equals("")) {
	Leaf pos_curleaf = new Leaf();
	pos_curleaf = pos_curleaf.getLeaf(pos_boardcode);
	String pos_op = ParamUtil.get(request, "op");

      out.write(_jsp_string31, 0, _jsp_string31.length);
      
if (com.redmoon.forum.Privilege.isUserLogin(request)) {
	UserDb user = new UserDb();
	user = user.getUser(com.redmoon.forum.Privilege.getUser(request));

      out.write(_jsp_string32, 0, _jsp_string32.length);
      out.print((user.getNick()));
      out.write(_jsp_string33, 0, _jsp_string33.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("welcome");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string34, 0, _jsp_string34.length);
      out.print((ForumSkin.formatDate(request, user.getLastTime())));
      out.write(_jsp_string35, 0, _jsp_string35.length);
      }else{
      out.write(_jsp_string1, 0, _jsp_string1.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("guest");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string36, 0, _jsp_string36.length);
      out.print((request.getContextPath()));
      out.write(_jsp_string37, 0, _jsp_string37.length);
      out.print((StrUtil.getUrl(request)));
      out.write(_jsp_string38, 0, _jsp_string38.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("login");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string39, 0, _jsp_string39.length);
      out.print((request.getContextPath()));
      out.write(_jsp_string40, 0, _jsp_string40.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("regist");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string25, 0, _jsp_string25.length);
      }
      out.write(_jsp_string41, 0, _jsp_string41.length);
      out.print((request.getContextPath()));
      out.write(_jsp_string42, 0, _jsp_string42.length);
      out.print((pos_curleaf.getMenuString(request, pos_curleaf.getLeaf(Leaf.CODE_ROOT))));
      out.write(_jsp_string43, 0, _jsp_string43.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("cur_position");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string44, 0, _jsp_string44.length);
      out.print((request.getContextPath()));
      out.write(_jsp_string45, 0, _jsp_string45.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("forum_home");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string46, 0, _jsp_string46.length);
      
		  	String pCode = pos_curleaf.getParentCode();
			String plink = "";
		  	while (!pCode.equals(Leaf.CODE_ROOT)) { 
				Leaf pleaf = pos_curleaf.getLeaf(pCode);
				// \u9632\u6b62\u5f53parentCode\u51fa\u9519\u65f6\uff0c\u9677\u5165\u6b7b\u5faa\u73af
				if (pleaf==null || !pleaf.isLoaded())
					break;
			
      out.write(_jsp_string47, 0, _jsp_string47.length);
      out.print((pleaf.getCode()));
      out.write(_jsp_string48, 0, _jsp_string48.length);
      out.print((pleaf.getCode()));
      out.write(_jsp_string49, 0, _jsp_string49.length);
      out.print((pos_curleaf.getMenuString(request, pleaf)));
      out.write(_jsp_string50, 0, _jsp_string50.length);
      
				if (pleaf.getType()==pleaf.TYPE_BOARD) {
					plink = "&nbsp;<a href='" + ForumPage.getListTopicPage(request, pCode) + "' onmousemove='showmenu(event, posspan_" + pleaf.getCode() + ".innerHTML, 0)'>" + pleaf.getName() + "</a>&nbsp;<B>&raquo;</B>" + plink;
				}
				else {
					plink = "&nbsp;<a href='" + request.getContextPath() + "/forum/index.jsp?boardField=" + StrUtil.UrlEncode(pCode) + "' onmousemove='showmenu(event, posspan_" + pleaf.getCode() + ".innerHTML, 0)'>" + pleaf.getName() + "</a>&nbsp;<B>&raquo;</B>" + plink;
		  		}
		  		pCode = pleaf.getParentCode();
		   }
		  
      out.write(_jsp_string51, 0, _jsp_string51.length);
      out.print((plink));
      out.write(_jsp_string52, 0, _jsp_string52.length);
      out.print((request.getContextPath()));
      out.write(_jsp_string53, 0, _jsp_string53.length);
      out.print((ForumPage.getListTopicPage(request, pos_boardcode)));
      out.write(_jsp_string54, 0, _jsp_string54.length);
      	
				out.print(pos_curleaf.getName());
		  
      out.write(_jsp_string55, 0, _jsp_string55.length);
      if (pos_op.equals("showelite")) {
      out.write(_jsp_string51, 0, _jsp_string51.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("elite_field");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string51, 0, _jsp_string51.length);
      }
      out.write(_jsp_string56, 0, _jsp_string56.length);
      
} else if (!com.redmoon.forum.Privilege.isUserLogin(request)) { 
	String posprivurl = request.getRequestURL() + "?" + request.getQueryString();

      out.write(_jsp_string57, 0, _jsp_string57.length);
      out.print((cn.js.fan.web.Global.getRootPath()));
      out.write(_jsp_string58, 0, _jsp_string58.length);
      out.print((cn.js.fan.web.Global.getRootPath()));
      out.write(_jsp_string59, 0, _jsp_string59.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("user_name");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string60, 0, _jsp_string60.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("pwd");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string61, 0, _jsp_string61.length);
      
        com.redmoon.forum.Config cfg_pos = com.redmoon.forum.Config.getInstance();
        if (cfg_pos.getBooleanProperty("forum.loginUseValidateCode")) {
		
      out.write(_jsp_string62, 0, _jsp_string62.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("validate_code");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string63, 0, _jsp_string63.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.index");
      _jsp_LabelTag_0.setKey("refresh_validatecode");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string64, 0, _jsp_string64.length);
      }
      out.write(_jsp_string65, 0, _jsp_string65.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("not_cover");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string66, 0, _jsp_string66.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("cover");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string67, 0, _jsp_string67.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("commit");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string68, 0, _jsp_string68.length);
      out.print((posprivurl));
      out.write(_jsp_string69, 0, _jsp_string69.length);
      }else{
	UserDb user = new UserDb();
	user = user.getUser(com.redmoon.forum.Privilege.getUser(request));

      out.write(_jsp_string70, 0, _jsp_string70.length);
      out.print((cn.js.fan.web.Global.getRootPath()));
      out.write(_jsp_string59, 0, _jsp_string59.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();
        _jsp_LabelTag_0.setPageContext(pageContext);
        _jsp_LabelTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
      }

      _jsp_LabelTag_0.setRes("res.label.forum.inc.position");
      _jsp_LabelTag_0.setKey("user_name");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string71, 0, _jsp_string71.length);
      out.print((user.getNick()));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -