📄 tui1.asp
字号:
<style type="text/css">
<!--
.style1 {font-size: 14px}
-->
</style>
<table width="590" height="46" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#ECE9D8" bgcolor="#FFCC66">
<tr>
<td height="46"><span class="style1"><br>
购买此商品的顾客同时也购买以下商品</span></td>
</tr>
</table>
<table width="590" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<%
if rs.eof and rs.bof then
response.write "<td align=center>对不起,本栏目还没有比较适合您选购的商品!</td>"
'response.End
else
%>
<%
if not rs.eof then
i=1
do while not rs.eof%>
<td width="195" align="center" valign="top"> <table width="195" border="0" cellspacing="0" cellpadding="0" class="main">
<tr>
<td> <%if rs("bookpic")="" then
response.write "<div align=center><a href=list.asp?id="&rs("bookid")&"><img src=images/emptybook.gif width=75 height=75 border=0></a></div>"
else
%> <div align="center"><a href=list.asp?id=<%=rs("bookid")%> target="_blank"><img src="<%=trim(rs("bookpic"))%>" width=75 border=0 height="75" alt="<%=trim(rs("bookname"))%>"></a>
<%end if%>
</div></td>
<td valign=top width="59%"><a class=a4 href=list.asp?id=<%=rs("bookid")%> target="_blank"><br>
</a> <a href=list.asp?id=<%=rs("bookid")%> target="_blank">
<%if len(trim(rs("bookname")))>7 then
response.write left(trim(rs("bookname")),7)&".."
else
response.write trim(rs("bookname"))
end if
%>
</a><br> 市场价:<%=trim(rs("shichangjia"))%>元<br> 会员价:<%=trim(rs("huiyuanjia"))%>元<br> VIP 价:<%=trim(rs("Vipjia"))%><br></td>
</tr>
</table></td>
<%if i mod 3 = 0 then%>
</tr>
<%end if
rs.movenext
i=i+1
loop
rs.close
end if
end if
%>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -