<!--#include file="conn.asp" -->
<!--#include file="ftbbs_nav.asp" -->
<!--#include file="pagefun.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">	
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>飞天论坛,静态论坛,生成静态贴子的论坛</title>
<meta name="keywords" content="飞天论坛,静态论坛,生成静态贴子的论坛">
<script language=javascript src="inc/cookies.js"></script>
<script>
var stylecook = getCookie("STYLESHOW");
var style;
var strstyle;
if(stylecook=="")
{
 stylecook=1;
}
else
{
 stylecook++;
}
style="default0"+stylecook+".css";
strstyle="<link href=\"css/"+style+"\"  rel=\"stylesheet\" type=\"text/css\"> ";
document.write(strstyle);
</script>
<style type="text/css">
<!--
/*分页*/
.intd,.outtd{ height:18px; text-align:center; line-height:18px; font-family:Arial;font-size:12px;cursor:pointer;}
.intd{ background:#66ABD9; font-weight:bold; color:#fff; width:20px; border:1px solid #B3DDF8; }
.outtd{ background:#fff; color:#049; width:20px; border:1px solid #B3DDF8; }
.inputpage {padding:0;font-size:14px;height:18px;border:1px #B3DDF8 solid;}
-->
</style>
</head>
<body>
<!--#include file="navhome.asp" -->
		<!--最新图片/相册开始-->
		<div id="morePhotos" class="width780">
		<%
		pagestr= ""
		root=""
		sql="select bbstitle.title,ftbbs_upload.upload_pic,ftbbs_upload.upload_htm,ftbbs_upload.userid from bbstitle,ftbbs_upload where bbstitle.htmfilename=ftbbs_upload.upload_htm and bbstitle.deleted=0 and ftbbs_upload.sign=0 and ftbbs_upload.bbs_blog_type=0 and (ftbbs_upload.upload_ext='jpg' or ftbbs_upload.upload_ext='gif') order by bbstitle.id desc"
        set rs=server.createobject("adodb.recordset")
        rs.open sql,conn,3,1
        if not rs.eof then
           wzrep =30
           wzpage = clng(request.querystring("page"))
           if len(wzpage) = 0 or wzpage = 0 then wzpage = 1
           rs.PageSize=wzrep
           rs.AbsolutePage=wzpage
           wzpagecount=rs.PageCount
           wzcount=rs.RecordCount
          for i = 1 to wzrep
              if rs.eof then exit for
		         photo_name=rs("userid")
		%>
		<h1><a href="<%=rs("upload_htm")%>" target="_blank"><img src="<%=rs("upload_pic")%>" alt="<%=rs("title")%>" width="110" height="110" border="0" /></a><div><a href="<%=rs("upload_htm")%>" target="_blank"><%=photo_name%></a></div></h1>
		<%
		  rs.movenext
		  next
		end if
		rs.close
		set rs=nothing
		%>
		<div align="left" style="float: left;"><%= pageclass(wzpagecount,wzcount,wzrep,pagestr,root)%>&nbsp;</div>
		</div>
<!--最新图片/相册结束-->
<!-- 版权声明开始 -->
<!--#include file="copyright.htm" -->
<!-- 版权声明结束 -->
</body>
</html>
<%
closedb
%>