<%Set rs = Server.CreateObject("ADODB.Recordset")
strsql="SELECT top 6 newid,bt,imagesid FROM xwtp where leibie='赛车图片' ORDER BY newid desc"
rs.Open strsql,conn,1
%>
<table width="100%" height="33" border="0" cellpadding="0" cellspacing="1" bordercolorlight="#000000" bordercolordark="#FFFFFF" class="unnamed1">
<%for i=1 to 2%>
<tr bgcolor="#FFFFFF">
<%for j=1 to 3%>
<td height="16" width="169">
<table width="99%"
border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="../../xw/showimg.asp?id=<%=rs("imagesid")%>" width="125" height="82"></td>
</tr>
<tr>
<td align="center"><a href="../xw/imagesnew.asp?id=<%=rs("newid")%>" target="_blank"><%=left(rs("bt"),10)%></a></td>
</tr>
</table>
</td>
<%rs.movenext
next%>
</tr>
<%rs.movenext
next
rs.close
%>
</table>