/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2021-03-11 06:20:37 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.mail.jstl.*;
import wiseoa.util.*;
import java.util.*;
import java.net.*;
import java.sql.*;
import wiseoa.*;
import wiseoa.util.*;
import wiseoa.mail.jstl.*;

public final class worklog_005fday_005flist_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_005fif_0026_005ftest;

  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_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.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("\r\n");

 
    String s=request.getQueryString();
    if ( s==null) s="";
    if ( !s.equals("") ) s="?"+s;
    FF.pageContextSetAttribute(pageContext,"querystring", s);
     
    WorkLogSearch  mls =new  WorkLogSearch(request);
    
    FF.pageContextSetAttribute(pageContext,"GroupCount", new Integer( mls.GroupCount));
    
    

      out.write("\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("<HTML>\r\n");
      out.write("<head><meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n");
      out.write("<META http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("<TITLE> </TITLE>\r\n");
      out.write("    <LINK rel=\"stylesheet\" type=\"text/css\" href=\"css/normal.css\">\r\n");
      out.write("\t\r\n");
      out.write("  <!-- calendar stylesheet -->\r\n");
      out.write("  <LINK rel=\"stylesheet\" type=\"text/css\" media=\"all\" href=\"calendar/calendar-win2k-2.css\" title=\"win2k-cold-1\" />\r\n");
      out.write("  <!-- main calendar program -->\r\n");
      out.write("  <SCRIPT type=\"text/javascript\" src=\"calendar/calendar.js\"></SCRIPT>\r\n");
      out.write("  <!-- language for the calendar -->\r\n");
      out.write("  <SCRIPT type=\"text/javascript\" src=\"calendar/lang/calendar-en.js\"></SCRIPT>\r\n");
      out.write("  <!-- the following script defines the Calendar.setup helper function, which makes\r\n");
      out.write("  adding a calendar a matter of 1 or 2 lines of code. -->\r\n");
      out.write("  <SCRIPT type=\"text/javascript\" src=\"calendar/calendar-setup.js\"></SCRIPT>\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write(" <LINK rel=\"stylesheet\" type=\"text/css\" href=\"zbutton/zbutton.css\">\r\n");
      out.write(" <SCRIPT type=\"text/javascript\" src=\"zbutton/zbutton.js\"></SCRIPT>\r\n");
      out.write(" <SCRIPT type=\"text/javascript\" src=\"js/prototype14.js\"></SCRIPT> \r\n");
      out.write("\r\n");
      out.write("  <STYLE>\r\n");
      out.write("\r\n");
      out.write("\t\tbody {margin-left: 1px;\tmargin-top: 0px;\tmargin-right: 0px;\tmargin-bottom: 0px; background-color:#EEEEEE}\r\n");
      out.write("\t\r\n");
      out.write("\t\t.selectspan  { border:1px solid #a0a0a0;overflow:hidden;width:134;}\r\n");
      out.write("\t    .flatselect { width:136; margin:-2;}\r\n");
      out.write("\t    \r\n");
      out.write("\t    \r\n");
      out.write("</STYLE>\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" <SCRIPT type=\"text/javascript\" src=\"js/jsrsClient_rev.js\"></SCRIPT>\t \r\n");
      out.write(" \r\n");
      out.write(" <script  language='javascript'>\r\n");
      out.write(" \r\n");
      out.write(" function ReloadUser()\r\n");
      out.write(" {\r\n");
      out.write(" \t\tvar  groupid= document.getElementById('frmSearch').select_group.value;\r\n");
      out.write("        jsrsExecute(\"servlet/wiseoa.mail.rpc.WorkLog\", callback_reload, \"ReloadUser\",  groupid ,false);\r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tfunction  callback_reload(msg)\r\n");
      out.write("\t{\r\n");
      out.write("\t    if (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t var html=extractValue(msg, \"html\");\r\n");
      out.write("\t\t\t document.getElementById('userselect').innerHTML=html;\r\n");
      out.write("\t \r\n");
      out.write("\t\t}else\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t   alert ( extractValue(msg, \"error\"));\r\n");
      out.write("\t\t} \r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write(" \r\n");
      out.write(" // 定位部门\r\n");
      out.write(" function FindGroup()\r\n");
      out.write(" {\r\n");
      out.write("\tvar s=document.getElementById('group_filter').value;\r\n");
      out.write("\tvar g = document.getElementById(\"select_group\");\r\n");
      out.write("\tfor (i=0; i< g.options.length; i++)\r\n");
      out.write("\t{\r\n");
      out.write("\t\tlabel=g.options(i).getAttribute(\"py\");\r\n");
      out.write("\t\tif ( label==null) return;\r\n");
      out.write("\t\tif (  label.indexOf(s)>=0)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t g.value=g.options(i).value;\r\n");
      out.write("\t\t\t ReloadUser();\r\n");
      out.write("\t\t\t break;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("\t\r\n");
      out.write(" }\r\n");
      out.write(" \r\n");
      out.write(" // 定位部门\r\n");
      out.write(" function FindUser()\r\n");
      out.write(" {\r\n");
      out.write("\tvar s=document.getElementById('user_filter').value;\r\n");
      out.write("\tvar g = document.getElementById(\"select_user\");\r\n");
      out.write("\tfor (i=0; i< g.options.length; i++)\r\n");
      out.write("\t{\r\n");
      out.write("\t\tlabel=g.options(i).getAttribute(\"py\");\r\n");
      out.write("\t\tif ( label==null) return;\r\n");
      out.write("\t\tif (  label.indexOf(s)>=0)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t g.value=g.options(i).value;\r\n");
      out.write("\t\t\t break;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t}\r\n");
      out.write("}\r\n");
      out.write("\t\r\n");
      out.write(" </script>\r\n");
      out.write(" \r\n");
      out.write("</HEAD>\r\n");
      out.write("\r\n");
      out.write("<BODY scroll=\"no\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("   <TABLE width=\"100%\"  border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("      \r\n");
      out.write("\t   <TR>\r\n");
      out.write("         <TD  >\r\n");
      out.write("\t\t <TABLE width='168'  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("        <TR>\r\n");
      out.write("         <TD id=calendar-container> </TD>\r\n");
      out.write("         </TR>\r\n");
      out.write("       \r\n");
      out.write("     </TABLE>\r\n");
      out.write("     </TD>\r\n");
      out.write("       </TR>\r\n");
      out.write("       \r\n");
      out.write("    <tr>\r\n");
      out.write("        <td  height=16 valign=\"left\"> \r\n");
      out.write("        </td>\r\n");
      out.write("\t </tr>\r\n");
      out.write("\t \r\n");
      out.write("\t <tr>\r\n");
      out.write("        <td  height=50 align=\"center\" valign=\"top\">\r\n");
      out.write("        \r\n");
      out.write("        \r\n");
      out.write("         \r\n");
      out.write("        </td>\r\n");
      out.write("\t </tr>\r\n");
      out.write("   <tr  >\r\n");
      out.write("        <td  height=20  align=\"left\"><span class=\"asbutton\" onClick=\"showreport();\">\r\n");
      out.write("\t\t<img  src='image/cilun.gif' border=0 align='absmiddle'>日志统计</span>    </td>\r\n");
      out.write("\t </tr>  \r\n");
      out.write("       <tr  >\r\n");
      out.write("        <td  height=26  align=\"left\"><span class='asbutton'  onclick='ShowHideAdvance()' title='按指定条件查询工作日志'>\r\n");
      out.write("              <img id=img1 src='image/plus.gif' border=0 align='absmiddle' title=\"部门领导可查询部门人员的日志。普通人员只能查询自已的日志\">高级查询</span>\r\n");
      out.write("        </td>\r\n");
      out.write("\t </tr>  \r\n");
      out.write("       \r\n");
      out.write("       <tr  >\r\n");
      out.write("           <TD align=\"left\" valign=\"bottom\"  >\r\n");
      out.write("\t\t   <FORM   name=frmSearch action='worklog_day_viewlist.jsp' method=get  target=\"mainFrame\">\r\n");
      out.write("\t\t   \t\t  <input type='hidden' name='searchtype'  name='searchtype'  >\r\n");
      out.write("                  <table border=0 width='95%'>\r\n");
      out.write("                  \r\n");
      out.write("                     <tr  id='advance' >\r\n");
      out.write("                    <td width=\"5%\" nowrap align='right'>从</td>\r\n");
      out.write("                    \r\n");
      out.write("                    <td width=\"82%\" nowrap><input class=\"textbox\"  readonly   type=\"text\"    id=\"rq1\" name='rq1' value='");
      out.print(mls.rq1);
      out.write("'></td>\r\n");
      out.write("                    <td width=\"13%\" nowrap>\r\n");
      out.write("\t\t\t\t\t<img src=\"image/calendar18.gif\"   align=\"absmiddle\" \r\n");
      out.write("\t     class=\"asbutton\" id='select_rq1'>\r\n");
      out.write("          <script type=\"text/javascript\">\r\n");
      out.write("        Calendar.setup({\r\n");
      out.write("        inputField     :    \"rq1\",     // id of the input field\r\n");
      out.write("        ifFormat       :    \"%Y.%m.%d\",      // format of the input field\r\n");
      out.write("        button         :    \"select_rq1\",  // trigger for the calendar (button ID)\r\n");
      out.write("        align          :    \"Bl\",           // alignment (defaults to \"Bl\")\r\n");
      out.write("        singleClick    :    true\r\n");
      out.write("    });\r\n");
      out.write("    </script>\r\n");
      out.write("\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t   </tr>\r\n");
      out.write("                \r\n");
      out.write("                  \r\n");
      out.write("                  \r\n");
      out.write("                     <tr  id='advance' >\r\n");
      out.write("                    <td width=\"5%\" nowrap align='right'>到</td>\r\n");
      out.write("                    \r\n");
      out.write("                    <td width=\"82%\" nowrap><input class=\"textbox\"  readonly   type=\"text\"    id=\"rq2\" name='rq2' value='");
      out.print(mls.rq2);
      out.write("'></td>\r\n");
      out.write("                    <td width=\"13%\" nowrap>\r\n");
      out.write("\t\t\t\t\t<img src=\"image/calendar18.gif\"   align=\"absmiddle\" \r\n");
      out.write("\t     class=\"asbutton\" id='select_rq2'>\r\n");
      out.write("          <script type=\"text/javascript\">\r\n");
      out.write("        Calendar.setup({\r\n");
      out.write("        inputField     :    \"rq2\",     // id of the input field\r\n");
      out.write("        ifFormat       :    \"%Y.%m.%d\",      // format of the input field\r\n");
      out.write("        button         :    \"select_rq2\",  // trigger for the calendar (button ID)\r\n");
      out.write("        align          :    \"Bl\",           // alignment (defaults to \"Bl\")\r\n");
      out.write("        singleClick    :    true\r\n");
      out.write("    });\r\n");
      out.write("    </script>\r\n");
      out.write("\t\t\t\t\t</td>\r\n");
      out.write("\t\t\t\t   </tr>\r\n");
      out.write("                \r\n");
      out.write("                ");
      //  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);
      // /worklog_day_list.jsp(209,16) 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("${ GroupCount>0 }", 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("                  <tr  name='advance' >\r\n");
          out.write("                                    \r\n");
          out.write("                    <td nowrap>部门</td>\r\n");
          out.write("                    <td colspan=\"2\" nowrap id='groupselect'>");
          out.print(mls.GroupHTML);
          out.write("</td>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                  \r\n");
          out.write("                  <tr   name='advance' >\r\n");
          out.write("                    <td nowrap>定位</td>\r\n");
          out.write("                    <td colspan=\"2\" nowrap ><input type=\"text\" class='textbox'   id='group_filter' onKeyUp='FindGroup();' title='输入部门名称的拼音首字母或其中的一部分' ></td>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                  <tr   name='advance' >\r\n");
          out.write("                    <td nowrap>人员</td>\r\n");
          out.write("                    <td colspan=\"2\" nowrap id='userselect' >");
          out.print(mls.UserHTML);
          out.write("</td>\r\n");
          out.write("                  </tr>\r\n");
          out.write("                \r\n");
          out.write("                  \r\n");
          out.write("                  <tr name='advance'>\r\n");
          out.write("                    <td nowrap>定位</td>\r\n");
          out.write("                    <td colspan=\"2\" nowrap><input type=\"text\" class='textbox'   id='user_filter' onKeyUp='FindUser();' title='输入人员姓名的拼音首字母或其中的一部分' ></td>\r\n");
          out.write("                  </tr>\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;
      }
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
      out.write("\r\n");
      out.write("\t\t\t\t \r\n");
      out.write("               \r\n");
      out.write("                  <tr>\r\n");
      out.write("                    <td width=\"5%\" nowrap>内容</td>\r\n");
      out.write("                   \r\n");
      out.write("                    <td width=\"95%\" colspan=\"2\" nowrap><input type=\"text\" class='textbox' \r\n");
      out.write("                    width=\"70\"  name='key' onKeyDown=' if ( event.keyCode==13)  cb_ok_onclick();' \r\n");
      out.write("                     title=\"多个关键字之间用空格分隔\"  ></td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t   <tr>\r\n");
      out.write("                    <td width=\"5%\" nowrap></td>\r\n");
      out.write("                   \r\n");
      out.write("                    <td width=\"95%\" colspan=\"2\" nowrap><input type=\"checkbox\"  value=\"1\"  name='myself' id='myself'  checked onClick=\"mySelfChanged();\" >仅在我的日志中查找</td>\r\n");
      out.write("                  </tr>\r\n");
      out.write("\t\t\t\t   \r\n");
      out.write("                  <tr><td colspan=\"3\" nowrap>&nbsp;                   </td> </tr>\r\n");
      out.write("                  <tr align='right'>&nbsp;\r\n");
      out.write("                    <td colspan=\"3\" nowrap align=\"center\">\r\n");
      out.write("                    \r\n");
      out.write("                    <SCRIPT language=\"javascript\">\r\n");
      out.write("\t\t \t\t\t\tfunction cb_ok_onclick()\r\n");
      out.write("\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   document.getElementById('frmSearch').submit();\r\n");
      out.write("\t\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\t   var cb =new zbutton('cb_ok','&nbsp;搜索','image/zoom.gif');\r\n");
      out.write("\t\t  \r\n");
      out.write("        \t\t\t</SCRIPT></td>\r\n");
      out.write("                  \r\n");
      out.write("                  </tr>\r\n");
      out.write("  \r\n");
      out.write("\r\n");
      out.write("    </table>\r\n");
      out.write("                  \r\n");
      out.write("       </FORM><!-- 搜索栏结束 -->\r\n");
      out.write("\t\t  </TD>\r\n");
      out.write("     </TR>\r\n");
      out.write("        \r\n");
      out.write("        \r\n");
      out.write("</TABLE>\r\n");
      out.write("    \r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("     \r\n");
      out.write("     <SCRIPT type=\"text/javascript\">\r\n");
      out.write(" \tvar dCurDate = new Date();\r\n");
      out.write("\tvar selectedYear=dCurDate.getFullYear();\r\n");
      out.write("\tvar selectedMonth=dCurDate.getMonth()+1;\r\n");
      out.write("\tvar selectedDay=dCurDate.getDate();\r\n");
      out.write("\t\r\n");
      out.write("  function ShowDate( ) \r\n");
      out.write("  {\r\n");
      out.write("  \tvar m= 'a00'+selectedMonth;  // 不加个字母，会变成数字相加\r\n");
      out.write("\tm=m.substring( m.length-2,m.length);\r\n");
      out.write("\tvar d='a00'+selectedDay;\r\n");
      out.write("\td=d.substring( d.length-2,d.length);\r\n");
      out.write("\t  \r\n");
      out.write("\t\r\n");
      out.write("  \t　\r\n");
      out.write("    \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function jumpToTarget()\r\n");
      out.write("  {\r\n");
      out.write("  \tShowDate();\r\n");
      out.write("  \t// 单日查找\r\n");
      out.write("\t\r\n");
      out.write("  \tparent.frames('mainFrame').location.href=( 'worklog_day_viewlist.jsp?searchtype=week&year='+selectedYear+'&month='+selectedMonth+'&day='+selectedDay);\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function dateChanged(calendar) \r\n");
      out.write("  {\r\n");
      out.write("   \r\n");
      out.write("      selectedYear  = calendar.date.getFullYear();\r\n");
      out.write("      selectedMonth  = calendar.date.getMonth()+1;     // integer, 0..11\r\n");
      out.write("      selectedDay  = calendar.date.getDate();      // integer, 1..31\r\n");
      out.write("\t  jumpToTarget();\r\n");
      out.write("  };\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("  Calendar.setup(\r\n");
      out.write("    {\r\n");
      out.write("      flat         : \"calendar-container\", // ID of the parent element\r\n");
      out.write("      flatCallback : dateChanged           // our callback function\r\n");
      out.write("    }\r\n");
      out.write("  );\r\n");
      out.write("  \r\n");
      out.write("  ShowDate();\r\n");
      out.write("  \r\n");
      out.write("  // 显示或隐藏高级查询\r\n");
      out.write("  function ShowHideAdvance()\r\n");
      out.write("  {\r\n");
      out.write("  \t\tShowAdvance( ! isShowing);\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function newLog()\r\n");
      out.write("  {\r\n");
      out.write("\t  parent.frames('mainFrame').location.href=('worklog_day_new.jsp?year='+selectedYear+'&month='+ selectedMonth +'&day='+selectedDay );\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  // 显示或隐藏高级查询\r\n");
      out.write("  var  isShowing=true;\r\n");
      out.write("  function  ShowAdvance(v) \r\n");
      out.write("  {\r\n");
      out.write("     if ( isShowing==v) return;\r\n");
      out.write("     \r\n");
      out.write("\t  var obj= document.getElementsByName('advance');\r\n");
      out.write(" \r\n");
      out.write("\t  for ( i=0;i<obj.length;i++)\r\n");
      out.write("\t  {\r\n");
      out.write("\t  \tobj[i].style.display=v? '': 'none';\r\n");
      out.write("\t }\r\n");
      out.write("\t isShowing=v; \r\n");
      out.write("\t \r\n");
      out.write("\t // 查找类型设置\r\n");
      out.write("\t if ( v)  \r\n");
      out.write("\t {\r\n");
      out.write("\t \t\t$('searchtype').value='advance';\r\n");
      out.write("\t \t\t");
      if (_jspx_meth_c_005fif_005f1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t \t\t$('img1').src='image/sub.gif';\r\n");
      out.write("\t }\telse\r\n");
      out.write("\t {\r\n");
      out.write("\t\t\t$('searchtype').value='onlykey';\r\n");
      out.write("\t \t\t");
      if (_jspx_meth_c_005fif_005f2(_jspx_page_context))
        return;
      out.write("\t\t\t\r\n");
      out.write("\t\t\t$('img1').src='image/plus.gif';\r\n");
      out.write("\t}\r\n");
      out.write("\t \r\n");
      out.write("\tmySelfChanged();\r\n");
      out.write("\t \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  ShowAdvance(false);\r\n");
      out.write("  \r\n");
      out.write("  function mySelfChanged()\r\n");
      out.write("  {\r\n");
      out.write("     \r\n");
      out.write("         var disabled=false;\r\n");
      out.write("  \t\tif (  $('myself').checked)  disabled=true;\r\n");
      out.write("  \t\ttry{\t\t$('select_group').disabled=disabled; }catch(err)\t\t{\t\t}\r\n");
      out.write(" \t\ttry{\t\t$('group_filter').disabled=disabled;}catch(err)\t\t{\t\t}\r\n");
      out.write("  \t\ttry{\t\t$('select_user').disabled=disabled;}catch(err)\t\t{\t\t}\r\n");
      out.write("  \t\ttry{\t\t$('user_filter').disabled=disabled;}catch(err)\t\t{\t\t}\r\n");
      out.write("  \t\t\r\n");
      out.write("  \r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  function showreport()\r\n");
      out.write("  {\r\n");
      out.write("  \tparent.frames('mainFrame').location.href=(\"worklog_report1.jsp\");\r\n");
      out.write("  \r\n");
      out.write("  }\r\n");
      out.write("  </SCRIPT> \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_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);
    // /worklog_day_list.jsp(350,4) 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("${ GroupCount>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(" $('myself').checked=false;");
        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_005f2(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_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);
    // /worklog_day_list.jsp(355,4) 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("${ GroupCount>0 }", 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(" $('myself').checked=true; ");
        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 true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
    return false;
  }
}
