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

📄 adminusermanager_jsp.java

📁 功能描述 1) 后台:管理员负责对整个论坛进行管理
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class adminusermanager_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.Vector _jspx_dependants;

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;

  public java.util.List getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _jspx_tagPool_c_forEach_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _jspx_tagPool_c_forEach_var_items.release();
    _jspx_tagPool_c_if_test.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=GBK");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<link href=\"css/css0.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
      out.write("</head>\r\n");
      out.write("<body bgcolor=\"#D1C4A3\">系统设置面板\r\n");
      out.write("<br>\r\n");
      out.write("<br/>\r\n");
      out.write("<table width=\"98%\" border=\"0\" align=\"center\" cellpadding=\"15\" cellspacing=\"0\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td bgcolor=\"#EFEADE\">\r\n");
      out.write("      <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"0\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td bgcolor=\"#FFFFFF\">            系统设置--\r\n");
      out.write("            &gt;\r\n");
      out.write("            会员管理\r\n");
      out.write("</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        会员管理\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td bgcolor=\"#FFFFFF\" width=\"100%\">\r\n");
      out.write("            <br />\r\n");
      out.write("            <h2 style=\"color:#D1C4A3\">会员信息</h2>\r\n");
      out.write("            <br />\r\n");
      out.write("            <font color=\"red\">");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${message}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("</font>\r\n");
      out.write("            <form name=\"main\" action=\"adminusermanager\" method=\"POST\">\r\n");
      out.write("            ");
      if (_jspx_meth_c_forEach_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("            <input type=\"hidden\" name=\"uid\"/>\r\n");
      out.write("            <br/>\r\n");
      out.write("            <br>\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("            共\r\n");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pages}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("            页\r\n");
      out.write("            &nbsp;\r\n");
      out.write("            第\r\n");
      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("            &nbsp;\r\n");
      out.write("            每页\r\n");
      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("            &nbsp;&nbsp;\r\n");
      out.write("            ");
      if (_jspx_meth_c_if_0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("            &nbsp;\r\n");
      out.write("            ");
      if (_jspx_meth_c_if_1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("            ");
      if (_jspx_meth_c_if_2(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("            &nbsp;\r\n");
      out.write("            ");
      if (_jspx_meth_c_if_3(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("            ");
      if (_jspx_meth_c_if_4(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("            &nbsp;\r\n");
      out.write("            ");
      if (_jspx_meth_c_if_5(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("            ");
      if (_jspx_meth_c_if_6(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("            &nbsp;\r\n");
      out.write("            ");
      if (_jspx_meth_c_if_7(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("            <br/>\r\n");
      out.write("          </form>\r\n");
      out.write("          </td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\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 deleted(id)\r\n");
      out.write("{\r\n");
      out.write("  main.action = \"deleteuser\";\r\n");
      out.write("   if (confirm(\"你真的要删除所选的记录吗?\")){\r\n");
      out.write("     obj.uid.value=id;\r\n");
      out.write("      main.submit();\r\n");
      out.write("    }else{\r\n");
      out.write("      return;\r\n");
      out.write("    }\r\n");
      out.write("}\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></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_forEach_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
    _jspx_th_c_forEach_0.setParent(null);
    _jspx_th_c_forEach_0.setVar("obj");
    _jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${data}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
    int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 };
    try {
      int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
      if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("            <table align=\"center\" border=\"0\" width=\"100%\">\r\n");
          out.write("              <tr>\r\n");
          out.write("                <td align=\"right\" colspan=\"5\">\r\n");
          out.write("                  &nbsp;&nbsp;&nbsp;\r\n");
          out.write("                  <br/>\r\n");
          out.write("                  <br/>\r\n");
          out.write("                  <hr style=\"color:blue\"/>\r\n");
          out.write("                </td>\r\n");
          out.write("              </tr>\r\n");
          out.write("              <tr>\r\n");
          out.write("                <td>会员姓名</td>\r\n");
          out.write("                <td>电子邮箱</td>\r\n");
          out.write("                <td>会员性别</td>\r\n");
          out.write("                <td>会员头衔</td>\r\n");
          out.write("                <td>删除会员</td>\r\n");
          out.write("              </tr>\r\n");
          out.write("              <tr>\r\n");
          out.write("                <td>&nbsp;</td>\r\n");
          out.write("              </tr>\r\n");
          out.write("                <tr>\r\n");
          out.write("                  <td>\r\n");
          out.write("                    <a href=\"#\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${obj.uname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("                    </a>\r\n");
          out.write("                  </td>\r\n");
          out.write("                  <td>\r\n");
          out.write("                    <a href=\"mailto:");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${obj.uemail}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write('"');
          out.write('>');
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${obj.uemail}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("                    </a>\r\n");
          out.write("                  </td>\r\n");
          out.write("                  <td>");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${obj.usex}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("</td>\r\n");

⌨️ 快捷键说明

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