<%
rs.open "select 小類(lèi),id from 小類(lèi) where 大類=3 order by 序號 desc,id",conn,1,1
if rs.eof and rs.bof then
response.Write ""
else
do while not rs.eof
%>
<%
rs.open "select top 7 標題,id from 內容 where 大類=4 and 小類(lèi)=20 order by 序號(hào) desc,id desc",conn,1,1
if rs.eof and rs.bof then
response.Write""
else
do while not rs.eof
%>