<?php
//Pay100
$TransDateTime = date("Y-m-d H:i:s",time());
$returnurl = $SiteUrl."memberfunc_payresult.php";
$OrderType = "1001";
$MoneyCode = "1001";
$TransType = "1001";
$CompleteReturn = "1";
$FailReturn = "0";
$Title = "";
$Content = "";
$ReturnValidate = "0";
$SignCode = $OrderType.$this->merid.$this->orderid.$this->amount.$MoneyCode.$TransDateTime.$TransType.$CompleteReturn.$FailReturn.$Title.$Content.$ReturnValidate.$returnurl.$this->ikey;
$mSignCode = md5($SignCode);
			  
$hiddenString.= "<Input Type=hidden Name=\"OrderType\" id=OrderType value=\"1001\">";
$hiddenString.= "<Input Type=hidden Name=\"InceptUserName\" id=InceptUserName value=\"".$this->merid."\">";
$hiddenString.= "<Input Type=hidden Name=\"OrderNumber\" id=OrderNumber value=\"".$this->orderid."\">";
$hiddenString.= "<Input Type=hidden Name=\"Amount\" id=Amount value=\"".$this->amount."\">";
$hiddenString.= "<Input Type=hidden Name=\"MoneyCode\" id=MoneyCode value=\"1001\">";
$hiddenString.= "<Input Type=hidden Name=\"TransDateTime\" id=TransDateTime value=\"".$TransDateTime."\">";
$hiddenString.= "<Input Type=hidden Name=\"TransType\" id=TransType value=\"1001\">";
$hiddenString.= "<Input Type=hidden Name=\"CompleteReturn\" id=CompleteReturn value=\"1\">";
$hiddenString.= "<Input Type=hidden Name=\"FailReturn\" id=FailReturn value=\"0\">";
$hiddenString.= "<Input Type=hidden Name=\"Title\" id=FailReturn value=\"\">";
$hiddenString.= "<Input Type=hidden Name=\"Content\" id=FailReturn value=\"\">";
$hiddenString.= "<Input Type=hidden Name=\"ReturnValidate\" id=ReturnValidate value=\"0\">";
$hiddenString.= "<Input Type=hidden Name=\"RedirectUrl\" id=RedirectUrl value=\"".$returnurl."\">";
$hiddenString.= "<Input Type=hidden Name=\"SignCode\" id=SignCode value=\"".$mSignCode."\">";
$this->action = "https://www.pay100.com/interface/Professional/paypre.aspx";
$hiddenString="<form target=_blank method=post action=".$this->action.">".$hiddenString."<input type=submit  value='立即通过".$this->pcenter."在线支付'  name=submit></form>";
?>