<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="charge.aspx.cs" Inherits="Maticsoft.Web.order.charge" %>

<%@ Register src="../UserControls/CFooterControl.ascx" tagname="CFooterControl" tagprefix="uc1" %>
<%@ Register src="../UserControls/CHeaderControl.ascx" tagname="CHeaderControl" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
  <div id="pagemasker">
     
    </div><div id="dialog">
        
    </div>
<div id="doc">
 <uc2:CHeaderControl ID="CHeaderControl1" runat="server" />
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="order-pay">
    <div id="content">
        <div id="deal-buy" class="box">
            
            <div class="box-content">
                <div class="head">
                    <h2>充值金额：<strong class="total-money"><%=money %></strong> 元</h2>
                </div>
                <div class="sect">
                    <div style="text-align:left;">
<%if (paytype == "tenpay")
  { %>

	 <input type="hidden" name="body" value='' />
	<input type="hidden" name="out_trade_no" value='<%=orderid %>' />
	<input type="hidden" name="subject" value='<%=Pid %>' />
	<input type="hidden" name="total_fee" value='<%=Amt %>' />
	<img src="<%=ImagePath() %>"tenpay.jpg" /><br/>
	<input type="submit" class="formbutton gotopay validator" action="tenpay/Reg.aspx" value="前往财富通支付" />


<% }%>



<%if (paytype == "yeepay")
  { %>
  <input type='hidden' name='p7_Pdesc' value=''>
<input type='hidden' name='p8_Url'	value=''>
<input type='hidden' name='p9_SAF'	value='0'>
<input type='hidden' name='pa_MP'	value=''>
<input type='hidden' name='p2_Order' value='<%=orderid %>'>
<input type='hidden' name='p3_Amt'	value='<%=Amt %>'>
<input type='hidden' name='p5_Pid'	value='<%=Pid %>'>
<input type='hidden' name='pd_FrpId'	value='<%=pd_FrpId %>'>

<%if (pd_FrpId == "")
  { %>
	<img src="<%=ImagePath()%>yeepay.gif" /><br /><input type="submit"  action="yeepay/Req.aspx" class="formbutton gotopay validator" value="前往易宝支付" />

<%}
  else
  { %>
    <img src="<%=ImagePath()%><%= pd_FrpId%>.gif" /><br /><input type="submit" action="yeepay/Req.aspx" class="formbutton gotopay validator" value="前往银行支付" />
<% }%>

<% }%>







<%if (paytype == "alipay")
  { %>
     <input type="hidden" name="body" value='' />
	<input type="hidden" name="out_trade_no" value='<%=orderid %>' />
	<input type="hidden" name="subject" value='<%=Pid %>' />
	<input type="hidden" name="total_fee" value='<%=Amt %>' />
	<img src="<%=ImagePath()%>alipay.png" /><br /><input type="submit" class="formbutton gotopay validator" action="alipay/pay.aspx" value="前往支付宝支付" />

<% }%>



<%if (paytype == "bill")
  { %>

<form name="kqPay" method="post" action="https://www.99bill.com/gateway/recvMerchantInfoAction.htm"  target="_blank" sid="charge">

	<img src="<%=ImagePath()%>99bill.png" /><br /><input type="submit" class="formbutton gotopay" value="前往快钱支付" />
</form>
<% }%>


<%if (paytype == "chinabank")
  { %>
   <input type="hidden" name="body" value='' />
   <input type="hidden" name="out_trade_no" value='<%=orderid %>' />
	<input type="hidden" name="subject" value='<%=Pid %>' />
	<input type="hidden" name="total_fee" value='<%=Amt %>' />
	<img src="<%=ImagePath()%>chinabank.png" /><br/><input type="submit" action="chinabank/Send.aspx" class="formbutton gotopay validator" value="前往网银在线支付" style="vertical-align:middle;"/>

  <% }%>
                                <%if (paytype == "paypal")
                                  { %>
                                    <input type="hidden" name="rm" value="2">
                                    <input type="hidden" name="lc" value="US">
                                    <input type="hidden" name="bn" value="toolkit-aspx">
                                    <input type="hidden" name="no_shipping" value="1">
                                    <input type="hidden" name="no_note" value="1">
                                    <input type="hidden" name="last_name" value="">
                                    <input type="hidden" name="address2" value="">
                                    <img src="<%=ImagePath()%>paypal.png" /><br/><input type="submit" class="formbutton gotopay" value="Go to PayPal" style="vertical-align:middle;"/>
                            
                              <% }%>

						<div class="back-to-check"><a href="/credit/charge.aspx">&raquo; 返回选择其他支付方式</a></div>
                    </div>
                </div>
            </div>
            
        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->




 <uc1:CFooterControl ID="CFooterControl1" runat="server" />
</div>
    </form>
</body>
</html>
