<%
set rsn=server.CreateObject("Adodb.recordset")
sqln="select * from info_sort where qtype='information' order by orderno asc,id asc"
Rsn.open sqln,conn,1,1
do while not rsn.eof
%>
<%
if rsn("id")<>"" then
num=conn.execute("select count(*) from query_info where sortid="&rsn("id")&" ")(0)
if num=1 then
%>
<%
sql="select top 1 * from query_info where sortid="&rsn("id")&" order by order_info asc,id asc"
Rs.open sql,conn,1,1
if not(rs.eof) then
%>
"" then%> class="content fl" <%end if%>>
<%=rs("Field1")%>
">[更多]
<%if rs("images")<>"" then%>
"/>
<%end if%>
<%
end if
rs.close
%>
<%else%>
<%end if
end if
%>
<%
rsn.movenext
loop
rsn.close
%>