private boolean _jspx_meth_c_005fif_005f0(
     javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f0,
     PageContext _jspx_page_context,
     int[] _jspx_push_body_count_c_005fforEach_005f0)
     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_005fif_005f0 =
       (org.apache.taglibs.standard.tag.rt.core.IfTag)
           _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
               org.apache.taglibs.standard.tag.rt.core.IfTag.class);
   _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
   _jspx_th_c_005fif_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f0);
   // /web/page/fans/fansListCtx.jsp(28,7) name = test type = boolean reqTime = true required =
   // true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_c_005fif_005f0.setTest(
       ((java.lang.Boolean)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${not empty fan.headImgUrl}",
                   java.lang.Boolean.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false))
           .booleanValue());
   int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
   if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\r\n");
       out.write("\t\t\t\t\t\t\t\t<img src=\"");
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${empty fan.headImgUrl ?'-':fan.headImgUrl}",
                   java.lang.String.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false));
       out.write("\" width=\"30\" height=\"30\">\r\n");
       out.write("\t\t\t\t\t\t\t");
       int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
   return false;
 }
Esempio n. 2
0
 private boolean _jspx_meth_c_005fif_005f3(
     javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f2,
     PageContext _jspx_page_context,
     int[] _jspx_push_body_count_c_005fforEach_005f2)
     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_005fif_005f3 =
       (org.apache.taglibs.standard.tag.rt.core.IfTag)
           _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
               org.apache.taglibs.standard.tag.rt.core.IfTag.class);
   _jspx_th_c_005fif_005f3.setPageContext(_jspx_page_context);
   _jspx_th_c_005fif_005f3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f2);
   // /web/page/workbench/myTemplate.jsp(42,6) name = test type = boolean reqTime = true required =
   // true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_c_005fif_005f3.setTest(
       ((java.lang.Boolean)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${status.index!=0 }",
                   java.lang.Boolean.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false))
           .booleanValue());
   int _jspx_eval_c_005fif_005f3 = _jspx_th_c_005fif_005f3.doStartTag();
   if (_jspx_eval_c_005fif_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\r\n");
       out.write("\t\t\t\t\t\t\t/ ");
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${tag.tagName}",
                   java.lang.String.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false));
       out.write("\r\n");
       out.write("\t\t\t\t\t\t");
       int evalDoAfterBody = _jspx_th_c_005fif_005f3.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fif_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
   return false;
 }
Esempio n. 3
0
 private boolean _jspx_meth_c_005fif_005f6(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_005fif_005f6 =
       (org.apache.taglibs.standard.tag.rt.core.IfTag)
           _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
               org.apache.taglibs.standard.tag.rt.core.IfTag.class);
   _jspx_th_c_005fif_005f6.setPageContext(_jspx_page_context);
   _jspx_th_c_005fif_005f6.setParent(null);
   // /web/page/workbench/myTemplate.jsp(63,0) name = test type = boolean reqTime = true required =
   // true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_c_005fif_005f6.setTest(
       ((java.lang.Boolean)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${pageInfo.pageSize>1 && pageInfo.pageSize>pageInfo.curPage}",
                   java.lang.Boolean.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false))
           .booleanValue());
   int _jspx_eval_c_005fif_005f6 = _jspx_th_c_005fif_005f6.doStartTag();
   if (_jspx_eval_c_005fif_005f6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\r\n");
       out.write("\t<div id=\"pageDiv\">\r\n");
       out.write("\t\t<input id=\"curPage\" name=\"curPage\" type=\"hidden\" value=\"");
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${pageInfo.curPage }",
                   java.lang.String.class,
                   (PageContext) _jspx_page_context,
                   null,
                   false));
       out.write("\">\r\n");
       out.write(
           "\t\t<div class=\"templet-more\"><a href=\"javascript:void(0);\" id=\"loadMore\">查看更多</a></div>\r\n");
       out.write("\t</div>\r\n");
       int evalDoAfterBody = _jspx_th_c_005fif_005f6.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fif_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f6);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f6);
   return false;
 }
Esempio n. 4
0
 private boolean _jspx_meth_c_005fif_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
     throws java.lang.Throwable {
   javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
   javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
   //  c:if
   org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 =
       (org.apache.taglibs.standard.tag.rt.core.IfTag)
           _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
               org.apache.taglibs.standard.tag.rt.core.IfTag.class);
   _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
   _jspx_th_c_005fif_005f0.setParent(null);
   // /WEB-INF/jsp/layouts/head.jsp(11,1) name = test type = boolean reqTime = true required = true
   // fragment = false deferredValue = false expectedTypeName = null deferredMethod = false
   // methodSignature = null
   _jspx_th_c_005fif_005f0.setTest(
       ((java.lang.Boolean)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${not empty command.error }",
                   java.lang.Boolean.class,
                   (javax.servlet.jsp.PageContext) _jspx_page_context,
                   null,
                   false))
           .booleanValue());
   int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
   if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\r\n");
       out.write("\r\n");
       out.write("\tdrawToast(\"");
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${command.error}",
                   java.lang.String.class,
                   (javax.servlet.jsp.PageContext) _jspx_page_context,
                   null,
                   false));
       out.write("\");\r\n");
       out.write("\t");
       int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
   return false;
 }
