📄 wangyou_prime2.asp
字号:
<!--精品热卖-->
<table width="100%" height="140" border="0" align="center" cellspacing="0" class="table-xia">
<tr>
<td width="22%" rowspan="7" class="table-you" align="center"><TABLE width=100 height=100 border=0 align="center" cellPadding=2 cellSpacing=1 bgColor=#e1e1e1>
<TBODY>
<TR>
<TD width=100 height=100 bgColor=#ffffff align=center>
<%if rs("bookpic")="" then
response.write "<div align=center><a href=list.asp?id="&rs("bookid")&" ><img src=images/emptybook.gif width=90 height=90 border=0></a></div>"
else%>
<a href=list.asp?id=<%=rs("bookid")%> ><img src="<%=trim(rs("bookpic"))%>" width=100 border=0 height=100></a>
<%end if%>
</td>
</tr>
</tbody>
</table></td>
<td height="25" colspan="2"><img src="images/ring01.gif"> <a href=list.asp?id=<%=rs("bookid")%> ><font color="#ff6600"><u>
<%
response.write trim(rs("bookname"))%>
</u></font></a></td>
<td width="24%" rowspan="7" class="table-zuo"><table width="100%" height="99" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align=center> 市场价:<s><%=trim(rs("shichangjia"))%> 元</s><br>
会员价:<font color=#FF3300><%=trim(rs("huiyuanjia"))%> 元</font><br>
VIP价:<font color=#FF0000><%=trim(rs("vipjia"))%>元</font> </td>
</tr>
<tr>
<td align=center> <a href="javascript:;" onClick="javascript:window.open('shopcart.asp?id=<%=rs("bookid")%>&action=add','shouchang','width=600,height=600,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');"><img src="images/goumai.gif" width="40" height="18" border=0></a> <a href="javascript:;" onClick="javascript:window.open('favorites.asp?id=<%=rs("bookid")%>&action=add','shouchang','width=600,height=600,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');"><img src="images/Favorites.gif" width="40" height="18" border=0></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="32" colspan="2">【商品规格】
<%if len(trim(rs("isbn")))>8 then
response.write left(trim(rs("isbn")),7)&".."
else
response.write trim(rs("isbn"))
end if%></td>
</tr>
<tr>
<td height="34" colspan="2">【商品单位】 <font color="#FF0000"><%=rs("bookchuban")%></font></td>
</tr>
<tr>
<td height="33">【商品状态】
<%if rs("kucun")>0 then%>
有货
<%else%>
暂时缺货
<%end if%></td>
<td><font color="#FF6600">【评分星级】</font>
<%if rs("pingjizong")>0 and rs("pingji")>0 then
xx=rs("pingjizong")\rs("pingji")
else
xx=5
end if
response.write "<img src=images/pingji/"&xx&".gif alt=评论星级>"%></td>
</tr>
<tr>
<td width="31%" height="38">【所属类别】
<%set rs2=server.createobject("adodb.recordset")
rs2.open "select * from sh_sort where anclassid="&rs("anclassid"),conn,1,1
if rs2.recordcount>0 then
response.write "<a href=class.asp?id=big&anid="&rs2("anclassid")&" targer=_blank>"&rs2("anclass")&"</a>"
end if
rs2.close
set rs2=nothing%></td>
<td width="23%"><font color="#FF6600">【评分人数】</font> <%=rs("pingji")%> <font color="#FF6600">人</font> </td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -