<?php 
				//IPAY
				
				$md5string=md5($this->merid.$orderid.$this->amount.$this->ikey);
				$hiddenString = "";
				$hiddenString.= "<input type=HIDDEN name=\"v_mid\" value=\"".$this->merid."\">";
				$hiddenString.= "<input type=HIDDEN name=\"v_oid\" value=\"".$this->orderid."\">";
				$hiddenString.= "<input type=HIDDEN name=\"v_amount\" value=\"".$this->amount."\">";
				$hiddenString.= "<input type=HIDDEN name=\"v_rname\" value=\"".$this->rname."\">";
				$hiddenString.= "<input type=HIDDEN name=\"v_remail\" value=\"".$this->remail."\">";
				$hiddenString.= "<input type=HIDDEN name=\"v_rtel\" value=\"".$this->rtel."\">";
				$hiddenString.= "<input type=HIDDEN name=\"v_rpost\" value=\"".$this->rpost."\">";
				$hiddenString.= "<input type=HIDDEN name=\"v_raddr\" value=\"".$this->raddr."\">";
				$hiddenString.= "<input type=HIDDEN name=\"v_rnote\" value=\"".$this->rnote."\">";
				$hiddenString.= "<input type=HIDDEN name=\"v_payname\" value=\"".$this->payname."\">";
				$hiddenString.= "<input type=HIDDEN name=\"v_pmd5\" value=\"".$md5string."\">";
				$this->action = "http://bank.ipay.com.cn/ipay.php";
				$hiddenString="<form  target=_blank method=post action=".$this->action.">".$hiddenString."<input  type=submit value='立即通过".$this->pcenter."在线支付'  name=submit></form>";
	
?>