<%
sqltext="select classcode,classname from miscell_class where basclass='600' and flag='0' order by sortnum "
rs.Open sqltext,cn,1,1
colzs=2
if rs.RecordCount mod colzs=0 then
rowzs=int(rs.RecordCount/colzs)
else
rowzs=int(rs.RecordCount/colzs)+1
end if
colpencent=int(100/colzs)
for i=1 to rowzs
%>
<%
for j=1 to colzs
if not rs.EOF then
%>
| <%=trim(rs("classname"))%> |
更多 |
|
|
<%
sql="select keyno,title from miscell where classcode='"+rs(0)+"'and nomflag='1' order by updatetime desc"
rs2.Open sql,cn,1,1
k=1
do while not rs2.EOF and k<=8
%>
|
| ·<%=trim(rs2("title"))%> |
<%
k=k+1
rs2.MoveNext
loop
rs2.Close
%>
|
|
|
<%if j=1 then%>
|
<%
end if
rs.MoveNext
else%>
|
<%if j=1 then%>
<%
end if
end if%>
<%
next
Response.Write(" | ")
next
rs.Close
%>
|
|
|