<!--#include file="../SQLconn.asp"-->

<html>
<head><title></title><meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../css/style.css" />

<style type="text/css">
<!--
.STYLE3 {color: #990033}
-->
</style>
<body>
<table width="99%" height="500" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="33"><table width="100%" height="33" border="0" cellpadding="0" cellspacing="0">
      <tr>
       <td width="100" class="NemuNot"><div align="center"><a href="QingJiaShenPi.asp" target="_self">请假审批</a></div></td>
        <td width="100" class="Nemuselect"><div align="center"><a href="QingJiaShenPiList.asp" target="_self">已经审批记录</a></div></td>
         <td class="NemuLine">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
   <td height="470" valign="top"     class="NemuMainBox">
	<br>
      	 <%   
 '检查权限 
        tname=request.cookies("tname") 
       Set MyOAASPObj = Server.CreateObject("YFSchoolOApro.YFSchoolDll")
           if MyOAASPObj.QuanXian(tname,"员工档案")=0 then 
		      response.redirect  "../NoPower.asp"
		      end if 
		   set MyOAASPObj=nothing
'检查权限结束 %>
	      <%    
       begindate=Request("begindate")
		if begindate="" then 
		begindate=date()-100
		end if 	
		enddate=Request("enddate")
		if enddate="" then 
		enddate=date()+1
		end if
	   %>
	   <br>
	 
	 <FORM ACTION="QingJiaShenPiList.asp" METHOD="GET" enctype="multipart/form-data" NAME="ftype">
       <div align="center" class="STYLE1">
         <table width="90%" border="0" cellpadding="0" cellspacing="0">
           <tr>
             <td height="32" style="border-bottom:1px solid #666666;"><label></label>
              <div align="center">开始日期
                <input name="begindate" type="text" class="input" id="begindate" value=<%=begindate%> size="10">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;结束日期
<input name="enddate" type="text" class="input" id="enddate" value=<%=enddate%> size="10">
&nbsp;
<input name="Submit2" type="submit" class="topanniu" value="查询"></div></td>
            </tr>
         </table>
        </div>
       
	 
	  	<%
 	  tname=request.cookies("tname") 
	   Set MyOAASPObj = Server.CreateObject("YFSchoolOApro3.YFSchoolDll3")
       call  MyOAASPObj.QingJia_ShenPiList(tname,begindate,enddate)
       set MyOAASPObj=nothing	 
	   
	   %>
</FORM> 
	

	   
    </td>
  </tr>
</table>
</body>
</html>
