晕
<%
set rs=server.createobject("adodb.recordset")
sql="select top 11 * from bigclass order by id asc"
rs.open sql,conn,1,1
%>
<%
set rs1=server.createobject("adodb.recordset")
sql1="select top 11 * from news where bigclassname='"&rs("bigclassname")&"' order by id desc"
rs1.open sql1,conn,1,1
do until rs1.eof
%>
<a href="show_news.asp?id=<%=rs1("id")%>"title="<%=rs1("title")%>" target="_blank" <%If DateDiff("d",Rs1("time"),now())<=1 Then response.Write(" style=color:#FF0000")%>> <%=left(rs1("title"),20)%>
<%if len(rs1("title"))>20 then response.write "…" end if%>
<br />
<%
rs1.movenext ()
loop
%>
这是你的代码么?
http://www./