<!--#INCLUDE FILE="../HXINCLUDE/HXINCLUDEHEAD.ASP"-->
<%if WS_S.MemberPriv("WS_PublicAffairsDocumentView")<>1 then HX_GoBack "对不起,您的权限不够!",""
ColumnName="":Tablename="HX_DocumentClass":Tablename1="HX_Document":Orderby=" ORDER BY WS_OrderBy ASC"
set rs=WS_S.HX_SetRSD(ColumnName,Tablename,Orderby)
response.write "<head><meta http-equiv='Content-Type' content='text/html; charset=gb2312'><title>查看文档</title><link rel=stylesheet type=text/css href='../HXinclude/HX_Style.css'></head><body topmargin='20' leftmargin='0' bottommargin='0'><table width='596'  border='0' cellspacing='1' cellpadding='0' align=center bgcolor='#613c25'><tr><td colspan='2' bgcolor=FFFBE8><table width='100%'  border='0' cellspacing='0' cellpadding='0'><tr><td height='25' background='../hximages/titleline.gif'><font class='fontmenu'>查看文档</font></td></tr></table><table width='100%'  border='0' cellspacing='1' cellpadding='3' bgcolor=FFFBE8><tr bgcolor='#BF9B73' class='td4'><td><div align='center'>文档类别</div></td><td><div align='center'>总 数</div></td><td><div align='center'>最新文件上传时间</div></td></tr>"
  if rs.recordcount>0 then
    do until rs.eof
  response.write "<tr bgcolor='#FFFBE8' onmouseover=javascript:this.bgColor='#F9F8F2' onmouseout=javascript:this.bgColor='#FFFBE8'><td width='13%'><div align='center'><a href='documentshow.asp?WS_DCID="&rs("WS_DCID")&"'>"&rs("WS_DocumentName")&"</a></div></td><td width='14%'><div align='center'>"
	set prs=WS_S.HX_SetRSD(ColumnName,Tablename1," where WS_DCID="&rs("WS_DCID"))
	response.write prs.recordcount
	if prs.recordcount>0 then
	  DocumetDate=WS_S.Format_Time(prs("WS_DocumetDate"),2)
	end if
	response.write "</div></td><td width='27%'><div align='center'>"&DocumetDate&"</div></td></tr>"
    rs.movenext
    loop
  end if
  response.write "</table></td></tr></table>"%>