⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 views_tao.asp

📁 wanzhengban 完整版 wanzhengban 完整版
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<table border="0" cellpadding="0" cellspacing="0" width="95%" height="50">
<tr><td height="55" align="center" width="100"><a href="product/pro<%=rs("hw_id")%>.htm"><img src="<%hw_pic=split(rs("hw_pic"),"*")%><%=hw_pic(1)%>" onerror="this.src='img/noimage.jpg'" width="50" height="50" border="0"></a></td>
	<td height="55" width="345">
	<a href="product/pro<%=rs("hw_id")%>.htm"><font color="#FF0000" style="font-size:10pt; font-weight:700"><%=rs("hw_name")%></a></td>
	<td height="55" align="center" width="75">
	<font color="#FF0000" style="font-size:10pt; font-weight:700">&yen; <%=rs("hw_price2")%>元</font></td>
	<td height="55" align="center" width="50"><a href=basket.asp?hw_id=<%=rs("hw_id")%>><img border="0" src="img/buy.gif"></a></td>
	<td height="55" align="center" width="50"><a href="product/pro<%=rs("hw_id")%>.htm"><img border="0" src="img/xiang.gif" width="34" height="15"></a></td></tr>
<%
for i=1 to 5
if rs("tao_name"&i)<>"" and  rs("tao_price"&i)<>"" then
%>
<tr><td height="55" align="center" width="100"><a href="views_tao.asp?hw_id=<%=rs("hw_id")%>&tao_id=<%=i%>"><img src="<%tao_pic=split(rs("tao_pic"&i),"*")%><%=tao_pic(1)%>" onerror="this.src='img/noimage.jpg'" width="50" height="50" border="0"></a></td>
	<td height="55" width="345">
	<a href="views_tao.asp?hw_id=<%=rs("hw_id")%>&tao_id=<%=i%>"><font color="#FF0000" style="font-size:10pt; font-weight:700"><%=rs("hw_name")&rs("tao_name"&i)%></a></td>
	<td height="55" align="center" width="75">
	<font color="#FF0000" style="font-size:10pt; font-weight:700">&yen; <%=rs("tao_price"&i)%>元</font></td>
	<td height="55" align="center" width="50"><a href=basket.asp?hw_id=<%=rs("hw_id")%>&tao_id=<%=i%>><img border="0" src="img/buy.gif"></a></td>
	<td height="55" align="center" width="50">
	<a href="views_tao.asp?hw_id=<%=rs("hw_id")%>&tao_id=<%=i%>">
	<img border="0" src="img/xiang.gif" width="34" height="15"></a></td></tr>
<%end if
next%>
</table>
</td></tr>
<tr><td height=12 background="img/v9.gif"></td></tr>
<tr><td height=10></td></tr>
<%
end if
%>
<tr><td height=36 style="font-size: 10pt; font-weight: bold; color:#FA860B" background="img/v7.gif" class="yin"><p style="margin-left: 35px">商品描述:</td></tr>
<tr><td height=20 background="img/v8.gif" align="center">
<table border="0" cellpadding="0" cellspacing="0" width="95%" height="50">
	<tr>
		<td valign="top"><%=rs("hw_content2")%></td>
	</tr>
</table>
</td></tr>
<tr><td height=12 background="img/v9.gif"></td></tr>
<tr><td height=10></td></tr>
<tr><td height=36 style="font-size: 10pt; font-weight: bold; color:#FA860B" background="img/v7.gif" class="yin"><p style="margin-left: 35px">参数属性:</td></tr>
<tr><td height=40 align="center" bgcolor="#EAF1FB" background="img/v8.gif">
<table border="0" cellpadding="5" cellspacing="0" width="95%">
<%
ii=-1
for i=1 to 50
if rs("ziduan"&i)<>"" then
ii=-ii
if ii=1 then
%>	
<tr><td height=20 align="right" width="100" bgcolor="#EAF1FB"><%=rss("ziduan"&i)%>:</td>
	<td height="20" width="20" bgcolor="#EAF1FB"></td>
	<td height="20" bgcolor="#EAF1FB"><%=rs("ziduan"&i)%></td></tr>
<%else%>
	<tr><td height=20 align="right" width="100"><%=rss("ziduan"&i)%>:</td>
	<td height="20" width="20"></td>
	<td height="20"><%=rs("ziduan"&i)%></td></tr>
<%end if
end if
next
rss.close
set rss=nothing%>
</table></td></tr>
<tr><td height=12 background="img/v9.gif"></td></tr>
</table>
<table cellSpacing="0" cellPadding="0" width="700" border="0" id="table37">
<tr><td align="middle" height="10" colspan="2"></td></tr>
<tr><td height="30" bgcolor="#EEEEEE" width="600" class="yin"  style="font-size: 10pt; font-weight: bold; color:#FA860B">&nbsp;产品评论及提问:</td>
 <td align="middle" width="100" bgcolor="#EEEEEE"><a href="#" onclick="javascript:window.open('addly.asp?id=<%=rs("hw_id")%>','newwindow','toolbar=no,scrollbars=yes,resizable=no,top=0,left=0,width=420,height=180');">
