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

📄 views.asp

📁 凡人网络购物系统 v8.0 中文版
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="top.asp"-->
<div align="center"><TABLE width=980 border=0 cellPadding=0 cellSpacing=0>
<%
If Not(isNumeric(hw_id)) or hw_id="" or hw_id=0 Then
response.write "<script language=javascript>alert('Url处理出错!');history.go(-1);</script>"
response.End
End If
Set rs= Server.CreateObject("ADODB.Recordset")
sql="select * from venshop_hw where hw_id="&hw_id&""
rs.open sql,conn,1,3
if rs.eof then%><tr><td height="200" colspan="3" align="center">没有找到你要查看的商品,您可以<a href="search.asp"><font color="#FF0000">点击这里进行详细搜索</font></a>!</td></tr>
<%else
rs("hw_views")=rs("hw_views")+1
rs.update
sort_id=rs("sort_id")
nsort_id=rs("nsort_id")
pinpai_id=rs("pinpai_id")
Set rss=Server.CreateObject("ADODB.Recordset")
sql="select * from venshop_sort where sort_id="&sort_id&""
rss.open sql,conn,1,1
sort_name=rss("sort_name")
Set rs2=Server.CreateObject("ADODB.Recordset")
sql="select * from venshop_nsort where nsort_id="&nsort_id&""
rs2.open sql,conn,1,1
nsort_name=rs2("nsort_name")
rs2.close
set rs2=nothing
if pinpai_id<>0 then
Set rs2=Server.CreateObject("ADODB.Recordset")
sql="select * from venshop_pinpai where pinpai_id="&pinpai_id&""
rs2.open sql,conn,1,1
pinpai_name=rs2("pinpai_name")
rs2.close
set rs2=nothing
end if
if session("recent")="" then
session("recent")=hw_id
elseif session("recent")<>"" then
  recentid=split(session("recent"),"/")
  for i=0 to ubound(recentid) 
  if hw_id=recentid(i) then
  jiaru=1
  end if
  next
if jiaru<>1 then
session("recent")=hw_id&"/"&session("recent")
end if
end if%>
<tr><td width="30" bgcolor="#F2F2F2">
	<img border="0" src="Skin/<%=venshop_skin%>/index_t2.gif"></td>
<td width="900" bgcolor="#F2F2F2"><a href="sort.asp?sort_id=<%=sort_id%>"><%=sort_name%></a> >> 
<a href="nsort.asp?sort_id=<%=sort_id%>&nsort_id=<%=nsort_id%>"> <%=nsort_name%></a> >> 
<a href="pinpai.asp?pinpai_id=<%=pinpai_id%>"> <%=pinpai_name%></a> >> <%=rs("hw_name")%></td>
<td width="50" align="right" bgcolor="#F2F2F2">
<img border="0" src="img/index_t3.gif" width="6" height="26"></td></tr></table>
<table width="980" cellspacing="0" cellpadding="0"><tr> 
<td align="center"> 
<table border="0" cellpadding="0" cellspacing="0" id="table2">
<tr><td align="center" height="3" colspan="3"></td></tr>
<tr><td align="center" width="4" height="3"><img border="0" src="Skin/<%=venshop_skin%>/vbg_1.gif"></td>
	<td align="center" background="Skin/<%=venshop_skin%>/vbg_12.gif"></td><td align="center" width="4" height="3">
	<img border="0" src="Skin/<%=venshop_skin%>/vbg_2.gif"></td></tr>
<tr><td background="Skin/<%=venshop_skin%>/vbg_32.gif"></td><td align="center"><img style="CURSOR: hand" src="<%pic=split(rs("hw_pic"),"*")%><%=pic(1)%>" onerror="this.src='img/noimage.jpg';cur_pic_id='img/noimage.jpg';" name="rImage" onclick="javascript:window.open(cur_pic_id,'','')"  width="150" border="0"></td>
	<td background="Skin/<%=venshop_skin%>/vbg_22.gif"></td></tr>
<tr><td align="center" width="4" height="3"><img border="0" src="Skin/<%=venshop_skin%>/vbg_3.gif"></td>
	<td background="Skin/<%=venshop_skin%>/vbg_42.gif"></td>
	<td align="center" width="4" height="3"><img border="0" src="Skin/<%=venshop_skin%>/vbg_4.gif"></td></tr>
