<%dim daosad
set rsdao=server.createobject("adodb.recordset")
sqldao="select top 10 * from [FOX_class1]"        
rsdao.open sqldao,conn,1,1
if rsdao.eof then
response.write "还没有...！"
else
%>
<table border=0 style="border-collapse: collapse" width="100%" cellpadding="0" class="table2">
<%do while not rsdao.eof%>
<tr> 
<td align="center" class="tdbg2" height="24">
<font class="z4">张贴分类</font></td>
<td align="center">
<%if not rsdao.eof then%>
 <a class="scap1" href="adindex.asp?class1=<%=rsdao("id")%>" target="_blank"><%=left(rsdao("class1"),4)%></a>
<%rsdao.movenext 
end if
%></td>
<td align="center">
<%if not rsdao.eof then%>
<font class="z1">| </font><a class="scap1" href="adindex.asp?class1=<%=rsdao("id")%>" target="_blank"><%=left(rsdao("class1"),4)%></a>
<%rsdao.movenext 
end if
%></td>
<td align="center">
<%if not rsdao.eof then%>
<font class="z1">| </font><a class="scap1" href="adindex.asp?class1=<%=rsdao("id")%>" target="_blank"><%=left(rsdao("class1"),4)%></a>
<%rsdao.movenext 
end if
%></td>
<td align="center">
<%if not rsdao.eof then%>
<font class="z1">| </font><a class="scap1" href="adindex.asp?class1=<%=rsdao("id")%>" target="_blank"><%=left(rsdao("class1"),4)%></a>
<%rsdao.movenext 
end if
%></td>
<td align="center">
<%if not rsdao.eof then%>
<font class="z1">| </font><a class="scap1" href="adindex.asp?class1=<%=rsdao("id")%>" target="_blank"><%=left(rsdao("class1"),4)%></a>
<%rsdao.movenext 
end if
%></td>
<td align="center">
<%if not rsdao.eof then%>
<font class="z1">| </font><a class="scap1" href="adindex.asp?class1=<%=rsdao("id")%>" target="_blank"><%=left(rsdao("class1"),4)%></a>
<%rsdao.movenext 
end if
%></td>
<td align="center">
<%if not rsdao.eof then%>
<font class="z1">| </font><a class="scap1" href="adindex.asp?class1=<%=rsdao("id")%>" target="_blank"><%=left(rsdao("class1"),4)%></a>
<%rsdao.movenext 
end if
%></td>
<td align="center">
<%if not rsdao.eof then%>
<font class="z1">| </font><a class="scap1" href="adindex.asp?class1=<%=rsdao("id")%>" target="_blank"><%=left(rsdao("class1"),4)%></a>
<%rsdao.movenext 
end if
%></td>
<td align="center">
<%if not rsdao.eof then%>
<font class="z1">| </font><a class="scap1" href="adindex.asp?class1=<%=rsdao("id")%>" target="_blank"><%=left(rsdao("class1"),4)%></a>
<%rsdao.movenext 
end if
%></td>
<td align="center">
<%if not rsdao.eof then%>
<font class="z1">| </font><a class="scap1" href="adindex.asp?class1=<%=rsdao("id")%>" target="_blank"><%=left(rsdao("class1"),4)%></a>
<%rsdao.movenext 
end if
%></td>
</tr>
<%daosad=daosad+1
if daosad>=1 then exit do
loop
end if
rsdao.close
set rsdao=nothing
%>
</table></body></html>