<% dim id
do while not rs.eof and i< MaxperPage
jj=rs("簡介")
jj=replace(rs("簡介(jiè)"),"<BR>","")
id=rs("id")
tu="tu/wz"& id &"_1.jpg"
dim rss
set rss=server.CreateObject("adodb.recordset")
rss.open "select 小類 from 小類 where id="&rs("小類"),conn,1,1
if rss.eof and rss.bof then
response.Write""
else
xlmm=rss("小類")
end if
rss.close
%>
<% i=i+1
if i>=MaxperPage then exit do
rs.movenext
loop
%>
<%
end sub
function showpages(totalnumber,maxperpage,filename)
dim n
if TotalPut mod MaxperPage=0 then
n=TotalPut\MaxperPage
else
n=TotalPut\MaxperPage+1
end if
response.write "
"
end function %>