<img border="0" src="img/pinglun1.gif" width="74" height="19"></a></td></tr>
<tr><td align="middle" height="2" bgcolor="#FFAA00" colspan="2"></td></tr>
<tr><td width="700" height="30" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #CCCCCC" bgcolor="#F5F5F5" colspan="2">
<p style="line-height: 150%; margin: 5px"><script language="JavaScript1.1" src="html/new.asp?id=<%=hw_id%>"></script>
</td></tr></table></td>
			<td width="240" align="center" height="100" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="230"><tr>
	<td height="20"></td></tr>
<tr><td height="35" background="img/v10.gif"  class="yin">
	<p style="margin-left: 40px"><font color="#000080">最近浏览产品:</font></td></tr>
<tr><td class="price3" height="23" bgcolor="#FFFFFF" background="img/v12.gif" align="center">
<table border="0" cellpadding="5" cellspacing="0" width="95%">
<%
recent=split(session("recent"),"/")
if ubound(recent)<=9 then
for i=0 to ubound(recent)
hwid=trim(recent(i))
rs2.open "select * from hw where hw_id="&hwid&"",conn,1,1
%>
<tr><td height="20" width="180"><a target="_blank"  href=product/pro<%=rs2("hw_id")%>.htm><%=rs2("hw_name")%></a></td>
	<td height="20" width="35" align="center"><a href="basket.asp?hw_id=<%=rs2("hw_id")%>"><img border="0" src="img/buy.gif"></a></td></tr>
<%
rs2.close
next
else
for i=0 to 9
hwid=trim(recent(i))
rs2.open "select * from hw where hw_id="&hwid&"",conn,1,1
%>
<tr><td height="20" width="180"><a target="_blank"  href=product/pro<%=rs2("hw_id")%>.htm><%=rs2("hw_name")%></a></td>
	<td height="20" width="35" align="center"><a href="basket.asp?hw_id=<%=rs2("hw_id")%>"><img border="0" src="img/buy.gif"></a></td></tr>
<%
rs2.close
next
end if
%>
</table></td></tr>
<tr><td height="9" background="img/v11.gif"></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="230">
<tr><td height="8"></td></tr>
<tr><td height="35" background="img/v10.gif"  class="yin"><p style="margin-left: 40px"><font color="#000080">相同价位产品:</font></td></tr>
<tr><td class="price3" height="20" bgcolor="#FFFFFF" background="img/v12.gif" align="center">
<table border="0" cellpadding="5" cellspacing="0" width="95%">
<%
pricea=int(rs("hw_price2")*80/100)
priceb=int(rs("hw_price2")*120/100)
rs2.open "select top 10 * from hw where hw_price2>="&pricea&" and hw_price2<="&priceb&" and hw_id<>"&hw_id&" and sort_id="&sort_id&" order by tjindex desc,tjsort desc,hw_id desc",conn,1,1
if rs2.eof and rs2.bof then
response.write "<tr><td height=23><p style='margin-left: 15px'>暂无同价位产品</td></tr>"
else
do while not rs2.eof
%>
<tr><td height="20" width="180"><a target="_blank"  href=product/pro<%=rs2("hw_id")%>.htm><%=rs2("hw_name")%></a></td>
	<td height="20" width="35" align="center"><a href="com.asp?action=add&hw_id=<%=rs2("hw_id")%>"><img border="0" src="img/duibi.gif"></a></td></tr>
<%
rs2.movenext
loop
end if
rs2.close
%></table></td></tr>
<tr><td height="9" background="img/v11.gif"></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="230"><tr><td height="8"></td></tr>
<tr><td height="35" background="img/v10.gif"  class="yin">
	<p style="margin-left: 40px"><font color="#000080">相同品牌产品:</font></td></tr>
<tr><td class="price3" height="20" bgcolor="#FFFFFF" background="img/v12.gif" align="center">
<table border="0" cellpadding="5" cellspacing="0" width="95%">
<%
pinpai_id=rs("pinpai_id")
rs2.open "select top 10 * from hw where pinpai_id="&pinpai_id&" and hw_id<>"&hw_id&" order by tjindex desc,tjsort desc,hw_id desc",conn,1,1
if rs2.eof and rs2.bof then
response.write "<tr><td height=23><p style='margin-left: 15px'>暂无同品牌产品</td></tr>"
else
do while not rs2.eof
%>
<tr><td height="20" width="180"><a target="_blank"  href=product/pro<%=rs2("hw_id")%>.htm><%=rs2("hw_name")%></a></td>
	<td height="20" width="35" align="center"><a href="com.asp?action=add&hw_id=<%=rs2("hw_id")%>"><img border="0" src="img/duibi.gif"></a></td></tr>
<%rs2.movenext
loop
end if
rs2.close
set rs2=nothing%><tr><td height="20" width="215" colspan="2" align="right"><p style="margin-right: 5px"><a href="product/pinpai<%=pinpai_id%>-1.htm">更多...</a></td></tr>
</table></td></tr>
<tr><td height="9" background="img/v11.gif"></td></tr>
</table>
</td></tr></table>
</div>
<%end if
rs.close
%></div><!--#include file="copy.asp"-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -