📄 info_xstop.asp
字号:
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select top 10 * from shop_product order by chengjiaocount desc",conn,1,1%>
<style type="text/css">
<!--
.style4 {color: #FF5C99}
-->
</style>
<TABLE cellSpacing=0 cellPadding=0 width=228 border=0>
<TBODY>
<TR>
<TD vAlign=top width=4 height=4><IMG height=4
src="img/xiao/new_line_004.gif" width=4></TD>
<TD background=img/xiao/new_line_008.gif height=4></TD>
<TD vAlign=top width=4 height=4><IMG height=4
src="img/xiao/new_line_005.gif" width=4></TD>
</TR>
<TR>
<TD background=img/xiao/new_line_009.gif></TD>
<TD
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 3px; PADDING-TOP: 0px"
align=middle><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/xiao/new_line_012.gif" width="212" height="62"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<%i=0
do while not rs.eof%>
<tr>
<td width="1%" height="24" valign="middle"> </td>
<td width="99%" valign="middle"> <img src="img/xiao/008.gif" width="7" height="9">
<%response.write "<a href=product.asp?id="&rs("productid")&" title=此商品已成功销售"&rs("chengjiaocount")&"次>"
if len(trim(rs("productname")))>11 then
response.write left(trim(rs("productname")),10)&"."
else
response.write trim(rs("productname"))
end if
response.write "</a>"
%>
<font color=#DC143C>↑<font color=#DC143C>¥<%=trim(rs("huiyuanjia"))%></font></font>
<table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" background="img/xiao/lineDotGray.gif">
<tr>
<td height="1" background="img/xiao/blank.gif"></td>
</tr>
</table></td>
</tr>
<%i=i+1
if i>=10 then exit do
rs.movenext
loop
rs.close
set rs=nothing%>
</table> </TD>
<TD background=img/xiao/new_line_010.gif> </TD>
</TR>
<TR>
<TD vAlign=top width=4 height=4><IMG height=4
src="img/xiao/new_line_006.gif" width=4></TD>
<TD background=img/xiao/new_line_011.gif></TD>
<TD vAlign=top width=4 height=4><IMG height=4
src="img/xiao/new_line_007.gif" width=4></TD>
</TR>
</TBODY>
</TABLE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -