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

📄 _index__jsp.java

📁 CMS 1、增加子站点功能
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
        _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("login_hide");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string60, 0, _jsp_string60.length);
      out.print((com.redmoon.forum.Privilege.LOGIN_SAVE_NONE));
      out.write(_jsp_string61, 0, _jsp_string61.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("cookie_not_save");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string62, 0, _jsp_string62.length);
      out.print((com.redmoon.forum.Privilege.LOGIN_SAVE_DAY));
      out.write(_jsp_string37, 0, _jsp_string37.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("cookie_save_day");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string62, 0, _jsp_string62.length);
      out.print((com.redmoon.forum.Privilege.LOGIN_SAVE_MONTH));
      out.write(_jsp_string37, 0, _jsp_string37.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("cookie_save_month");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string62, 0, _jsp_string62.length);
      out.print((com.redmoon.forum.Privilege.LOGIN_SAVE_YEAR));
      out.write(_jsp_string37, 0, _jsp_string37.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("cookie_save_year");
      _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("commit");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string64, 0, _jsp_string64.length);
      }else{
      out.write(_jsp_string65, 0, _jsp_string65.length);
      
UserDb me = new UserDb();
me = me.getUser(privilege1.getUser(request));
String myface = me.getMyface();

      out.write(_jsp_string1, 0, _jsp_string1.length);
      if (myface.equals("")) {
      out.write(_jsp_string66, 0, _jsp_string66.length);
      out.print((StrUtil.getNullString(me.getRealPic())));
      out.write(_jsp_string67, 0, _jsp_string67.length);
      out.print((me.getName()));
      out.write(_jsp_string68, 0, _jsp_string68.length);
      }else{
      out.write(_jsp_string69, 0, _jsp_string69.length);
      out.print((me.getMyfaceUrl(request)));
      out.write(_jsp_string70, 0, _jsp_string70.length);
      out.print((me.getName()));
      out.write(_jsp_string71, 0, _jsp_string71.length);
      }
      out.write(_jsp_string72, 0, _jsp_string72.length);
      com.redmoon.forum.message.MessageMgr Msg;
      Msg = (com.redmoon.forum.message.MessageMgr) pageContext.getAttribute("Msg");
      if (Msg == null) {
        Msg = new com.redmoon.forum.message.MessageMgr();
        pageContext.setAttribute("Msg", Msg);
      }
      out.write(_jsp_string73, 0, _jsp_string73.length);
      
	msgCount = Msg.getNewMsgCount(request);
	
      out.write(_jsp_string74, 0, _jsp_string74.length);
      out.print((um.getUser(me.getName()).getNick()));
      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.index");
      _jsp_LabelTag_0.setKey("msgbox");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string76, 0, _jsp_string76.length);
      out.print((msgCount));
      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.index");
      _jsp_LabelTag_0.setKey("last_login");
      _jsp_LabelTag_0.doEndTag();
      out.print((DateUtil.format(me.getLastTime(), "yyyy-MM-dd")));
      out.write(_jsp_string78, 0, _jsp_string78.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("myfriend");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string79, 0, _jsp_string79.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("msg_send");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string80, 0, _jsp_string80.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("mytopic");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string81, 0, _jsp_string81.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("mytopic_attend");
      _jsp_LabelTag_0.doEndTag();
      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.index");
      _jsp_LabelTag_0.setKey("myfavoriate");
      _jsp_LabelTag_0.doEndTag();
      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.index");
      _jsp_LabelTag_0.setKey("rank");
      _jsp_LabelTag_0.doEndTag();
      out.print((me.getLevelDesc()));
      out.write(_jsp_string84, 0, _jsp_string84.length);
      }
      out.write(_jsp_string85, 0, _jsp_string85.length);
      
	ForumDb forum = new ForumDb();
	forum = forum.getForumDb();
	
      out.write(_jsp_string86, 0, _jsp_string86.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("all_user_count");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string87, 0, _jsp_string87.length);
      out.print((forum.getUserCount()));
      out.write(_jsp_string88, 0, _jsp_string88.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("user_new");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string89, 0, _jsp_string89.length);
      out.print((StrUtil.UrlEncode(forum.getUserNew())));
      out.write(_jsp_string90, 0, _jsp_string90.length);
      out.print((um.getUser(forum.getUserNew()).getNick()));
      out.write(_jsp_string91, 0, _jsp_string91.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("today_post");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string87, 0, _jsp_string87.length);
      out.print((forum.getTodayCount()));
      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.index");
      _jsp_LabelTag_0.setKey("pian");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string93, 0, _jsp_string93.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("topic_count");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string87, 0, _jsp_string87.length);
      out.print((forum.getTopicCount()));
      out.write(_jsp_string94, 0, _jsp_string94.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("pian");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string95, 0, _jsp_string95.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("yestoday_post");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string87, 0, _jsp_string87.length);
      out.print((forum.getYestodayCount()));
      out.write(_jsp_string94, 0, _jsp_string94.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("pian");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string93, 0, _jsp_string93.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("post_count");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string87, 0, _jsp_string87.length);
      out.print((forum.getPostCount()));
      out.write(_jsp_string94, 0, _jsp_string94.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("pian");
      _jsp_LabelTag_0.doEndTag();
      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.index");
      _jsp_LabelTag_0.setKey("most_post");
      _jsp_LabelTag_0.doEndTag();
      out.write(_jsp_string87, 0, _jsp_string87.length);
      out.print((forum.getMaxCount()));
      out.write(_jsp_string92, 0, _jsp_string92.length);
      if (_jsp_LabelTag_0 == null) {

⌨️ 快捷键说明

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