📄 info_market.asp
字号:
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select top 10 * from sh_chanpin order by chengjiaocount desc",conn,1,1
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%
i=0
do while not rs.eof
%>
<tr>
<td height="24" colspan="2">
<%
response.write " <a href=list.asp?id="&rs("bookid")&" title=此商品已成功销售"&rs("chengjiaocount")&"次>"
if len(trim(rs("bookname")))>12 then
response.write left(trim(rs("bookname")),10)&"..."
else
response.write trim(rs("bookname"))
end if
response.write "</a>"
%> </td>
</tr>
<%
i=i+1
if i>=7then exit do
rs.movenext
loop
rs.close
set rs=nothing
%>
<tr>
<td width="89%" height="24" align="right"><a href="top.asp"><font color="#FF3300">更多>>></font></a></td>
<td width="17%" align="right"> </td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -