设备出租 您现在的位置:东方办公设备 > 设备出租  
<% set rs=server.CreateObject("adodb.recordset") if request.QueryString("sort_id")<>"" then sql="select * from product_info where sort_id="&request.QueryString("sort_id")&" and pass=1 order by sx asc" else sql="select * from product_info where sort_id=22 and pass=1 order by sx asc" end if rs.open sql,conn,1,1 %> <% j=1 for i=1 to x if (j mod 4)=1 then response.write "" end if %> <% if (j mod 4)=0 then response.write "" end if j=j+1 rs.moveNext next %>
<%If rs("small_img")<>"" then%> &title=<%=rs("product_name")%>" target="_blank"> " width="180" height="160" border="0" align="center"> <% Elseif rs("big_img")<>"" then %> &title=<%=rs("product_name")%>" target="_blank"> " width="180" height="160" border="0" align="center"> <% Else %> 暂无图片 <%End If%>
&title=<%=rs("product_name")%>" target="_blank"><%=rs("product_name")%>
 
<% conn.close set conn=nothing %>