Esempio n. 5
0
 private boolean _jspx_meth_c_005fif_005f0(
     javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f0,
     javax.servlet.jsp.PageContext _jspx_page_context,
     int[] _jspx_push_body_count_c_005fforEach_005f0)
     throws java.lang.Throwable {
   javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
   javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
   //  c:if
   org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 =
       (org.apache.taglibs.standard.tag.rt.core.IfTag)
           _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
               org.apache.taglibs.standard.tag.rt.core.IfTag.class);
   _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
   _jspx_th_c_005fif_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f0);
   // /admin/left.jsp(7,4) name = test type = boolean reqTime = true required = true fragment =
   // false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature =
   // null
   _jspx_th_c_005fif_005f0.setTest(
       ((java.lang.Boolean)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${menu.level eq 2}",
                   java.lang.Boolean.class,
                   (javax.servlet.jsp.PageContext) _jspx_page_context,
                   null,
                   false))
           .booleanValue());
   int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
   if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\r\n");
       out.write("\t\t\t\t\t");
       if (_jspx_meth_c_005fif_005f1(
           _jspx_th_c_005fif_005f0, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f0))
         return true;
       out.write("\r\n");
       out.write("\t\t\t\t");
       int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
   return false;
 }
Esempio n. 6
0
 private boolean _jspx_meth_c_005fif_005f1(
     javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f0,
     javax.servlet.jsp.PageContext _jspx_page_context,
     int[] _jspx_push_body_count_c_005fforEach_005f0)
     throws java.lang.Throwable {
   javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
   javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
   //  c:if
   org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 =
       (org.apache.taglibs.standard.tag.rt.core.IfTag)
           _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
               org.apache.taglibs.standard.tag.rt.core.IfTag.class);
   _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
   _jspx_th_c_005fif_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f0);
   // /admin/left.jsp(8,5) name = test type = boolean reqTime = true required = true fragment =
   // false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature =
   // null
   _jspx_th_c_005fif_005f1.setTest(
       ((java.lang.Boolean)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${fn:contains(menu.link, \"/admin/\")}",
                   java.lang.Boolean.class,
                   (javax.servlet.jsp.PageContext) _jspx_page_context,
                   _jspx_fnmap_0,
                   false))
           .booleanValue());
   int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
   if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\r\n");
       out.write("\t\t\t\t\t\t<li>\r\n");
       out.write("\t\t\t\t\t\t\t<a class='");
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${(pageContext.request.requestURI eq menu.link) ? \"currentPage\" : \"\"}",
                   java.lang.String.class,
                   (javax.servlet.jsp.PageContext) _jspx_page_context,
                   null,
                   false));
       out.write("' href=\"");
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${menu.link}",
                   java.lang.String.class,
                   (javax.servlet.jsp.PageContext) _jspx_page_context,
                   null,
                   false));
       out.write('"');
       out.write('>');
       out.write(
           (java.lang.String)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${menu.name}",
                   java.lang.String.class,
                   (javax.servlet.jsp.PageContext) _jspx_page_context,
                   null,
                   false));
       out.write("</a>\r\n");
       out.write("\t\t\t\t\t\t</li>\r\n");
       out.write("\t\t\t\t\t");
       int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
   return false;
 }
