<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html>
	<head>
		<title>贝壳彩网上充值</title>
	</head>
	<body>
		<%	String[] mp=(String[])request.getAttribute("rel"); String kuaiqianAlipay=(String)request.getAttribute("whichAlipayWay");  String AlipayWay=(String)request.getAttribute("payType");%>

		<%if(AlipayWay.equals("") || AlipayWay!=null){ %>
		<form name="alipaysubmit" method="post"
			action="https://www.alipay.com/cooperate/gateway.do?_input_charset=UTF-8">
			<input type=hidden name="body" value="<%=mp[0]%>">
			<input type=hidden name="notify_url" value="<%=mp[1]%>">
			<input type=hidden name="out_trade_no" value="<%=mp[2]%>">
			<input type=hidden name="partner" value="<%=mp[3]%>">
			<input type=hidden name="payment_type" value="<%=mp[4]%>">
			<input type=hidden name="seller_email" value="<%=mp[5]%>">
			<input type=hidden name="service" value="<%=mp[6]%>">
			<input type=hidden name="sign" value="<%=mp[7]%>">
			<input type=hidden name="sign_type" value="<%=mp[8]%>">
			<input type=hidden name="subject" value="<%=mp[9]%>">
			<input type=hidden name="total_fee" value="<%=mp[10]%>">
			<input type=hidden name="show_url" value="<%=mp[11]%>">
			<input type=hidden name="defaultbank" value="<%=mp[13]%>">
	
		</form>
		<script type="text/javascript">
	  document.alipaysubmit.submit();
   </script>
		<%}else if(kuaiqianAlipay.equals("kuaiqian")){ %>

		<form name="kqPay"
			action="https://www.99bill.com/gateway/recvMerchantInfoAction.htm"
			method="post">
			<input type="hidden" name="inputCharset" value="<%=mp[2]%>" />
			<input type="hidden" name="bgUrl" value="<%=mp[3] %>" />
			<input type="hidden" name="version" value="<%=mp[4] %>" />
			<input type="hidden" name="language" value="<%=mp[5]%>" />
			<input type="hidden" name="signType" value="<%=mp[6] %>" />
			<input type="hidden" name="signMsg" value="<%=mp[22] %>" />
			<input type="hidden" name="merchantAcctId" value="<%=mp[0]%>" />
			<input type="hidden" name="payerName" value="<%=mp[7] %>" />
			<input type="hidden" name="payerContactType" value="<%=mp[8] %>" />
			<input type="hidden" name="payerContact" value="<%=mp[9] %>" />
			<input type="hidden" name="orderId" value="<%=mp[10] %>" />
			<input type="hidden" name="orderAmount" value="<%=mp[11]%>" />
			<input type="hidden" name="orderTime" value="<%=mp[12] %>" />
			<input type="hidden" name="productName" value="<%=mp[13] %>" />
			<input type="hidden" name="productNum" value="<%=mp[14] %>" />
			<input type="hidden" name="productId" value="<%=mp[15]%>" />
			<input type="hidden" name="productDesc" value="<%=mp[16]%>" />
			<input type="hidden" name="ext1" value="<%=mp[17] %>" />
			<input type="hidden" name="ext2" value="<%=mp[18] %>" />
			<input type="hidden" name="payType" value="<%=mp[19] %>" />
			<input type="hidden" name="redoFlag" value="<%=mp[20]%>" />
			<input type="hidden" name="pid" value="<%=mp[21] %>" />
		</form>




		<script type="text/javascript">
	     document.kqPay.submit();
       </script>

		<%}else{%>
 



		<form name="kqPay1"
			action="https://www.99bill.com/gateway/recvMerchantInfoAction.htm"
			method="post">
			<input type="hidden" name="inputCharset" value="<%=mp[2]%>" />
			<input type="hidden" name="bgUrl" value="<%=mp[4] %>" />
			<input type="hidden" name="pageUrl" value="<%=mp[3]%>" />
			<input type="hidden" name="version" value="<%=mp[5] %>" />
			<input type="hidden" name="language" value="<%=mp[6]%>" />
			<input type="hidden" name="signType" value="<%=mp[7] %>" />
			<input type="hidden" name="signMsg" value="<%=mp[24] %>" />
			<input type="hidden" name="merchantAcctId" value="<%=mp[0]%>" />
			<input type="hidden" name="payerName" value="<%=mp[8] %>" />
			<input type="hidden" name="payerContactType" value="<%=mp[9] %>" />
			<input type="hidden" name="payerContact" value="<%=mp[10] %>" />
			<input type="hidden" name="orderId" value="<%=mp[11] %>" />
			<input type="hidden" name="orderAmount" value="<%=mp[12]%>" />
			<input type="hidden" name="orderTime" value="<%=mp[13] %>" />
			<input type="hidden" name="productName" value="<%=mp[14] %>" />
			<input type="hidden" name="productNum" value="<%=mp[15] %>" />
			<input type="hidden" name="productId" value="<%=mp[16]%>" />
			<input type="hidden" name="productDesc" value="<%=mp[17]%>" />
			<input type="hidden" name="ext1" value="<%=mp[18] %>" />
			<input type="hidden" name="ext2" value="<%=mp[19] %>" />
			<input type="hidden" name="payType" value="<%=mp[20] %>" />
			<input type="hidden" name="bankId" value="<%=mp[21] %>" />
			<input type="hidden" name="redoFlag" value="<%=mp[22]%>" />
			<input type="hidden" name="pid" value="<%=mp[23] %>" />
		</form>

		<script type="text/javascript">
	          document.kqPay1.submit();
         </script>

		<%} %>
	</body>
</html>
