📄 info_newgtou.asp
字号:
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="232" valign="top"><TABLE width=99% height="180" border=0 align="center" cellPadding=0 cellSpacing=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 width="1" background=img/xiao/new_line_009.gif></TD>
<TD
align=middle valign="top"
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 3px; PADDING-TOP: 0px"><table width="218" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="218"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="13%"><img src="img/xiao/LEI.gif" width="17" height="25"></td>
<td width="87%">热门商品</td>
</tr>
<TR>
<TD colSpan=2 height=3><IMG height=3 src="img/xiao/00_menu_line.gif" width=174></TD>
</TR>
</table></td>
</tr>
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select Top 6 * from shop_product order by liulancount,productid desc ",conn,1,1
if rs.eof and rs.bof then
response.write "目前还没有热门商品"
'response.End
else
%>
<%
if not rs.eof then
i=1
do while not rs.eof%>
<td valign="top"><table width="55" height="5" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="55" height="58" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><TABLE width=55 height=55 border=0 align="center" cellPadding=2 cellSpacing=1 bgColor=#e1e1e1>
<TBODY>
<TR>
<TD bgColor=#ffffff align=center><%if rs("upfilepic")="" then
response.write "<div align=center><a href=product.asp?id="&rs("productid")&" ><img src=img/emptybook.gif width=50 height=50 border=0></a></div>"
else%>
<a href=product.asp?id=<%=rs("productid")%> ><img src="<%=trim(rs("upfilepic"))%>" width=50 border=0 height=50></a>
<%end if%>
</td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td height="3"></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></td>
</tr>
</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></td>
<td width="241" valign="top"><TABLE width=100% height="180" border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD vAlign=top width=7 height=4><IMG height=4
src="img/xiao/new_line_004.gif" width=4></TD>
<TD width="724" height=4 background=img/xiao/new_line_008.gif></TD>
<TD vAlign=top width=10 height=4><IMG height=4
src="img/xiao/new_line_005.gif" width=4></TD>
</TR>
<TR>
<TD width="7" background=img/xiao/new_line_009.gif></TD>
<TD
align=middle valign="top"
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 3px; PADDING-TOP: 0px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="82%" height="23"><img src="img/xiao/000benqi.gif" width="160" height="25"></td>
<td width="18%"><a href="dongtai.asp"><img src="img/xiao/btn_all01.gif" width="38" height="20" border="0"></a></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="22">
<tr>
<%'dim i
i=0
set rs=server.CreateObject("adodb.recordset")
rs.open "select top 6 newsname,adddate,newsid from shop_news order by adddate desc",conn,1,1
if rs.eof and rs.bof then
response.write "目前还没有商城新闻"
else
do while not rs.eof
i=i+1%>
<td width="100%" height="22" valign="middle"> <font color="#FFFFFF"> </font> <img src="img/xiao/blackspot.gif" width="5" height="5">
<%if len(trim(rs("newsname")))>17 then
response.write "<a href='news.asp?id="&rs("newsid")&"' title="&year(rs("adddate"))&"Äê"&month(rs("adddate"))&"ÔÂ"&day(rs("adddate"))&"ÈÕ·¢²¼>"&left(trim(rs("newsname")),16)&"."&"</a><br>"
else
response.write "<a href='news.asp?id="&rs("newsid")&"'>"&trim(rs("newsname"))& "</a><br>"
end if
if i>=10 then exit do%></td>
</tr>
<%rs.movenext
loop
end if
rs.close
set rs=nothing%>
</table></TD>
<TD background=img/xiao/new_line_010.gif> </TD>
</TR>
<TR>
<TD vAlign=top width=7 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=10 height=4><IMG height=4
src="img/xiao/new_line_007.gif" width=4></TD>
</TR>
</TBODY>
</TABLE></td>
<td width="212" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/xiao/000benqi.gif" width="160" height="25"></td>
<td><img src="img/xiao/btn_all01.gif"></td>
</tr>
</table>
<img src="img/xiao/00001282.gif" width="212" height="154"></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -