<table border=0 cellpadding=0 cellspacing=0 width=324>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select top 6 * from mofei_news where n_id=1 and write_<>0 order by id desc",conn,1,1
if rs.recordcount=0 then
%>
<tr><td height=100 align=center>暂无信息</td></tr>
<%
else
do while not rs.eof
%>
<tr><td height=24 background=images/leftbg2.jpg>　<img src=images/arrow_2.gif> <a href=newshtml/<%=rs("html")%> target=_blank title=<%=rs("title_")%>><font color=<%=rs("color")%>>
<%if len(rs("title_"))>25 then
response.write left(rs("title_"),24)&"..."
else
response.write rs("title_")
end if
%>
</font></a></td></tr>
<%
rs.movenext
loop
end if
rs.close
response.write "<tr><td height=5></td></tr><tr><td height=1 bgcolor=cccccc></td></tr><tr><td height=5></td></tr>"
rs.open "select top 6 * from mofei_news where n_id<>1 and n_id<>5 and write_<>0 order by id desc",conn,1,1
do while not rs.eof
%>
<tr><td height=24 background=images/leftbg2.jpg>　<img src=images/arrow_2.gif>
<%
if rs("n_id")=2 then response.write "[<a href=newslist.asp?classid=2 target=_blank>行业动态</a>]"
if rs("n_id")=3 then response.write "[<a href=newslist.asp?classid=3 target=_blank>技术看台]</a>"
if rs("n_id")=4 then response.write "[<a href=newslist.asp?classid=4 target=_blank>爱车常识]</a>"
%>
<a href=newshtml/<%=rs("html")%> target=_blank title=<%=rs("title_")%>><font color=<%=rs("color")%>>
<%if len(rs("title_"))>19 then
response.write left(rs("title_"),18)&"..."
else
response.write rs("title_")
end if
%>
</font></a></td></tr>
<%
rs.movenext
loop
rs.close
%>
</table>