<!-- #include file="../conn.asp" -->
<!-- #include file="admin.asp" -->
<%Call Head()
call saycarda("网友上传文件审核")%>


<%
	Set Rs = Server.CreateObject("Adodb.Recordset")
	Sql = "SELECT * from xzfile Where YC=1 order by id desc"
	Rs.Open Sql,conn,1,1
	If Not rs.eof	Then
	PageSize=10					
	Dim Count,page,pagecount,gopage,parent			
	gopage="wjpass.asp?saytk="&saytk&"&amp;sid="&sid&"&amp;"
	Count=rs.recordcount
	page=int(request.QueryString ("page"))
	if page<=0 or page="" then page=1		
	pagecount=(count+pagesize-1)\pagesize	
        if page>pagecount then page=pagecount	
	rs.move(pagesize*(page-1))				
	For i=1 To PageSize       						
	If rs.eof Then Exit For				
%>[<a href="wjpassor.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;id=<%=rs("id")%>&amp;lid=<%=RS("lid")%>&amp;idd=<%=RS("idd")%>">管理</a>]<%=i+(page-1)*PageSize%>.<a href="softview.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>&amp;id=<%=rs("id")%>&amp;lid=<%=RS("lid")%>&amp;idd=<%=RS("idd")%>&amp;TP=pass"><%=ubb(rs("name"))%></a><br/>上传会员:<a href="../enter/show.asp?ID=<%=ubb(rs("usid"))%>&amp;saytk=<%=saytk%>&amp;sid=<%=sid%>"><%=ubb(rs("laiy"))%></a>时间:<%=ubb(fordate(rs("times")))%><br/>--------<br/>

<%     
	rs.moveNext
	Next
	if page-pagecount<0 then response.write "<a href="""&gopage&"page="&page+1&""">下页</a>"
	if page>1 then response.write "<a href="""&gopage&"page="&page-1&""">上页</a>"
	if pagecount>1 then response.write "<br/><b>"&page&"</b>/"&pagecount&"页<input name=""page"" format=""*N"" value="""&page&""" type=""text"" maxlength=""5"" emptyok=""true"" size=""3""/><a href="""&gopage&"page=$(page)"">>></a>"
Else
%>
	(没有待审文件)

<%end if%><br/>
<a href='wjcl.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>'>[文件管理]</a><br/>
<a href="../index.asp?saytk=<%=saytk%>&amp;sid=<%=sid%>">[后台管理]</a>
<%call headsay()%>
