<%
smallclass=fstr(request("smallclass"))
bigclass=fstr(request("bigclass"))
num=fstr(request("num"))
set rs=server.createobject("adodb.recordset")
sql="select top "&num&" * from info where smallclass='"&smallclass&"' order by tuijian desc,vip desc, id asc"
rs.open sql,conn,1,1
if rs.eof or rs.bof then
response.write"| 暂时没有数据! |
"
end if
for i=1 to num
%>
.html" target="_blank"><%=cutstr(rs("company"),30)%>
|
电话:<%=cutstr(rs("phone"),22)%> |
<%
rs.movenext
next
rs.close
%>