抱歉啊。
代码如下
<table width="705" height="178" border="0" align="right" cellspacing="0">
<tr>
<td height="28" bgcolor="#192731"><span class="STYLE6"> 作品赏析
<%sql="select s_id,s_s,s_name,s_title,s_img from small"
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,3
if not(rs.eof and rs.bof) then
rs.pagesize=32
pagenum=request.QueryString("pagenum")
if pagenum="" then
rs.absolutepage=1
pagenum=1
else
rs.absolutepage=pagenum
end if%>
</span></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="700" height="20" class="STYLE11"><br><p><a href="index.asp">首页</a> >> <a href="p.asp">所有产品</a> >> 全部产品<br>
</p>
<p> </p></td>
</tr>
<tr>
<%i=0
do while not rs.eof and i<rs.pagesize
i=i+1%>
<td height="120" colspan="2" >
<DIV style="FILTER: Dropshadow(color=#cccccc,offX=4,offY=4); OVERFLOW: visible; WIDTH: 150px; HEIGHT: 120px">
<DIV style="BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; BACKGROUND: white; FLOAT: left; OVERFLOW: visible; BORDER-LEFT: #999 1px solid; WIDTH: 10px; LINE-HEIGHT: 4px; BORDER-BOTTOM: #999 1px solid; LETTER-SPACING: 4px; HEIGHT: 10px">
<DIV style="BORDER-RIGHT: #ffffff 4px solid; BORDER-TOP: #ffffff 4px solid; BACKGROUND: white; OVERFLOW: visible; BORDER-LEFT: #ffffff 4px solid; WIDTH: 10px; LINE-HEIGHT: 4px; BORDER-BOTTOM: #ffffff 4px solid; LETTER-SPACING: 4px; HEIGHT: 10px"><IMG src="<%=rs("s_img")%>" width="130" height="100"></DIV></DIV></DIV></td>
<%if i mod 4=0 then
response.Write("</tr><tr>")
end if
rs.movenext
loop
else
response.write("<td height='120'>暂无图片显示</td>")
end if%>
</tr>
</table>