<!--#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="shenqing.asp" target="_self">申请印刷资料</a></div></td>
        <td width="100" class="Nemuselect" ><div align="center"><a href="main.asp" target="_self">印刷资料审批</a></div></td>
       <td width="100" class="NemuNot" ><div align="center"><a href="jiketongji.asp?qdtype=未处理" target="_self">印刷资料统计</a></div></td>
        <td    class="NemuLine">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
   <td height="470" valign="top"   class="NemuMainBox">
	 <br>
	
      <div align="center">
  
<%
    nowdate=now()
 
   tname=request.cookies("tname")
   Set Rsbaoxiu=Server.CreateObject("Adodb.Recordset")
   sqlbaoxiu="Select * from yinshua    order  by   id desc "
   Rsbaoxiu.open sqlbaoxiu,conn,1,1
%>

    <%
   Rsbaoxiu.pagesize=12 '每页记录条数
   curpage=Request.QueryString("curpage") '将URL参数curpage传给curpage变量
   Rsbaoxiu.absolutepage=curpage '将本页设为curpage设置的页数
   if curpage=0 then
      curpage=1
   end if 

%>
</p>
    </p>
<table width="95%" align="center" border="1" cellpadding="3"   cellspacing="0"  bordercolor="#6D8DD8"  class="mtable">  

     <tr style="background-color:#D6E4FF"  class="TableHeader">
       <td height="24" align="center" nowrap class="STYLE1"><span class="STYLE1 STYLE1">表单内容</span></td>
       <td align="center" nowrap class="STYLE1"><span class="STYLE1 STYLE1">时间</span></td>
       <td align="center" nowrap class="STYLE1">申请人</td>
       <td align="center" nowrap class="STYLE1"><span class="STYLE1">备课组长签名</span></td>
       <td width="107" align="center" nowrap class="STYLE1"><span class="STYLE1">行政签名</span></td>
       <td width="182" align="center" nowrap class="STYLE1">文印室完成签名</td>
     </tr>

<%
   for i= 1 to Rsbaoxiu.pagesize
      if Rsbaoxiu.eof then
         exit for
      end if
%>
    <tr  onmouseout="this.style.backgroundColor=''" onMouseOver="this.style.backgroundColor='#EFF8FF'">
      <td width="308" height="32" align="center" nowrap class="STYLE1"><span class="STYLE5"><a href="view.asp?curpage=<%=curpage%>&ID=<%=Rsbaoxiu("id")%>"><%=Rsbaoxiu("grade")%><%=Rsbaoxiu("subject")%>   规格：<%=Rsbaoxiu("guige")%><%=Rsbaoxiu("danshuangmian")%>；版纸数:<%=Rsbaoxiu("banzhishu")%>；印刷数：<%=Rsbaoxiu("yinjuanshu")%></a></span></td>
      <td width="73" align="center" nowrap class="STYLE1"><span class="STYLE5 STYLE1"><span class="STYLE10"><%=Rsbaoxiu("datetime")%></span></span></td>
      <td width="66" align="center" nowrap class="STYLE1">
	  
	  <span class="STYLE10"> <%=Rsbaoxiu("teacher")%></span>
	  <%if  Rsbaoxiu("jiaodaochu")<>"不同意印刷" then  %>
			  <%if  Rsbaoxiu("beikezuzhang")=""  and  Rsbaoxiu("teacher")=request.cookies("tname")   then  %>
				   <a href="delete.asp?curpage=<%=curpage%>&ID=<%=Rsbaoxiu("id")%>"> 删除</a>
			  <%end if %>	
			  
	  <%else %>
	         <%if    Rsbaoxiu("teacher")=request.cookies("tname")   then  %>
				   <a href="delete.asp?curpage=<%=curpage%>&ID=<%=Rsbaoxiu("id")%>"> 删除</a>
			  <%end if %>	
	  <%end if %>
	   
	  
	  
	  
	   </td>
      <td width="92" align="center" nowrap class="STYLE1"><span class="STYLE5">
	  
	  
	 
	  <%if  Rsbaoxiu("beikezuzhang")<>"" then  %>
	    <%=Rsbaoxiu("beikezuzhang")%>
	
		<%if  Rsbaoxiu("jiaodaochu")=""  and  Rsbaoxiu("beikezuzhang")=request.cookies("tname")   then  %>
	        <a href="deleteBKZ.asp?curpage=<%=curpage%>&ID=<%=Rsbaoxiu("id")%>"> 撤销</a>
	    <%end if %>
		
		
	  <%else%>
	     <a href="BKZqianming.asp?curpage=<%=curpage%>&ID=<%=Rsbaoxiu("id")%>">签名</a>
	  <%end if %>
	  
	  
	  </span></td>
      <td align="center" nowrap class="STYLE1"><span class="STYLE5">
	  
	  <%if  Rsbaoxiu("jiaodaochu")<>"" then  %>
	    
	    <%=Rsbaoxiu("jiaodaochu")%>
		
	  <%else%>
	     <a href="JDCqianming.asp?curpage=<%=curpage%>&ID=<%=Rsbaoxiu("id")%>">同意</a>&nbsp;&nbsp;&nbsp;
		 
		 <a href="JDCJuQian.asp?curpage=<%=curpage%>&ID=<%=Rsbaoxiu("id")%>">不同意</a>		 
		 
		 
	  <%end if %>
	 
	 
	 
	 </span></td>
      <td align="center" nowrap class="STYLE1"><span class="STYLE5">
        
		<%if  Rsbaoxiu("jiaodaochu")<>"不同意印刷" then  %>
		
		<%if  Rsbaoxiu("wenyinshi")<>"" then  %>
        <%=Rsbaoxiu("wenyinshi")%>
        <%else%>
        <a href="WYSqianming.asp?curpage=<%=curpage%>&ID=<%=Rsbaoxiu("id")%>">签名</a>
        <%end if %>
		
		<%else%>
		       <%=Rsbaoxiu("wenyinshi")%>		
		<%end if %>
		
		
		
      </span></td>
	</tr>
<%  Rsbaoxiu.movenext
    next%>
</table>
  <br>

<div align="center" class="STYLE1">
<%if curpage=1 then%>
首页
<%else%>
<a href="?curpage=1">首页</a>
<%end if%>

<%if curpage=1 then%>
上一页
<%else%>
<a href="?curpage=<%=curpage-1%>">上一页</a>
<%end if%>

<%if Rsbaoxiu.pagecount<curpage+1 then%>
下一页
<%else%>
<a href="?curpage=<%=curpage+1%>">下一页</a>
<%end if%>

<%if Rsbaoxiu.pagecount<curpage+1 then%>
尾页
<%else%>
<a href="?curpage=<%=Rsbaoxiu.pagecount%>">尾页</a>
<%end if%>
(当前第<%=curpage%>页，共有<%=Rsbaoxiu.pagecount%>页，共有：<%=Rsbaoxiu.recordcount%>条记录)</div>

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