<!--#include file="conn.asp"-->
<!--#include file="buy2buysys.asp"-->
<!--#include file="Alipay/Alipay_Payto.asp"-->
<%
if session("chklogin1")="" then
response.write "<script language=javascript>alert('对不起，您还没有登陆！');history.go(-1);</script>"
response.End
end if

ProductID=SafeRequest("ProductID",1)
action=FormatSQL(SafeRequest("action",0))
if action="del" then
	mSql="delete from Favorites where UserID='"&Session("uID")&"' and ProductID='"&ProductID&"'"	
	conn.execute(mSql)
end if
%>
<html>
<head>
<title><%=webname%>--在线支付/充值</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #ffffff;
}
body,td,th {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style1 {font-weight: bold}
-->
</style></head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td align="center" background="images/bg.jpg"><object 
      codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 
      height=451 width=960 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>
          <param name="movie" value="flash/main_3.swf">
          <param name="quality" value="high">
          <param name="wmode" value="transparent">
          <embed src="flash/main_3.swf" quality="high" 
      pluginspage="http://www.macromedia.com/go/getflashplayer" 
      type="application/x-shockwave-flash" width="960" 
      height="451"></embed>
      </object></td></tr>
  </table>e file="b2b_includefile/b2b_top.asp" -->
<table width="918" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="194" align="right" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="182">
          <!-- fwtable fwsrc="未命名" fwbase="productleft.gif" fwstyle="Dreamweaver" fwdocid = "287395630" fwnested="1" -->
          <tr>
            <td height="55" valign="bottom"><TABLE cellSpacing=0 cellPadding=0 width=180 
      background=images/left_best02.gif border=0>
              <TBODY>
                <TR>
                  <TD bgcolor="#FFFFFF">&nbsp;</TD>
                </TR>
                <TR>
                  <TD><IMG src="images/hydl.gif" width="181" height="57" border=0></TD>
                </TR>
                <TR>
                  <TD align=middle><!-- #include file="login.asp"--></TD>
                </TR>
                <TR>
                  <TD><IMG src="images/left_ranking02.gif" width="181" height="16" 
      border=0></TD>
                </TR>
              </TBODY>
            </TABLE></td>
          </tr>
          <tr>
            <td height="55" valign="bottom"><img name="productleft_01" src="image/poeration_01.gif" width="182" height="45" border="0" alt=""></td>
          </tr>
          <tr>
            <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="182">
                <tr>
                  <td width="14" background="image/productleft_02.gif">&nbsp;</td>
                  <td width="153"><table width="100%"  border="0" cellpadding="4" cellspacing="1" bgcolor="#FFFFFF">
                      <tr bgcolor="#f7f7f7">
                        <td width="49%" height="25" bgcolor="#f7f7f7"><a href="profile.asp?action=profile">&nbsp;消息中心</a></td>
                        <td width="51%" bgcolor="#f7f7f7"><a href="profile.asp?action=customerinfo">&nbsp;个人资料</a></td>
                      </tr>
                      <tr>
                        <td width="49%" height="25" bgcolor="#FFFFFF"><a href="profile.asp?action=changepass">&nbsp;修改密码</a></td>
                        <td width="51%" bgcolor="#FFFFFF"><a href="profile.asp?action=repass">&nbsp;</a><a href="payonline.asp">在线支付</a></td>
                      </tr>
                      <tr bgcolor="#f7f7f7">
                        <td width="49%" height="25" bgcolor="#f7f7f7"><a href="profile.asp?action=goods">&nbsp;我的订单</a></td>
                        <td width="51%" bgcolor="#f7f7f7"><a href="profile.asp?action=addtocart">&nbsp;我的购物车</a></td>
                      </tr>
                      <tr>
                        <td width="49%" height="25" bgcolor="#FFFFFF"><a href="profile.asp?action=goods">&nbsp;</a><a href="profile.asp?action=receiveaddr">收货人信息</a></td>
                        <td width="51%" bgcolor="#FFFFFF"><a href="profile.asp?action=deposit">&nbsp;积分预存款</a></td>
                      </tr>
                      <tr bgcolor="#f7f7f7">
                        <td width="49%" height="25" bgcolor="#f7f7f7"><a href="profile.asp?action=statinfo">&nbsp;统计信息</a></td>
                        <td width="51%" bgcolor="#f7f7f7"><a href="mysc.asp">&nbsp;我的收藏</a></td>
                      </tr>
                  </table></td>
                  <td width="15" background="image/productleft_04.gif">&nbsp;</td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td><img name="productleft_05" src="image/productleft_05.gif" width="182" height="19" border="0" alt=""></td>
          </tr>
      </table></td>
    <td width="724" align="center" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="665">
      <!-- fwtable fwsrc="用户中心.png" fwbase="usercenter.gif" fwstyle="Dreamweaver" fwdocid = "1831702457" fwnested="1" -->
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td><img name="usercenter_01" src="image/usercenter_01.gif" width="665" height="82" border="0" alt=""></td>
      </tr>
      <tr>
        <td width="665" background="image/usercenter_02.gif"><TABLE WIDTH="652" HEIGHT="0" BORDER="0" align="center" CELLPADDING="5" CELLSPACING="0" ID="AutoNumber3">
          <TR>
            <TD align="center"><img src="image/gupic11.gif"></TD>
          </TR>
          <TR>
            <TD><table width="100%"  border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#f2f2f2">
                <tr>
                  <td width="100%" height="60" bgcolor="#FFFFFF"><ul>
                    <font color="#000000"><b>
                      <li>欢迎使用在线支付系统，您可以在此完成您的订单支付，或者是为自己的预存款充值。</li>
                      <li> 请在操作前与管理（客服）人员联系，以得到第一时间确认。</li>
                      <li> 如果您此次操作在公共场合，请您保护好自己的支付安全，百尔买不推荐您在诸如网吧的地点进行支付操作。</li>
                      </b></font>
                  </ul></td>
                </tr>
                <tr>
                  <td align="center" bgcolor="#f7f7f7"><strong>本商城目前开通以下在线支付系统：</strong></td>
                </tr>
                <tr>
                  <td bgcolor="#FFFFFF"><!-- 支付宝 接口代码 开始 -->
                      <%
'dim cmd,subject,body,order_no,prices,rurl,types,number,transport,ordinary_fee,express_fee,readonly,buyer_msg,buyer,buyer_name,buyer_address,buyer_zipcode,buyer_tel,buyer_mobile,partner
'dim t1,t2,t3,t4,t5
'dim AlipayObj,itemUrl
mSql="select * from b2b_systemdata"
	set mRs=conn.execute(mSql)
	if not (mRs.eof and mRs.bof ) then
		PayMail=Trim(mRs("PayMail"))
		PayPassword=Trim(mRs("PayPassword"))
		webName=Trim(mRs("webName"))
		webUrl=trim(mRs("weburl"))
		PayZFBisV=trim(mRs("PayZFBisV"))
	end if
	mRs.close
	set mRs=nothing
	
	if PayZFBisV="支付宝有效" then
	t1 = "https://www.alipay.com/payto:"
	t2 = PayMail
	t3 = PayPassword
	t4 = "images/alipay_bwrx.gif"
	t5 = "推荐使用支付宝付款"
	cmd = "0001"
	subject = "在线支付/充值"
	body = "支付或充值前请联系商城管理或客服人员，以使您的金额第一时间得到确认！"
	order_no = ""
	prices = ""
	rurl = ""
	types = ""
	number = ""
	transport = "2"
	ordinary_fee = ""
	express_fee = ""
	readonly = "true"
	buyer_msg = ""
	buyer = ""
	buyer_name = ""
	buyer_address = ""
	buyer_zipcode = ""
	buyer_tel = ""
	buyer_mobile = ""
	partner = "2088002009605903"

Set AlipayObj = New creatAlipayItemURL
itemUrl=AlipayObj.creatAlipayItemURL(t1,t2,t3,t4,t5,cmd,subject,body,order_no,prices,rurl,types,number,transport,ordinary_fee,express_fee,readonly,buyer_msg,buyer,buyer_name,buyer_address,buyer_zipcode,buyer_tel,buyer_mobile,partner)
end if
%>
                      <table width="98%" border="0" cellspacing="1" cellpadding="2" align="center" style="border-collapse: collapse" bordercolor="#CCCCCC">
                        <tr>
                          <td height="30" align="center"><%=itemUrl%> </td>
                        </tr>
                      </table>
                    <!-- 支付宝 接口代码 结束 -->                  </td>
                </tr>
                <tr>
                  <td align="center"><strong>如果您没有网上银行账户，您好可以通过以下途径支付：</strong></td>
                </tr>
                <tr>
                  <td align="center" bgcolor="#FFFFFF"><table width="98%"  border="0" align="center" cellpadding="2" cellspacing="1">
                      <tr>
                        <td><%set rs=server.CreateObject("adodb.recordset")
				rs.open "select paymethord from b2b_systemdata",conn,1,1
				response.write trim(rs("paymethord"))
				rs.close
				set rs=nothing%></td>
                      </tr>
                  </table></td>
                </tr>
            </table></TD>
          </TR>
        </TABLE></td>
      </tr>
      <tr>
        <td><img name="usercenter_03" src="image/usercenter_03.gif" width="665" height="4" border="0" alt=""></td>
      </tr>
    </table>
    <br></td>
  </tr>
</table>
<!--#include file="b2b_includefile/b2b_ver.asp" -->
</body>
</html>