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

📄 _addtopic_0new__jsp.java

📁 CMS 1、增加子站点功能
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
      out.write(_jsp_string106, 0, _jsp_string106.length);
      }
      out.write(_jsp_string107, 0, _jsp_string107.length);
      
	  if (com.redmoon.blog.Config.getInstance().isBlogOpen && ucd!=null && ucd.isLoaded()) {
	  
      out.write(_jsp_string108, 0, _jsp_string108.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("add_to_blog");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string93, 0, _jsp_string93.length);
      
		UserDirDb udd = new UserDirDb();
		
      out.write(_jsp_string109, 0, _jsp_string109.length);
      out.print((UserDirDb.DEFAULT));
      out.write(_jsp_string110, 0, _jsp_string110.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("default_dir");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string100, 0, _jsp_string100.length);
      out.print((udd.toOptions(ucd.getId())));
      out.write(_jsp_string111, 0, _jsp_string111.length);
      out.print((blogUserDir));
      out.write(_jsp_string112, 0, _jsp_string112.length);
      out.print((boardcode.equals(Leaf.CODE_BLOG)?"checked":""));
      out.write(_jsp_string113, 0, _jsp_string113.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("add_to_blog");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string114, 0, _jsp_string114.length);
      out.print((ucd.getTitle()));
      out.write(_jsp_string115, 0, _jsp_string115.length);
      if (ucd.getType()==UserConfigDb.TYPE_PERSON) {
      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.blog.user.userconfig");
      _jsp_LabelTag_0.setKey("type_person");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string106, 0, _jsp_string106.length);
      }else{
      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.blog.user.userconfig");
      _jsp_LabelTag_0.setKey("type_group");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string106, 0, _jsp_string106.length);
      }
      out.write(_jsp_string116, 0, _jsp_string116.length);
      out.print((ucd.getId()));
      out.write(_jsp_string117, 0, _jsp_string117.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("canReply");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string107, 0, _jsp_string107.length);
      }
      out.write(_jsp_string118, 0, _jsp_string118.length);
      
Vector vplugin = pm.getAllPluginUnitOfBoard(boardcode);
String pluginCode = ParamUtil.get(request, "pluginCode");
if (vplugin.size()>0) {
	Iterator irplugin = vplugin.iterator();
	while (irplugin.hasNext()) {
		PluginUnit pu = (PluginUnit)irplugin.next();
		IPluginUI ipu = pu.getUI(request, response, out);
		IPluginViewAddMsg pv = ipu.getViewAddMsg(boardcode);
		if (pv.IsPluginBoard()) {
			boolean showPlugin = false;
			if (pu.getType().equals(pu.TYPE_BOARD))
				showPlugin = true;
			else if (pu.getType().equals(pu.TYPE_TOPIC)) {
				if (pluginCode.equals(pu.getCode()))
					showPlugin = true;
			}
			if (showPlugin) {
				if (!pu.getAddTopicPage().equals("")) {

      out.write(_jsp_string119, 0, _jsp_string119.length);
      pageContext.include(pu.getAddTopicPage(), "boardcode=" + com.caucho.el.Expr.toString(StrUtil.UrlEncode(boardcode), null), true);
      out.write(_jsp_string106, 0, _jsp_string106.length);
      				}
				else {
					if (pu.isShowName())
						out.print(pu.getName(request) + ": ");
					out.print("<div>" + pv.render(UIAddMsg.POS_TITLE) + "</div>");
					out.print("<div>" + pv.render(UIAddMsg.POS_FORM_ELEMENT) + "</div>");
				}
			}
		}
	}
}

String hit = request.getParameter("hit");
String isvote = StrUtil.getNullString(request.getParameter("isvote"));
String plugin2Code = ParamUtil.get(request, "plugin2Code");
if (!plugin2Code.equals("")) {
	Plugin2Mgr p2m = new Plugin2Mgr();
	Plugin2Unit p2u = p2m.getPlugin2Unit(plugin2Code);

      out.write(_jsp_string106, 0, _jsp_string106.length);
      pageContext.include(p2u.getAddTopicPage(), "boardcode=" + com.caucho.el.Expr.toString(StrUtil.UrlEncode(boardcode), null), true);
      out.write(_jsp_string106, 0, _jsp_string106.length);
      }
      out.write(_jsp_string120, 0, _jsp_string120.length);
      
if (cfg1.getBooleanProperty("forum.addUseValidateCode")) {

      out.write(_jsp_string121, 0, _jsp_string121.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("input_validatecode");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string122, 0, _jsp_string122.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_string123, 0, _jsp_string123.length);
      }
      out.write(_jsp_string121, 0, _jsp_string121.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_title");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string124, 0, _jsp_string124.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_topic");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string125, 0, _jsp_string125.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("pre_origi");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string126, 0, _jsp_string126.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("pre_origi");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string125, 0, _jsp_string125.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("pre_from");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string126, 0, _jsp_string126.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("pre_from");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string125, 0, _jsp_string125.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("pre_water");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string126, 0, _jsp_string126.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("pre_water");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string125, 0, _jsp_string125.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("pre_discuss");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string126, 0, _jsp_string126.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("pre_discuss");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string125, 0, _jsp_string125.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("pre_help");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string126, 0, _jsp_string126.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("pre_help");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string125, 0, _jsp_string125.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("pre_recommend");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string126, 0, _jsp_string126.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("pre_recommend");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string125, 0, _jsp_string125.length);
      if (_jsp_LabelTag_0 == null) {
        _jsp_LabelTag_0 = new com.redmoon.forum.ui.LabelTag();

⌨️ 快捷键说明

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