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

📄 showtopic_jsp.java

📁 功能描述 1) 后台:管理员负责对整个论坛进行管理
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
      out.write("页  每页");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${row}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("行 \r\n");
      out.write("      ");
      if (_jspx_meth_c_if_7(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       \r\n");
      out.write("      ");
      if (_jspx_meth_c_if_8(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("      ");
      if (_jspx_meth_c_if_9(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       \r\n");
      out.write("      ");
      if (_jspx_meth_c_if_10(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("      ");
      if (_jspx_meth_c_if_11(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       \r\n");
      out.write("      ");
      if (_jspx_meth_c_if_12(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("      ");
      if (_jspx_meth_c_if_13(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("       \r\n");
      out.write("      ");
      if (_jspx_meth_c_if_14(_jspx_page_context))
        return;
      out.write("</font>\r\n");
      out.write("      </td>\r\n");
      out.write("    </tr>\r\n");
      out.write("  </table>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  <table align=\"center\" width=\"98%\" border=\"0\">\r\n");
      out.write("    <tr>\r\n");
      out.write("      <td>\r\n");
      if (_jspx_meth_c_if_15(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\r\n");
      out.write("      </td>\r\n");
      out.write("    </tr>\r\n");
      out.write("  </table>\r\n");
      out.write("  <form action=\"viewtopic\" method=\"POST\" name=\"main\">\r\n");
      out.write("    <input type=\"hidden\" name=\"tid\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${topic.tid}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" />\r\n");
      out.write("    <input type=\"hidden\" name=\"cpage\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${cpage}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" />\r\n");
      out.write("  </form>\r\n");
      out.write("</center>\r\n");
      out.write("\r\n");
      out.write("<div>\r\n");
      out.write("  <table width=\"100%\" border=\"0\">\r\n");
      out.write("   <tr style=\"font-size:12px\">\r\n");
      out.write("    <td height=\"19\" align=\"center\">|&nbsp;<a href=\"#\"\">设为首页</a>&nbsp;|&nbsp;<a href=\"javascript:window.external.addFavorite('http://rine56.51.com','本人博客')\">加入收藏</a>&nbsp;|&nbsp;<a href=\"mailto:bai189long@163.com\">联系站长</a>&nbsp;|&nbsp;<a href=\"showfriend\" target=\"_blank\">友情链接</a>&nbsp;|&nbsp;<a href=\"www.windows.com\" target=\"_blank\">版权申明</a>&nbsp;|&nbsp;<a href=\"adminlogin.jsp\" target=\"_blank\">管理论坛</a>&nbsp;|</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr style=\"font-size:15px\">\r\n");
      out.write("    <td height=\"19\" align=\"center\">&nbsp;&nbsp;Copyright@2008 Corporation, All Rights Reserved&nbsp;版权所有&nbsp;IT技术论坛&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  </table>\r\n");
      out.write("  </div>\r\n");
      out.write("</body>\r\n");
      out.write("<script type=\"text/javascript\" language=\"javascript\">\r\n");
      out.write("var obj = document.all;\r\n");
      out.write("function setPage(f){\r\n");
      out.write("  var value = obj.cpage.value-0;\r\n");
      out.write("  if ( f == '+' ){ //表示用户点的是下一页\r\n");
      out.write("    value += 1;\r\n");
      out.write("  }\r\n");
      out.write("  else if ( f == '-' ){\r\n");
      out.write("    value -= 1;\r\n");
      out.write("  }\r\n");
      out.write("  else {\r\n");
      out.write("    value = f;\r\n");
      out.write("  }\r\n");
      out.write("  obj.cpage.value = value;\r\n");
      out.write("  main.submit();//使表单提交\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_c_if_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_0.setPageContext(_jspx_page_context);
    _jspx_th_c_if_0.setParent(null);
    _jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${username==null}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
    if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("游客&nbsp;&nbsp;&nbsp;&nbsp;");
        int evalDoAfterBody = _jspx_th_c_if_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_0);
    return false;
  }

  private boolean _jspx_meth_c_if_1(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_1.setPageContext(_jspx_page_context);
    _jspx_th_c_if_1.setParent(null);
    _jspx_th_c_if_1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${username!=null}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_if_1 = _jspx_th_c_if_1.doStartTag();
    if (_jspx_eval_c_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("<font color=\"red\">");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${username}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("</font>&nbsp;\r\n");
        out.write("        <a href=\"selectpersonalservlet?uname=");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${username}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("\" target=\"_blank\">个人信息</a>&nbsp;<a href=\"#\" onclick=\"parent.location='userexit'\">退出</a>&nbsp;\r\n");
        out.write("        <a href=\"usertopic?username=");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${username}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("\" target=\"_blank\">个人发贴</a>\r\n");
        out.write("      ");
        int evalDoAfterBody = _jspx_th_c_if_1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_c_if_test.reuse(_jspx_th_c_if_1);
    return false;
  }

  private boolean _jspx_meth_c_if_2(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_if_2.setPageContext(_jspx_page_context);
    _jspx_th_c_if_2.setParent(null);
    _jspx_th_c_if_2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${cpage==1}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_if_2 = _jspx_th_c_if_2.doStartTag();
    if (_jspx_eval_c_if_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("    <tr>\r\n");
        out.write("      <td width=\"18%\" valign=\"top\">\r\n");
        out.write("        <div align=\"center\">\r\n");
        out.write("          <table border=\"0\" width=\"100%\" align=\"center\" bgcolor=\"#9999cc\">\r\n");
        out.write("            <tr>\r\n");
        out.write("              <td><a href=\"showuser\" target=\"_blank\">");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.uname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("</a></td>\r\n");
        out.write("            </tr>\r\n");
        out.write("            <tr>\r\n");
        out.write("              <td>");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.uduty}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("</td>\r\n");
        out.write("            </tr>\r\n");
        out.write("            <tr>\r\n");
        out.write("              <td align=\"center\" colspan=\"2\"><img alt=\"\" src=\"images/face-1.gif\" /></td>\r\n");
        out.write("            </tr>\r\n");
        out.write("            <tr>\r\n");
        out.write("              <td>UID:</td>\r\n");
        out.write("              <td>");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.uid}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("</td>\r\n");
        out.write("            </tr>\r\n");
        out.write("            <tr>\r\n");
        out.write("              <td>头衔:</td>\r\n");
        out.write("              <td>");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.uhonor}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("</td>\r\n");
        out.write("            </tr>\r\n");
        out.write("            <tr>\r\n");
        out.write("              <td>积分:</td>\r\n");
        out.write("              <td>");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.upoint}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("</td>\r\n");
        out.write("            </tr>\r\n");
        out.write("            <tr><td>发贴数:</td>\r\n");
        out.write("              <td>");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.utopicCount}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
        out.write("</td>\r\n");
        out.write("            </tr>\r\n");
        out.write("            <tr><td>回贴数:</td>\r\n");

⌨️ 快捷键说明

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