📄 list.asp
字号:
elseif ccc=5 then
response.write"现金交易"
end if
%>] [<%
if ddd=1 then
response.write"特快专递"
elseif ddd=2 then
response.write"邮局托运"
elseif ddd=3 then
response.write"航空托运"
elseif ddd=4 then
response.write"其它送货"
elseif ddd=5 then
response.write"买家自取"
end if
%>] </font></td>
</tr>
<tr>
<tr>
<td valign="middle"><font color="#0099CC">新旧程度:
<%if rs("dazhe")=0 then%>
[全 新]
<%else if rs("dazhe")=9 then%>
[九成新]
<%else if rs("dazhe")=8 then%>
[八成新]
<%else if rs("dazhe")=7 then%>
[七成新]
<%else if rs("dazhe")=6 then%>
[六成新]
<%else if rs("dazhe")=5 then%>
[全 新]
<%else if rs("dazhe")=4 then%>
[四成新]
<%else if rs("dazhe")=3 then%>
[三成新]
<%else if rs("dazhe")=2 then%>
[二成新]
<%else if rs("dazhe")=1 then%>
[一成新]
<%end if%>
<%end if%>
<%end if%>
<%end if%>
<%end if%>
<%end if%>
<%end if%>
<%end if%>
<%end if%>
<%end if%>
竞价需要的信用度:<%=rs("yeshu")%> </font></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="24%"><div align="center"><font color="#0099CC">剩余时间:</font></div></td>
<td width="76%"><font color="#0099CC">
<%
enddate=trim(rs("closedate"))
s1=DateDiff("s",now(),enddate)
if s1>=0 then
showdate=int(s1/3600/24)
h=int((s1-showdate*3600*24)/3600)
m=int((s1-showdate*3600*24-h*3600)/60)
s=s1-showdate*3600*24-h*3600-m*60
end if
%>
<%
response.write "<font color=#A886AC>"
if showdate>0 then
response.write ""&showdate&"天"
end if
if h>0 then
response.write"" &h&"小时"
end if
if m>0 then
response.write"" &m&"分"
end if
if s>0 then
response.write"" &s&"秒"
end if
response.write "</font>"
if showdate<=0 and h<=0 and m<=0 and s<=0 then
response.write"该商品已经过期"
end if
%>
<%if rs("kucun")>0 then%>
还剩有商品
<%else%>
已下架
<%end if%>
</font></td>
</tr>
</table></td>
</tr>
<td height="81">
<%if rs("kucun")>0 and rs("yikoujia")=0 then%>
<table width="100%" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#CCCCCC" class="css03">
<tr>
<td width="70" rowspan="2" bgcolor="#E8E8E8"><font color="#0099CC">商品价格:</font><font color="#0099CC"> </font></td>
<td width="89" align="center" valign="middle" bgcolor="#E8E8E8"><font color="#0099CC">¥<%=formatnumber(rs("shichangjia"),2,true)%>元 <br>
</font></td>
<td width="71" align="center" valign="middle" bgcolor="#E8E8E8"><font color="#0099CC">¥<%=formatnumber(rs("jjtdu"),2,true)%>元</font> <font color="#0099CC"><br>
</font></td>
<td width="78" align="center" valign="middle" bgcolor="#E8E8E8"><font color="#0099CC">
<%=trim(rs("kucun"))%> <%=rs("bookchuban")%></font></td>
</tr>
<tr bgcolor="#E8E8E8">
<td align="center" bgcolor="#E8E8E8"><font color="#0099CC">起拍价</font></td>
<td align="center"><font color="#0099CC">竞价梯度</font></td>
<td align="center"><font color="#0099CC"> 商品数量</font></td>
</tr>
</table>
<%else%>
<font color="#0000FF">一口价方式销售 价格:<font color="#0099CC"></font></font>
<font color="#0099CC"><%=formatnumber(rs("shjiatejiabook"),2,true)%></font><font color="#0000FF"> 元</font><font color="#0033FF">
销售数量 <%=trim(rs("kucun"))%> <%=rs("bookchuban")%></font>
<%end if%>
<table width="100%" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#CCCCCC" class="css03">
<tr><%if rs("kucun")>0 and rs("yikoujia")=1 then%>
<td width="29%" align="center" bgcolor="EEEEEE"><a href="tuangou.asp?shjiaid=<%=shjiaid%>&bookid=<%=id%>&bookname=<%=rs("bookname")%>" onClick="OpenNews()" target="newswin"><font color="cc0000">批发或集团采购</font></a></td><%end if%>
<td width="23%" align="center" bgcolor="EEEEEE"><a href=# onClick="window.open('sendmail.asp?bookid=<%=id%>&bookname=<%=rs("bookname")%>', 'basket','menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=0,resizable=0,width=550,top=10,left=0,height=345')"><font color="cc0000">推荐给朋友</font></a>
</td>
<td width="24%" align="center" bgcolor="EEEEEE"><a href="help.asp"><font color="cc0000">帮助中心</font></a></td>
<td width="24%" align="center" bgcolor="EEEEEE"><a href="user.asp"><font color="cc0000">我的专区</font></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" height="60">
<a href="<%=trim(rs("zhuang"))%>" ><img src="images/detailview_s.gif" width="115" height="36" border=0></a></td>
<td height="60" valign="middle" class="table-shang">
<%
if rs("yikoujia")=0 then
%>
<a href="#" ONCLICK="window.open('jingjia.asp?id=<%=rs("bookid")%>','Sample','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=220,height=250,left=300,top=100')"><img src="images/detailview_b1.gif" width="100" height="36" border=0></a>
<%else%>
<a href="#" ONCLICK="window.open('dingdansub.asp?id=<%=rs("bookid")%>','Sample','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=220,height=250,left=300,top=100')"><img src="images/detailview_b.gif" width="100" height="36" border=0></a>
<%end if%>
</a><a href="shoucang.asp?id=<%=rs("bookid")%>&action=add" target="_blank" ><img src="images/detailview_c.gif" width="100" height="36" border=0></a>
</td>
</tr>
</table>
<table width="100%" class="table-shang" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<img src="images/top_img_01.gif" align="absmiddle">
<table width="98%" border="0" cellspacing="0" cellpadding="10" align="center">
<tr>
<td><p></p>
<%=rs("bookcontent")%>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<%
response.write "<tr><td align=right><a href=research.asp?action=1&anclassid=0&searchkey="&trim(rs("bookname"))&" >查看更多关于<font color=red>"&trim(rs("bookname"))&"</font>的商品>></a> </td>"
rs.close
set rs=nothing
end if
%>
<tr>
<td class="table-shang"><!--#include file="showjingjia.asp"-->
</td>
</tr>
<tr>
<td class="table-shang">
<img src="images/top_img_02.gif" align="absmiddle">
</td>
</tr>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from shop_pinglun where bookid="&request("id")&" order by pinglundate desc",conn,1,1
j=rs.recordcount
plcount=rs.recordcount
if j>3 then j=3
for i=1 to j
%>
<tr>
<td>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr bgcolor="#FFFFFF">
<td align="center">
<table width="95%" border="0" align="center" cellpadding="2" cellspacing="1">
<tr bgcolor="#FFFFFF">
<td colspan="2">主题:
<%=trim(rs("pingluntitle"))%></td>
<td width="20%"><img src="images/level<%=rs("pingji")%>.gif"></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2">作者:
<%=trim(rs("pinglunname"))%> (<%=trim(rs("pinglundate"))%>)</td>
<td width="20%"><%=trim(rs("ip"))%></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="3" bgcolor="#FFFFFF">内容:
<%if len(rs("pingluncontent"))>24 then
response.write left(rs("pingluncontent"),20)&"... <a href=""javascript:;"" onClick=""javascript:window.open('pinglunll.asp?id="&rs("pinglunid")&"','pinglun','width=300,height=400,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"" title="&trim(rs("pingluntitle"))&">[详细内容]</a>"
else response.write rs("pingluncontent")
end if%>
</td>
</tr>
<%if trim(rs("huifu"))<>"" then%>
<tr bgcolor="#FFFFFF">
<td colspan="3"><b><font color="#ff6600">销售商回复:</font></b><%=rs("huifu")%>
</td>
</tr>
<%end if%>
</table>
</td>
</tr>
</table>
<br>
</td>
</tr>
<%
rs.movenext
next
if plcount>0 then
%>
<tr>
<td align=right><a href=listpl.asp?id=<%=request("id")%> >浏览该商品的全部<%=plcount%>条评论>></a> </td>
</tr>
<%end if
rs_shjia.close
set rs_shjia=nothing
%>
<tr>
<td align="center" height="180">
<!--#include file="pinglun.asp"-->
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -