Show <table width= "100%" height= "100%" border= "0" >
<tr>
<%
Set rs= Server.CreateObject ("ADODB. Recordset ")
rs.open "SELECT * from Btype ORDER by ID ASC", conn,1,1
%>
<%
Dim tempnum2
tempnum2=1
do, not rs.eof
%>
<td>
<img src=http://www.163design.net/a/y/"Images/sanjiao.gif" width= "9" height= "9" >
</td>
<td>
<strong>
<a href= "Infos.asp?id=<%=trim (RS (" id ")%>" Name= "<%=trim (RS (" id ")%>" ><%=trim "(RS (" type ") ))%></a>
<%
set Rs2=server. CreateObject ("Adodb.recordset")
Rs2.open "Select count (*) as GS from St_infos where btype= '" &rs ("id") & "' and flag= ' 0 '", Conn
gs=rs2 (0)
%>
<font color= "#83837E" >[<%response. Write (GS)%>]</font>
<%
Rs2.close
Set rs2=nothing
%>
</strong>
</td>
<%
if (tempnum2 mod 2) =0 then Response.Write "</tr>" two columns show mod 2
tempnum2=tempnum2+1
Rs.movenext
Loop
%>
</tr>
<%
Rs.close
Set rs=nothing
%>
</table>