</table></td>
<td align="center" width="500">
<table cellspacing="0" cellpadding="5" width="100%"><tr> 
<td height="26" class="vtitle" colspan="2"><%=rs("hw_name")%></td></tr>
<tr><td height="26" colspan="2">商品品牌:<%=pinpai_name%>  商品编号:<%=rs("hw_sn")%>  产品积分:<font color="#D03430"><%=rs("hw_jifen")%></font></td></tr>
<tr><td height="26" colspan="2">市场价格:<s>¥<%=trim(rs("hw_price1"))%></s>元&nbsp;&nbsp; 本站价格:<font color="#D03430">¥<%=trim(rs("hw_price2"))%></font>元&nbsp;&nbsp; 
节省:<font color="#D03430">¥<%=trim(rs("hw_price1"))-trim(rs("hw_price2"))%></font>元</td></tr>
<form action="basket.asp?hw_id=<%=rs("hw_id")%>" method=post>
<%if rs("kxaa")<>"" and rs("kxab")<>"" then%><tr><td height="26" colspan="2"><%=rs("kxaa")%>:<select size="1" name="kxa"><%kxa=split(rs("kxab"),"/")
for i=0 to ubound(kxa)%><option value="<%=trim(kxa(i))%>"><%=trim(kxa(i))%></option><%next%></select></td></tr><%end if%>
<%if rs("kxba")<>"" and rs("kxbb")<>"" then%><tr><td height="26" colspan="2"><%=rs("kxba")%>:<select size="1" name="kxb"><%kxb=split(rs("kxbb"),"/")
for i=0 to ubound(kxb)%><option value="<%=trim(kxb(i))%>"><%=trim(kxb(i))%></option><%next%></select></td></tr><%end if%>
<tr><td width="120" height="26">定购数量:<input type="text" name="count" size="1" value="1" class="input"></td>
<td width="330" height="26"><input type=image src="Skin/<%=venshop_skin%>/order.gif" name="I1">&nbsp;
<a href="com.asp?action=add&hw_id=<%=rs("hw_id")%>">
<img border="0" src="Skin/<%=venshop_skin%>/com.gif"></a>&nbsp;
<a href="fav.asp?action=add&hw_id=<%=rs("hw_id")%>">
<img border="0" src="Skin/<%=venshop_skin%>/fav.gif"></a></td></tr></form>
<%Set rs2=Server.CreateObject("ADODB.Recordset")
sql="select top 1 * from venshop_payonline"
rs2.open sql,conn,1,1
if rs2("alipay")=1 or rs2("paypal")=1 then
%><tr><td height="26" colspan="2">
<table border="0" cellpadding="0" cellspacing="0" id="table36">
<tr><%if rs2("alipay")=1 then%><td width="145">
<a target="_blank" title="欢迎使用支付宝安全支付平台,安全购物有保障。" href="https://www.alipay.com/payto:<%=rs2("pay_zhifubao")%>?partner=2088002046268961&subject=<%=rs("hw_name")%>&body=<%=rs("hw_name")%>&price=<%=trim(rs("hw_price2"))%>&type=1&express_fee=<%=rs2("pay_fee")%>&readonly=<%=rs2("pay_change")%>">
<img border="0" src="img/pay/alipay_buy.gif"></a></td><%end if%>
<%if rs2("paypal")=1 then%>
<td width="145"><table border="0" cellpadding="0" cellspacing="0" width="100%"><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<tr><td><input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="<%=rs2("pay_paypal")%>">
<input type="hidden" name="item_name" value="<%=rs("hw_name")%>">
<input type="hidden" name="amount" value="<%=trim(rs("hw_price2"))+rs2("pay_fee")%>">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="CNY">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="img/pay/paypal_buy.gif" border="0" name="submit" width="115" height="24" alt="请注意:使用Paypal支付的价格包含运费!"></td>
</tr></form></table></td><%end if%></tr></table>
</td></tr><%end if
rs2.close
set rs2=nothing%></table></td>
<td valign="top" align="center" width="240">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td style="line-height:20px" bgcolor="#FFFFFF" width="75" height="30" align="center"><img border="0" src="img/telv.gif" width="70" height="42"></td>
<td style="line-height:20px" bgcolor="#FFFFFF" height="30" valign="bottom"><%=tel%></td></tr>
<tr><td style="line-height:20px" bgcolor="#FFFFFF" width="75" height="30" align="center"><img border="0" src="img/email.gif" width="70" height="42"></td>
<td style="line-height:20px" bgcolor="#FFFFFF" height="30" valign="bottom"><a href="mailto:<%=mail%>"><%=mail%></a></td></tr>
<tr><td style="line-height:20px" bgcolor="#FFFFFF" width="75" height="30" align="center"><img border="0" src="img/qq.gif" width="70" height="42"></td>
<td style="line-height:20px" bgcolor="#FFFFFF" height="30" valign="bottom"><%=oicq%></td></tr>
<tr><td style="line-height:20px" bgcolor="#FFFFFF" width="75" height="30" align="center"><img border="0" src="img/msn.gif" width="70" height="42"></td>
<td style="line-height:20px" bgcolor="#FFFFFF" height="30" valign="bottom"><%=msn%></td></tr></table></td></tr></table>
<div align="center"><table border="0" cellpadding="0" cellspacing="0" width="980" id="table1">
<tr><td width="740" align="center" valign="top">
<!-- 商品信息 -->
<table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr><td class="viewl">
	<img border="0" src="Skin/<%=venshop_skin%>/index_l4.gif" width="3" height="13" align="absmiddle"> 更多图片:<font color="#808080">[鼠标移至以下小图,上图会相应变化]</font></td></tr>
<tr><td>
<img style="CURSOR: hand" onload="document.rImage.src='<%=trim(pic(1))%>';cur_pic_id='<%=trim(pic(1))%>';" onmouseover="document.rImage.src='<%=trim(pic(1))%>';cur_pic_id='<%=trim(pic(1))%>';" src="<%=trim(pic(1))%>" onerror="this.src='img/noimage.jpg'"  height="50" style="border: 1px solid #CCCCCC;">
<a href="ven.asp"><font color="#FF0000">免费版只允许一张图片,购买正式版可以上传任意多张图片&gt;&gt;</font></a></td></tr>
<%if rs("tao_name1")<>"" and  rs("tao_price1")<>"" then%>
<tr><td class="viewl">
	<img border="0" src="Skin/<%=venshop_skin%>/index_l4.gif" width="3" height="13" align="absmiddle"> 超值套装:</td></tr>
<tr><td align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="50"><%for i=1 to 5
if rs("tao_name"&i)<>"" and  rs("tao_price"&i)<>"" then%>
<tr><td height="55" width="100"><a href="views_tao.asp?hw_id=<%=rs("hw_id")%>&tao_id=<%=i%>">

⌨️ 快捷键说明

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