C('jft.partner'), 'p2_order'=>$order_no, 'p3_money'=>$amount, 'p4_returnurl'=>$p4_returnurl, 'p5_notifyurl'=> $p5_notifyurl, 'p6_ordertime'=>$p6_ordertime, 'p7_sign'=>strtoupper(md5(C('jft.partner')."&".$order_no."&".$amount."&".$p4_returnurl."&".$p5_notifyurl."&".$p6_ordertime.C('jft.key'))), 'p9_paymethod'=>$p9_paymethod, 'p10_paychannelnum'=>$p10_paychannelnum, 'p14_customname'=>$account, 'p17_customip'=>$ip, 'p25_terminal'=>$p25_terminal, 'p26_iswappay'=>$p26_iswappay, ]; $html="
"; if(($p9_paymethod==4&&!empty($paychannelnum)) ||($p9_paymethod==3&&!empty($paychannelnum)) ){ foreach ($params as $k => $v) { $d[]=$k."=".$v; } header("Content-type: text/html; charset=utf-8"); $pay_url="http://pay.jtpay.com/form/pay".'?'.implode("&",$d); return $pay_url; }else{ foreach ($params as $k => $v) { $html.= "\n"; } $html.=""; return $html; } } }