/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2021-09-23 01:46:13 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import wiseoa.*;
import wiseoa.util.*;
import wiseoa.mail.jstl.*;
import java.util.*;
import java.net.*;
import java.sql.*;
import wiseoa.*;
import wiseoa.util.*;
import wiseoa.mail.jstl.*;

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

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  static {
    _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(1);
    _jspx_dependants.put("/rightverify_login.jsp", Long.valueOf(1517794822543L));
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody;

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

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

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.release();
  }

  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\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

	// æ ¡éªææ OAçæé
	User user_1211 = User.getUserFromRequest(request);

	if (user_1211.getId() < 0) //å¦ææ²¡æç»å½ä¿¡æ¯ï¼é£ä¹çä¸ä¸cookie
	{

		javax.servlet.http.Cookie ck[] = request.getCookies();
		String username_ = "";
		String password_ = "";

		if (ck != null)
		{
			for (int i = 0; i < ck.length; i++)
			{

				if (ck[i].getName().equalsIgnoreCase("username")) username_ = wiseoa.util.Escape.unescape(ck[i].getValue());
				if (ck[i].getName().equalsIgnoreCase("password")) password_ = FF.DecryptString (ck[i].getValue());

			}
		}

		String pass = Login.Validate(username_, password_, "", request, response, getServletContext(), "");
		if (! pass.equals(""))
		{

		 
			String subpath = (String) session.getAttribute("wiseoaappsubpath");
			if (subpath == null) subpath = "";
			response.sendRedirect(subpath + "/SystemTip.jsp?info=" + URLEncoder.encode(pass, "UTF-8"));
			return;
		}
	}

      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" ");

 
     String s=request.getQueryString();
    if ( s==null) s="";
 
     if ( !s.equals("") ) s="?"+s;
     
    FF.pageContextSetAttribute(pageContext,"querystring", s);
 
 
      out.write("\r\n");
      out.write("<!DOCTYPE HTML>\r\n");
      out.write("<HTML>\r\n");
      out.write("  <head><meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n");
      out.write(" \r\n");
      out.write("    <META http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("    <TITLE>人员列表&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TITLE>\r\n");
      out.write("    \r\n");
      out.write("\t<META http-equiv=\"pragma\" content=\"no-cache\">\r\n");
      out.write("\t<META http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
      out.write("\t<META http-equiv=\"expires\" content=\"0\">\r\n");
      out.write("\t\r\n");
      out.write("\t  \r\n");
      out.write("\t<LINK rel=\"stylesheet\" type=\"text/css\" href=\"css/normal.css\">\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write("\t<SCRIPT src=\"tab3/tab.js\" type=\"text/javascript\"></SCRIPT>\r\n");
      out.write("\t<LINK rel=\"stylesheet\" type=\"text/css\" href=\"zbutton/zbutton.css\">\r\n");
      out.write("\t<SCRIPT type=\"text/javascript\" src=\"zbutton/zbutton.js\"></SCRIPT>\r\n");
      out.write("\t<SCRIPT type=\"text/javascript\" src=\"js/jsrsClient_rev.js\"></SCRIPT>\t \r\n");
      out.write("  \r\n");
      out.write("    \r\n");
      out.write("  <STYLE type=\"text/css\">\r\n");
      out.write(" \r\n");
      out.write("body {\r\n");
      out.write("\r\n");
      out.write("\tmargin-left: 5px;\r\n");
      out.write("\tmargin-right: 5px;\r\n");
      out.write("\tmargin-top: 5px;\r\n");
      out.write("\tmargin-bottom: 0px;\r\n");
      out.write("\toverflow:hidden;\r\n");
      out.write("}\r\n");
      out.write(" \r\n");
      out.write(" .aFilter {filter:progid:DXImageTransform.Microsoft.Shadow(Strength=3, color =#d0d0d0 , Direction=135);}\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write("</STYLE></HEAD>\r\n");
      out.write("  \r\n");
      out.write("  <BODY>\r\n");
      out.write("  \r\n");
      out.write("  <SCRIPT language=\"javascript\">\r\n");
      out.write("     var  pw;\r\n");
      out.write("     pw= window.dialogArguments|| window.opener ;\r\n");
      out.write("   \r\n");
      out.write("\r\n");
      out.write("\t var t=new tab( \"t\");\r\n");
      out.write("\t t.addTab('检索人员','tab1','image/search.gif');\r\n");
      out.write("\t t.addTab('选择人员','tab2','image/user.gif');\r\n");
      out.write(" \t  \r\n");
      out.write("\t t.create();\r\n");
      out.write("\t \r\n");
      out.write("\t $E('wisetabcontainer_t').style.width='522px';\r\n");
      out.write("\t \r\n");
      out.write("\t function SelectTemplate(id,name,showname)\r\n");
      out.write("\t {\r\n");
      out.write("\t   var tip= '确信要选择[ '+showname +'　] 吗?';\r\n");
      out.write("\t \tif ( !confirm(tip)) return ;\r\n");
      out.write("\t \t\r\n");
      out.write("\t   \r\n");
      out.write("\t\tpw.SelectUser(id,name,showname );\r\n");
      out.write("\r\n");
      out.write("        window.close();\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\t    //当多选时， 被 userhelp_detail.jsp 回调  \r\n");
      out.write("\tfunction SelectMoreUser(ids, names , shownames)\r\n");
      out.write("\t{\r\n");
      out.write("\r\n");
      out.write("    \r\n");
      out.write("\t \tpw.SelectMoreUser(ids,names,shownames );\r\n");
      out.write("\r\n");
      out.write("        window.close();\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tfunction SelecUserWithoutClose(id , name ,showname )\r\n");
      out.write("\t{\r\n");
      out.write("\t \r\n");
      out.write("\t\tpw.SelectUser(id,name ,showname );\r\n");
      out.write("   \r\n");
      out.write("\t}\t\r\n");
      out.write("\t\r\n");
      out.write("\tfunction Exit()\r\n");
      out.write("\t{\r\n");
      out.write("\t\twindow.close();\r\n");
      out.write("\t}\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" function search()\r\n");
      out.write("  {\r\n");
      out.write("  \tvar key= document.getElementById('key').value;\r\n");
      out.write("  \tif ( key=='') \r\n");
      out.write("  \t{\r\n");
      out.write("  \t\talert('必须输入需要匹配的内容');\r\n");
      out.write("  \t\treturn;\r\n");
      out.write("  \t}\r\n");
      out.write("    \r\n");
      out.write("  \tdocument.getElementById('tab1_frame').contentWindow.search(key);\r\n");
      out.write("  \t  \r\n");
      out.write(" }\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" </SCRIPT>\r\n");
      out.write(" \r\n");
      out.write(" <div  class=\"TABCONTAINER  aFilter \" style=\"width:500px;height:270px\" >\r\n");
      out.write(" <div id=\"tab1\" style=\"width:500px;\">\r\n");
      out.write("   <br>&nbsp;输入姓名/登录名中的一部分，或姓氏拼音首字母后按回车查询：<br>\r\n");
      out.write("   &nbsp;<input  type=\"text\" id='key' size=40 class=\"flatbox\"  onkeydown=\" if ( event.keyCode==13)  search();\">&nbsp;\r\n");
      out.write("   <img src=\"image/SearchResults.gif\" align=\"absmiddle\" class=\"imgbutton\" onclick=\"search();\">\r\n");
      out.write("\t\t<IFRAME    id='tab1_frame'   style=\"width:500px ; height:220px\"  frameborder=0 src='userhelp_detail1.jsp'></IFRAME>\r\n");
      out.write("\t\t</div>\r\n");
      out.write("       <IFRAME    id='tab2'    style=\"width:500px;  height:220px \"  frameborder=0 src='userhelp_detail.jsp");
      if (_jspx_meth_c_005fout_005f0(_jspx_page_context))
        return;
      out.write("'></IFRAME>\r\n");
      out.write("  </div> \r\n");
      out.write("    \r\n");
      out.write("  <SCRIPT language=\"javascript\">\r\n");
      out.write("          t.showTab(\"tab1\"); \r\n");
      out.write("          \r\n");
      out.write("  \r\n");
      out.write(" \t \r\n");
      out.write("   </SCRIPT>\r\n");
      out.write("   \r\n");
      out.write("   <TABLE border=0  style=\"width:340px\">\r\n");
      out.write("     \r\n");
      out.write("    <TR  >\r\n");
      out.write("                   <TD width=\"60%\" height=\"29\">&nbsp;</TD>\r\n");
      out.write("                    \r\n");
      out.write("                   <TD width=\"20%\" align=\"right\">\r\n");
      out.write("\t\t\t\t   \r\n");
      out.write("\t\t\t\t   <input type=\"button\" onclick=\"cb_abort_onclick();\" value='确定'>\r\n");
      out.write("\t\t\t\t   <SCRIPT language=\"javascript\">\r\n");
      out.write("\t\t \t\t\t function cb_abort_onclick()\r\n");
      out.write("\t\t\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t\t\tvar tab1= document.getElementById('tab1');\r\n");
      out.write("\t\t\t\t\t\t\tif ( tab1.style.display==\"\") \r\n");
      out.write("\t\t\t\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t\t\t\ttry\r\n");
      out.write("\t\t\t\t\t\t\t\t{ \r\n");
      out.write("\t\t\t\t\t\t\t      window.frames['tab1_frame'].contentWindow.getAllSelectedUser();\r\n");
      out.write("\t\t\t\t\t\t\t\t}catch(err)\r\n");
      out.write("\t\t\t\t\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t\t\t\t\t window.frames(  'tab1_frame').getAllSelectedUser();\r\n");
      out.write("\t\t\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t\t\t }else\r\n");
      out.write("\t\t\t\t\t\t\t {\r\n");
      out.write("\t\t\t\t\t\t\t\t try\r\n");
      out.write("\t\t\t\t\t\t\t\t { \r\n");
      out.write("\t\t\t\t\t\t\t window.frames['tab2'].contentWindow.getAllSelectedUser();\r\n");
      out.write("\t\t\t\t\t\t\t\t }catch(err)\r\n");
      out.write("\t\t\t\t\t\t\t\t {\r\n");
      out.write("\t\t\t\t\t\t\t\t\t window.frames('tab2').getAllSelectedUser();\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\t \r\n");
      out.write("\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            \r\n");
      out.write("\t\t            \r\n");
      out.write("        \t\t\t</SCRIPT>\r\n");
      out.write("\t\t\t\t   </TD>\r\n");
      out.write("                   <TD width=\"20%\" align=\"right\">\r\n");
      out.write("                     <input type=\"button\" onclick=\"cb_next_onclick();\" value='关闭'>\r\n");
      out.write("\t\t\t       <SCRIPT language=\"javascript\">\r\n");
      out.write("\t\t \t\t\t\tfunction cb_next_onclick()\r\n");
      out.write("\t\t\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t\t   window.close();\r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t \r\n");
      out.write("\t\t  \r\n");
      out.write("        \t\t\t</SCRIPT></TD>\r\n");
      out.write("        \t\t \r\n");
      out.write("                 </TR>\r\n");
      out.write("               </TABLE>\r\n");
      out.write("   \r\n");
      out.write("  </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 {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_c_005fout_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:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f0 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f0.setParent(null);
    // /userhelp.jsp(131,106) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f0.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${querystring}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f0 = _jspx_th_c_005fout_005f0.doStartTag();
    if (_jspx_th_c_005fout_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f0);
    return false;
  }
}
