<%
sortsql="select * from class_1"
set rssort=conn.execute(sortsql)
if rssort.eof then
response.write"暂无行业分类!"
else
sortid=rssort("sortid")
%>
<%j=1
do while not rssort.eof
%>
|
"><%=rssort("sort")%>
(<%=yijicount_cor%>) |
<%if j mod 3 = 0 then %>
<%end if%> <%
rssort.movenext
j=j+1
loop
end if
rssort.close
set rssort=nothing
%>
|
<%
sortsql="select * from class_1"
set rssort=conn.execute(sortsql)
if rssort.eof then
response.write"暂无行业分类"
else
do while not rssort.eof
%>
<%
typesql="select * from class_2 where sortid="&rssort("sortid")&""
set rstype=conn.execute(typesql)
if rstype.eof or rstype.bof then
response.write"暂无行业小类"
else
response.write""
response.write""
response.write""
do while not rstype.eof
response.write"| "
response.write""&rstype("typename")&" ("&erjicount_cor&") | "
a=a+1
if a=3 then
response.Write" "
a=0
end if
rstype.movenext
loop
response.write""
response.write" "
end if
rstype.close
set rstype=nothing
%> |
|
<%
rssort.movenext
loop
end if
rssort.close
set rssort=nothing
%>
|
|