<!--#include file="Include/Iheeo_Conn.asp"-->
<!--#include file="Include/Iheeo_config.asp"-->
<%
   
   PayKey=request("PayKey")
   totalmoney=request("totalmoney")
   orderid=request("orderid")

   PayKey=request("PayKey")
   if PayKey="" then
         response.write "请选择支付平台<br><br><a href=javascript:history.back()>返回</a>"
         response.end
         
   end if
   if PayKey<>"" then         '修改
   
         set rs=server.CreateObject("ADODB.RecordSet") 
         sql="select * from Iheeo_Pay where PayKey="&PayKey
         set rs=conn.execute(sql)
         if not rs.eof then
                   Name=trim(rs("PayName"))
                   typeid=trim(rs("PayKey"))
                   cid=trim(rs("PayShopID"))
                   mykey=trim(rs("PayShopKey"))
         else
                   response.write "参数有误"
                   response.end
         end if 
         rs.close
         set rs=nothing 
                        
   end if
   
   if PayKey=1 then
         nenturl="Include/Iheeo_Pay/tenpay/send.asp"
   end if
   if PayKey=2 then
         nenturl="Include/Iheeo_Pay/99bill/send.asp"
   end if   
   if PayKey=3 then
         nenturl="Include/Iheeo_Pay/chinabank/send.asp"
   end if
   if PayKey=4 then
         nenturl="Include/Iheeo_Pay/yeepay/send.asp"
   end if 
   if PayKey=5 then
         nenturl="Include/Iheeo_Pay/alipay/send.asp"
   end if          
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>在线支付</title>
</head>

<body>
<form name="form1" action="<%=nenturl%>" method="post">
<input type="hidden" name="orderid" value="<%=orderid%>">
<input type="hidden" name="totalmoney" value="<%=totalmoney%>">
<input type="hidden" name="other1" value="<%=other1%>">
<input type="hidden" name="other2" value="<%=other2%>">
<input type="hidden" name="other3" value="<%=other3%>">
<input type="hidden" name="other4" value="<%=other4%>">
<input type="hidden" name="cid" value="<%=cid%>">
<input type="hidden" name="mykey" value="<%=mykey%>">

</form>
<script>
document.form1.submit();
</script>

</body>

</html>