Esempio n. 7
0
  public void _jspService(
      final javax.servlet.http.HttpServletRequest request,
      final javax.servlet.http.HttpServletResponse response)
      throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;

    try {
      response.setContentType("text/html;charset=utf-8");
      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');
      out.write('\n');
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" ");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
      out.write("<html>\r\n");
      out.write("\t<head>\r\n");
      out.write("\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("\t\t<title>角色管理</title>\r\n");
      out.write("\t\t<script type=\"text/javascript\" src=\"");
      out.print(request.getContextPath());
      out.write("/scripts/lib-base.jsp\"></script>\r\n");
      out.write("\t</head>\r\n");
      out.write("\t<body>\r\n");
      out.write("\t\t");
      out.write("\r\n");
      out.write("<div id=\"left\">\r\n");
      out.write("\t<div class=\"innertube\">\r\n");
      out.write("\t\t<h1 class=\"head\">后台管理</h1>\r\n");
      out.write("\t\t<ul class=\"navigation\">\r\n");
      out.write("\t\t\t");
      if (_jspx_meth_c_005fforEach_005f0(_jspx_page_context)) return;
      out.write("\r\n");
      out.write("\t\t</ul>\r\n");
      out.write("\t\t<div class=\"bottom_menu\">\r\n");
      out.write("\t\t\t<ul class=\"navigation\">\r\n");
      out.write("\t\t\t\t<li>\r\n");
      out.write("\t\t\t\t\t<a href=\"../\" class=\"beright\">返回主菜单</a>\r\n");
      out.write("\t\t\t\t</li>\r\n");
      out.write("\t\t\t</ul>\r\n");
      out.write("\t\t</div>\r\n");
      out.write("\t</div>\r\n");
      out.write("</div>");
      out.write("\r\n");
      out.write("\t\t<div id=\"page\">\r\n");
      out.write("\t\t\t");
      out.write("\r\n");
      out.write("<div id=\"head\">\r\n");
      out.write("\t<div class=\"innertube\">\r\n");
      out.write("\t\t");
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f2 =
          (org.apache.taglibs.standard.tag.rt.core.IfTag)
              _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
                  org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f2.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f2.setParent(null);
      // /admin/../top.jsp(4,2) name = test type = boolean reqTime = true required = true fragment =
      // false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature
      // = null
      _jspx_th_c_005fif_005f2.setTest(
          ((java.lang.Boolean)
                  org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                      "${sessionScope.user ne NULL}",
                      java.lang.Boolean.class,
                      (javax.servlet.jsp.PageContext) _jspx_page_context,
                      null,
                      false))
              .booleanValue());
      int _jspx_eval_c_005fif_005f2 = _jspx_th_c_005fif_005f2.doStartTag();
      if (_jspx_eval_c_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("\t\t\t<span><a href=\"");
          out.print(request.getContextPath());
          out.write("/\">首页</a></span>\r\n");
          out.write("\t\t\t<span style=\"float: right;\"> 欢迎您:<font color=\"green\">");
          out.write(
              (java.lang.String)
                  org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                      "${sessionScope.user.userName}",
                      java.lang.String.class,
                      (javax.servlet.jsp.PageContext) _jspx_page_context,
                      null,
                      false));
          out.write("</font>, \r\n");
          out.write("\t\t\t\t<a href=\"");
          out.print(request.getContextPath());
          out.write("/j_security_logout.html\">退出系统</a> </span>\r\n");
          out.write("\t\t");
          int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
      out.write("\r\n");
      out.write("\t\t");
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f3 =
          (org.apache.taglibs.standard.tag.rt.core.IfTag)
              _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
                  org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_005fif_005f3.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f3.setParent(null);
      // /admin/../top.jsp(9,2) name = test type = boolean reqTime = true required = true fragment =
      // false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature
      // = null
      _jspx_th_c_005fif_005f3.setTest(
          ((java.lang.Boolean)
                  org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                      "${sessionScope.user eq NULL}",
                      java.lang.Boolean.class,
                      (javax.servlet.jsp.PageContext) _jspx_page_context,
                      null,
                      false))
              .booleanValue());
      int _jspx_eval_c_005fif_005f3 = _jspx_th_c_005fif_005f3.doStartTag();
      if (_jspx_eval_c_005fif_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
          out.write("\t\t\t<span> &nbsp; </span>\r\n");
          out.write("\t\t\t<span style=\"float: right;\"> <a href=\"");
          out.print(request.getContextPath());
          out.write("/login.html\">登录</a></span>\r\n");
          out.write("\t\t");
          int evalDoAfterBody = _jspx_th_c_005fif_005f3.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
        return;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
      out.write("\r\n");
      out.write("\t\t<hr style=\"clear: both;\" />\r\n");
      out.write("\t</div>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("\t\t\t<div id=\"main\">\r\n");
      out.write("\t\t\t\t<script type=\"text/javascript\" charset=\"utf-8\">\r\n");
      out.write("\t\t\t\t\tvar t = null;\r\n");
      out.write("\t\t\t\t\t$(function() {\r\n");
      out.write("\t\t\t\t\t\tt = new SimpleTable(\"roleQueryTable\", {\r\n");
      out.write("\t\t\t\t\t\t\tpageSize : 10,\r\n");
      out.write("\t\t\t\t\t\t\tparam : 'searchDiv',\r\n");
      out.write("\t\t\t\t\t\t\turl : '");
      out.print(request.getContextPath());
      out.write("/admin/role_query.html',\r\n");
      out.write("\t\t\t\t\t\t\tsortables : [\"name\"],\r\n");
      out.write("\t\t\t\t\t\t\tcheckMode : 'single',\r\n");
      out.write("\t\t\t\t\t\t\tpagingOptions : {\r\n");
      out.write("\t\t\t\t\t\t\t\tfirst : true,\r\n");
      out.write("\t\t\t\t\t\t\t\tend : true,\r\n");
      out.write("\t\t\t\t\t\t\t\tgo : true,\r\n");
      out.write("\t\t\t\t\t\t\t\tfirstHtml : '<a href=\"#\">首页</a>',\r\n");
      out.write("\t\t\t\t\t\t\t\tlastHtml : '<a href=\"#\">上一页</a>',\r\n");
      out.write("\t\t\t\t\t\t\t\tnextHtml : '<a href=\"#\">下一页</a>',\r\n");
      out.write("\t\t\t\t\t\t\t\tendHtml : '<a href=\"#\">尾页</a>'\r\n");
      out.write("\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t//checkMode : 'single',\r\n");
      out.write("\t\t\t\t\t\t\t// scrollX : true,\r\n");
      out.write("\t\t\t\t\t\t\tcolumns : {\r\n");
      out.write("\t\t\t\t\t\t\t\tcheckbox : {\r\n");
      out.write("\t\t\t\t\t\t\t\t\twidth : '3%'\r\n");
      out.write("\t\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\tname : {\r\n");
      out.write("\t\t\t\t\t\t\t\t\theader : '角色名称',\r\n");
      out.write("\t\t\t\t\t\t\t\t\twidth : '15%'\r\n");
      out.write("\t\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\tcode : {\r\n");
      out.write("\t\t\t\t\t\t\t\t\theader : '角色代码',\r\n");
      out.write("\t\t\t\t\t\t\t\t\twidth : '28%'\r\n");
      out.write("\t\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\tdescription : {\r\n");
      out.write("\t\t\t\t\t\t\t\t\theader : '角色描述',\r\n");
      out.write("\t\t\t\t\t\t\t\t\twidth : '38%'\r\n");
      out.write("\t\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\tdisabled : {\r\n");
      out.write("\t\t\t\t\t\t\t\t\theader : '是否禁用',\r\n");
      out.write("\t\t\t\t\t\t\t\t\twidth : '10%'\r\n");
      out.write("\t\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\tops : {\r\n");
      out.write("\t\t\t\t\t\t\t\t\theader : '操作',\r\n");
      out.write("\t\t\t\t\t\t\t\t\twidth : '6%'\r\n");
      out.write("\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\tformatters : {\r\n");
      out.write("\t\t\t\t\t\t\t\tdisabled : function(v, obj) {\r\n");
      out.write("\t\t\t\t\t\t\t\t\tif(v) {\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\treturn '<font color=\"red\">已禁用</font>';\r\n");
      out.write("\t\t\t\t\t\t\t\t\t} else {\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\treturn '<font color=\"green\">未禁用</font>';\r\n");
      out.write("\t\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\tops : function(v, obj) {\r\n");
      out.write("\t\t\t\t\t\t\t\t\tvar html = '';\r\n");
      out.write(
          "\t\t\t\t\t\t\t\t\thtml += \"<a href='javascript:doEdit(\" + obj.id + \");'>修改</a>\";\r\n");
      out.write("\t\t\t\t\t\t\t\t\treturn html;\r\n");
      out.write("\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\tinfo : {\r\n");
      out.write("\t\t\t\t\t\t\t\t//pageSizeSelect:'', //不显示此控件\r\n");
      out.write("\t\t\t\t\t\t\t\tpageSizeSelect : '显示{0}条记录',\r\n");
      out.write("\t\t\t\t\t\t\t\tpagingInfo : '目前显示{0}-{1}条记录,共计:{2}'\r\n");
      out.write("\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t});\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\t\t$('#role_add_form_div').dialog({\r\n");
      out.write("\t\t\t\t\t\t\tdraggable : true,\r\n");
      out.write("\t\t\t\t\t\t\ttitle : '添加/修改角色',\r\n");
      out.write("\t\t\t\t\t\t\twidth : 620,\r\n");
      out.write("\t\t\t\t\t\t\tmodal : true,\r\n");
      out.write(
          "\t\t\t\t\t\t\t// position:'center', 'left', 'right', 'top', 'bottom'.  or [350,100]\r\n");
      out.write("\t\t\t\t\t\t\tresizable : false,\r\n");
      out.write("\t\t\t\t\t\t\tdraggable : true,\r\n");
      out.write("\t\t\t\t\t\t\tautoOpen : false,\r\n");
      out.write("\t\t\t\t\t\t\t// show:'slide',\r\n");
      out.write("\t\t\t\t\t\t\theight : 210,\r\n");
      out.write("\t\t\t\t\t\t\tbuttons : {\r\n");
      out.write("\t\t\t\t\t\t\t\t\"OK\" : function() {\r\n");
      out.write("\t\t\t\t\t\t\t\t\tajaxSubmitForm(\"role_add_form\", editCallback);\r\n");
      out.write("\t\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\t\"Cancel\" : function() {\r\n");
      out.write(
          "\t\t\t\t\t\t\t\t\t$(\"#role_add_form input[name='code']\").attr(\"disabled\", false);\r\n");
      out.write("\t\t\t\t\t\t\t\t\t$(this).dialog(\"close\");\r\n");
      out.write("\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t});\r\n");
      out.write("\t\t\t\t\t});\r\n");
      out.write("\t\t\t\t\tfunction editCallback() {\r\n");
      out.write(
          "\t\t\t\t\t\t$(\"#role_add_form input[name='code']\").attr(\"disabled\", false);\r\n");
      out.write("\t\t\t\t\t\tt.doSearch();\r\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\tfunction doEdit(id) {\r\n");
      out.write("\t\t\t\t\t\tdoGetAjax(\"");
      out.print(request.getContextPath());
      out.write(
          "/admin/role/\" + id + \".html\", '', function(data, textStatus, XMLHttpRequest) {\r\n");
      out.write("\t\t\t\t\t\t\tfillForm(\"role_add_form\", data);\r\n");
      out.write(
          "\t\t\t\t\t\t\t$(\"#role_add_form input[name='code']\").attr(\"disabled\", true);\r\n");
      out.write("\t\t\t\t\t\t\t$(\"#role_add_form_div\").dialog(\"open\");\r\n");
      out.write("\t\t\t\t\t\t});\r\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t</script>\r\n");
      out.write("\t\t\t\t<div id=\"searchDiv\" style=\"width: 90%;\">\r\n");
      out.write("\t\t\t\t\t<table width=\"100%\">\r\n");
      out.write("\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t<td width=\"20%\">角色名称:</td><td width=\"30%\">\r\n");
      out.write("\t\t\t\t\t\t\t<input name=\"name\" />\r\n");
      out.write("\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td width=\"20%\">角色代码:</td><td width=\"30%\">\r\n");
      out.write("\t\t\t\t\t\t\t<input name=\"code\" />\r\n");
      out.write("\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t</table>\r\n");
      out.write("\t\t\t\t</div>\r\n");
      out.write("\t\t\t\t<div style=\"text-align: right;\">\r\n");
      out.write("\t\t\t\t\t<input type=\"button\" id=\"searchButton\" value=\"查询\" />\r\n");
      out.write("\t\t\t\t\t<script type='text/javascript'>\r\n");
      out.write("\t\t\t\t\t\t$(\"#searchButton\").click(function() {\r\n");
      out.write("\t\t\t\t\t\t\tt.doSearch();\r\n");
      out.write("\t\t\t\t\t\t});\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\t</script>\r\n");
      out.write("\t\t\t\t</div>\r\n");
      out.write("\t\t\t\t<div>\r\n");
      out.write("\t\t\t\t\t<script type=\"text/javascript\">\r\n");
      out.write("\t\t\t\t\t\tfunction showAddForm() {\r\n");
      out.write("\t\t\t\t\t\t\tdocument.forms['role_add_form'].reset();\r\n");
      out.write("\t\t\t\t\t\t\tvar dialog = $('#role_add_form_div').dialog(\"open\");\r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\t\tfunction assignAuthorities() {\r\n");
      out.write("\t\t\t\t\t\t\tvar ids = t.getSelected();\r\n");
      out.write("\t\t\t\t\t\t\tif(ids.length == 0 || ids.length > 1) {\r\n");
      out.write("\t\t\t\t\t\t\t\tshowMsg(\"<font colo='red'>请选择一条记录!</font>\");\r\n");
      out.write("\t\t\t\t\t\t\t} else {\r\n");
      out.write(
          "\t\t\t\t\t\t\t\tvar selector = new MultiSelector(\"authority_multiselector\", {\r\n");
      out.write("\t\t\t\t\t\t\t\t\turl : \"");
      out.print(request.getContextPath());
      out.write("/admin/role/assign/\" + ids[0] + \".html\",\r\n");
      out.write("\t\t\t\t\t\t\t\t\tallData : 'available',\r\n");
      out.write("\t\t\t\t\t\t\t\t\tselectedData : 'selected',\r\n");
      out.write("\t\t\t\t\t\t\t\t\tvalueFiled : \"id\",\r\n");
      out.write("\t\t\t\t\t\t\t\t\tdisplayField : \"name\",\r\n");
      out.write("\t\t\t\t\t\t\t\t\tselectorHeight : '240px',\r\n");
      out.write("\t\t\t\t\t\t\t\t\tautoLoad : true\r\n");
      out.write("\t\t\t\t\t\t\t\t});\r\n");
      out.write("\t\t\t\t\t\t\t\t$(\"#authority_multiselector\").dialog({\r\n");
      out.write("\t\t\t\t\t\t\t\t\ttitle : '为角色分配权限',\r\n");
      out.write("\t\t\t\t\t\t\t\t\tmodal : true,\r\n");
      out.write("\t\t\t\t\t\t\t\t\twidth : 390,\r\n");
      out.write("\t\t\t\t\t\t\t\t\theight : 360,\r\n");
      out.write("\t\t\t\t\t\t\t\t\tclose : function() {\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t$(this).empty();\r\n");
      out.write("\t\t\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\t\tbuttons : {\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\"确认\" : function() {\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t$(this).dialog(\"close\");\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\tvar authorities = selector.val();\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\tconfirmAssignAuthority(ids[0], authorities);\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\"取消\" : function() {\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\t$(this).dialog(\"close\");\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t\t});\r\n");
      out.write("\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t\t\tfunction confirmAssignAuthority(id, authorities) {\r\n");
      out.write("\t\t\t\t\t\t\tdoPostAjax(\"");
      out.print(request.getContextPath());
      out.write(
          "/admin/assignAuthority.html\", 'id=' + id + \"&authorities=\" + authorities, function(data, textStatus, XMLHttpRequest) {\r\n");
      out.write("\t\t\t\t\t\t\t\tshowMsg(data);\r\n");
      out.write("\t\t\t\t\t\t\t});\r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t</script>\r\n");
      out.write("\t\t\t\t\t</script> <a href=\"javascript:showAddForm();\">添加新角色</a>\r\n");
      out.write("\t\t\t\t\t&nbsp;&nbsp; <a href=\"javascript:assignAuthorities();\">分配权限</a>\r\n");
      out.write("\t\t\t\t\t&nbsp;&nbsp; <a href=\"javascript:assignMenus();\">分配菜单</a>\r\n");
      out.write("\t\t\t\t\t<br />\r\n");
      out.write("\t\t\t\t\t<br/>\r\n");
      out.write("\t\t\t\t</div>\r\n");
      out.write("\t\t\t\t<div id=\"tableDiv\" style=\"width: 100%;\">\r\n");
      out.write("\t\t\t\t\t<table id=\"roleQueryTable\"></table>\r\n");
      out.write("\t\t\t\t</div>\r\n");
      out.write("\t\t\t</div>\r\n");
      out.write("\t\t\t<div id=\"role_add_form_div\" style=\"display: none;\">\r\n");
      out.write("\t\t\t\t<form id=\"role_add_form\" action=\"");
      out.print(request.getContextPath());
      out.write("/admin/role_edit.html\"  method=\"post\">\r\n");
      out.write("\t\t\t\t\t<input type=\"text\" style=\"display: none;\" name=\"id\" />\r\n");
      out.write("\t\t\t\t\t<table>\r\n");
      out.write("\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t<td>角色名称:</td><td>\r\n");
      out.write("\t\t\t\t\t\t\t<input type=\"text\" name=\"name\" />\r\n");
      out.write("\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td>角色代码:</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td>\r\n");
      out.write("\t\t\t\t\t\t\t<input type=\"text\" name=\"code\" />\r\n");
      out.write("\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t<td>是否禁用:</td><td colspan=\"3\">\r\n");
      out.write(
          "\t\t\t\t\t\t\t<input id=\"disabled_true\" type=\"radio\" name=\"disabled\" value=\"true\" />\r\n");
      out.write("\t\t\t\t\t\t\t<label for=\"disabled_true\">禁用</label>\r\n");
      out.write(
          "\t\t\t\t\t\t\t<input id=\"disabled_false\" type=\"radio\" name=\"disabled\" checked=\"checked\" value=\"false\" />\r\n");
      out.write("\t\t\t\t\t\t\t<label for=\"disabled_false\">不禁用</label></td>\r\n");
      out.write("\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t\t<tr>\r\n");
      out.write("\t\t\t\t\t\t\t<td>角色描述:</td>\r\n");
      out.write("\t\t\t\t\t\t\t<td colspan=\"3\">\r\n");
      out.write("\t\t\t\t\t\t\t<input type=\"text\" size=\"54\" name=\"description\"/>\r\n");
      out.write("\t\t\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t\t\t</tr>\r\n");
      out.write("\t\t\t\t\t</table>\r\n");
      out.write("\t\t\t\t</form>\r\n");
      out.write("\t\t\t</div>\r\n");
      out.write("\t\t\t<div id=\"authority_multiselector\"></div>\r\n");
      out.write("\t\t\t<div id=\"menus_selector\">\r\n");
      out.write("\t\t\t\t<ul id=\"menuTree\" class=\"ztree\"/>\r\n");
      out.write("\t\t\t</div>\r\n");
      out.write("\t\t\t<script type=\"text/javascript\">\r\n");
      out.write("\t\t\t\tvar zTree;\r\n");
      out.write("\t\t\t\tvar setting = {\r\n");
      out.write("\t\t\t\t\tasync : {\r\n");
      out.write("\t\t\t\t\t\tenable : true,\r\n");
      out.write("\t\t\t\t\t\turl : \"");
      out.print(request.getContextPath());
      out.write("/admin/role/menu/get.ajax\",\r\n");
      out.write("\t\t\t\t\t\tautoParam : [\"id\"],\r\n");
      out.write("\t\t\t\t\t\totherParam : {\r\n");
      out.write("\t\t\t\t\t\t\t// \"otherParam\" : \"zTreeAsyncTest\"\r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\tcallback : {\r\n");
      out.write("\t\t\t\t\t\tbeforeExpand : beforeExpand,\r\n");
      out.write("\t\t\t\t\t\tonExpand : onExpand,\r\n");
      out.write("\t\t\t\t\t\tonClick : onClick\r\n");
      out.write("\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\tcheck : {\r\n");
      out.write("\t\t\t\t\t\tenable : true\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t};\r\n");
      out.write("\t\t\t\tvar curExpandNode = null;\r\n");
      out.write("\t\t\t\tfunction beforeExpand(treeId, treeNode) {\r\n");
      out.write("\t\t\t\t\tvar pNode = curExpandNode ? curExpandNode.getParentNode() : null;\r\n");
      out.write(
          "\t\t\t\t\tvar treeNodeP = treeNode.parentTId ? treeNode.getParentNode() : null;\r\n");
      out.write(
          "\t\t\t\t\tfor(var i = 0, l = !treeNodeP ? 0 : treeNodeP.children.length; i < l; i++) {\r\n");
      out.write("\t\t\t\t\t\tif(treeNode !== treeNodeP.children[i]) {\r\n");
      out.write("\t\t\t\t\t\t\tzTree.expandNode(treeNodeP.children[i], false);\r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\twhile(pNode) {\r\n");
      out.write("\t\t\t\t\t\tif(pNode === treeNode) {\r\n");
      out.write("\t\t\t\t\t\t\tbreak;\r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\tpNode = pNode.getParentNode();\r\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\tif(!pNode) {\r\n");
      out.write("\t\t\t\t\t\tsinglePath(treeNode);\r\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\t\tfunction singlePath(newNode) {\r\n");
      out.write("\t\t\t\t\tif(newNode === curExpandNode)\r\n");
      out.write("\t\t\t\t\t\treturn;\r\n");
      out.write("\t\t\t\t\tif(curExpandNode && curExpandNode.open == true) {\r\n");
      out.write("\t\t\t\t\t\tif(newNode.parentTId === curExpandNode.parentTId) {\r\n");
      out.write("\t\t\t\t\t\t\tzTree.expandNode(curExpandNode, false);\r\n");
      out.write("\t\t\t\t\t\t} else {\r\n");
      out.write("\t\t\t\t\t\t\tvar newParents = [];\r\n");
      out.write("\t\t\t\t\t\t\twhile(newNode) {\r\n");
      out.write("\t\t\t\t\t\t\t\tnewNode = newNode.getParentNode();\r\n");
      out.write("\t\t\t\t\t\t\t\tif(newNode === curExpandNode) {\r\n");
      out.write("\t\t\t\t\t\t\t\t\tnewParents = null;\r\n");
      out.write("\t\t\t\t\t\t\t\t\tbreak;\r\n");
      out.write("\t\t\t\t\t\t\t\t} else if(newNode) {\r\n");
      out.write("\t\t\t\t\t\t\t\t\tnewParents.push(newNode);\r\n");
      out.write("\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\tif(newParents != null) {\r\n");
      out.write("\t\t\t\t\t\t\t\tvar oldNode = curExpandNode;\r\n");
      out.write("\t\t\t\t\t\t\t\tvar oldParents = [];\r\n");
      out.write("\t\t\t\t\t\t\t\twhile(oldNode) {\r\n");
      out.write("\t\t\t\t\t\t\t\t\toldNode = oldNode.getParentNode();\r\n");
      out.write("\t\t\t\t\t\t\t\t\tif(oldNode) {\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\toldParents.push(oldNode);\r\n");
      out.write("\t\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t\tif(newParents.length > 0) {\r\n");
      out.write(
          "\t\t\t\t\t\t\t\t\tfor(var i = Math.min(newParents.length, oldParents.length) - 1; i >= 0; i--) {\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\tif(newParents[i] !== oldParents[i]) {\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\tzTree.expandNode(oldParents[i], false);\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n");
      out.write("\t\t\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t\t} else {\r\n");
      out.write(
          "\t\t\t\t\t\t\t\t\tzTree.expandNode(oldParents[oldParents.length - 1], false);\r\n");
      out.write("\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\tcurExpandNode = newNode;\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\t\tfunction onExpand(event, treeId, treeNode) {\r\n");
      out.write("\t\t\t\t\tcurExpandNode = treeNode;\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\t\tfunction onClick(e, treeId, treeNode) {\r\n");
      out.write("\t\t\t\t\tvar zTree = $.fn.zTree.getZTreeObj(\"treeDemo\");\r\n");
      out.write("\t\t\t\t\tzTree.expandNode(treeNode, null, null, null, true);\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\t\t$(function() {\r\n");
      out.write("\t\t\t\t\t$('#menus_selector').dialog({\r\n");
      out.write("\t\t\t\t\t\tdraggable : true,\r\n");
      out.write("\t\t\t\t\t\ttitle : '分配菜单',\r\n");
      out.write("\t\t\t\t\t\twidth : 430,\r\n");
      out.write("\t\t\t\t\t\theight : \"auto\",\r\n");
      out.write("\t\t\t\t\t\tmodal : true,\r\n");
      out.write(
          "\t\t\t\t\t\t// position:'center', 'left', 'right', 'top', 'bottom'.  or [350,100]\r\n");
      out.write("\t\t\t\t\t\tresizable : false,\r\n");
      out.write("\t\t\t\t\t\tautoOpen : false,\r\n");
      out.write("\t\t\t\t\t\t// show:'slide',\r\n");
      out.write("\t\t\t\t\t\tbuttons : {\r\n");
      out.write("\t\t\t\t\t\t\t\"OK\" : function() {\r\n");
      out.write("\t\t\t\t\t\t\t\tvar ids = t.getSelected();\r\n");
      out.write("\t\t\t\t\t\t\t\tvar changeds = zTree.getChangeCheckedNodes();\r\n");
      out.write("\t\t\t\t\t\t\t\tvar menus = '';\r\n");
      out.write("\t\t\t\t\t\t\t\tfor(var i = 0; i < changeds.length; i++) {\r\n");
      out.write("\t\t\t\t\t\t\t\t\tmenus += (changeds[i].id + \",\");\r\n");
      out.write("\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t\tconfirmAssignMenus(ids[0], menus);\r\n");
      out.write("\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\"Cancel\" : function() {\r\n");
      out.write("\t\t\t\t\t\t\t\t$(this).dialog(\"close\");\r\n");
      out.write("\t\t\t\t\t\t\t},\r\n");
      out.write("\t\t\t\t\t\t\t\"Close\" : function() {\r\n");
      out.write("\t\t\t\t\t\t\t\t$(this).dialog(\"close\");\r\n");
      out.write("\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t});\r\n");
      out.write("\t\t\t\t});\r\n");
      out.write("\t\t\t\tfunction assignMenus() {\r\n");
      out.write("\t\t\t\t\tvar ids = t.getSelected();\r\n");
      out.write("\t\t\t\t\tif(ids.length == 0 || ids.length > 1) {\r\n");
      out.write("\t\t\t\t\t\tshowMsg(\"<font colo='red'>请选择一条记录!</font>\");\r\n");
      out.write("\t\t\t\t\t} else {\r\n");
      out.write("\t\t\t\t\t\tsetting.async.otherParam['roleId'] = ids;\r\n");
      out.write("\t\t\t\t\t\tzTree = $.fn.zTree.init($(\"#menuTree\"), setting);\r\n");
      out.write("\t\t\t\t\t\t$('#menus_selector').dialog(\"open\");\r\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\t\tfunction confirmAssignMenus(id, menus) {\r\n");
      out.write("\t\t\t\t\tdoPostAjax(\"");
      out.print(request.getContextPath());
      out.write(
          "/admin/role/assignMenu.ajax\", 'id=' + id + \"&menus=\" + menus, function(data, textStatus, XMLHttpRequest) {\r\n");
      out.write("\t\t\t\t\t\tshowMsg(data);\r\n");
      out.write("\t\t\t\t\t\tzTree.refresh();\r\n");
      out.write("\t\t\t\t\t});\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\t\t\t</script>\r\n");
      out.write("\t\t\t");
      out.write("\r\n");
      out.write("<div id=\"foot\" class=\"noprint\">\r\n");
      out.write("\t<div style=\"text-align: center;\">\r\n");
      out.write("\t\t© Copyright 2012 Hymer. All Rights Reserved.\r\n");
      out.write("\t</div>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("\t\t</div>\r\n");
      out.write("\t</body>\r\n");
      out.write("</html>\r\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)) {
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            out.clearBuffer();
          } catch (java.io.IOException e) {
          }
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
 private boolean _jspx_meth_c_005fif_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
     throws java.lang.Throwable {
   javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
   javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
   //  c:if
   org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 =
       (org.apache.taglibs.standard.tag.rt.core.IfTag)
           _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
               org.apache.taglibs.standard.tag.rt.core.IfTag.class);
   _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
   _jspx_th_c_005fif_005f1.setParent(null);
   // /WEB-INF/jsp/layouts/shortCutHead-m.jsp(25,6) name = test type = boolean reqTime = true
   // required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod
   // = false methodSignature = null
   _jspx_th_c_005fif_005f1.setTest(
       ((java.lang.Boolean)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${command.showShortCut==0}",
                   java.lang.Boolean.class,
                   (javax.servlet.jsp.PageContext) _jspx_page_context,
                   null,
                   false))
           .booleanValue());
   int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
   if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\r\n");
       out.write("      \r\n");
       out.write("\t\t<div class=\"sy-ibar close\">\r\n");
       out.write(
           "\t\t<div id=\"snIbarMask\" class=\"sy-ibar-mask hide\" onclick=\"this.parentNode.className.indexOf('open')>-1? this.parentNode.className = this.parentNode.className.replace('open','close'):this.parentNode.className = this.parentNode.className.replace('close','open');\"></div>\r\n");
       out.write(
           "\t\t<div id=\"snIbarToggle\" class=\"sy-ibar-toggle\" onclick=\"this.parentNode.className.indexOf('open')>-1? this.parentNode.className = this.parentNode.className.replace('open','close'):this.parentNode.className = this.parentNode.className.replace('close','open');\">\r\n");
       out.write("\t\t\t<div class=\"hline\"></div>\r\n");
       out.write("\t\t\t<div class=\"vline\"></div>\r\n");
       out.write("\t\t</div>\r\n");
       out.write(
           "\t\t<div id=\"flyout\" class=\"sy-ibar-wrap\" onclick=\"this.parentNode.className.indexOf('open')>-1? this.parentNode.className = this.parentNode.className.replace('open','close'):this.parentNode.className = this.parentNode.className.replace('close','open');\">\r\n");
       out.write("\t\t\t<a class=\"item\" href=\"/vistorMall/getVisitorAd\">\r\n");
       out.write("\t\t\t\t<i class=\"fa fa-home\"></i>\r\n");
       out.write("\t\t\t</a>\r\n");
       out.write("\r\n");
       out.write("\t\t</div>\r\n");
       out.write("\t</div>\r\n");
       out.write("<script>\r\n");
       out.write("\t\r\n");
       out.write(" $.ajax({\r\n");
       out.write("        url: '/getShortCut',\r\n");
       out.write("        dataType: \"text\",\r\n");
       out.write("        type: 'GET',\r\n");
       out.write("        success: function(result){\r\n");
       out.write("        \tconsole.log(result)\r\n");
       out.write("        \tdocument.getElementById(\"flyout\").innerHTML+=result;\r\n");
       out.write("        \t}\r\n");
       out.write("    });\r\n");
       out.write("\r\n");
       out.write("            $('#flyout-btn,#mask').click(function() {\r\n");
       out.write("                $('#mask').height(document.body.clientHeight);\r\n");
       out.write("                $('.flyout-btn').toggleClass('btn-rotate');\r\n");
       out.write("                $('.flyout').find('a').removeClass();\r\n");
       out.write(
           "                $('.flyout').removeClass('flyout-init fade').toggleClass('expand');\r\n");
       out.write("                $('#mask').toggle();\r\n");
       out.write("            });\r\n");
       out.write("            $('#flyout').find('a').click(function() {\r\n");
       out.write("                $('.flyout-btn').toggleClass('btn-rotate');\r\n");
       out.write("                $('.flyout').removeClass('expand').addClass('fade');\r\n");
       out.write("                $(this).addClass('clicked');\r\n");
       out.write("                $('#mask').toggle();\r\n");
       out.write("            });\r\n");
       out.write("         \r\n");
       out.write("</script>\r\n");
       out.write("\r\n");
       int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
   return false;
 }
 private boolean _jspx_meth_c_005fif_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
     throws java.lang.Throwable {
   javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
   javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
   //  c:if
   org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 =
       (org.apache.taglibs.standard.tag.rt.core.IfTag)
           _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(
               org.apache.taglibs.standard.tag.rt.core.IfTag.class);
   _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
   _jspx_th_c_005fif_005f1.setParent(null);
   // /WEB-INF/jsp/layouts/shortCutHead.jsp(25,6) name = test type = boolean reqTime = true
   // required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod
   // = false methodSignature = null
   _jspx_th_c_005fif_005f1.setTest(
       ((java.lang.Boolean)
               org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(
                   "${command.showShortCut==0}",
                   java.lang.Boolean.class,
                   (javax.servlet.jsp.PageContext) _jspx_page_context,
                   null,
                   false))
           .booleanValue());
   int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
   if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
     do {
       out.write("\r\n");
       out.write(
           "      <div id=\"navBtn\"><span id=\"icon-navBtn\" class=\"icon\"></span></div>\r\n");
       out.write("\t\t<div id=\"navfield\">\r\n");
       out.write(
           "  <div class=\"flyout-wrap\"> <a id=\"flyout-btn\" class=\"flyout-btn btn-rotate\" href=\"javascript:void(0);\" title=\"Toggle\"><span></span></a>\r\n");
       out.write("    <ul id=\"flyout\" class=\"flyout flyout-init\">  \r\n");
       out.write(
           "      <li><a href=\"/vistorMall/getVisitorAd\" ><i class=\"fa fa-home\"></i></a></li>\r\n");
       out.write("    </ul>\r\n");
       out.write("    \r\n");
       out.write("    \r\n");
       out.write("    <li><a href='javascript:void(0)'><i class='fa fa-home' ></i>\r\n");
       out.write("    </a>\r\n");
       out.write("    </li>\r\n");
       out.write(
           "    <li><a href=' http://apis.map.qq.com/uri/v1/marker?marker=coord:32.026706,118.751736;title:shop'><i class='fa fa-book' ></i></a></li>\r\n");
       out.write(
           "    <li><a href='javascript:void(0)'><i class='fa fa-camera' ></i></a></li>\r\n");
       out.write("    \r\n");
       out.write("    \r\n");
       out.write("  </div>\r\n");
       out.write("</div>\r\n");
       out.write("<div id=\"mask\"></div>\r\n");
       out.write("<script>\r\n");
       out.write("\t\r\n");
       out.write(" $.ajax({\r\n");
       out.write("        url: '/getShortCut',\r\n");
       out.write("        dataType: \"text\",\r\n");
       out.write("        type: 'GET',\r\n");
       out.write("        success: function(result){\r\n");
       out.write("        \tconsole.log(result)\r\n");
       out.write("        \tdocument.getElementById(\"flyout\").innerHTML+=result;\r\n");
       out.write("        \t}\r\n");
       out.write("    });\r\n");
       out.write("\r\n");
       out.write("            $('#flyout-btn,#mask').click(function() {\r\n");
       out.write("                $('#mask').height(document.body.clientHeight);\r\n");
       out.write("                $('.flyout-btn').toggleClass('btn-rotate');\r\n");
       out.write("                $('.flyout').find('a').removeClass();\r\n");
       out.write(
           "                $('.flyout').removeClass('flyout-init fade').toggleClass('expand');\r\n");
       out.write("                $('#mask').toggle();\r\n");
       out.write("            });\r\n");
       out.write("            $('#flyout').find('a').click(function() {\r\n");
       out.write("                $('.flyout-btn').toggleClass('btn-rotate');\r\n");
       out.write("                $('.flyout').removeClass('expand').addClass('fade');\r\n");
       out.write("                $(this).addClass('clicked');\r\n");
       out.write("                $('#mask').toggle();\r\n");
       out.write("            });\r\n");
       out.write("         \r\n");
       out.write("</script>\r\n");
       out.write("\r\n");
       int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
       if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) break;
     } while (true);
   }
   if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
     _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
     return true;
   }
   _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
   return false;
 }