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

📄 xpbuy.asp

📁 IMPORTANT YOU SHOUD LOAD IT DOWN FOR USING
💻 ASP
📖 第 1 页 / 共 2 页
字号:
                              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 valign="top"><table width="100%" height="33" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="bottom"><span class="style3">&nbsp;<%=webname%>--购物车</span></td>
                </tr>
              </table>
                <%
set rs=server.CreateObject("adodb.recordset")
rs.open "select shopxp_action.shopxpacid,shopxp_action.shopxpptid,shopxp_action.productcount,shopxp_action.zonger,shopxp_product.shopxpptname,shopxp_product.shichangjia,shopxp_product.shopxphyjia,shopxp_product.shopxpvjia,shopxp_action.style from shopxp_product inner join  shopxp_action on shopxp_product.shopxpptid=shopxp_action.shopxpptid where shopxp_action.username='"&username&"' and shopxp_action.zhuangtai=7",conn,1,1 
%>
                <table width="640" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td bgColor=#ffffff colSpan=6 height=1></TD>
                  </tr>
                  <form name='form1' method='post' action=xgsl.asp>
                    <tr align=center>
                      <td width=26% height="40" background="img_shopxp/xiao/200309baskettitlebar.gif">商品名称</td>
                      <td width=17% 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=15% background="img_shopxp/xiao/200309baskettitlebar.gif">样式</td>
                      <td width=15% background="img_shopxp/xiao/200309baskettitlebar.gif">总价</td>
                      <td width=12% background="img_shopxp/xiao/200309baskettitlebar.gif">删除</td>
                      
                    </tr>
                    <tr>
                      <td bgColor=#cccccc colSpan=6 height=1></TD>
                    </tr>
                    <tr>
                      <td bgColor=#f1f1f1 colSpan=6 height=3></TD>
                    </tr>
                    <%shuliang=rs.recordcount
jianshu=0
zongji=0
do while not rs.eof%>
                    <tr bgcolor="#FFFFFF">
                      <td height="30" width="26%" class="table-xia"><a href=productshopxp.asp?id=<%=rs("shopxpptid")%> ><%=rs("shopxpptname")%></a>
                          <input name=shopxpptid type=hidden value="<%=rs("shopxpptid")%>">
                          <input name=shopxpacid type=hidden value="<%=rs("shopxpacid")%>">                      </td>
                      <td width="17%" height="30" 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" width="15%" height="30" class="table-xia"><input class=wenbenkuang name=productcount value="<%=rs("productcount")%>" size=5></td>
					  <td align="center" width="15%" height="30" class="table-xia"><span class="STYLE4">|</span><%=rs("style")%></td>
                      <td align="center" width="15%" height="30" class="table-xia"><font color=red><%=rs("zonger")%></font>
					   元</td>
                      <td align="center" width="12%" height="30" class="table-xia"><a href=xpbuy.asp?action=del&shopxpacid=<%=rs("shopxpacid")%>><img src=img_shopxp/trash.gif border=0></a> </td>
                      
                    </tr>
                    <%dim bookiid
		  bookiid=rs("shopxpptid")%>
                    <%
jianshu=jianshu+rs("productcount")
zongji=zongji+rs("zonger")
rs.movenext
loop
rs.close
set rs=nothing%>
                    <tr bgcolor="#FFFFFF">
                      <td height=30 colspan=6 align=center class=table-xia> 购物车里有商品:<font color=red><%=shuliang%></font> 件 总数:<font color=red><%=jianshu%></font> 件 共计:<font color=red><%=zongji%></font> 元 您有预存款:<%=request.Cookies("shopxp")("yucun")%> 元 </td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                      <td align="center" height=50 colspan=6><input name="imageField2" type="image" src="img_shopxp/xiao/cart01.gif" width="115" height="36" border="0" onFocus="this.blur()" onClick="javascript:window.close()">
                          <input name="imageField2" type="image" src="img_shopxp/xiao/cart03.gif" width="115" height="36" border="0" onFocus="this.blur()" onClick="this.form.action='xgsl.asp';this.form.submit()">
                          <input name="imageField22" type="image" src="img_shopxp/xiao/cart02.gif" width="115" height="36" border="0" onFocus="this.blur()" onClick="this.form.action='qkgwc.asp';this.form.submit()">
                          <input name="imageField222" type="image" src="img_shopxp/xiao/cart04.gif" width="115" height="36" border="0" onFocus="this.blur()" onClick="this.form.action='jsactionshopxp.asp';this.form.submit()">                      </td>
                    </tr>
                    <%set Godbook=server.CreateObject("adodb.recordset")
	Godbook.open "select * from shopxp_action_jp where username='"&request.Cookies("shopxp")("username")&"' and zhuangtai=7",conn,1,1
	if Godbook.recordcount>0 then%>
                    <tr bgcolor="#ffffff">
                      <td colspan=6><table width="95%" border="0" cellspacing="1" cellpadding="1" bgcolor="#cccccc" align="center">
                          <tr bgcolor="#FFFFFF">
                            <td colspan="3" height="30" align="center">您已选择的奖品清单</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>
                            <td height="30"><b><font color="#ffffff">删除</font></b></td>
                          </tr>
                          <%
	while not Godbook.eof%>
                          <tr bgcolor="#FFFFFF">
                            <td height="22"><%
	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 "<a href='xplistjp.asp?id="&Godbook("shopxpptid")&"' >"&Godbook1("shopxpptname")&"</a>"
	end if
	Godbook1.close
	set Godbook1=nothing%>                            </td>
                            <td align="center" height="30"><%=Godbook("jifen")%></td>
                            <td align="center" height="30"><a href="usershopxp/jifen.asp?shopxpacid=<%=Godbook("shopxpacid")%>&action=del&ll=22"><img src=img_shopxp/trash.gif border=0></a></td>
                          </tr>
                          <%
	Godbook.movenext
	wend%>
                      </table></td>
                    </tr>
                    <%end if
Godbook.close
set Godbook=nothing%>
                  </form>
              </table></td>
          </tr>
        </table></TD>
      <td width="1" background="img_shopxp/xiao/bgbg.gif"></td>
    </TR>
  </TBODY>
</TABLE>
<!--#include file="copyright_shopxp.asp"-->
</body>
</html>
<%end select%>

⌨️ 快捷键说明

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