<%
dim rst,sqlt
set rst=server.createobject("adodb.recordset")
sqlt="select top 8 * FROM comp where icheck=True and xkz like"&"'%正在筹建%'"&" order by id desc"
rst.open sqlt,conn,1,1
i=1
%>
<%
do while not rst.eof
%>
|
<%if i mod 4 = 0 then%>
<% end if
rst.movenext
i=i+1
loop
rst.close
%>
<%
dim rst2,sqlt2
set rst2=server.createobject("adodb.recordset")
sqlt2="select top 8 * FROM comp where icheck=True and xkz like"&"'%销%中%'"&""
sqlt2=sqlt2 & " order by ontop asc, id desc"
rst2.open sqlt2,conn,1,1
j=1
%>
<%
do while not rst2.eof
%>
|
<%if j mod 4 = 0 then%>
<% end if
rst2.movenext
j=j+1
loop
rst2.close
%>
|