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

📄 _addtopic_0new__jsp.java

📁 CMS 1、增加子站点功能
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
      _jsp_LabelTag_0.setKey("elite_field");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string61, 0, _jsp_string61.length);
      }
      out.write(_jsp_string66, 0, _jsp_string66.length);
      
} else if (!com.redmoon.forum.Privilege.isUserLogin(request)) { 
	String posprivurl = request.getRequestURL() + "?" + request.getQueryString();

      out.write(_jsp_string67, 0, _jsp_string67.length);
      out.print((cn.js.fan.web.Global.getRootPath()));
      out.write(_jsp_string68, 0, _jsp_string68.length);
      out.print((cn.js.fan.web.Global.getRootPath()));
      out.write(_jsp_string69, 0, _jsp_string69.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_string70, 0, _jsp_string70.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_string71, 0, _jsp_string71.length);
      
        com.redmoon.forum.Config cfg_pos = com.redmoon.forum.Config.getInstance();
        if (cfg_pos.getBooleanProperty("forum.loginUseValidateCode")) {
		
      out.write(_jsp_string72, 0, _jsp_string72.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_string73, 0, _jsp_string73.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_string74, 0, _jsp_string74.length);
      }
      out.write(_jsp_string75, 0, _jsp_string75.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_string76, 0, _jsp_string76.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_string77, 0, _jsp_string77.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_string78, 0, _jsp_string78.length);
      out.print((posprivurl));
      out.write(_jsp_string79, 0, _jsp_string79.length);
      }else{
	UserDb user = new UserDb();
	user = user.getUser(com.redmoon.forum.Privilege.getUser(request));

      out.write(_jsp_string80, 0, _jsp_string80.length);
      out.print((cn.js.fan.web.Global.getRootPath()));
      out.write(_jsp_string69, 0, _jsp_string69.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_string81, 0, _jsp_string81.length);
      out.print((user.getNick()));
      out.write(_jsp_string82, 0, _jsp_string82.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.print((user.getLevelDesc()));
      out.write(_jsp_string83, 0, _jsp_string83.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("exprience");
      _jsp_LabelTag_0.doEndTag();
      out.print((user.getExperience()));
      out.write(_jsp_string83, 0, _jsp_string83.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("credit");
      _jsp_LabelTag_0.doEndTag();
      out.print((user.getCredit()));
      out.write(_jsp_string84, 0, _jsp_string84.length);
      
						ScoreMgr sm_pos = new ScoreMgr();
						ScoreUnit su_pos = sm_pos.getScoreUnit("gold");
						out.print(su_pos.getName());
						
      out.write('\uff1a');
      out.print((user.getGold()));
      out.write(_jsp_string85, 0, _jsp_string85.length);
      }
      out.write(_jsp_string86, 0, _jsp_string86.length);
      }
      out.write(_jsp_string45, 0, _jsp_string45.length);
      cn.js.fan.util.StrUtil StrUtil;
      StrUtil = (cn.js.fan.util.StrUtil) pageContext.getAttribute("StrUtil");
      if (StrUtil == null) {
        StrUtil = new cn.js.fan.util.StrUtil();
        pageContext.setAttribute("StrUtil", StrUtil);
      }
      out.write(_jsp_string45, 0, _jsp_string45.length);
      com.redmoon.forum.person.userservice userservice;
      userservice = (com.redmoon.forum.person.userservice) pageContext.getAttribute("userservice");
      if (userservice == null) {
        userservice = new com.redmoon.forum.person.userservice();
        pageContext.setAttribute("userservice", userservice);
      }
      out.write(_jsp_string45, 0, _jsp_string45.length);
      
String privurl = ParamUtil.get(request, "privurl");
int i=0;

      out.write(_jsp_string87, 0, _jsp_string87.length);
      out.print((skin.getTableBorderClr()));
      out.write(_jsp_string88, 0, _jsp_string88.length);
      out.print((StrUtil.UrlEncode(addFlag)));
      out.write(_jsp_string89, 0, _jsp_string89.length);
      out.print((skinPath));
      out.write(_jsp_string90, 0, _jsp_string90.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.addtopic");
      _jsp_LabelTag_0.setKey("topic_add_to");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string91, 0, _jsp_string91.length);
      out.print((boardcode));
      out.write(_jsp_string48, 0, _jsp_string48.length);
      out.print((boardname));
      out.write(_jsp_string92, 0, _jsp_string92.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.addtopic");
      _jsp_LabelTag_0.setKey("topic_add_to_board");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string93, 0, _jsp_string93.length);
      
		UserConfigDb ucd = new UserConfigDb();
		long blogId = ParamUtil.getLong(request, "blogId", UserConfigDb.NO_BLOG);
		if (blogId==UserConfigDb.NO_BLOG) {
			ucd = ucd.getUserConfigDbByUserName(privilege.getUser(request));
		}
		else {
			ucd = ucd.getUserConfigDb(blogId);
		}
		
        Enumeration e = request.getParameterNames();
        String queryStrWithoutBoardcode = ""; // \u53bb\u9664boardcode\u4e4b\u540e\u7684query string
        while (e.hasMoreElements()) {
            String param = (String) e.nextElement();
            if (!param.equals("boardcode")) {
                String v = ParamUtil.get(request, param);
                queryStrWithoutBoardcode += "&" + param + "=" + StrUtil.UrlEncode(v);
            }
        }
		
      out.write(_jsp_string94, 0, _jsp_string94.length);
      out.print((i));
      out.write(_jsp_string95, 0, _jsp_string95.length);
      out.print((boardcode));
      out.write(_jsp_string96, 0, _jsp_string96.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.addtopic");
      _jsp_LabelTag_0.setKey("can_not_sel");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string97, 0, _jsp_string97.length);
      out.print((i));
      out.write(_jsp_string98, 0, _jsp_string98.length);
      out.print((queryStrWithoutBoardcode));
      out.write(_jsp_string99, 0, _jsp_string99.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.addtopic");
      _jsp_LabelTag_0.setKey("sel_board");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string100, 0, _jsp_string100.length);
      
				com.redmoon.forum.Directory directory = new com.redmoon.forum.Directory();
				com.redmoon.forum.Leaf lf = directory.getLeaf("root");
				com.redmoon.forum.DirectoryView dv = new com.redmoon.forum.DirectoryView(lf);
				dv.ShowDirectoryAsOptions(request, privilege, out, lf, lf.getLayer());
				
      out.write(_jsp_string101, 0, _jsp_string101.length);
      // \u5982\u679c\u7528\u6237\u672a\u6fc0\u6d3b\u535a\u5ba2\u6216\u8005\u672a\u52a0\u5165\u67d0\u56e2\u961f\u535a\u5ba2\uff0c\u5219\u4e0d\u663e\u793a\u535a\u5ba2\u7248\u5757
			if (com.redmoon.blog.Config.getInstance().isBlogOpen && ucd!=null && ucd.isLoaded()) {
			
      out.write(_jsp_string102, 0, _jsp_string102.length);
      out.print((Leaf.CODE_BLOG));
      out.write(_jsp_string103, 0, _jsp_string103.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.addtopic");
      _jsp_LabelTag_0.setKey("blog");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string100, 0, _jsp_string100.length);
      }
      out.write(_jsp_string101, 0, _jsp_string101.length);
      
			com.redmoon.forum.plugin.PluginMgr pm = new com.redmoon.forum.plugin.PluginMgr();
			Iterator irPlugin = pm.getAllPlugin().iterator();
			while (irPlugin.hasNext()) {
				com.redmoon.forum.plugin.PluginUnit pu = (com.redmoon.forum.plugin.PluginUnit)irPlugin.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) {
					out.print(pvc.render(com.redmoon.forum.plugin.base.IPluginViewCommon.POS_BOARD_SELECT_OPTION));
				}
			}
			
      out.write(_jsp_string104, 0, _jsp_string104.length);
      out.print((boardcode));
      out.write(_jsp_string105, 0, _jsp_string105.length);
      if (boardcode.equals(Leaf.CODE_BLOG)) {
      out.write(_jsp_string106, 0, _jsp_string106.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.addtopic");
      _jsp_LabelTag_0.setKey("info_board_blog");
      _jsp_LabelTag_0.doEndTag();

⌨️ 快捷键说明

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