<!--#include file="top.asp"--><%usertopview%>
<%if userflag3=0 then
response.redirect"ok.asp?action=flag"
end if%>
<table width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td width="150" valign=top bgcolor=#efefef>
<!--==============-->
<!--#include file="left.asp"-->
<!--==============-->
</td>
<td width="610" valign=top>
<!--==============-->
<table width="500" border="0" cellspacing="0" cellpadding="0" align="center">
<tr><td height=25>您现在的位置是：管理中心 > 展会</td></tr>
  <tr>
    <td>
<!--####################################-->
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor=#6C94D1>
  <tr>
    <td height=25 bgcolor=#6C94D1>　　<font color=white>查看我的展会</font></td>
  </tr>
  <tr>
    <td bgcolor=#ffffff height=60>
<!--======-->

<table width="98%" border="0" cellspacing="1" cellpadding="0" align=center>
<tr><td colspan=7 height=4></td></tr>
<%sql="select * from dlxf_exhibit where dlxf_yp_id="&session("id")&" order by dlxf_id desc"
set rs=server.createobject("adodb.recordset")                     
rs.open sql,conn,1,1                     
if rs.eof and rs.bof then                     
	response.write "<tr><td height=194 colspan=5 align=center>暂无内容</td></tr>"
else  
'分页的实现 
listnum=20
Rs.pagesize=listnum
page=Request("page")
if (page-Rs.pagecount) > 0 then
page=Rs.pagecount
elseif page = "" or page < 1 then
page = 1
end if
Rs.absolutepage=page
'编号的实现
j=rs.recordcount
j=j-(page-1)*listnum%>
<%i=0
nn=request("page")
if nn="" then
n=0
else
nn=nn-1
n=listnum*nn
end if%>
<tr align=center bgcolor=#efefef>
 <td width="6%" height=20>编号</td>
 <td width=*>标 题 <font color=#666666>(点击编辑)</font></td>
 <td width="13%">到期时间</td>
<%if userflag12<>0 then response.write "<td width=""7%"">留言</td>"%>
 <td width="8%">状态</td>
 <td width="8%">删除</td>
</tr>
<%do while not rs.eof and i<listnum
n=n+1
aa=right(year(rs("dlxf_z_lastdate")),2)
bb=month(rs("dlxf_z_lastdate"))
cc=day(rs("dlxf_z_lastdate"))

set rsq=server.createobject("adodb.recordset")  
sqlq="select * from dlxf_leaveword where dlxf_book_sort=5 and dlxf_book_table="&rs("dlxf_id")&" and dlxf_book_ypid="&session("id")&""
rsq.open sqlq,conn,1,1
if not rsq.eof then
aaa="<a href=leaveword_view.asp?sortid=5&tableid="&rs("dlxf_id")&" class=red>查看</a>"
else
aaa="--"
end if
rsq.close
set rsq=nothing%>
<tr align=center bgcolor=#fafafa>
 <td height=20 bgcolor=#efefef><%=n%></td>
 <td align=left>&nbsp;<a href=exhibit_edit.asp?page=<%=request("page")%>&id=<%=rs("dlxf_id")%>><%=rs("dlxf_z_name")%></a></td>
 <td bgcolor=#efefef><%=aa&"-"&bb&"-"&cc%></td>
 <%if userflag12<>0 then response.write "<td>"&aaa&"</td>"%>
 <td bgcolor=#efefef><%if rs("dlxf_key")=1 then%>已审<%elseif rs("dlxf_key")=1 then%><font color=green>推荐</font><%else%><font color=red>未审</font><%end if%></td>
 <td bgcolor=#efefef><a href="exhibit_save.asp?action=del&id=<%=rs("dlxf_id")%>&page=<%=request("page")%>">删除</a></td>
</tr>
<%rs.movenext 
i=i+1 
j=j-1
loop%>
<tr>
<%filename="exhibit.asp"%>
<td colspan=7 align=right bgcolor=#efefef height=20>共 <%=Rs.pagecount%> 页 
      <% if page=1 then %>
      <%else%>
      <a href=<%=filename%>>|<<</a>&nbsp; 
      <a href=<%=filename%>?page=<%=page-1%>><<</a>&nbsp; 
      <a href=<%=filename%>?page=<%=page-1%>>[<%=page-1%>]</a>&nbsp;<%end if%>
<% if Rs.pagecount=1 then %>
<%else%>[<%=page%>]
<%end if%>
	  <% if Rs.pagecount-page <> 0 then %>
      <a href=<%=filename%>?page=<%=page+1%>>[<%=page+1%>]</a>&nbsp; 
      <a href=<%=filename%>?page=<%=page+1%>>>></a>&nbsp; 
      <a href=<%=filename%>?page=<%=Rs.pagecount%>>>>|</a>&nbsp; 
	  <%end if%>&nbsp;&nbsp;</td>
<%end if%></tr>
<tr><td colspan=5 height=4></td></tr>
</table>

<!--======-->
	</td>
  </tr>
</table>
<!--####################################-->
	</td>
  </tr>
<tr><td height=25></td></tr>
</table>
<!--==============-->
</td>
</tr>
</table>
<!--====== bottom ========-->
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="img/bottom_bg.gif">
<tr><td height=2 bgcolor=#6C94D1></td></tr>
  <tr>
    <td align="center" height=80><%=citybottom%></td>
  </tr>
</table>
</body>
</html>