<!--#include file="head.asp"-->
<!--#include file="subleft.asp"-->

<script>document.getElementById('o_8').setAttribute("class", "ed"); document.getElementById("t_8").style.display="";document.getElementById('s_8_1').setAttribute("class", "ed4");</script>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title><%=webname%>-我的工单</title>
<%
act=SafeRequest("act")
cact=SafeRequest("cact")
page=SafeRequest("page")
link="gongdan?ct="

if cact="cha" then
link="gongdan?cact=cha"


end if


%>
<br>
<DIV id=main2> 
<%call webleft()%>

<DIV id=main_right>
<DIV id=main_right_content>

<H2><SPAN>我的工单</SPAN></H2>
<DIV class=main3>
  <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_style_a1">
     <form action="?act=alldel&page=<%=page%>" method="post" name="myform" id="myform"> 
       <tr>
         <th width="100" align="center" class="border_right border_bottom" >
		  工单ID
        <th width="220" align="center" class="border_right border_bottom">类别    
		<th align="center" class="border_right border_bottom">标题
        <th width="100" align="center" class="border_right border_bottom">状态        
        <th width="150" align="center" class="border_bottom">时间        </tr>
<%
sql="select * from aygongdan where aygduid="&clng(request.Cookies("aynameid"))&" and aygdshangid=0 order by aygdid desc" 
'response.Write sql
'response.End()
rs.open sql,conn,1,1
rs.pagesize=20
pagecount=rs.pagecount 
if request("page")="" then 
page=1
else
page=int(request("page")) 
end if
if page<=0 then page=1 
if request("page")="" then page=1
if not(rs.bof and rs.eof) then
rs.absolutepage=page
do while not rs.eof%>

	  <tr onmouseover=this.bgColor='#D2FFFF' onmouseout=this.bgColor='#ffffff'>
        <td align="center" class="border_right border_bottom"><%=rs("aygdid")%></td>
        <td align="center" class="border_right border_bottom"><a href="gongdan_c?id=<%=rs("aygdid")%>"><%=trim(rs("aygdleibie"))%></a></td>
        <td align="center" class="border_right border_bottom"><a href="gongdan_c?id=<%=rs("aygdid")%>"><%=trim(rs("aygdbiao"))%></a></td>
        
        <td align="center" class="border_right border_bottom">
          <%
		if cint(rs("aygdzt"))=0 then response.Write("未处理")
		if cint(rs("aygdzt"))=2 then response.Write("待查看")
		if cint(rs("aygdzt"))=1 then response.Write("完结")
		%>	
        </td>
        <td align="center" class="border_bottom"><%=rs("aygddate")%></td>
	    </tr>
<%
n=n+1
rs.movenext  '指针向下移动
if n>=rs.pagesize then exit do  
loop
end if
zongshu=rs.RecordCount
rs.close%>
	  

      <tr>
        <td colspan="5">&nbsp;

<%call pageye()%></td>
      </tr></form>
    </table>
</DIV>


</DIV></DIV>
<DIV class=clear></DIV></DIV>
</DIV>

<br>

	<!--#include virtual="/show/foot.asp"-->


