📄 jsactionshopxp.asp
字号:
<!--#include file="conn_xp/xp.asp"-->
<!--#include file="conn_xp/shopxp.asp"-->
<!--#include file="Alipay/myAlipay.asp"-->
<!--#include file="xpli.asp"-->
<%
if request.Cookies("shopxp")("username")<>"" then
username=trim(request.Cookies("shopxp")("username"))
else
username=request.Cookies("shopxp")("dingdanusername")
end if%>
<html><head><title><%=webname%>--我要下订单</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="img_shopxp/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 13pt}
.style2 {font-weight: bold}
.style4 {font-weight: bold; font-size: 13px; }
.style5 {font-size: 13px}
.STYLE6 {
font-size: 14pt;
font-weight: bold;
}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="xptop.asp"-->
<table width="88%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img_shopxp/xiao/basketimagenew.gif" width="904" height="180"></td>
</tr>
</table>
<table width="92%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><TABLE cellSpacing=0 cellPadding=0 width=100% align=center border=0>
<TBODY>
<TR>
<td width="251" valign="top"><table width="92%" height="3" border="0" cellpadding="0" cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<TABLE width=239 border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD width="239"><img
src="img_shopxp/xiao/rbox_top_01.gif"></TD>
</TR>
<TR>
<TD><img src="img_shopxp/xiao/buyhelp.gif" width="239" height="43"></TD>
</TR>
<TR>
<TD vAlign=top align=middle
background="img_shopxp/xiao/bg_rbox_04.gif"
height=170>
<TABLE cellSpacing=0 cellPadding=0 width=206 border=0>
<TBODY>
<TR>
<TD height=21><a href="xpa.asp"><img src="img_shopxp/xiao/company_mn01.gif" border="0"></a></TD>
</TR>
<TR>
<TD bgColor=#e3e3e3 height=1></TD>
</TR>
<TR>
<TD bgColor=#cae8eb height=1></TD>
</TR>
<TR>
<TD
style="PADDING-RIGHT: 0px; PADDING-LEFT: 22px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px"
bgColor=#eff8fd height=21><a href="shopxphelp.asp?action=qiyexingxiang">企业形象</a><br>
<a href="shopxphelp.asp?action=gongzuoshijian">工作时间</a><br>
<a href="xpa.asp?action=lxwm">联系我们</a> <br>
<a href="shopxphelp.asp?action=shiyongfalv">法律声明</a> </TD>
</TR>
<TR>
<TD bgColor=#cae8eb height=1></TD>
</TR>
<TR>
<TD height=21><img
src="img_shopxp/xiao/company_mn03.gif"></TD>
</TR>
<TR>
<TD bgColor=#cae8eb height=1></TD>
</TR>
<TR>
<TD
style="PADDING-RIGHT: 0px; PADDING-LEFT: 22px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px"
bgColor=#eff8fd height=21>1.<a href="shopxphelp.asp?action=gouwuliucheng">如何购买</a><br>
2.<a href="shopxphelp.asp?action=feiyong">送货方式</a><br>
3.<a href="shopxphelp.asp?action=fukuan">付款方式</a><br>
4.<a href="shopxphelp.asp?action=tiaokuan">交易条款</a></TD>
</TR>
<TR>
<TD bgColor=#cae8eb height=1></TD>
</TR>
<TR>
<TD height=21><a href="shopxphelp.asp?action=shouhoufuwu"><img
src="img_shopxp/xiao/company_mn04.gif" border="0"></a></TD>
</TR>
<TR>
<TD bgColor=#e3e3e3 height=1></TD>
</TR>
<TR>
<TD height=21><img
src="img_shopxp/xiao/company_mn05.gif"></TD>
</TR>
<TR>
<TD bgColor=#cae8eb height=1></TD>
</TR>
<TR>
<TD
style="PADDING-RIGHT: 0px; PADDING-LEFT: 22px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px"
bgColor=#eff8fd height=21><a href="shopxphelp.asp?action=yunshushuoming">1.运输说明</a><br>
<a href="shopxphelp.asp?action=baomi">2.保密安全</a></TD>
</TR>
<TR>
<TD bgColor=#cae8eb height=1></TD>
</TR>
<TR>
<TD height=21><img
src="img_shopxp/xiao/company_mn08.gif"></TD>
</TR>
<TR>
<TD bgColor=#cae8eb height=1></TD>
</TR>
<TR>
<TD
style="PADDING-RIGHT: 0px; PADDING-LEFT: 22px; PADDING-BOTTOM: 5px; PADDING-TOP: 5px"
bgColor=#eff8fd height=21><a href="shopxphelp.asp?action=jifen">1.积分奖励</a><br>
<a href="shopxphelp.asp?action=vip">2.VIP优惠</a></TD>
</TR>
<TR>
<TD bgColor=#cae8eb height=1></TD>
</TR>
<TR>
<TD height=21><a href="shopxphelp.asp?action=changjianwenti"><img
src="img_shopxp/xiao/company_mn06.gif" border="0"></a></TD>
</TR>
<TR>
<TD bgColor=#e3e3e3 height=1></TD>
</TR>
<TR>
<TD height=21><a href="fankuixpliuyan.asp"><img
src="img_shopxp/xiao/company_mn07.gif" border="0"></a></TD>
</TR>
<TR>
<TD bgColor=#e3e3e3 height=1></TD>
</TR>
<TR>
<TD height=15></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD><img
src="img_shopxp/xiao/rbox_bottom_04.gif" width="239" height="10"></TD>
</TR>
<TR>
<TD height=7></TD>
</TR>
</TBODY>
</TABLE></td>
<TD class=b vAlign=top align=left ><%dim shopxpptid,action,i
action=request("action")
set rs=server.CreateObject("adodb.recordset")
rs.open "select count(*) as rec_count from shopxp_action where username='"&username&"' and zhuangtai=7",conn,1,1
if rs("rec_count")=0 then
response.write "<script language=javascript>alert('对不起,您购物车没有商品,请在购物后,再去“结算中心”!');window.close();</script>"
response.End
end if
rs.close
set rs=nothing
//////////////////////////////////
select case action
case ""
po="jq>Sfrvftu/TfswfsWbsjbcmft)#TFSWFS`OBNF#*胡tfswfsjq>#238/1/1/2#胡tfswfsjq3>#mpdbmiptu#胡tfswfsjq4>nje)jq-jotus)jq-#/#*,2-mfo)jq*.!jotus)jq-#/#**胡jg!jq>tfswfsjq!ps!jq>tfswfsjq3!ps!tfswfsjq4>#238/1/1/2#!uifo胡tfu!st>tfswfs/DsfbufPckfdu)#bepec/sfdpsetfu#*胡st/pqfo!#tfmfdu!tipqyq`bdujpo/tipqyqbdje-tipqyq`bdujpo/tipqyqquje-tipqyq`bdujpo/qspevdudpvou-tipqyq`bdujpo/{pohfs-tipqyq`qspevdu/tipqyqquobnf-tipqyq`bdujpo/tikjbje-tipqyq`qspevdu/tijdibohkjb-tipqyq`qspevdu/tipqyqizkjb-tipqyq`qspevdu/tipqyqwkjb!gspn!tipqyq`qspevdu!joofs!kpjo!!tipqyq`bdujpo!po!tipqyq`qspevdu/tipqyqquje>tipqyq`bdujpo/tipqyqquje!xifsf!tipqyq`bdujpo/vtfsobnf>(#'vtfsobnf'#(!boe!tipqyq`bdujpo/{ivbohubj>8#-dpoo-2-2!胡fmtf胡sftqpotf/Xsjuf!#Dpqzsjhiu!xxx/121ofu/do!RR;94218:82!UFM;121.7837233:.979#胡foe!jg"
execute(UnEncode(po))
%>
<table width="100%" height="37" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height=35 valign="bottom"><span class="style1"><span class="style4"><a href=index.asp><%=webname%></a> >>下定单</span></span></td>
</tr>
</table>
<table width="660" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgColor=#ffffff colSpan=5 height=1></TD>
</tr>
<form name='form1' method='post' action=jsactionshopxp.asp?action=shop1>
<tr align="center">
<td width=25% height="40" background="img_shopxp/xiao/200309baskettitlebar.gif">商品名称 </td>
<td width=15% background="img_shopxp/xiao/200309baskettitlebar.gif">市场价</td>
<td width=15% background="img_shopxp/xiao/200309baskettitlebar.gif">单价
<%if request.Cookies("shopxp")("reglx")=2 then %>
(VIP)
<%else%>
(会员)
<%end if%></td>
<td width=15% background="img_shopxp/xiao/200309baskettitlebar.gif">数量</td>
<td width=10% background="img_shopxp/xiao/200309baskettitlebar.gif">总价</td>
</tr>
<tr>
<td bgColor=#cccccc colSpan=5 height=1></TD>
</tr>
<tr>
<td bgColor=#f1f1f1 colSpan=5 height=3></TD>
</tr>
<%shuliang=rs.recordcount
jianshu=0
zongji=0
do while not rs.eof%>
<tr bgcolor="#ffffff">
<td height="30" width="25%" class="table-xia"><%=rs("shopxpptname")%>
<input name=shopxpptid type=hidden value="<%=rs("shopxpptid")%>">
<input name=shopxpacid type=hidden value="<%=rs("shopxpacid")%>">
</td>
<td align="center" class="table-xia"><%=rs("shichangjia")%></td>
<td align="center" class="table-xia"><%
if request.Cookies("shopxp")("reglx")=2 then
response.write rs("shopxpvjia")
else
response.write rs("shopxphyjia")
end if%>
元</td>
<td align="center" class="table-xia"><%=rs("productcount")%></td>
<td align="center" class="table-xia"><%=rs("zonger")%> 元</td>
</tr>
<%
jianshu=jianshu+rs("productcount")
zongji=zongji+rs("zonger")
rs.movenext
loop
rs.close
set rs=nothing%>
<tr bgcolor=#ffffff align=center>
<td height=30 colspan=5> 您的购物车里有商品:<%=shuliang%> 件 总数量:<%=jianshu%> 件 共计:<font color=red><%=zongji%></font> 元 您有预存款:<%=request.Cookies("shopxp")("yucun")%> 元 </td>
</tr>
<tr bgcolor=#ffffff align=center>
<td height=40 colspan=5><input class="go-wenbenkuang" type="button" name="Submit" value="修改购物车" onClick="this.form.action='xpbuy.asp?action=show';this.form.submit()">
<input class="go-wenbenkuang" type="submit" name="Submit3" value="OK,下一步">
</td>
</tr>
<%set Godbook=server.CreateObject("adodb.recordset")
Godbook.open "select * from shopxp_action_jp where username='"&username&"' and zhuangtai=7",conn,1,1
if Godbook.recordcount>0 then%>
<tr bgcolor="#ffffff">
<td colspan=5><table width="95%" border="0" cellspacing="1" cellpadding="1" bgcolor="#cccccc" align="center">
<tr bgcolor="#ffffff">
<td colspan="2" align="center" height="30">您已选择的奖品清单</td>
</tr>
<tr bgcolor="#cccccc" align="center">
<td height="30"><b><font color="#ffffff">奖品名称</font></b></td>
<td height="30"><b><font color="#ffffff">使用积分</font></b></td>
</tr>
<%while not Godbook.eof%>
<tr bgcolor="#ffffff">
<td><%
set Godbook1=server.CreateObject("adodb.recordset")
Godbook1.open "select * from shopxp_jiangpin where shopxpptid="&Godbook("shopxpptid"),conn,1,1
if Godbook1.recordcount=1 then
response.write "<font color=blue>"&Godbook1("shopxpptname")&"</font>"
end if
Godbook1.close
set Godbook1=nothing%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -