📄 b2b_indexcp1.asp
字号:
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<%
rs.open "select top 15 id,name,pic,price1,price2,adddate,stock,spic from product where stock >= 0 and (recommend<>3 and recommend = 1) order by adddate desc",conn,1,1
if rs.eof and rs.bof then
rs.close
response.write "<table CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=""100%""><tr><td align=center>对不起,请您先到后台添加商品!</td></tr></table>"
else
%>
<style type="text/css">
<!--
.style1 {color: #999999}
.style2 {color: #000000}
.unnamed1 { text-decoration: none;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<body><TABLE cellSpacing=4 cellPadding=4 width=564 align=center border=0>
<TBODY>
<% dim j
j=0
do while not rs.eof %>
<%if j>=15 then exit do%>
<TD align=center valign="top" border="0">
<TABLE cellSpacing=0 cellPadding=0 width="130" border=0>
<TBODY>
<tr><td height="130" width="130" align="center" background="images/itembg.jpg">
<A HREF=b2b_cpinfo.asp?id=<%=rs("id")%> TARGET=_blank>
<IMG SRC=<%if trim(rs("spic"))="" then %>
images/emptybook.gif
<% else %>
image\<% = trim(rs("spic")) %>
<% end if%> BORDER=0 width="<% = webimg9 %>" height="<% = webimg10 %>"></A></td></tr>
<TR>
<TD align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><font color="#FFFFFF"></font></td>
</tr>
</table></TD>
</TR>
</TBODY>
</TABLE></TD>
<% rs.movenext
j=j+1
if rs.eof then
exit do
end if
loop %> </TR>
<% end if %></TABLE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -