Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php ${"GL\x4fB\x41\x4c\x53"}["\x69\x69\x75\x62\x6dm\x64"]="\x63\x6c\x69\x65\x6e\x74\x5fi..
Decoded Output download
<?php ${"GLOBALS"}["iiubmmd"]="client_id";${"GLOBALS"}["dnogevxbv"]="cliente";${"GLOBALS"}["oqtvprr"]="total";${"GLOBALS"}["dqnxxgxs"]="c";${"GLOBALS"}["jjhvmtxyn"]="json";${"GLOBALS"}["wshplponkjdx"]="stmt";${"GLOBALS"}["ycjuwx"]="client_document";${"GLOBALS"}["hregiqt"]="whatsapp";${"GLOBALS"}["qnuqyqorex"]="frase";${"GLOBALS"}["rubqsa"]="notificacao";${"GLOBALS"}["jiukfl"]="sql";${"GLOBALS"}["ugtzfqp"]="contar";${"GLOBALS"}["ttybotgzld"]="conn";${"GLOBALS"}["psadlshw"]="ler";${"GLOBALS"}["ieyckbm"]="tab";${"GLOBALS"}["nbimhiyvklen"]="retorno";${"GLOBALS"}["gkhejv"]="verifica";${"GLOBALS"}["uvulbos"]="api";${"GLOBALS"}["xmrhdlngfd"]="size";${"GLOBALS"}["oagfoy"]="filesize";${"GLOBALS"}["bdhgrkb"]="prev";${"GLOBALS"}["luiuokrzm"]="progress";${"GLOBALS"}["ltpuvgxft"]="download_size";${"GLOBALS"}["nmppayf"]="con";${"GLOBALS"}["gzppoqrmewqc"]="query";${"GLOBALS"}["gckdsxzwj"]="line";${"GLOBALS"}["zztggbnyhf"]="lines";${"GLOBALS"}["dthveoezqc"]="templine";${"GLOBALS"}["lmtpvf"]="db_pass";${"GLOBALS"}["dwufdtzwpvu"]="db_user";${"GLOBALS"}["eqiipwn"]="db_for_import";${"GLOBALS"}["ebvegvcnku"]="this_ip";${"GLOBALS"}["kgsszmdr"]="zip";${"GLOBALS"}["ewfadjwmur"]="file";${"GLOBALS"}["mtlljf"]="destination";${"GLOBALS"}["jtuhsw"]="update_id";${"GLOBALS"}["fzchqip"]="source";${"GLOBALS"}["jdhpkfyux"]="ch";${"GLOBALS"}["vsjzldrs"]="source_size";${"GLOBALS"}["tiymdwixhs"]="version";${"GLOBALS"}["yjswxqbhx"]="tomo";${"GLOBALS"}["urwyxvtql"]="res";${"GLOBALS"}["fdiplwhfdf"]="today";${"GLOBALS"}["liwwzw"]="type_text";${"GLOBALS"}["raqyaxsjjv"]="type";${"GLOBALS"}["thzdlfqnemb"]="client";${"GLOBALS"}["lthallky"]="licfile";${"GLOBALS"}["wnnsqsswvon"]="create_lic";${"GLOBALS"}["vhdifdpg"]="license";${"GLOBALS"}["mwbwtdjlysj"]="data_array";${"GLOBALS"}["fuhoawbiw"]="get_data";${"GLOBALS"}["koithmnfpisy"]="response";${"GLOBALS"}["ixuvtvf"]="temp_decode";${"GLOBALS"}["fjkbjyfhvg"]="http_status";${"GLOBALS"}["cdzvrlngw"]="rs";${"GLOBALS"}["jgmnpostx"]="result";${"GLOBALS"}["bggdiwxp"]="curl";${"GLOBALS"}["ckryps"]="this_http_or_https";${"GLOBALS"}["nhwzgvrxpltv"]="this_url";${"GLOBALS"}["tixtgqdhorj"]="this_server_name";${"GLOBALS"}["xvsgkrxg"]="url";${"GLOBALS"}["pibdhvms"]="data";${"GLOBALS"}["awfmavnwkdr"]="baseurl";${"GLOBALS"}["uhfujpjwriy"]="baseurl";${${"GLOBALS"}["uhfujpjwriy"]}=$_SERVER["REQUEST_URI"];session_start();require_once("database.php");if(${${"GLOBALS"}["awfmavnwkdr"]}=="/"||basename(${${"GLOBALS"}["awfmavnwkdr"]})=="index.php"||basename(${${"GLOBALS"}["awfmavnwkdr"]})=="ativar"){if(count(get_included_files())==1)exit("No direct script access allowed");$usdpkni="license";define("LB_API_DEBUG",false);define("LB_SHOW_UPDATE_PROGRESS",true);define("LB_TEXT_CONNECTION_FAILED","O servidor no est disponvel no momento. Tente novamente.");define("LB_TEXT_INVALID_RESPONSE","O servidor retornou uma resposta invlida. Entre em contato com o suporte.");define("LB_TEXT_VERIFIED_RESPONSE","Verificado! Obrigado por comprar.");define("LB_TEXT_PREPARING_MAIN_DOWNLOAD","Preparando para baixar a atualizao principal...");define("LB_TEXT_MAIN_UPDATE_SIZE","Tamanho da atualizao principal:");define("LB_TEXT_DONT_REFRESH","(Por favor, no atualize a pgina).");define("LB_TEXT_DOWNLOADING_MAIN","Baixando a atualizao principal...");define("LB_TEXT_UPDATE_PERIOD_EXPIRED","Seu perodo de atualizao terminou ou sua licena invlida. Entre em contato com o suporte.");define("LB_TEXT_UPDATE_PATH_ERROR","A pasta no tem permisso de gravao ou o caminho do arquivo de atualizao no pde ser resolvido. Entre em contato com o suporte.");define("LB_TEXT_MAIN_UPDATE_DONE","Principais arquivos de atualizao baixados e extrados.");$zpkhoajolort="client";define("LB_TEXT_UPDATE_EXTRACTION_ERROR","A atualizao da extrao do zip falhou.");define("LB_TEXT_PREPARING_SQL_DOWNLOAD","Herunterladen des SQL-Updates wird vorbereitet...");define("LB_TEXT_SQL_UPDATE_SIZE","Tamanho da atualizao do SQL:");define("LB_TEXT_DOWNLOADING_SQL","Fazendo o download da atualizao do SQL...");define("LB_TEXT_SQL_UPDATE_DONE","Arquivos de atualizao SQL baixados.");define("LB_TEXT_UPDATE_WITH_SQL_IMPORT_FAILED","O aplicativo foi atualizado com sucesso, mas a importao automtica de SQL falhou, por favor importe o arquivo SQL baixado em seu banco de dados manualmente.");define("LB_TEXT_UPDATE_WITH_SQL_IMPORT_DONE","O aplicativo foi atualizado com sucesso e o arquivo SQL foi importado automaticamente.");define("LB_TEXT_UPDATE_WITH_SQL_DONE","O aplicativo foi atualizado com sucesso, por favor importe o arquivo SQL baixado em seu banco de dados manualmente.");$rogqviy="retorno";define("LB_TEXT_UPDATE_WITHOUT_SQL_DONE","O aplicativo foi atualizado com sucesso, no houve atualizaes de SQL.");if(!LB_API_DEBUG){@ini_set("display_errors",0);}if((@ini_get("max_execution_time")!=="0")&&(@ini_get("max_execution_time"))<600){@ini_set("max_execution_time",600);}@ini_set("memory_limit","256M");class LicenseBoxExternalAPI{private$product_id;private$api_url;private$api_key;private$api_language;private$current_version;private$verify_type;private$verification_period;private$current_path;private$root_path;private$license_file;public function __construct(){$this->product_id="C6012E06";$this->api_url="https://license.chatprov.com.br/";$this->api_key="55F26BF99A7066C0F5E5";$this->api_language="portuguese";$this->current_version="v1.0.0";$this->verify_type="non_envato";$this->verification_period=365;$this->current_path=realpath(__DIR__);$this->root_path=realpath($this->current_path."/..");$this->license_file=$this->current_path."/.lic";}public function check_local_license_exist(){return is_file($this->license_file);}public function get_current_version(){return$this->current_version;}private function call_api($method,$url,$data=null){${"GLOBALS"}["hlkdtumitoqw"]="method";$psgpyehdesu="curl";$ksebhbhhl="curl";$srjteq="data";${"GLOBALS"}["kbcmqibs"]="curl";${"GLOBALS"}["ndeofgwxxpq"]="url";$imhvwxvsy="this_server_name";${"GLOBALS"}["oluwkmqqr"]="this_ip";$yrumkuh="http_status";$mpyqxtj="curl";${"GLOBALS"}["qkdnxad"]="curl";${"GLOBALS"}["luhyfkojfsr"]="curl";$jhfouoor="curl";${"GLOBALS"}["eninlioc"]="curl";$dlpvuofqjiz="this_ip";${"GLOBALS"}["ckkcefy"]="this_http_or_https";${"GLOBALS"}["vfwecjc"]="curl";${${"GLOBALS"}["eninlioc"]}=curl_init();switch(${${"GLOBALS"}["hlkdtumitoqw"]}){case"POST":curl_setopt(${$ksebhbhhl},CURLOPT_POST,1);if(${${"GLOBALS"}["pibdhvms"]})curl_setopt(${$psgpyehdesu},CURLOPT_POSTFIELDS,${${"GLOBALS"}["pibdhvms"]});break;case"PUT":curl_setopt(${$jhfouoor},CURLOPT_CUSTOMREQUEST,"PUT");if(${$srjteq})curl_setopt(${${"GLOBALS"}["vfwecjc"]},CURLOPT_POSTFIELDS,${${"GLOBALS"}["pibdhvms"]});break;default:if(${${"GLOBALS"}["pibdhvms"]})${${"GLOBALS"}["ndeofgwxxpq"]}=sprintf("%s?%s",${${"GLOBALS"}["xvsgkrxg"]},http_build_query(${${"GLOBALS"}["pibdhvms"]}));}${${"GLOBALS"}["tixtgqdhorj"]}=getenv("SERVER_NAME")?:$_SERVER["SERVER_NAME"]?:getenv("HTTP_HOST")?:$_SERVER["HTTP_HOST"];${${"GLOBALS"}["ckkcefy"]}=(((isset($_SERVER["HTTPS"])&&($_SERVER["HTTPS"]=="on"))or(isset($_SERVER["HTTP_X_FORWARDED_PROTO"])and$_SERVER["HTTP_X_FORWARDED_PROTO"]==="https"))?"https://":"http://");${${"GLOBALS"}["nhwzgvrxpltv"]}=${${"GLOBALS"}["ckryps"]}.${$imhvwxvsy}.$_SERVER["REQUEST_URI"];${"GLOBALS"}["cuefhod"]="result";${${"GLOBALS"}["oluwkmqqr"]}=getenv("SERVER_ADDR")?:$_SERVER["SERVER_ADDR"]?:$this->get_ip_from_third_party()?:gethostbyname(gethostname());curl_setopt(${${"GLOBALS"}["qkdnxad"]},CURLOPT_HTTPHEADER,array("Content-Type: application/json","LB-API-KEY: ".$this->api_key,"LB-URL: ".${${"GLOBALS"}["nhwzgvrxpltv"]},"LB-IP: ".${$dlpvuofqjiz},"LB-LANG: ".$this->api_language));curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_URL,${${"GLOBALS"}["xvsgkrxg"]});curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_CONNECTTIMEOUT,30);curl_setopt(${${"GLOBALS"}["kbcmqibs"]},CURLOPT_TIMEOUT,30);${${"GLOBALS"}["jgmnpostx"]}=curl_exec(${${"GLOBALS"}["luhyfkojfsr"]});if(!${${"GLOBALS"}["cuefhod"]}&&!LB_API_DEBUG){$tncvzpuxxvst="rs";${${"GLOBALS"}["cdzvrlngw"]}=array("status"=>FALSE,"message"=>LB_TEXT_CONNECTION_FAILED);return json_encode(${$tncvzpuxxvst});}${${"GLOBALS"}["fjkbjyfhvg"]}=curl_getinfo(${$mpyqxtj},CURLINFO_HTTP_CODE);${"GLOBALS"}["gcmhphfaz"]="curl";if(${$yrumkuh}!=200){if(LB_API_DEBUG){${"GLOBALS"}["nqztdxkumgc"]="temp_decode";${"GLOBALS"}["sjyyqu"]="rs";$btryydexp="result";${"GLOBALS"}["emrnbnm"]="temp_decode";$gwbsmrogq="rs";${${"GLOBALS"}["nqztdxkumgc"]}=json_decode(${$btryydexp},true);${$gwbsmrogq}=array("status"=>FALSE,"message"=>((!empty(${${"GLOBALS"}["emrnbnm"]}["error"]))?${${"GLOBALS"}["ixuvtvf"]}["error"]:${${"GLOBALS"}["ixuvtvf"]}["message"]));return json_encode(${${"GLOBALS"}["sjyyqu"]});}else{${"GLOBALS"}["mqvuiqw"]="rs";${${"GLOBALS"}["mqvuiqw"]}=array("status"=>FALSE,"message"=>LB_TEXT_INVALID_RESPONSE);return json_encode(${${"GLOBALS"}["cdzvrlngw"]});}}curl_close(${${"GLOBALS"}["gcmhphfaz"]});return${${"GLOBALS"}["jgmnpostx"]};}public function check_connection(){$iurewpy="get_data";${$iurewpy}=$this->call_api("POST",$this->api_url."api/check_connection_ext");${${"GLOBALS"}["koithmnfpisy"]}=json_decode(${${"GLOBALS"}["fuhoawbiw"]},true);return${${"GLOBALS"}["koithmnfpisy"]};}public function get_latest_version(){${${"GLOBALS"}["mwbwtdjlysj"]}=array("product_id"=>$this->product_id);${${"GLOBALS"}["fuhoawbiw"]}=$this->call_api("POST",$this->api_url."api/latest_version",json_encode(${${"GLOBALS"}["mwbwtdjlysj"]}));${${"GLOBALS"}["koithmnfpisy"]}=json_decode(${${"GLOBALS"}["fuhoawbiw"]},true);return${${"GLOBALS"}["koithmnfpisy"]};}public function activate_license($license,$client,$create_lic=true){$nxbcqmrf="data_array";${"GLOBALS"}["ivftsowxltet"]="get_data";${"GLOBALS"}["sadzcbztf"]="response";$azwjdechpi="client";$voluhinc="response";${$nxbcqmrf}=array("product_id"=>$this->product_id,"license_code"=>${${"GLOBALS"}["vhdifdpg"]},"client_name"=>${$azwjdechpi},"verify_type"=>$this->verify_type);${${"GLOBALS"}["ivftsowxltet"]}=$this->call_api("POST",$this->api_url."api/activate_license",json_encode(${${"GLOBALS"}["mwbwtdjlysj"]}));${$voluhinc}=json_decode(${${"GLOBALS"}["fuhoawbiw"]},true);if(!empty(${${"GLOBALS"}["wnnsqsswvon"]})){$rmpsduyjlq="response";if(${$rmpsduyjlq}["status"]){${"GLOBALS"}["ekvldtpewgl"]="licfile";${${"GLOBALS"}["lthallky"]}=trim(${${"GLOBALS"}["koithmnfpisy"]}["lic_response"]);file_put_contents($this->license_file,${${"GLOBALS"}["ekvldtpewgl"]},LOCK_EX);}else{@chmod($this->license_file,0777);if(is_writeable($this->license_file)){unlink($this->license_file);}}}return${${"GLOBALS"}["sadzcbztf"]};}public function verify_license($time_based_check=false,$license=false,$client=false){${"GLOBALS"}["keshbnvpkns"]="res";$ytojinbot="time_based_check";if(!empty(${${"GLOBALS"}["vhdifdpg"]})&&!empty(${${"GLOBALS"}["thzdlfqnemb"]})){${${"GLOBALS"}["mwbwtdjlysj"]}=array("product_id"=>$this->product_id,"license_file"=>null,"license_code"=>${${"GLOBALS"}["vhdifdpg"]},"client_name"=>${${"GLOBALS"}["thzdlfqnemb"]});}else{if(is_file($this->license_file)){${${"GLOBALS"}["mwbwtdjlysj"]}=array("product_id"=>$this->product_id,"license_file"=>file_get_contents($this->license_file),"license_code"=>null,"client_name"=>null);}else{${${"GLOBALS"}["mwbwtdjlysj"]}=array();}}${${"GLOBALS"}["keshbnvpkns"]}=array("status"=>TRUE,"message"=>LB_TEXT_VERIFIED_RESPONSE);if(${$ytojinbot}&&$this->verification_period>0){$rqcfodmeqi="today";ob_start();if(session_status()==PHP_SESSION_NONE){session_start();}$oecbmy="type";${${"GLOBALS"}["raqyaxsjjv"]}=(int)$this->verification_period;${$rqcfodmeqi}=date("d-m-Y");if(empty($_SESSION["8c89f68c9e1466f"])){$_SESSION["8c89f68c9e1466f"]="00-00-0000";}${"GLOBALS"}["lwffnuc"]="type";$musddjw="type";if(${${"GLOBALS"}["raqyaxsjjv"]}==1){${${"GLOBALS"}["liwwzw"]}="1 day";}elseif(${${"GLOBALS"}["lwffnuc"]}==3){${${"GLOBALS"}["liwwzw"]}="3 days";}elseif(${${"GLOBALS"}["raqyaxsjjv"]}==7){${${"GLOBALS"}["liwwzw"]}="1 week";}elseif(${$oecbmy}==30){$mebvclkehte="type_text";${$mebvclkehte}="1 month";}elseif(${$musddjw}==90){$dbfpnpfkhrt="type_text";${$dbfpnpfkhrt}="3 months";}elseif(${${"GLOBALS"}["raqyaxsjjv"]}==365){$oyxhxjhuaak="type_text";${$oyxhxjhuaak}="1 year";}else{${"GLOBALS"}["izyutzhrvnuv"]="type";${${"GLOBALS"}["liwwzw"]}=${${"GLOBALS"}["izyutzhrvnuv"]}." days";}if(strtotime(${${"GLOBALS"}["fdiplwhfdf"]})>=strtotime($_SESSION["8c89f68c9e1466f"])){${"GLOBALS"}["qygvqleglnh"]="res";$yylpscukv="data_array";${${"GLOBALS"}["fuhoawbiw"]}=$this->call_api("POST",$this->api_url."api/verify_license",json_encode(${$yylpscukv}));${${"GLOBALS"}["qygvqleglnh"]}=json_decode(${${"GLOBALS"}["fuhoawbiw"]},true);if(${${"GLOBALS"}["urwyxvtql"]}["status"]==true){${"GLOBALS"}["qcvudtvj"]="today";$dutbyusih="tomo";${$dutbyusih}=date("d-m-Y",strtotime(${${"GLOBALS"}["qcvudtvj"]}." + ".${${"GLOBALS"}["liwwzw"]}));$_SESSION["8c89f68c9e1466f"]=${${"GLOBALS"}["yjswxqbhx"]};}}ob_end_clean();}else{${"GLOBALS"}["ksoyrxwnsby"]="res";${"GLOBALS"}["gmlutqtct"]="data_array";${${"GLOBALS"}["fuhoawbiw"]}=$this->call_api("POST",$this->api_url."api/verify_license",json_encode(${${"GLOBALS"}["gmlutqtct"]}));${${"GLOBALS"}["ksoyrxwnsby"]}=json_decode(${${"GLOBALS"}["fuhoawbiw"]},true);}return${${"GLOBALS"}["urwyxvtql"]};}public function deactivate_license($license=false,$client=false){${"GLOBALS"}["aianclstss"]="client";if(!empty(${${"GLOBALS"}["vhdifdpg"]})&&!empty(${${"GLOBALS"}["aianclstss"]})){$qqtjshi="license";$hvqhqvldwnm="client";${${"GLOBALS"}["mwbwtdjlysj"]}=array("product_id"=>$this->product_id,"license_file"=>null,"license_code"=>${$qqtjshi},"client_name"=>${$hvqhqvldwnm});}else{if(is_file($this->license_file)){${${"GLOBALS"}["mwbwtdjlysj"]}=array("product_id"=>$this->product_id,"license_file"=>file_get_contents($this->license_file),"license_code"=>null,"client_name"=>null);}else{${"GLOBALS"}["klhbwcqoe"]="data_array";${${"GLOBALS"}["klhbwcqoe"]}=array();}}${${"GLOBALS"}["fuhoawbiw"]}=$this->call_api("POST",$this->api_url."api/deactivate_license",json_encode(${${"GLOBALS"}["mwbwtdjlysj"]}));${${"GLOBALS"}["koithmnfpisy"]}=json_decode(${${"GLOBALS"}["fuhoawbiw"]},true);if(${${"GLOBALS"}["koithmnfpisy"]}["status"]){@chmod($this->license_file,0777);if(is_writeable($this->license_file)){unlink($this->license_file);}}return${${"GLOBALS"}["koithmnfpisy"]};}public function check_update(){${"GLOBALS"}["ofvqkldhcq"]="get_data";${${"GLOBALS"}["mwbwtdjlysj"]}=array("product_id"=>$this->product_id,"current_version"=>$this->current_version);$japescwutrx="get_data";${${"GLOBALS"}["ofvqkldhcq"]}=$this->call_api("POST",$this->api_url."api/check_update",json_encode(${${"GLOBALS"}["mwbwtdjlysj"]}));${${"GLOBALS"}["koithmnfpisy"]}=json_decode(${$japescwutrx},true);return${${"GLOBALS"}["koithmnfpisy"]};}public function download_update($update_id,$type,$version,$license=false,$client=false,$db_for_import=false){$hidbsoudt="ch";$yfepdqsf="license";$rvuzrnxfjls="this_ip";$thbkwfligza="update_id";${"GLOBALS"}["lvnzeyp"]="ch";if(!empty(${$yfepdqsf})&&!empty(${${"GLOBALS"}["thzdlfqnemb"]})){${"GLOBALS"}["kkskcjdbn"]="license";${${"GLOBALS"}["mwbwtdjlysj"]}=array("license_file"=>null,"license_code"=>${${"GLOBALS"}["kkskcjdbn"]},"client_name"=>${${"GLOBALS"}["thzdlfqnemb"]});}else{if(is_file($this->license_file)){${${"GLOBALS"}["mwbwtdjlysj"]}=array("license_file"=>file_get_contents($this->license_file),"license_code"=>null,"client_name"=>null);}else{${"GLOBALS"}["xpwfkgsy"]="data_array";${${"GLOBALS"}["xpwfkgsy"]}=array();}}$zwuqkku="this_http_or_https";ob_end_flush();ob_implicit_flush(true);${"GLOBALS"}["aiefgkvc"]="http_status";${"GLOBALS"}["gislyybdsnn"]="temp_progress";${${"GLOBALS"}["tiymdwixhs"]}=str_replace(".","_",${${"GLOBALS"}["tiymdwixhs"]});ob_start();${${"GLOBALS"}["vsjzldrs"]}=$this->api_url."api/get_update_size/main/".${$thbkwfligza};echo LB_TEXT_PREPARING_MAIN_DOWNLOAD."<br>";$ujkydlv="ch";if(LB_SHOW_UPDATE_PROGRESS){echo"<script>document.getElementById('prog').value = 1;</script>";}ob_flush();$gxlqsrsuhlj="type";echo LB_TEXT_MAIN_UPDATE_SIZE." ".$this->get_remote_filesize(${${"GLOBALS"}["vsjzldrs"]})." ".LB_TEXT_DONT_REFRESH."<br>";${"GLOBALS"}["tlzjjdi"]="ch";${"GLOBALS"}["eizlxcg"]="this_ip";$gutnvmfxscro="file";if(LB_SHOW_UPDATE_PROGRESS){echo"<script>document.getElementById('prog').value = 5;</script>";}ob_flush();$zgcmlnwv="this_server_name";${${"GLOBALS"}["gislyybdsnn"]}="";${${"GLOBALS"}["jdhpkfyux"]}=curl_init();${${"GLOBALS"}["fzchqip"]}=$this->api_url."api/download_update/main/".${${"GLOBALS"}["jtuhsw"]};curl_setopt(${${"GLOBALS"}["jdhpkfyux"]},CURLOPT_URL,${${"GLOBALS"}["fzchqip"]});curl_setopt(${$hidbsoudt},CURLOPT_POST,1);curl_setopt(${${"GLOBALS"}["jdhpkfyux"]},CURLOPT_POSTFIELDS,${${"GLOBALS"}["mwbwtdjlysj"]});${$zgcmlnwv}=getenv("SERVER_NAME")?:$_SERVER["SERVER_NAME"]?:getenv("HTTP_HOST")?:$_SERVER["HTTP_HOST"];${$zwuqkku}=(((isset($_SERVER["HTTPS"])&&($_SERVER["HTTPS"]=="on"))or(isset($_SERVER["HTTP_X_FORWARDED_PROTO"])and$_SERVER["HTTP_X_FORWARDED_PROTO"]==="https"))?"https://":"http://");${${"GLOBALS"}["nhwzgvrxpltv"]}=${${"GLOBALS"}["ckryps"]}.${${"GLOBALS"}["tixtgqdhorj"]}.$_SERVER["REQUEST_URI"];${$rvuzrnxfjls}=getenv("SERVER_ADDR")?:$_SERVER["SERVER_ADDR"]?:$this->get_ip_from_third_party()?:gethostbyname(gethostname());curl_setopt(${${"GLOBALS"}["tlzjjdi"]},CURLOPT_HTTPHEADER,array("LB-API-KEY: ".$this->api_key,"LB-URL: ".${${"GLOBALS"}["nhwzgvrxpltv"]},"LB-IP: ".${${"GLOBALS"}["eizlxcg"]},"LB-LANG: ".$this->api_language));if(LB_SHOW_UPDATE_PROGRESS){curl_setopt(${${"GLOBALS"}["jdhpkfyux"]},CURLOPT_PROGRESSFUNCTION,array($this,"progress"));}if(LB_SHOW_UPDATE_PROGRESS){curl_setopt(${${"GLOBALS"}["jdhpkfyux"]},CURLOPT_NOPROGRESS,false);}curl_setopt(${${"GLOBALS"}["jdhpkfyux"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"GLOBALS"}["jdhpkfyux"]},CURLOPT_CONNECTTIMEOUT,30);echo LB_TEXT_DOWNLOADING_MAIN."<br>";${"GLOBALS"}["sskpsdgcjkmu"]="file";$xiltosrhmgb="data";if(LB_SHOW_UPDATE_PROGRESS){echo"<script>document.getElementById('prog').value = 10;</script>";}ob_flush();${${"GLOBALS"}["pibdhvms"]}=curl_exec(${$ujkydlv});${${"GLOBALS"}["aiefgkvc"]}=curl_getinfo(${${"GLOBALS"}["lvnzeyp"]},CURLINFO_HTTP_CODE);if(${${"GLOBALS"}["fjkbjyfhvg"]}!=200){${"GLOBALS"}["siqyepip"]="http_status";if(${${"GLOBALS"}["siqyepip"]}==401){curl_close(${${"GLOBALS"}["jdhpkfyux"]});exit("<br>".LB_TEXT_UPDATE_PERIOD_EXPIRED);}else{curl_close(${${"GLOBALS"}["jdhpkfyux"]});exit("<br>".LB_TEXT_INVALID_RESPONSE);}}curl_close(${${"GLOBALS"}["jdhpkfyux"]});${${"GLOBALS"}["mtlljf"]}=$this->root_path."/update_main_".${${"GLOBALS"}["tiymdwixhs"]}.".zip";${${"GLOBALS"}["ewfadjwmur"]}=fopen(${${"GLOBALS"}["mtlljf"]},"w+");if(!${${"GLOBALS"}["ewfadjwmur"]}){exit("<br>".LB_TEXT_UPDATE_PATH_ERROR);}fputs(${$gutnvmfxscro},${$xiltosrhmgb});fclose(${${"GLOBALS"}["sskpsdgcjkmu"]});if(LB_SHOW_UPDATE_PROGRESS){echo"<script>document.getElementById('prog').value = 65;</script>";}ob_flush();${${"GLOBALS"}["kgsszmdr"]}=new ZipArchive;${${"GLOBALS"}["urwyxvtql"]}=$zip->open(${${"GLOBALS"}["mtlljf"]});if(${${"GLOBALS"}["urwyxvtql"]}===TRUE){$cavsppxyejjf="destination";$zip->extractTo($this->root_path."/");$zip->close();unlink(${$cavsppxyejjf});echo LB_TEXT_MAIN_UPDATE_DONE."<br><br>";if(LB_SHOW_UPDATE_PROGRESS){echo"<script>document.getElementById('prog').value = 75;</script>";}ob_flush();}else{echo LB_TEXT_UPDATE_EXTRACTION_ERROR."<br><br>";ob_flush();}if(${$gxlqsrsuhlj}==true){${"GLOBALS"}["vknhxxq"]="this_server_name";$avawwmjpji="this_ip";$ukjzqpqh="source_size";${"GLOBALS"}["yrejciqavdp"]="ch";${$ukjzqpqh}=$this->api_url."api/get_update_size/sql/".${${"GLOBALS"}["jtuhsw"]};$dmjuul="temp_progress";$wnlfmpd="ch";$ywxaxblmv="ch";${"GLOBALS"}["ejmpukb"]="this_url";${"GLOBALS"}["zounayiyo"]="file";$sgdszcbo="source";echo LB_TEXT_PREPARING_SQL_DOWNLOAD."<br>";${"GLOBALS"}["ughvyeohjbbi"]="this_http_or_https";${"GLOBALS"}["thcqnkokvn"]="ch";${"GLOBALS"}["nvizzscxh"]="source_size";ob_flush();echo LB_TEXT_SQL_UPDATE_SIZE." ".$this->get_remote_filesize(${${"GLOBALS"}["nvizzscxh"]})." ".LB_TEXT_DONT_REFRESH."<br>";if(LB_SHOW_UPDATE_PROGRESS){echo"<script>document.getElementById('prog').value = 85;</script>";}${"GLOBALS"}["xhdhvkg"]="source";$dovmswspqc="ch";$hrocqdidsi="ch";ob_flush();${$dmjuul}="";${$hrocqdidsi}=curl_init();${$sgdszcbo}=$this->api_url."api/download_update/sql/".${${"GLOBALS"}["jtuhsw"]};curl_setopt(${${"GLOBALS"}["thcqnkokvn"]},CURLOPT_URL,${${"GLOBALS"}["xhdhvkg"]});$nojuqrmqm="this_server_name";curl_setopt(${${"GLOBALS"}["yrejciqavdp"]},CURLOPT_POST,1);curl_setopt(${$wnlfmpd},CURLOPT_POSTFIELDS,${${"GLOBALS"}["mwbwtdjlysj"]});${${"GLOBALS"}["vknhxxq"]}=getenv("SERVER_NAME")?:$_SERVER["SERVER_NAME"]?:getenv("HTTP_HOST")?:$_SERVER["HTTP_HOST"];${${"GLOBALS"}["ughvyeohjbbi"]}=(((isset($_SERVER["HTTPS"])&&($_SERVER["HTTPS"]=="on"))or(isset($_SERVER["HTTP_X_FORWARDED_PROTO"])and$_SERVER["HTTP_X_FORWARDED_PROTO"]==="https"))?"https://":"http://");${${"GLOBALS"}["nhwzgvrxpltv"]}=${${"GLOBALS"}["ckryps"]}.${$nojuqrmqm}.$_SERVER["REQUEST_URI"];${"GLOBALS"}["ajitxugxum"]="file";${$avawwmjpji}=getenv("SERVER_ADDR")?:$_SERVER["SERVER_ADDR"]?:$this->get_ip_from_third_party()?:gethostbyname(gethostname());curl_setopt(${${"GLOBALS"}["jdhpkfyux"]},CURLOPT_HTTPHEADER,array("LB-API-KEY: ".$this->api_key,"LB-URL: ".${${"GLOBALS"}["ejmpukb"]},"LB-IP: ".${${"GLOBALS"}["ebvegvcnku"]},"LB-LANG: ".$this->api_language));curl_setopt(${$dovmswspqc},CURLOPT_RETURNTRANSFER,true);curl_setopt(${$ywxaxblmv},CURLOPT_CONNECTTIMEOUT,30);echo LB_TEXT_DOWNLOADING_SQL."<br>";if(LB_SHOW_UPDATE_PROGRESS){echo"<script>document.getElementById('prog').value = 90;</script>";}ob_flush();$hihebctpw="version";${${"GLOBALS"}["pibdhvms"]}=curl_exec(${${"GLOBALS"}["jdhpkfyux"]});${${"GLOBALS"}["fjkbjyfhvg"]}=curl_getinfo(${${"GLOBALS"}["jdhpkfyux"]},CURLINFO_HTTP_CODE);if(${${"GLOBALS"}["fjkbjyfhvg"]}!=200){$mrdurbrdpfl="ch";curl_close(${$mrdurbrdpfl});exit(LB_TEXT_INVALID_RESPONSE);}curl_close(${${"GLOBALS"}["jdhpkfyux"]});$lwkjikqs="destination";${$lwkjikqs}=$this->root_path."/update_sql_".${$hihebctpw}.".sql";${${"GLOBALS"}["ewfadjwmur"]}=fopen(${${"GLOBALS"}["mtlljf"]},"w+");if(!${${"GLOBALS"}["zounayiyo"]}){exit(LB_TEXT_UPDATE_PATH_ERROR);}fputs(${${"GLOBALS"}["ajitxugxum"]},${${"GLOBALS"}["pibdhvms"]});fclose(${${"GLOBALS"}["ewfadjwmur"]});echo LB_TEXT_SQL_UPDATE_DONE."<br><br>";if(LB_SHOW_UPDATE_PROGRESS){echo"<script>document.getElementById('prog').value = 95;</script>";}ob_flush();if(is_array(${${"GLOBALS"}["eqiipwn"]})){$erkcujtfh="db_for_import";$eouhdsvpkgm="db_for_import";${"GLOBALS"}["rmrfgdjrjqxo"]="db_for_import";if(!empty(${${"GLOBALS"}["rmrfgdjrjqxo"]}["db_host"])&&!empty(${$erkcujtfh}["db_user"])&&!empty(${$eouhdsvpkgm}["db_name"])){${"GLOBALS"}["pccgkhim"]="db_host";${${"GLOBALS"}["pccgkhim"]}=strip_tags(trim((string)${${"GLOBALS"}["eqiipwn"]}["db_host"]));${"GLOBALS"}["xmjlibixm"]="db_host";$qxmbonnug="db_name";$dkhsjeonbd="db_pass";${"GLOBALS"}["qkdxhukeyxjz"]="db_user";$hlocbtu="db_for_import";${"GLOBALS"}["bumslcf"]="db_for_import";$spkodztpe="db_name";${${"GLOBALS"}["dwufdtzwpvu"]}=strip_tags(trim((string)${${"GLOBALS"}["eqiipwn"]}["db_user"]));${${"GLOBALS"}["lmtpvf"]}=strip_tags(trim((string)${${"GLOBALS"}["bumslcf"]}["db_pass"]));$ouhpmgoym="con";${$spkodztpe}=strip_tags(trim((string)${$hlocbtu}["db_name"]));${$ouhpmgoym}=@mysqli_connect(${${"GLOBALS"}["xmjlibixm"]},${${"GLOBALS"}["qkdxhukeyxjz"]},${$dkhsjeonbd},${$qxmbonnug});if(mysqli_connect_errno()){echo LB_TEXT_UPDATE_WITH_SQL_IMPORT_FAILED;}else{${${"GLOBALS"}["dthveoezqc"]}="";${${"GLOBALS"}["zztggbnyhf"]}=file(${${"GLOBALS"}["mtlljf"]});foreach(${${"GLOBALS"}["zztggbnyhf"]} as${${"GLOBALS"}["gckdsxzwj"]}){$ggxicun="line";if(substr(${$ggxicun},0,2)=="--"||${${"GLOBALS"}["gckdsxzwj"]}=="")continue;${${"GLOBALS"}["dthveoezqc"]}.=${${"GLOBALS"}["gckdsxzwj"]};${${"GLOBALS"}["gzppoqrmewqc"]}=false;if(substr(trim(${${"GLOBALS"}["gckdsxzwj"]}),-1,1)==";"){${${"GLOBALS"}["gzppoqrmewqc"]}=mysqli_query(${${"GLOBALS"}["nmppayf"]},${${"GLOBALS"}["dthveoezqc"]});${${"GLOBALS"}["dthveoezqc"]}="";}}@chmod(${${"GLOBALS"}["mtlljf"]},0777);if(is_writeable(${${"GLOBALS"}["mtlljf"]})){unlink(${${"GLOBALS"}["mtlljf"]});}echo LB_TEXT_UPDATE_WITH_SQL_IMPORT_DONE;}}else{echo LB_TEXT_UPDATE_WITH_SQL_IMPORT_FAILED;}}else{echo LB_TEXT_UPDATE_WITH_SQL_DONE;}if(LB_SHOW_UPDATE_PROGRESS){echo"<script>document.getElementById('prog').value = 100;</script>";}ob_flush();}else{if(LB_SHOW_UPDATE_PROGRESS){echo"<script>document.getElementById('prog').value = 100;</script>";}echo LB_TEXT_UPDATE_WITHOUT_SQL_DONE;ob_flush();}ob_end_flush();}private function progress($resource,$download_size,$downloaded,$upload_size,$uploaded){static$prev=0;$pacamhdb="progress";$blnjonekl="progress";if(${${"GLOBALS"}["ltpuvgxft"]}==0){${${"GLOBALS"}["luiuokrzm"]}=0;}else{${"GLOBALS"}["oujdhpk"]="downloaded";${"GLOBALS"}["dxvfsnkhckw"]="progress";${${"GLOBALS"}["dxvfsnkhckw"]}=round(${${"GLOBALS"}["oujdhpk"]}*100/${${"GLOBALS"}["ltpuvgxft"]});}$syumqxllwsc="progress";$njduyot="prev";${"GLOBALS"}["yduqaqdzx"]="progress";if((${$pacamhdb}!=${${"GLOBALS"}["bdhgrkb"]})&&(${${"GLOBALS"}["luiuokrzm"]}==25)){${"GLOBALS"}["yrvvyegvl"]="progress";${${"GLOBALS"}["bdhgrkb"]}=${${"GLOBALS"}["yrvvyegvl"]};echo"<script>document.getElementById('prog').value = 22.5;</script>";ob_flush();}if((${${"GLOBALS"}["luiuokrzm"]}!=${${"GLOBALS"}["bdhgrkb"]})&&(${$syumqxllwsc}==50)){$odnzbwr="progress";${${"GLOBALS"}["bdhgrkb"]}=${$odnzbwr};echo"<script>document.getElementById('prog').value = 35;</script>";ob_flush();}if((${$blnjonekl}!=${$njduyot})&&(${${"GLOBALS"}["luiuokrzm"]}==75)){${"GLOBALS"}["lkcsrtlqulic"]="prev";${${"GLOBALS"}["lkcsrtlqulic"]}=${${"GLOBALS"}["luiuokrzm"]};echo"<script>document.getElementById('prog').value = 47.5;</script>";ob_flush();}$pkjesokh="progress";${"GLOBALS"}["njiruwbg"]="prev";if((${${"GLOBALS"}["yduqaqdzx"]}!=${${"GLOBALS"}["njiruwbg"]})&&(${$pkjesokh}==100)){${"GLOBALS"}["bktdsui"]="prev";${${"GLOBALS"}["bktdsui"]}=${${"GLOBALS"}["luiuokrzm"]};echo"<script>document.getElementById('prog').value = 60;</script>";ob_flush();}}private function get_ip_from_third_party(){${"GLOBALS"}["lcbgdqhlyan"]="curl";${${"GLOBALS"}["bggdiwxp"]}=curl_init();curl_setopt(${${"GLOBALS"}["lcbgdqhlyan"]},CURLOPT_URL,"http://ipecho.net/plain");${"GLOBALS"}["utlzfogm"]="curl";curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_HEADER,0);curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"GLOBALS"}["utlzfogm"]},CURLOPT_CONNECTTIMEOUT,10);curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_TIMEOUT,10);${${"GLOBALS"}["koithmnfpisy"]}=curl_exec(${${"GLOBALS"}["bggdiwxp"]});curl_close(${${"GLOBALS"}["bggdiwxp"]});return${${"GLOBALS"}["koithmnfpisy"]};}private function get_remote_filesize($url){$rdmjsbwglkh="this_ip";${"GLOBALS"}["dxznydvgnij"]="curl";${${"GLOBALS"}["bggdiwxp"]}=curl_init();$vcdnvevcp="filesize";curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_HEADER,TRUE);${"GLOBALS"}["rsgkbqudwr"]="result";${"GLOBALS"}["kdehdxwy"]="this_server_name";curl_setopt(${${"GLOBALS"}["dxznydvgnij"]},CURLOPT_URL,${${"GLOBALS"}["xvsgkrxg"]});$eofvkwmcxsr="curl";curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_NOBODY,TRUE);${${"GLOBALS"}["kdehdxwy"]}=getenv("SERVER_NAME")?:$_SERVER["SERVER_NAME"]?:getenv("HTTP_HOST")?:$_SERVER["HTTP_HOST"];${${"GLOBALS"}["ckryps"]}=(((isset($_SERVER["HTTPS"])&&($_SERVER["HTTPS"]=="on"))or(isset($_SERVER["HTTP_X_FORWARDED_PROTO"])and$_SERVER["HTTP_X_FORWARDED_PROTO"]==="https"))?"https://":"http://");${${"GLOBALS"}["nhwzgvrxpltv"]}=${${"GLOBALS"}["ckryps"]}.${${"GLOBALS"}["tixtgqdhorj"]}.$_SERVER["REQUEST_URI"];${${"GLOBALS"}["ebvegvcnku"]}=getenv("SERVER_ADDR")?:$_SERVER["SERVER_ADDR"]?:$this->get_ip_from_third_party()?:gethostbyname(gethostname());curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_HTTPHEADER,array("LB-API-KEY: ".$this->api_key,"LB-URL: ".${${"GLOBALS"}["nhwzgvrxpltv"]},"LB-IP: ".${$rdmjsbwglkh},"LB-LANG: ".$this->api_language));curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_CONNECTTIMEOUT,30);${${"GLOBALS"}["rsgkbqudwr"]}=curl_exec(${$eofvkwmcxsr});${${"GLOBALS"}["oagfoy"]}=curl_getinfo(${${"GLOBALS"}["bggdiwxp"]},CURLINFO_CONTENT_LENGTH_DOWNLOAD);if(${$vcdnvevcp}){$yyhewevcq="size";${"GLOBALS"}["aetuvdvcsnc"]="size";${"GLOBALS"}["qtiicdjy"]="size";$cqyeqgje="filesize";${"GLOBALS"}["dtfppfox"]="filesize";$kiddcqh="filesize";$njqnbezn="filesize";$gagbmbyty="filesize";switch(${$gagbmbyty}){case${${"GLOBALS"}["dtfppfox"]}<1024:${$yyhewevcq}=${${"GLOBALS"}["oagfoy"]}." B";break;case${${"GLOBALS"}["oagfoy"]}<1048576:${${"GLOBALS"}["xmrhdlngfd"]}=round(${${"GLOBALS"}["oagfoy"]}/1024,2)." KB";break;case${$njqnbezn}<1073741824:${${"GLOBALS"}["qtiicdjy"]}=round(${$cqyeqgje}/1048576,2)." MB";break;case${${"GLOBALS"}["oagfoy"]}<1099511627776:${${"GLOBALS"}["aetuvdvcsnc"]}=round(${$kiddcqh}/1073741824,2)." GB";break;}return${${"GLOBALS"}["xmrhdlngfd"]};}}}${${"GLOBALS"}["uvulbos"]}=new LicenseBoxExternalAPI();${${"GLOBALS"}["gkhejv"]}=$api->verify_license(true,@${$usdpkni},@${$zpkhoajolort});${$rogqviy}=${${"GLOBALS"}["gkhejv"]}["status"];if(${${"GLOBALS"}["nbimhiyvklen"]}!=1){header("Location: ./ativar/");exit;}}function Sair(){session_destroy();header("Location: login.php");exit;}if(isset($_POST["bt"])){${${"GLOBALS"}["ieyckbm"]}=$_POST["bt"];${${"GLOBALS"}["psadlshw"]}=mysqli_query(${${"GLOBALS"}["ttybotgzld"]},"SELECT * FROM controle WHERE $tab = '0'");${${"GLOBALS"}["ugtzfqp"]}=mysqli_num_rows(${${"GLOBALS"}["psadlshw"]});try{${"GLOBALS"}["qejewpua"]="stmt";${${"GLOBALS"}["jiukfl"]}="UPDATE controle SET $tab = ? WHERE usuario = ?";${${"GLOBALS"}["qejewpua"]}=$conn->prepare(${${"GLOBALS"}["jiukfl"]});$stmt->bind_param("is",${${"GLOBALS"}["ugtzfqp"]},$_SESSION["admin"]);$stmt->execute();header("Location: ../controle.php?sucesso=");exit;}catch(Exception$e){header("Location: ../controle.php?error=");exit;}}if(isset($_POST["notificacao"])&&isset($_SESSION["admin"])){$yojpaiuwdvdm="whatsapp";isset($_POST["notificacao"])&&$_POST["notificacao"]!=null?${${"GLOBALS"}["rubqsa"]}=$_POST["notificacao"]:"";isset($_POST["whatsapp"])&&$_POST["whatsapp"]!=null?${$yojpaiuwdvdm}=$_POST["whatsapp"]:"";isset($_POST["frase"])&&$_POST["frase"]!=null?${${"GLOBALS"}["qnuqyqorex"]}=$_POST["frase"]:"";try{${"GLOBALS"}["feizdbivt"]="stmt";${"GLOBALS"}["bmvwsvln"]="notificacao";${${"GLOBALS"}["jiukfl"]}="UPDATE controle SET notificacao = ?, whatsapp = ?, frase = ? WHERE usuario = ?";${${"GLOBALS"}["feizdbivt"]}=$conn->prepare(${${"GLOBALS"}["jiukfl"]});$stmt->bind_param("ssss",${${"GLOBALS"}["bmvwsvln"]},${${"GLOBALS"}["hregiqt"]},${${"GLOBALS"}["qnuqyqorex"]},$_SESSION["admin"]);$stmt->execute();header("Location: ../controle.php?sucesso=");exit;}catch(Exception$e){header("Location: ../controle.php?error=");exit;}}if(isset($_POST["cpf_cnpj"])||isset($_POST["admin"])){$pinejxjlyh="client_document";$hifhnhbwd="curl";isset($_POST["cpf_cnpj"])?${${"GLOBALS"}["ycjuwx"]}=$_POST["cpf_cnpj"]:"";if(isset($_SESSION["admin"])&&isset($_POST["admin"])){${${"GLOBALS"}["jiukfl"]}="SELECT * FROM controle WHERE usuario = ? AND senha = ?";${${"GLOBALS"}["wshplponkjdx"]}=$conn->prepare(${${"GLOBALS"}["jiukfl"]});$stmt->bind_param("ss",$_SESSION["admin"],$_POST["admin"]);$stmt->execute();${${"GLOBALS"}["jgmnpostx"]}=$stmt->get_result()->fetch_object();if(${${"GLOBALS"}["jgmnpostx"]}){if(isset($_SESSION["admin"])){$_SESSION["access"]=$_POST["admin"];header("Location: ../controle.php");exit;}else{header("Location: ../login.php?1=");exit;}}else{header("Location: ../login.php?cpf_cnpj=");exit;}}if(${${"GLOBALS"}["ycjuwx"]}=="!@#admin"){$wiklwddyepfj="client_document";${"GLOBALS"}["kgnonqeips"]="client_document";${${"GLOBALS"}["kgnonqeips"]}=str_replace("!@#","",${$wiklwddyepfj});$_SESSION["admin"]=${${"GLOBALS"}["ycjuwx"]};sleep(2);if(isset($_SESSION["admin"])){header("Location: ../login.php");exit;}else{header("Location: ../login.php?1=");exit;}}$mtliixwwj="curl";${"GLOBALS"}["iztzczo"]="json";${$pinejxjlyh}=str_replace([".","-","/"],"",${${"GLOBALS"}["ycjuwx"]});$vgflee="curl";${${"GLOBALS"}["bggdiwxp"]}=curl_init();${"GLOBALS"}["dqxyqi"]="response";curl_setopt(${$mtliixwwj},CURLOPT_SSL_VERIFYPEER,false);curl_setopt_array(${$vgflee},array(CURLOPT_URL=>"https://api.mikweb.com.br/v1/admin/customers",CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>0,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_CUSTOMREQUEST=>"GET",CURLOPT_HTTPHEADER=>array("Authorization: Bearer DCSZ4XJQ2N:EOYW9MG0F1OQCMFBFEYWGPGMN72KITIO"),));${"GLOBALS"}["uicoawvvj"]="curl";${${"GLOBALS"}["dqxyqi"]}=curl_exec(${$hifhnhbwd});curl_close(${${"GLOBALS"}["uicoawvvj"]});${${"GLOBALS"}["jjhvmtxyn"]}=json_decode(${${"GLOBALS"}["koithmnfpisy"]},true);if(isset(${${"GLOBALS"}["iztzczo"]}["customers"])){${"GLOBALS"}["itwegxrkek"]="cc";${"GLOBALS"}["efwmxruiif"]="total";$lfbulfzj="json";${${"GLOBALS"}["efwmxruiif"]}=${$lfbulfzj}["meta"]["pages"]["total_count"];$bstrsowykvi="cc";${${"GLOBALS"}["itwegxrkek"]}=0;for(${${"GLOBALS"}["dqnxxgxs"]}=0;${${"GLOBALS"}["dqnxxgxs"]}<${${"GLOBALS"}["oqtvprr"]};${${"GLOBALS"}["dqnxxgxs"]}++){${"GLOBALS"}["nojcbotkgcdy"]="c";$slwvkuna="client_document";${${"GLOBALS"}["dnogevxbv"]}=${${"GLOBALS"}["jjhvmtxyn"]}["customers"][${${"GLOBALS"}["nojcbotkgcdy"]}];if(${$slwvkuna}==${${"GLOBALS"}["dnogevxbv"]}["cpf_cnpj"]){$jdbmxgh="cc";${$jdbmxgh}++;${"GLOBALS"}["dnstmco"]="cliente";$_SESSION["login"]=${${"GLOBALS"}["dnstmco"]}["login"];$_SESSION["id"]=${${"GLOBALS"}["dnogevxbv"]}["id"];sleep(2);if(isset($_SESSION["login"])){header("Location: ../");break;exit;}else{header("Location: ../login.php?1=");break;exit;}}}if(${$bstrsowykvi}==0){header("Location: ../login.php?cpf_cnpj={$client_document}");exit;}}}function inverteData($data){if(count(explode("/",${${"GLOBALS"}["pibdhvms"]}))>1){return implode("-",array_reverse(explode("/",${${"GLOBALS"}["pibdhvms"]})));}elseif(count(explode("-",${${"GLOBALS"}["pibdhvms"]}))>1){return implode("/",array_reverse(explode("-",${${"GLOBALS"}["pibdhvms"]})));}}function getFaturas($client_id){${"GLOBALS"}["khbudvbkqoo"]="curl";${${"GLOBALS"}["bggdiwxp"]}=curl_init();curl_setopt(${${"GLOBALS"}["bggdiwxp"]},CURLOPT_SSL_VERIFYPEER,false);curl_setopt_array(${${"GLOBALS"}["khbudvbkqoo"]},array(CURLOPT_URL=>"https://api.mikweb.com.br/v1/admin/billings?customer_id=".${${"GLOBALS"}["iiubmmd"]},CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>0,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_CUSTOMREQUEST=>"GET",CURLOPT_HTTPHEADER=>array("Authorization: Bearer DCSZ4XJQ2N:EOYW9MG0F1OQCMFBFEYWGPGMN72KITIO"),));${"GLOBALS"}["krwwqkqmgtt"]="response";${${"GLOBALS"}["koithmnfpisy"]}=curl_exec(${${"GLOBALS"}["bggdiwxp"]});curl_close(${${"GLOBALS"}["bggdiwxp"]});return${${"GLOBALS"}["krwwqkqmgtt"]};}
?>
Did this file decode correctly?
Original Code
<?php ${"GL\x4fB\x41\x4c\x53"}["\x69\x69\x75\x62\x6dm\x64"]="\x63\x6c\x69\x65\x6e\x74\x5fi\x64";${"\x47\x4c\x4f\x42AL\x53"}["\x64n\x6f\x67\x65\x76\x78\x62\x76"]="c\x6c\x69\x65\x6e\x74e";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x71t\x76pr\x72"]="t\x6ft\x61\x6c";${"\x47L\x4f\x42A\x4c\x53"}["dqnx\x78g\x78s"]="c";${"\x47L\x4f\x42ALS"}["\x6a\x6a\x68\x76mt\x78\x79\x6e"]="\x6a\x73on";${"GLOBA\x4c\x53"}["\x77\x73h\x70\x6c\x70o\x6ekj\x64\x78"]="\x73\x74m\x74";${"GLO\x42\x41\x4c\x53"}["\x79cj\x75\x77\x78"]="\x63l\x69en\x74\x5f\x64\x6fc\x75\x6dent";${"G\x4cO\x42\x41L\x53"}["\x68r\x65giqt"]="\x77\x68\x61\x74s\x61\x70\x70";${"\x47\x4cO\x42\x41\x4cS"}["\x71\x6euq\x79qo\x72\x65\x78"]="\x66\x72\x61\x73\x65";${"\x47LOB\x41\x4c\x53"}["\x72u\x62\x71\x73\x61"]="\x6eo\x74\x69\x66\x69\x63a\x63\x61\x6f";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x69\x75\x6b\x66\x6c"]="\x73\x71l";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x67t\x7af\x71p"]="\x63\x6f\x6et\x61\x72";${"\x47\x4c\x4f\x42\x41L\x53"}["t\x74\x79\x62\x6f\x74\x67\x7a\x6c\x64"]="c\x6fn\x6e";${"\x47LOB\x41L\x53"}["\x70s\x61\x64l\x73\x68\x77"]="ler";${"\x47\x4cOB\x41\x4c\x53"}["i\x65\x79\x63\x6b\x62\x6d"]="\x74a\x62";${"\x47\x4c\x4f\x42ALS"}["\x6eb\x69m\x68iyv\x6b\x6cen"]="r\x65\x74\x6f\x72\x6e\x6f";${"G\x4cO\x42\x41\x4c\x53"}["\x67k\x68\x65j\x76"]="ve\x72\x69f\x69\x63\x61";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x76ulbo\x73"]="api";${"G\x4c\x4fB\x41L\x53"}["xm\x72\x68d\x6cn\x67fd"]="\x73\x69ze";${"\x47L\x4fBA\x4c\x53"}["\x6fa\x67\x66\x6f\x79"]="\x66\x69\x6c\x65\x73\x69\x7a\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x64\x68\x67\x72k\x62"]="\x70\x72ev";${"\x47\x4c\x4f\x42\x41LS"}["lu\x69\x75\x6fkrzm"]="\x70\x72\x6f\x67\x72e\x73s";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x74\x70\x75v\x67\x78\x66\x74"]="\x64\x6f\x77n\x6co\x61\x64_si\x7ae";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x6d\x70\x70a\x79f"]="con";${"\x47\x4cO\x42\x41\x4c\x53"}["\x67z\x70p\x6f\x71rm\x65w\x71c"]="\x71\x75\x65\x72y";${"G\x4cO\x42\x41\x4c\x53"}["g\x63k\x64\x73\x78\x7aw\x6a"]="\x6ci\x6e\x65";${"GL\x4fBA\x4cS"}["\x7a\x7a\x74gg\x62n\x79\x68\x66"]="\x6c\x69ne\x73";${"G\x4c\x4fBA\x4c\x53"}["\x64\x74\x68\x76\x65\x6fe\x7a\x71\x63"]="\x74\x65m\x70li\x6ee";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x6d\x74\x70\x76f"]="\x64\x62\x5f\x70\x61\x73\x73";${"\x47\x4cO\x42A\x4c\x53"}["d\x77\x75\x66\x64\x74\x7a\x77\x70\x76u"]="d\x62\x5f\x75\x73\x65r";${"\x47\x4c\x4f\x42A\x4c\x53"}["e\x71\x69i\x70w\x6e"]="\x64\x62\x5f\x66\x6f\x72\x5fi\x6dp\x6f\x72\x74";${"\x47LO\x42\x41\x4cS"}["\x65\x62ve\x67\x76\x63n\x6b\x75"]="th\x69\x73_\x69\x70";${"G\x4c\x4f\x42A\x4cS"}["\x6b\x67\x73sz\x6dd\x72"]="\x7a\x69p";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x77f\x61\x64\x6a\x77\x6d\x75r"]="f\x69le";${"\x47LO\x42\x41\x4cS"}["m\x74llj\x66"]="\x64e\x73\x74\x69\x6e\x61\x74i\x6f\x6e";${"\x47\x4cO\x42AL\x53"}["\x6a\x74\x75\x68\x73\x77"]="\x75\x70\x64\x61\x74\x65_\x69\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x66z\x63h\x71\x69\x70"]="sourc\x65";${"\x47\x4c\x4fB\x41\x4cS"}["\x6a\x64\x68\x70k\x66\x79u\x78"]="\x63h";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76\x73\x6a\x7al\x64\x72\x73"]="\x73\x6f\x75r\x63\x65\x5f\x73\x69\x7a\x65";${"\x47L\x4fB\x41\x4c\x53"}["\x74iymdw\x69\x78\x68\x73"]="v\x65r\x73\x69\x6fn";${"\x47L\x4fB\x41L\x53"}["\x79js\x77xq\x62\x68\x78"]="t\x6f\x6d\x6f";${"\x47\x4c\x4f\x42\x41L\x53"}["\x75rw\x79x\x76\x74\x71l"]="\x72\x65s";${"G\x4cOBAL\x53"}["\x66\x64\x69\x70\x6cw\x68\x66\x64\x66"]="\x74\x6f\x64\x61y";${"\x47\x4c\x4fBA\x4cS"}["\x6ci\x77\x77\x7a\x77"]="t\x79\x70\x65\x5ft\x65\x78t";${"\x47\x4cO\x42\x41\x4c\x53"}["\x72\x61\x71\x79\x61xsj\x6a\x76"]="\x74y\x70e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74h\x7ad\x6c\x66\x71\x6e\x65\x6db"]="\x63lie\x6et";${"\x47L\x4f\x42\x41\x4cS"}["l\x74ha\x6clk\x79"]="\x6c\x69cf\x69l\x65";${"\x47LO\x42A\x4c\x53"}["\x77n\x6e\x73\x71s\x73wv\x6f\x6e"]="\x63\x72\x65\x61t\x65_l\x69\x63";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x68di\x66\x64\x70g"]="\x6ci\x63en\x73\x65";${"\x47L\x4f\x42\x41LS"}["\x6d\x77b\x77\x74\x64j\x6c\x79sj"]="\x64\x61\x74\x61\x5f\x61r\x72ay";${"\x47\x4cO\x42A\x4c\x53"}["\x66\x75\x68\x6f\x61\x77\x62i\x77"]="g\x65\x74_\x64\x61\x74\x61";${"G\x4cOB\x41\x4c\x53"}["k\x6fithm\x6e\x66p\x69s\x79"]="\x72e\x73\x70\x6fns\x65";${"\x47\x4c\x4f\x42A\x4cS"}["ix\x75v\x74\x76f"]="\x74\x65\x6dp\x5f\x64\x65\x63od\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["f\x6a\x6b\x62\x6a\x79fhv\x67"]="\x68t\x74\x70\x5fs\x74\x61\x74us";${"G\x4c\x4fB\x41L\x53"}["\x63\x64\x7avr\x6cn\x67\x77"]="\x72\x73";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x67m\x6ep\x6fst\x78"]="\x72e\x73u\x6ct";${"G\x4cO\x42\x41\x4cS"}["bg\x67d\x69w\x78\x70"]="c\x75\x72\x6c";${"\x47LO\x42\x41L\x53"}["c\x6b\x72yp\x73"]="th\x69s\x5fh\x74\x74\x70\x5f\x6f\x72_\x68t\x74\x70\x73";${"\x47\x4cOB\x41\x4c\x53"}["\x6e\x68wz\x67\x76r\x78\x70\x6c\x74\x76"]="\x74\x68\x69\x73\x5f\x75\x72\x6c";${"GL\x4f\x42\x41\x4c\x53"}["\x74\x69\x78tg\x71\x64\x68\x6f\x72\x6a"]="\x74\x68\x69\x73_s\x65\x72\x76e\x72\x5fna\x6d\x65";${"\x47LO\x42\x41\x4cS"}["\x78v\x73\x67\x6b\x72\x78g"]="\x75r\x6c";${"\x47\x4cOB\x41\x4cS"}["\x70\x69\x62\x64h\x76\x6d\x73"]="\x64\x61\x74\x61";${"G\x4c\x4f\x42\x41\x4cS"}["a\x77fm\x61v\x6e\x77\x6bd\x72"]="\x62a\x73\x65u\x72\x6c";${"G\x4c\x4fB\x41L\x53"}["u\x68\x66\x75\x6a\x70\x6a\x77ri\x79"]="ba\x73\x65\x75r\x6c";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x68\x66u\x6a\x70\x6awr\x69\x79"]}=$_SERVER["R\x45\x51\x55E\x53\x54\x5f\x55\x52\x49"];session_start();require_once("\x64\x61\x74\x61b\x61se\x2ep\x68p");if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x61\x77f\x6d\x61\x76n\x77\x6b\x64\x72"]}=="/"||basename(${${"GLO\x42A\x4cS"}["\x61\x77\x66\x6da\x76n\x77k\x64r"]})=="\x69n\x64\x65x.\x70\x68p"||basename(${${"\x47\x4cOB\x41\x4c\x53"}["\x61\x77f\x6d\x61\x76\x6ewk\x64\x72"]})=="a\x74iva\x72"){if(count(get_included_files())==1)exit("\x4e\x6f \x64\x69r\x65\x63t\x20\x73\x63\x72i\x70t\x20\x61\x63cess\x20\x61\x6c\x6c\x6f\x77\x65d");$usdpkni="\x6ci\x63e\x6e\x73e";define("L\x42\x5fAP\x49_DEB\x55\x47",false);define("\x4c\x42\x5f\x53H\x4f\x57\x5fU\x50\x44ATE_PROG\x52\x45\x53S",true);define("LB_\x54EXT\x5f\x43\x4f\x4e\x4e\x45\x43\x54\x49\x4f\x4e\x5fFA\x49L\x45\x44","\x4f s\x65r\x76i\x64\x6fr\x20\x6e\x6f e\x73t di\x73po\x6e\x76e\x6c\x20\x6e\x6f\x20\x6d\x6f\x6den\x74o.\x20Ten\x74\x65\x20n\x6fv\x61\x6d\x65nt\x65.");define("L\x42\x5f\x54\x45\x58T\x5f\x49\x4e\x56\x41L\x49\x44_R\x45SPONSE","\x4f\x20\x73\x65r\x76id\x6f\x72\x20ret\x6f\x72n\x6f\x75 uma\x20\x72\x65\x73\x70\x6fs\x74a\x20\x69\x6ev\x6ci\x64a\x2e \x45ntre \x65m\x20c\x6f\x6e\x74\x61\x74\x6f \x63o\x6d o sup\x6fr\x74e\x2e");define("LB\x5fTEXT\x5f\x56\x45\x52\x49FIED_R\x45\x53PO\x4e\x53\x45","V\x65\x72\x69ficado\x21\x20\x4f\x62r\x69\x67a\x64\x6f\x20po\x72 \x63omp\x72\x61r\x2e");define("L\x42\x5fTEX\x54\x5f\x50\x52E\x50AR\x49\x4e\x47\x5fMAI\x4e_DOW\x4eLOA\x44","\x50\x72\x65\x70\x61r\x61\x6e\x64o \x70ar\x61 bai\x78\x61r a\x20a\x74u\x61\x6ci\x7a\x61\x6f pr\x69\x6ecipa\x6c\x2e\x2e.");define("LB\x5f\x54E\x58T\x5fMAI\x4e_\x55P\x44ATE_\x53IZ\x45","\x54a\x6da\x6e\x68o\x20da\x20a\x74ua\x6c\x69z\x61o p\x72\x69\x6ec\x69\x70a\x6c:");define("\x4c\x42\x5fT\x45XT_\x44\x4f\x4e\x54_\x52E\x46\x52\x45\x53\x48","(\x50\x6f\x72 fa\x76\x6f\x72, no\x20\x61t\x75al\x69ze \x61\x20\x70g\x69\x6e\x61)\x2e");define("\x4cB\x5fTEXT\x5f\x44\x4fW\x4e\x4cO\x41\x44\x49\x4eG_M\x41\x49\x4e","B\x61\x69xa\x6e\x64\x6f\x20a\x20\x61tua\x6ciz\x61\x6f\x20p\x72\x69\x6ecipal\x2e..");define("\x4c\x42\x5fT\x45\x58\x54\x5fU\x50\x44A\x54E\x5f\x50E\x52I\x4fD\x5fEX\x50IR\x45\x44","\x53\x65\x75\x20pe\x72o\x64o \x64\x65 a\x74\x75\x61l\x69\x7aao \x74e\x72min\x6fu \x6fu \x73\x75a\x20\x6ci\x63\x65n\x61 \x69nvl\x69d\x61.\x20Ent\x72\x65 e\x6d c\x6f\x6e\x74a\x74\x6f co\x6d\x20o s\x75porte\x2e");define("L\x42\x5fT\x45X\x54_\x55PDATE_\x50\x41TH_E\x52\x52O\x52","\x41 \x70\x61sta no tem\x20p\x65r\x6di\x73so \x64\x65\x20gr\x61v\x61\x6f\x20ou\x20\x6f\x20ca\x6din\x68o d\x6f \x61\x72q\x75\x69vo \x64\x65 at\x75al\x69zao\x20\x6e\x6f\x20pde ser\x20r\x65s\x6f\x6cv\x69\x64\x6f.\x20\x45nt\x72e\x20em\x20\x63\x6f\x6e\x74ato c\x6fm\x20o \x73upo\x72t\x65\x2e");define("\x4c\x42_\x54\x45XT\x5f\x4d\x41IN_UP\x44A\x54E_\x44\x4fNE","\x50\x72in\x63\x69pais \x61\x72\x71uiv\x6fs\x20de\x20at\x75\x61\x6c\x69\x7aao\x20\x62a\x69\x78ad\x6fs\x20\x65 \x65x\x74\x72\x61\x64o\x73\x2e");$zpkhoajolort="\x63l\x69ent";define("\x4c\x42_TEX\x54\x5fUPDATE\x5fE\x58TRA\x43TION\x5f\x45\x52\x52\x4fR","A\x20a\x74ua\x6ciz\x61o \x64a\x20e\x78\x74\x72a\x6f \x64o \x7aip\x20f\x61\x6ch\x6f\x75.");define("LB\x5fTE\x58T\x5fPREP\x41RI\x4e\x47\x5fSQL_\x44\x4fW\x4e\x4cOAD","H\x65\x72unterla\x64\x65\x6e de\x73 S\x51\x4c-U\x70d\x61\x74\x65s\x20\x77\x69rd\x20v\x6frb\x65\x72eit\x65\x74\x2e\x2e.");define("\x4c\x42\x5f\x54E\x58T_S\x51L\x5f\x55PDA\x54E_S\x49\x5aE","T\x61manho\x20d\x61 \x61tua\x6ci\x7a\x61\x6f\x20\x64o \x53Q\x4c:");define("L\x42_T\x45X\x54\x5f\x44O\x57N\x4c\x4fA\x44IN\x47_S\x51L","\x46\x61z\x65\x6e\x64\x6f \x6f d\x6f\x77nl\x6fa\x64\x20\x64a\x20\x61tu\x61\x6c\x69za\x6f d\x6f SQ\x4c...");define("L\x42_\x54E\x58\x54_SQ\x4c\x5f\x55\x50DAT\x45_\x44O\x4e\x45","\x41\x72\x71uiv\x6fs\x20d\x65\x20\x61\x74ualiza\x6f\x20\x53\x51L\x20b\x61ix\x61\x64\x6f\x73.");define("\x4c\x42_\x54E\x58\x54\x5f\x55\x50D\x41\x54E_\x57IT\x48_S\x51\x4c_I\x4d\x50OR\x54_\x46\x41IL\x45\x44","\x4f\x20\x61pli\x63a\x74\x69v\x6f \x66\x6f\x69 a\x74\x75al\x69\x7a\x61d\x6f\x20\x63om su\x63\x65sso, \x6das a \x69\x6d\x70\x6fr\x74\x61o\x20au\x74\x6f\x6d\x74\x69\x63\x61 de \x53QL \x66\x61lh\x6f\x75, \x70or fav\x6fr \x69\x6d\x70\x6frt\x65\x20\x6f a\x72quiv\x6f\x20\x53\x51L\x20\x62\x61\x69\x78\x61d\x6f em seu \x62\x61\x6e\x63o de \x64\x61\x64\x6f\x73 m\x61nu\x61\x6c\x6d\x65\x6ete.");define("LB\x5fT\x45XT\x5f\x55PDA\x54E_W\x49T\x48\x5fS\x51L_IM\x50\x4f\x52\x54\x5fD\x4fNE","O a\x70l\x69\x63\x61ti\x76\x6f \x66oi a\x74\x75\x61lizad\x6f c\x6f\x6d\x20\x73uc\x65\x73s\x6f\x20e\x20o \x61rqui\x76o \x53\x51L \x66\x6fi \x69m\x70orta\x64\x6f\x20autom\x61t\x69ca\x6d\x65\x6e\x74\x65.");define("\x4c\x42\x5fT\x45\x58T_UP\x44\x41T\x45\x5f\x57I\x54\x48\x5fS\x51L_\x44\x4fNE","\x4f a\x70l\x69ca\x74ivo \x66\x6f\x69 a\x74u\x61l\x69\x7aa\x64\x6f\x20com\x20\x73u\x63\x65s\x73o,\x20\x70\x6fr\x20f\x61\x76\x6f\x72 importe \x6f arq\x75i\x76o \x53\x51\x4c b\x61\x69x\x61do \x65m\x20seu b\x61nco\x20d\x65 \x64ad\x6fs \x6da\x6eu\x61l\x6de\x6ete\x2e");$rogqviy="\x72\x65\x74\x6frn\x6f";define("\x4cB_\x54\x45\x58\x54_\x55\x50DA\x54E\x5fW\x49THO\x55\x54_SQL_D\x4fNE","\x4f\x20ap\x6ci\x63at\x69v\x6f fo\x69\x20atual\x69\x7aad\x6f \x63\x6fm su\x63\x65sso,\x20\x6eo\x20\x68o\x75\x76e\x20\x61\x74u\x61l\x69\x7aa\x65\x73 de\x20\x53\x51L\x2e");if(!LB_API_DEBUG){@ini_set("d\x69\x73p\x6cay_\x65r\x72\x6f\x72\x73",0);}if((@ini_get("\x6d\x61x_e\x78e\x63\x75t\x69o\x6e_\x74\x69\x6de")!=="0")&&(@ini_get("m\x61\x78\x5f\x65x\x65c\x75\x74\x69\x6f\x6e\x5f\x74\x69me"))<600){@ini_set("m\x61\x78\x5f\x65\x78ec\x75t\x69on_time",600);}@ini_set("mem\x6fr\x79\x5f\x6cimi\x74","\x325\x36M");class LicenseBoxExternalAPI{private$product_id;private$api_url;private$api_key;private$api_language;private$current_version;private$verify_type;private$verification_period;private$current_path;private$root_path;private$license_file;public function __construct(){$this->product_id="C60\x31\x32E0\x36";$this->api_url="h\x74tp\x73://\x6c\x69cen\x73\x65.\x63ha\x74pr\x6f\x76.\x63\x6fm.b\x72/";$this->api_key="\x35\x35F\x326\x42\x46\x399A\x3706\x36C\x30\x465E5";$this->api_language="po\x72\x74u\x67\x75\x65\x73\x65";$this->current_version="v1\x2e\x30.\x30";$this->verify_type="\x6eo\x6e\x5f\x65nv\x61\x74\x6f";$this->verification_period=365;$this->current_path=realpath(__DIR__);$this->root_path=realpath($this->current_path."/.\x2e");$this->license_file=$this->current_path."/.l\x69\x63";}public function check_local_license_exist(){return is_file($this->license_file);}public function get_current_version(){return$this->current_version;}private function call_api($method,$url,$data=null){${"\x47\x4c\x4fB\x41\x4cS"}["\x68\x6c\x6b\x64\x74u\x6di\x74oq\x77"]="\x6d\x65\x74h\x6f\x64";$psgpyehdesu="\x63\x75rl";$ksebhbhhl="\x63\x75\x72\x6c";$srjteq="dat\x61";${"\x47L\x4fBA\x4c\x53"}["\x6b\x62c\x6d\x71\x69bs"]="c\x75rl";${"\x47LO\x42\x41\x4cS"}["\x6ed\x65\x6f\x66\x67\x77\x78\x78p\x71"]="u\x72\x6c";$imhvwxvsy="t\x68i\x73\x5f\x73\x65\x72ve\x72\x5f\x6e\x61\x6d\x65";${"GLO\x42\x41L\x53"}["oluw\x6b\x6dq\x71\x72"]="t\x68\x69\x73_\x69\x70";$yrumkuh="\x68t\x74\x70\x5fst\x61\x74\x75\x73";$mpyqxtj="cur\x6c";${"\x47\x4cOB\x41\x4cS"}["\x71\x6bdnxa\x64"]="\x63\x75\x72\x6c";${"G\x4c\x4f\x42\x41\x4cS"}["\x6c\x75hy\x66\x6bo\x6af\x73\x72"]="cu\x72\x6c";$jhfouoor="c\x75\x72\x6c";${"G\x4cO\x42\x41\x4c\x53"}["enin\x6c\x69\x6fc"]="\x63\x75r\x6c";$dlpvuofqjiz="\x74\x68\x69s\x5f\x69p";${"\x47LO\x42\x41\x4c\x53"}["\x63kk\x63\x65\x66\x79"]="\x74hi\x73\x5fh\x74\x74\x70_\x6f\x72\x5f\x68\x74t\x70s";${"\x47\x4cO\x42\x41\x4c\x53"}["v\x66\x77\x65\x63\x6a\x63"]="\x63\x75\x72\x6c";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65\x6e\x69n\x6cioc"]}=curl_init();switch(${${"\x47\x4c\x4fBALS"}["h\x6c\x6b\x64\x74u\x6dit\x6f\x71\x77"]}){case"P\x4f\x53\x54":curl_setopt(${$ksebhbhhl},CURLOPT_POST,1);if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70\x69b\x64hvm\x73"]})curl_setopt(${$psgpyehdesu},CURLOPT_POSTFIELDS,${${"G\x4cO\x42AL\x53"}["\x70\x69\x62\x64\x68\x76\x6d\x73"]});break;case"\x50\x55\x54":curl_setopt(${$jhfouoor},CURLOPT_CUSTOMREQUEST,"PU\x54");if(${$srjteq})curl_setopt(${${"G\x4c\x4f\x42\x41L\x53"}["\x76f\x77ec\x6a\x63"]},CURLOPT_POSTFIELDS,${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70i\x62\x64\x68\x76\x6d\x73"]});break;default:if(${${"GL\x4f\x42\x41\x4cS"}["\x70\x69b\x64\x68v\x6d\x73"]})${${"\x47\x4cOB\x41\x4c\x53"}["n\x64\x65\x6f\x66gwx\x78p\x71"]}=sprintf("%\x73?%\x73",${${"\x47LO\x42A\x4c\x53"}["\x78vsg\x6br\x78g"]},http_build_query(${${"\x47LO\x42\x41\x4c\x53"}["\x70\x69\x62\x64\x68\x76\x6ds"]}));}${${"\x47\x4cO\x42\x41L\x53"}["t\x69\x78\x74\x67q\x64\x68o\x72\x6a"]}=getenv("\x53\x45RV\x45R_N\x41ME")?:$_SERVER["\x53\x45\x52\x56\x45R_\x4e\x41\x4d\x45"]?:getenv("\x48\x54\x54P\x5f\x48\x4f\x53\x54")?:$_SERVER["H\x54TP_\x48\x4f\x53T"];${${"GL\x4f\x42A\x4cS"}["c\x6bkcef\x79"]}=(((isset($_SERVER["\x48TT\x50\x53"])&&($_SERVER["H\x54T\x50\x53"]=="\x6fn"))or(isset($_SERVER["\x48\x54TP_X\x5f\x46O\x52W\x41RD\x45\x44_P\x52OT\x4f"])and$_SERVER["HT\x54P\x5f\x58_\x46ORW\x41RDED\x5fPROTO"]==="\x68ttps"))?"h\x74\x74\x70s://":"htt\x70://");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x68\x77z\x67\x76\x72\x78pl\x74v"]}=${${"\x47\x4cO\x42A\x4cS"}["ck\x72\x79\x70\x73"]}.${$imhvwxvsy}.$_SERVER["\x52\x45\x51\x55E\x53T_U\x52I"];${"\x47L\x4f\x42\x41\x4c\x53"}["c\x75\x65\x66\x68\x6f\x64"]="re\x73u\x6ct";${${"G\x4c\x4fB\x41\x4c\x53"}["ol\x75\x77k\x6d\x71\x71\x72"]}=getenv("SERVER\x5fA\x44\x44\x52")?:$_SERVER["\x53ERV\x45\x52_AD\x44\x52"]?:$this->get_ip_from_third_party()?:gethostbyname(gethostname());curl_setopt(${${"\x47\x4c\x4f\x42\x41LS"}["q\x6bd\x6e\x78\x61\x64"]},CURLOPT_HTTPHEADER,array("\x43\x6f\x6e\x74e\x6e\x74-Ty\x70e:\x20a\x70\x70lica\x74i\x6fn/\x6a\x73\x6f\x6e","\x4cB-\x41\x50I-\x4b\x45\x59:\x20".$this->api_key,"\x4c\x42-\x55\x52L: ".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6eh\x77z\x67vr\x78pl\x74v"]},"L\x42-IP: ".${$dlpvuofqjiz},"LB-LA\x4eG:\x20".$this->api_language));curl_setopt(${${"GL\x4f\x42\x41\x4c\x53"}["\x62\x67\x67\x64\x69\x77\x78\x70"]},CURLOPT_URL,${${"\x47\x4c\x4f\x42A\x4cS"}["\x78vsg\x6b\x72xg"]});curl_setopt(${${"G\x4cOB\x41\x4cS"}["\x62\x67gdi\x77\x78p"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"G\x4c\x4f\x42A\x4c\x53"}["\x62g\x67diw\x78p"]},CURLOPT_CONNECTTIMEOUT,30);curl_setopt(${${"\x47L\x4f\x42\x41\x4cS"}["\x6bbcm\x71\x69\x62\x73"]},CURLOPT_TIMEOUT,30);${${"G\x4c\x4fB\x41\x4c\x53"}["jg\x6d\x6e\x70ost\x78"]}=curl_exec(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x75\x68y\x66\x6b\x6fjf\x73\x72"]});if(!${${"\x47L\x4fB\x41\x4c\x53"}["\x63uefh\x6fd"]}&&!LB_API_DEBUG){$tncvzpuxxvst="\x72\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["cd\x7a\x76\x72\x6c\x6e\x67w"]}=array("st\x61\x74u\x73"=>FALSE,"m\x65\x73s\x61\x67\x65"=>LB_TEXT_CONNECTION_FAILED);return json_encode(${$tncvzpuxxvst});}${${"\x47\x4cO\x42\x41LS"}["\x66\x6a\x6bb\x6a\x79\x66\x68\x76\x67"]}=curl_getinfo(${$mpyqxtj},CURLINFO_HTTP_CODE);${"\x47L\x4fB\x41\x4c\x53"}["\x67\x63\x6d\x68\x70\x68\x66\x61\x7a"]="\x63u\x72\x6c";if(${$yrumkuh}!=200){if(LB_API_DEBUG){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x71\x7atdxku\x6d\x67\x63"]="\x74\x65\x6d\x70\x5f\x64\x65\x63o\x64\x65";${"\x47\x4c\x4fB\x41L\x53"}["\x73\x6a\x79y\x71u"]="\x72\x73";$btryydexp="r\x65\x73u\x6c\x74";${"\x47\x4cOB\x41\x4c\x53"}["\x65mr\x6ebnm"]="t\x65\x6dp_\x64\x65\x63od\x65";$gwbsmrogq="r\x73";${${"\x47LO\x42\x41L\x53"}["nq\x7at\x64\x78\x6bumg\x63"]}=json_decode(${$btryydexp},true);${$gwbsmrogq}=array("\x73\x74\x61tu\x73"=>FALSE,"me\x73\x73\x61g\x65"=>((!empty(${${"\x47\x4c\x4f\x42\x41L\x53"}["e\x6d\x72\x6e\x62\x6em"]}["err\x6f\x72"]))?${${"\x47\x4c\x4f\x42A\x4cS"}["i\x78u\x76\x74\x76\x66"]}["e\x72\x72\x6f\x72"]:${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x78\x75\x76\x74\x76f"]}["\x6d\x65s\x73ag\x65"]));return json_encode(${${"GLO\x42\x41\x4c\x53"}["\x73jyy\x71u"]});}else{${"\x47\x4c\x4f\x42ALS"}["\x6d\x71vu\x69\x71\x77"]="r\x73";${${"\x47\x4c\x4f\x42A\x4cS"}["\x6d\x71v\x75\x69\x71\x77"]}=array("\x73ta\x74\x75s"=>FALSE,"mes\x73a\x67e"=>LB_TEXT_INVALID_RESPONSE);return json_encode(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x64z\x76\x72l\x6e\x67w"]});}}curl_close(${${"\x47L\x4f\x42A\x4c\x53"}["g\x63m\x68\x70\x68\x66a\x7a"]});return${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["jg\x6dn\x70\x6fs\x74\x78"]};}public function check_connection(){$iurewpy="get_\x64\x61t\x61";${$iurewpy}=$this->call_api("\x50O\x53T",$this->api_url."\x61\x70i/c\x68e\x63k\x5fconn\x65\x63t\x69o\x6e_\x65xt");${${"\x47L\x4fB\x41\x4cS"}["ko\x69\x74hmn\x66p\x69\x73\x79"]}=json_decode(${${"\x47L\x4f\x42AL\x53"}["\x66\x75\x68o\x61\x77\x62i\x77"]},true);return${${"\x47L\x4f\x42\x41\x4c\x53"}["k\x6f\x69\x74h\x6d\x6e\x66\x70\x69sy"]};}public function get_latest_version(){${${"G\x4c\x4f\x42\x41\x4c\x53"}["m\x77\x62\x77t\x64\x6a\x6cysj"]}=array("\x70r\x6fduc\x74\x5fi\x64"=>$this->product_id);${${"G\x4cO\x42AL\x53"}["fu\x68o\x61\x77bi\x77"]}=$this->call_api("PO\x53\x54",$this->api_url."api/l\x61\x74\x65\x73t_\x76\x65\x72s\x69on",json_encode(${${"\x47LOB\x41LS"}["\x6d\x77b\x77\x74djl\x79sj"]}));${${"\x47LO\x42\x41\x4c\x53"}["k\x6f\x69t\x68mn\x66p\x69\x73\x79"]}=json_decode(${${"\x47\x4c\x4fB\x41\x4c\x53"}["f\x75\x68\x6faw\x62\x69\x77"]},true);return${${"\x47\x4cOBA\x4c\x53"}["koi\x74hm\x6e\x66\x70isy"]};}public function activate_license($license,$client,$create_lic=true){$nxbcqmrf="da\x74\x61\x5f\x61r\x72\x61\x79";${"G\x4c\x4fB\x41\x4c\x53"}["\x69\x76\x66ts\x6f\x77x\x6c\x74et"]="\x67e\x74_\x64\x61t\x61";${"GL\x4fBA\x4cS"}["s\x61d\x7a\x63\x62\x7a\x74\x66"]="\x72\x65s\x70\x6f\x6e\x73e";$azwjdechpi="\x63\x6c\x69\x65\x6e\x74";$voluhinc="r\x65spo\x6es\x65";${$nxbcqmrf}=array("pr\x6fd\x75\x63\x74\x5fi\x64"=>$this->product_id,"\x6c\x69c\x65\x6es\x65_c\x6f\x64e"=>${${"\x47\x4cO\x42\x41L\x53"}["\x76h\x64ifd\x70g"]},"\x63lie\x6et_\x6eame"=>${$azwjdechpi},"\x76\x65\x72\x69\x66\x79\x5fty\x70\x65"=>$this->verify_type);${${"\x47LO\x42\x41\x4c\x53"}["i\x76ftso\x77x\x6c\x74e\x74"]}=$this->call_api("\x50\x4fS\x54",$this->api_url."\x61\x70i/activa\x74e\x5flice\x6ese",json_encode(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6d\x77\x62\x77t\x64\x6al\x79\x73\x6a"]}));${$voluhinc}=json_decode(${${"\x47\x4cOB\x41\x4c\x53"}["\x66u\x68\x6f\x61\x77b\x69w"]},true);if(!empty(${${"\x47\x4c\x4f\x42A\x4cS"}["\x77\x6en\x73\x71\x73\x73wv\x6fn"]})){$rmpsduyjlq="\x72\x65\x73p\x6f\x6es\x65";if(${$rmpsduyjlq}["s\x74a\x74\x75\x73"]){${"\x47L\x4fBAL\x53"}["e\x6b\x76\x6c\x64\x74\x70\x65\x77\x67l"]="\x6c\x69cfil\x65";${${"\x47LOB\x41\x4c\x53"}["ltha\x6cl\x6b\x79"]}=trim(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x6f\x69\x74\x68\x6dn\x66\x70\x69\x73y"]}["\x6c\x69c_r\x65\x73p\x6fn\x73e"]);file_put_contents($this->license_file,${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65kv\x6cd\x74\x70\x65w\x67\x6c"]},LOCK_EX);}else{@chmod($this->license_file,0777);if(is_writeable($this->license_file)){unlink($this->license_file);}}}return${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x61\x64\x7ac\x62z\x74f"]};}public function verify_license($time_based_check=false,$license=false,$client=false){${"\x47LO\x42\x41\x4cS"}["k\x65\x73h\x62\x6e\x76\x70\x6bn\x73"]="\x72\x65\x73";$ytojinbot="ti\x6d\x65\x5fb\x61s\x65\x64\x5f\x63\x68\x65\x63\x6b";if(!empty(${${"G\x4c\x4f\x42\x41\x4c\x53"}["v\x68d\x69fd\x70\x67"]})&&!empty(${${"G\x4c\x4f\x42\x41LS"}["\x74\x68zd\x6c\x66\x71n\x65\x6db"]})){${${"GL\x4f\x42\x41L\x53"}["\x6d\x77b\x77\x74d\x6a\x6c\x79\x73j"]}=array("pro\x64u\x63t_i\x64"=>$this->product_id,"\x6c\x69ce\x6e\x73\x65\x5f\x66ile"=>null,"li\x63\x65ns\x65_code"=>${${"\x47\x4cO\x42ALS"}["\x76hdi\x66\x64\x70\x67"]},"c\x6c\x69\x65nt_n\x61\x6d\x65"=>${${"\x47L\x4fBA\x4c\x53"}["th\x7a\x64\x6cfq\x6ee\x6d\x62"]});}else{if(is_file($this->license_file)){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dw\x62w\x74\x64j\x6c\x79\x73j"]}=array("p\x72oduc\x74_\x69\x64"=>$this->product_id,"lic\x65n\x73\x65_\x66\x69le"=>file_get_contents($this->license_file),"li\x63e\x6e\x73e_\x63o\x64e"=>null,"cl\x69en\x74_\x6e\x61me"=>null);}else{${${"G\x4cO\x42A\x4cS"}["\x6d\x77\x62\x77\x74\x64jly\x73j"]}=array();}}${${"\x47LOBA\x4c\x53"}["\x6b\x65\x73hbnvp\x6bns"]}=array("s\x74a\x74us"=>TRUE,"\x6dess\x61\x67e"=>LB_TEXT_VERIFIED_RESPONSE);if(${$ytojinbot}&&$this->verification_period>0){$rqcfodmeqi="\x74\x6fd\x61y";ob_start();if(session_status()==PHP_SESSION_NONE){session_start();}$oecbmy="\x74\x79\x70\x65";${${"\x47\x4c\x4fBA\x4cS"}["\x72a\x71y\x61x\x73\x6a\x6av"]}=(int)$this->verification_period;${$rqcfodmeqi}=date("\x64-m-Y");if(empty($_SESSION["\x38c8\x39\x66\x36\x38c9\x65\x31\x346\x36\x66"])){$_SESSION["8\x638\x39\x66\x36\x38\x63\x39e\x3146\x36f"]="00-\x300-000\x30";}${"\x47L\x4fB\x41\x4cS"}["\x6cw\x66f\x6e\x75\x63"]="\x74\x79\x70\x65";$musddjw="ty\x70\x65";if(${${"G\x4c\x4f\x42\x41L\x53"}["\x72a\x71\x79a\x78\x73\x6aj\x76"]}==1){${${"\x47\x4cOB\x41\x4cS"}["\x6ci\x77w\x7a\x77"]}="1 \x64\x61\x79";}elseif(${${"\x47\x4cO\x42\x41\x4cS"}["l\x77\x66\x66n\x75\x63"]}==3){${${"\x47\x4c\x4fB\x41\x4cS"}["l\x69\x77\x77\x7a\x77"]}="\x33\x20d\x61ys";}elseif(${${"G\x4cO\x42\x41\x4c\x53"}["\x72\x61\x71\x79\x61\x78\x73\x6aj\x76"]}==7){${${"G\x4c\x4fBA\x4cS"}["li\x77wzw"]}="1\x20we\x65\x6b";}elseif(${$oecbmy}==30){$mebvclkehte="\x74\x79p\x65_\x74\x65\x78t";${$mebvclkehte}="\x31 m\x6f\x6et\x68";}elseif(${$musddjw}==90){$dbfpnpfkhrt="\x74\x79pe_\x74\x65x\x74";${$dbfpnpfkhrt}="3\x20\x6d\x6f\x6e\x74\x68s";}elseif(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72\x61\x71\x79\x61xs\x6a\x6a\x76"]}==365){$oyxhxjhuaak="\x74\x79\x70\x65\x5f\x74ext";${$oyxhxjhuaak}="\x31\x20y\x65\x61\x72";}else{${"\x47LO\x42\x41L\x53"}["\x69\x7a\x79u\x74zhr\x76\x6e\x75\x76"]="\x74ype";${${"GL\x4fB\x41L\x53"}["\x6ci\x77w\x7a\x77"]}=${${"G\x4c\x4fB\x41\x4cS"}["i\x7ay\x75t\x7a\x68\x72\x76nuv"]}."\x20\x64\x61ys";}if(strtotime(${${"G\x4cO\x42\x41LS"}["\x66\x64\x69\x70\x6c\x77h\x66df"]})>=strtotime($_SESSION["\x38c8\x39f\x36\x38\x639\x651\x34\x36\x36f"])){${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x79\x67\x76\x71\x6c\x65\x67l\x6e\x68"]="\x72\x65\x73";$yylpscukv="\x64\x61\x74\x61\x5fa\x72\x72\x61\x79";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66uh\x6f\x61\x77b\x69\x77"]}=$this->call_api("POS\x54",$this->api_url."\x61p\x69/v\x65r\x69fy\x5fl\x69ce\x6e\x73e",json_encode(${$yylpscukv}));${${"G\x4c\x4fB\x41\x4c\x53"}["q\x79\x67\x76\x71le\x67\x6c\x6eh"]}=json_decode(${${"\x47\x4cO\x42\x41\x4c\x53"}["f\x75\x68o\x61\x77bi\x77"]},true);if(${${"\x47L\x4fBA\x4cS"}["\x75\x72\x77y\x78\x76t\x71l"]}["s\x74at\x75s"]==true){${"\x47\x4cO\x42\x41\x4cS"}["\x71c\x76\x75\x64\x74\x76\x6a"]="\x74\x6f\x64\x61y";$dutbyusih="\x74\x6f\x6d\x6f";${$dutbyusih}=date("\x64-\x6d-\x59",strtotime(${${"\x47LO\x42\x41\x4c\x53"}["q\x63\x76ud\x74\x76j"]}."\x20+\x20".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x69ww\x7a\x77"]}));$_SESSION["\x38\x63\x38\x39f\x36\x38c\x39\x65\x31\x34\x36\x36\x66"]=${${"\x47L\x4f\x42\x41L\x53"}["\x79j\x73\x77\x78\x71b\x68x"]};}}ob_end_clean();}else{${"\x47\x4c\x4fB\x41L\x53"}["\x6b\x73\x6fy\x72\x78\x77\x6e\x73\x62\x79"]="\x72e\x73";${"\x47L\x4f\x42A\x4c\x53"}["\x67m\x6c\x75\x74\x71t\x63t"]="\x64\x61\x74\x61\x5f\x61\x72\x72\x61\x79";${${"G\x4cO\x42\x41LS"}["fuh\x6faw\x62\x69w"]}=$this->call_api("\x50O\x53T",$this->api_url."a\x70i/\x76\x65\x72ify_lic\x65\x6es\x65",json_encode(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x6d\x6c\x75\x74\x71\x74c\x74"]}));${${"G\x4c\x4f\x42\x41L\x53"}["\x6b\x73\x6fyr\x78\x77n\x73b\x79"]}=json_decode(${${"\x47L\x4f\x42A\x4c\x53"}["\x66uho\x61\x77bi\x77"]},true);}return${${"\x47\x4cO\x42\x41\x4cS"}["u\x72\x77\x79\x78\x76t\x71\x6c"]};}public function deactivate_license($license=false,$client=false){${"\x47\x4cO\x42A\x4c\x53"}["\x61\x69a\x6e\x63\x6c\x73\x74\x73s"]="c\x6c\x69\x65\x6e\x74";if(!empty(${${"GL\x4f\x42\x41L\x53"}["\x76\x68\x64i\x66\x64p\x67"]})&&!empty(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x61\x69\x61n\x63\x6c\x73\x74\x73\x73"]})){$qqtjshi="li\x63\x65\x6e\x73\x65";$hvqhqvldwnm="\x63\x6c\x69e\x6e\x74";${${"GLOB\x41\x4cS"}["m\x77bw\x74\x64\x6a\x6c\x79sj"]}=array("pr\x6fd\x75\x63\x74\x5f\x69\x64"=>$this->product_id,"\x6c\x69\x63e\x6ese_\x66i\x6c\x65"=>null,"\x6ci\x63en\x73\x65_\x63o\x64\x65"=>${$qqtjshi},"\x63\x6ci\x65\x6e\x74_n\x61\x6d\x65"=>${$hvqhqvldwnm});}else{if(is_file($this->license_file)){${${"\x47\x4c\x4fB\x41\x4cS"}["mw\x62\x77\x74\x64\x6a\x6c\x79sj"]}=array("\x70rod\x75\x63\x74_i\x64"=>$this->product_id,"\x6ci\x63ens\x65_f\x69le"=>file_get_contents($this->license_file),"l\x69\x63\x65n\x73\x65_c\x6fde"=>null,"\x63\x6c\x69\x65nt\x5f\x6e\x61me"=>null);}else{${"\x47\x4c\x4fB\x41L\x53"}["\x6b\x6c\x68\x62\x77\x63\x71\x6f\x65"]="\x64ata\x5f\x61rr\x61\x79";${${"\x47\x4cO\x42\x41L\x53"}["\x6b\x6c\x68b\x77\x63q\x6f\x65"]}=array();}}${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66uh\x6f\x61\x77\x62iw"]}=$this->call_api("\x50\x4f\x53T",$this->api_url."\x61\x70i/\x64\x65a\x63\x74iv\x61\x74e\x5f\x6ci\x63en\x73e",json_encode(${${"GL\x4f\x42\x41\x4cS"}["\x6d\x77bwtd\x6a\x6cys\x6a"]}));${${"GL\x4fB\x41LS"}["k\x6f\x69thm\x6e\x66\x70is\x79"]}=json_decode(${${"\x47L\x4fBA\x4c\x53"}["\x66\x75\x68\x6fa\x77b\x69\x77"]},true);if(${${"\x47L\x4f\x42\x41\x4c\x53"}["k\x6f\x69\x74\x68\x6d\x6e\x66\x70\x69\x73y"]}["\x73tatu\x73"]){@chmod($this->license_file,0777);if(is_writeable($this->license_file)){unlink($this->license_file);}}return${${"\x47L\x4f\x42A\x4cS"}["\x6boit\x68m\x6e\x66\x70\x69\x73\x79"]};}public function check_update(){${"\x47\x4cOB\x41LS"}["\x6f\x66\x76\x71\x6bl\x64\x68\x63\x71"]="g\x65\x74_d\x61t\x61";${${"\x47L\x4fBA\x4cS"}["m\x77\x62\x77\x74\x64\x6aly\x73\x6a"]}=array("\x70r\x6fdu\x63\x74\x5f\x69\x64"=>$this->product_id,"c\x75r\x72en\x74\x5f\x76e\x72sion"=>$this->current_version);$japescwutrx="\x67et\x5f\x64\x61t\x61";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x66\x76\x71\x6b\x6cdh\x63\x71"]}=$this->call_api("P\x4fST",$this->api_url."ap\x69/c\x68\x65ck\x5f\x75p\x64\x61t\x65",json_encode(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x77\x62\x77\x74\x64\x6al\x79s\x6a"]}));${${"\x47L\x4f\x42\x41L\x53"}["\x6bo\x69\x74\x68\x6d\x6e\x66\x70i\x73\x79"]}=json_decode(${$japescwutrx},true);return${${"\x47L\x4f\x42A\x4c\x53"}["\x6bo\x69\x74\x68\x6d\x6e\x66pi\x73y"]};}public function download_update($update_id,$type,$version,$license=false,$client=false,$db_for_import=false){$hidbsoudt="\x63\x68";$yfepdqsf="l\x69c\x65n\x73\x65";$rvuzrnxfjls="t\x68\x69\x73\x5f\x69p";$thbkwfligza="\x75p\x64\x61\x74\x65\x5fid";${"\x47\x4cO\x42\x41L\x53"}["\x6cv\x6e\x7a\x65\x79\x70"]="\x63\x68";if(!empty(${$yfepdqsf})&&!empty(${${"\x47\x4cO\x42\x41L\x53"}["t\x68z\x64\x6cf\x71\x6e\x65m\x62"]})){${"G\x4cOB\x41\x4c\x53"}["k\x6bs\x6b\x63j\x64bn"]="\x6c\x69c\x65\x6e\x73e";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x77b\x77t\x64\x6a\x6c\x79s\x6a"]}=array("l\x69\x63en\x73\x65_file"=>null,"\x6c\x69ce\x6es\x65_\x63od\x65"=>${${"\x47LO\x42A\x4c\x53"}["k\x6b\x73kcj\x64\x62\x6e"]},"c\x6ci\x65nt\x5f\x6eam\x65"=>${${"GL\x4f\x42\x41L\x53"}["thzd\x6c\x66q\x6e\x65mb"]});}else{if(is_file($this->license_file)){${${"G\x4c\x4fB\x41\x4cS"}["\x6d\x77\x62\x77t\x64\x6a\x6c\x79\x73j"]}=array("license_\x66\x69\x6c\x65"=>file_get_contents($this->license_file),"\x6c\x69\x63\x65nse_\x63\x6fde"=>null,"\x63\x6cie\x6et_n\x61me"=>null);}else{${"\x47\x4c\x4f\x42AL\x53"}["\x78\x70\x77\x66\x6b\x67\x73y"]="da\x74a_ar\x72a\x79";${${"\x47\x4c\x4fB\x41\x4cS"}["\x78\x70wf\x6bgs\x79"]}=array();}}$zwuqkku="\x74\x68\x69\x73\x5f\x68\x74t\x70_\x6f\x72\x5f\x68\x74\x74p\x73";ob_end_flush();ob_implicit_flush(true);${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61\x69\x65fgk\x76c"]="h\x74\x74\x70\x5f\x73t\x61\x74\x75\x73";${"G\x4c\x4f\x42\x41\x4cS"}["\x67\x69sl\x79\x79\x62\x64\x73\x6e\x6e"]="\x74\x65\x6d\x70\x5fp\x72\x6fg\x72e\x73\x73";${${"G\x4cO\x42AL\x53"}["\x74\x69\x79\x6d\x64\x77ix\x68s"]}=str_replace(".","_",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x69\x79\x6dd\x77\x69\x78h\x73"]});ob_start();${${"\x47\x4c\x4fBAL\x53"}["v\x73j\x7a\x6c\x64\x72s"]}=$this->api_url."a\x70\x69/\x67et_\x75p\x64\x61te_siz\x65/ma\x69\x6e/".${$thbkwfligza};echo LB_TEXT_PREPARING_MAIN_DOWNLOAD."<\x62\x72>";$ujkydlv="\x63h";if(LB_SHOW_UPDATE_PROGRESS){echo"<\x73\x63r\x69p\x74\x3e\x64o\x63u\x6de\x6e\x74\x2egetE\x6cem\x65\x6etByI\x64('pro\x67')\x2e\x76\x61\x6c\x75\x65 = 1\x3b\x3c/sc\x72\x69\x70\x74\x3e";}ob_flush();$gxlqsrsuhlj="\x74\x79\x70e";echo LB_TEXT_MAIN_UPDATE_SIZE." ".$this->get_remote_filesize(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x73jzldr\x73"]})."\x20".LB_TEXT_DONT_REFRESH."\x3c\x62r>";${"\x47\x4c\x4f\x42AL\x53"}["\x74l\x7aj\x6a\x64i"]="\x63h";${"\x47L\x4f\x42A\x4c\x53"}["\x65\x69\x7a\x6cxcg"]="\x74\x68\x69\x73_\x69p";$gutnvmfxscro="\x66\x69\x6ce";if(LB_SHOW_UPDATE_PROGRESS){echo"\x3cs\x63rip\x74\x3e\x64o\x63\x75m\x65nt\x2ege\x74\x45\x6cemen\x74\x42y\x49d('p\x72\x6f\x67')\x2e\x76\x61l\x75e = 5\x3b\x3c/s\x63r\x69\x70\x74\x3e";}ob_flush();$zgcmlnwv="\x74\x68\x69s\x5f\x73\x65rv\x65r\x5f\x6e\x61\x6d\x65";${${"\x47L\x4f\x42\x41L\x53"}["\x67is\x6c\x79\x79\x62\x64\x73\x6en"]}="";${${"G\x4cOB\x41\x4c\x53"}["j\x64h\x70k\x66\x79\x75x"]}=curl_init();${${"\x47L\x4f\x42\x41L\x53"}["f\x7a\x63h\x71ip"]}=$this->api_url."\x61p\x69/downl\x6fa\x64\x5f\x75p\x64\x61t\x65/m\x61i\x6e/".${${"\x47\x4c\x4f\x42A\x4cS"}["\x6a\x74\x75\x68\x73\x77"]};curl_setopt(${${"G\x4cOB\x41\x4c\x53"}["\x6a\x64\x68\x70\x6b\x66\x79\x75\x78"]},CURLOPT_URL,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x7a\x63\x68\x71ip"]});curl_setopt(${$hidbsoudt},CURLOPT_POST,1);curl_setopt(${${"G\x4c\x4f\x42\x41L\x53"}["\x6a\x64\x68\x70\x6bfyu\x78"]},CURLOPT_POSTFIELDS,${${"\x47\x4cOB\x41\x4c\x53"}["\x6d\x77\x62\x77tdjl\x79sj"]});${$zgcmlnwv}=getenv("SE\x52\x56ER\x5fNAME")?:$_SERVER["\x53\x45R\x56\x45\x52\x5fNA\x4dE"]?:getenv("H\x54\x54P_\x48OS\x54")?:$_SERVER["HT\x54\x50\x5fH\x4fS\x54"];${$zwuqkku}=(((isset($_SERVER["\x48\x54\x54PS"])&&($_SERVER["H\x54T\x50\x53"]=="\x6f\x6e"))or(isset($_SERVER["\x48T\x54P_\x58_\x46\x4fR\x57ARDE\x44_P\x52O\x54O"])and$_SERVER["\x48TTP\x5f\x58\x5fFO\x52W\x41\x52\x44\x45D_\x50\x52\x4fTO"]==="\x68ttps"))?"\x68\x74\x74ps://":"h\x74t\x70://");${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ehw\x7a\x67\x76\x72\x78\x70\x6c\x74\x76"]}=${${"\x47\x4cOBA\x4c\x53"}["ck\x72yp\x73"]}.${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x69x\x74\x67qdh\x6f\x72\x6a"]}.$_SERVER["REQ\x55E\x53\x54_UR\x49"];${$rvuzrnxfjls}=getenv("SE\x52VER\x5fA\x44\x44R")?:$_SERVER["S\x45RV\x45R\x5f\x41DD\x52"]?:$this->get_ip_from_third_party()?:gethostbyname(gethostname());curl_setopt(${${"GL\x4f\x42\x41\x4c\x53"}["tl\x7a\x6a\x6a\x64i"]},CURLOPT_HTTPHEADER,array("LB-\x41PI-\x4bE\x59:\x20".$this->api_key,"\x4cB-\x55R\x4c: ".${${"\x47\x4cO\x42AL\x53"}["\x6e\x68\x77zg\x76\x72\x78\x70\x6c\x74\x76"]},"L\x42-\x49P:\x20".${${"G\x4c\x4f\x42\x41\x4cS"}["ei\x7a\x6c\x78\x63g"]},"L\x42-L\x41\x4e\x47: ".$this->api_language));if(LB_SHOW_UPDATE_PROGRESS){curl_setopt(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x64\x68\x70\x6b\x66yu\x78"]},CURLOPT_PROGRESSFUNCTION,array($this,"\x70r\x6fg\x72ess"));}if(LB_SHOW_UPDATE_PROGRESS){curl_setopt(${${"\x47L\x4f\x42A\x4c\x53"}["\x6a\x64h\x70\x6bfyux"]},CURLOPT_NOPROGRESS,false);}curl_setopt(${${"\x47\x4cOB\x41\x4c\x53"}["\x6a\x64\x68\x70\x6bf\x79\x75\x78"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6adh\x70k\x66y\x75x"]},CURLOPT_CONNECTTIMEOUT,30);echo LB_TEXT_DOWNLOADING_MAIN."\x3cbr\x3e";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73\x73\x6b\x70\x73\x64\x67c\x6a\x6b\x6d\x75"]="\x66il\x65";$xiltosrhmgb="d\x61\x74\x61";if(LB_SHOW_UPDATE_PROGRESS){echo"<s\x63ri\x70t\x3ed\x6f\x63\x75m\x65n\x74\x2eg\x65\x74Elem\x65\x6e\x74ByI\x64('pr\x6f\x67\x27)\x2ev\x61\x6c\x75\x65\x20=\x201\x30;\x3c/\x73\x63ri\x70t\x3e";}ob_flush();${${"\x47\x4cO\x42A\x4cS"}["\x70ibd\x68v\x6d\x73"]}=curl_exec(${$ujkydlv});${${"G\x4cO\x42A\x4c\x53"}["\x61ie\x66\x67\x6b\x76\x63"]}=curl_getinfo(${${"\x47LO\x42\x41\x4c\x53"}["\x6c\x76n\x7a\x65\x79p"]},CURLINFO_HTTP_CODE);if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x6akbj\x79\x66h\x76\x67"]}!=200){${"G\x4c\x4f\x42A\x4c\x53"}["\x73\x69q\x79e\x70\x69p"]="\x68\x74\x74p\x5fstat\x75s";if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["s\x69q\x79\x65\x70i\x70"]}==401){curl_close(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6adhp\x6bf\x79u\x78"]});exit("<\x62r>".LB_TEXT_UPDATE_PERIOD_EXPIRED);}else{curl_close(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6adhp\x6bf\x79\x75x"]});exit("\x3cbr>".LB_TEXT_INVALID_RESPONSE);}}curl_close(${${"\x47\x4cO\x42A\x4c\x53"}["jdhp\x6b\x66\x79\x75\x78"]});${${"\x47L\x4fB\x41L\x53"}["\x6dt\x6cl\x6af"]}=$this->root_path."/up\x64\x61te_ma\x69n_".${${"\x47LO\x42\x41\x4c\x53"}["\x74\x69y\x6d\x64w\x69\x78\x68\x73"]}.".z\x69\x70";${${"G\x4cO\x42A\x4cS"}["\x65w\x66a\x64jwm\x75r"]}=fopen(${${"G\x4cOB\x41\x4c\x53"}["m\x74l\x6c\x6a\x66"]},"\x77+");if(!${${"G\x4c\x4f\x42\x41\x4cS"}["\x65\x77f\x61\x64j\x77\x6dur"]}){exit("<\x62\x72\x3e".LB_TEXT_UPDATE_PATH_ERROR);}fputs(${$gutnvmfxscro},${$xiltosrhmgb});fclose(${${"\x47\x4c\x4f\x42\x41\x4cS"}["s\x73\x6b\x70s\x64\x67\x63\x6a\x6b\x6du"]});if(LB_SHOW_UPDATE_PROGRESS){echo"<\x73\x63\x72\x69\x70t\x3e\x64\x6f\x63\x75me\x6et.\x67et\x45\x6c\x65m\x65nt\x42\x79\x49\x64(\x27\x70r\x6fg\x27)\x2e\x76\x61\x6c\x75\x65\x20\x3d\x206\x35\x3b</\x73c\x72ipt>";}ob_flush();${${"\x47\x4c\x4fB\x41\x4cS"}["\x6bg\x73\x73\x7a\x6dd\x72"]}=new ZipArchive;${${"\x47\x4cO\x42A\x4c\x53"}["\x75\x72\x77\x79\x78v\x74\x71\x6c"]}=$zip->open(${${"\x47\x4cO\x42\x41\x4c\x53"}["m\x74\x6cl\x6af"]});if(${${"G\x4cOB\x41\x4cS"}["\x75\x72\x77\x79\x78\x76t\x71\x6c"]}===TRUE){$cavsppxyejjf="\x64e\x73t\x69nat\x69o\x6e";$zip->extractTo($this->root_path."/");$zip->close();unlink(${$cavsppxyejjf});echo LB_TEXT_MAIN_UPDATE_DONE."<b\x72><\x62\x72>";if(LB_SHOW_UPDATE_PROGRESS){echo"<scr\x69pt\x3ed\x6fcum\x65nt\x2e\x67et\x45l\x65m\x65nt\x42y\x49d('\x70rog').\x76a\x6c\x75e \x3d 75\x3b\x3c/\x73\x63\x72\x69\x70t>";}ob_flush();}else{echo LB_TEXT_UPDATE_EXTRACTION_ERROR."<b\x72><b\x72\x3e";ob_flush();}if(${$gxlqsrsuhlj}==true){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76kn\x68\x78\x78q"]="t\x68\x69s\x5f\x73erv\x65\x72_n\x61\x6d\x65";$avawwmjpji="\x74\x68\x69s_\x69p";$ukjzqpqh="\x73\x6f\x75r\x63e_s\x69\x7ae";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x72e\x6a\x63\x69\x71a\x76\x64p"]="\x63\x68";${$ukjzqpqh}=$this->api_url."\x61\x70\x69/\x67\x65\x74_upd\x61t\x65_s\x69z\x65/sql/".${${"\x47\x4c\x4f\x42ALS"}["j\x74\x75\x68\x73w"]};$dmjuul="\x74\x65\x6d\x70\x5fp\x72\x6f\x67\x72\x65\x73\x73";$wnlfmpd="\x63\x68";$ywxaxblmv="\x63\x68";${"G\x4cO\x42AL\x53"}["\x65\x6a\x6d\x70uk\x62"]="t\x68\x69s\x5fu\x72\x6c";${"GLO\x42ALS"}["\x7a\x6f\x75n\x61\x79\x69\x79\x6f"]="fi\x6c\x65";$sgdszcbo="\x73\x6fu\x72\x63\x65";echo LB_TEXT_PREPARING_SQL_DOWNLOAD."\x3c\x62r\x3e";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x67\x68\x76\x79\x65\x6fhj\x62bi"]="\x74\x68i\x73\x5fh\x74\x74\x70\x5f\x6f\x72_h\x74\x74\x70\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["t\x68\x63q\x6e\x6b\x6f\x6b\x76\x6e"]="c\x68";${"G\x4cO\x42A\x4c\x53"}["\x6e\x76iz\x7a\x73c\x78\x68"]="s\x6fu\x72\x63e\x5f\x73iz\x65";ob_flush();echo LB_TEXT_SQL_UPDATE_SIZE."\x20".$this->get_remote_filesize(${${"G\x4cO\x42\x41\x4c\x53"}["\x6ev\x69\x7az\x73\x63\x78\x68"]})."\x20".LB_TEXT_DONT_REFRESH."<\x62r\x3e";if(LB_SHOW_UPDATE_PROGRESS){echo"\x3c\x73c\x72i\x70\x74\x3edo\x63u\x6den\x74.ge\x74\x45l\x65\x6dentByI\x64(\x27\x70ro\x67')\x2eval\x75e\x20=\x20\x38\x35\x3b</\x73\x63\x72ip\x74>";}${"\x47\x4c\x4f\x42\x41LS"}["x\x68\x64\x68v\x6bg"]="so\x75rce";$dovmswspqc="c\x68";$hrocqdidsi="ch";ob_flush();${$dmjuul}="";${$hrocqdidsi}=curl_init();${$sgdszcbo}=$this->api_url."a\x70\x69/do\x77\x6elo\x61d\x5fup\x64a\x74\x65/s\x71l/".${${"GL\x4f\x42\x41\x4cS"}["\x6a\x74\x75\x68sw"]};curl_setopt(${${"\x47L\x4fB\x41\x4c\x53"}["t\x68cq\x6e\x6b\x6fk\x76\x6e"]},CURLOPT_URL,${${"\x47L\x4fB\x41LS"}["\x78hdhv\x6b\x67"]});$nojuqrmqm="t\x68i\x73\x5f\x73\x65\x72\x76\x65r_\x6eame";curl_setopt(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x72\x65\x6aci\x71\x61\x76d\x70"]},CURLOPT_POST,1);curl_setopt(${$wnlfmpd},CURLOPT_POSTFIELDS,${${"G\x4c\x4f\x42AL\x53"}["\x6d\x77b\x77\x74\x64\x6aly\x73\x6a"]});${${"G\x4c\x4f\x42\x41L\x53"}["v\x6bnh\x78\x78\x71"]}=getenv("SE\x52VE\x52\x5f\x4eAM\x45")?:$_SERVER["\x53E\x52V\x45\x52\x5fN\x41ME"]?:getenv("\x48TTP_HO\x53T")?:$_SERVER["HT\x54\x50_HO\x53T"];${${"\x47L\x4f\x42A\x4c\x53"}["\x75\x67\x68v\x79eo\x68j\x62\x62i"]}=(((isset($_SERVER["HT\x54P\x53"])&&($_SERVER["H\x54TPS"]=="\x6f\x6e"))or(isset($_SERVER["\x48\x54\x54P_\x58_\x46O\x52\x57A\x52\x44E\x44\x5f\x50\x52OT\x4f"])and$_SERVER["HTT\x50_X\x5f\x46O\x52W\x41\x52D\x45D\x5f\x50R\x4fTO"]==="htt\x70\x73"))?"h\x74\x74p\x73://":"ht\x74\x70://");${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x68\x77\x7a\x67v\x72\x78p\x6c\x74v"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63k\x72\x79\x70\x73"]}.${$nojuqrmqm}.$_SERVER["\x52EQ\x55ES\x54\x5fUR\x49"];${"\x47L\x4f\x42\x41\x4c\x53"}["a\x6a\x69\x74\x78ug\x78\x75m"]="\x66\x69\x6c\x65";${$avawwmjpji}=getenv("\x53\x45R\x56\x45R\x5fA\x44\x44\x52")?:$_SERVER["SE\x52\x56\x45\x52_AD\x44R"]?:$this->get_ip_from_third_party()?:gethostbyname(gethostname());curl_setopt(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x64hp\x6bf\x79\x75x"]},CURLOPT_HTTPHEADER,array("\x4cB-API-K\x45Y:\x20".$this->api_key,"L\x42-URL: ".${${"GL\x4f\x42A\x4c\x53"}["\x65\x6am\x70\x75kb"]},"\x4c\x42-\x49P:\x20".${${"\x47\x4cO\x42\x41\x4c\x53"}["ebv\x65gvc\x6e\x6b\x75"]},"\x4cB-LANG:\x20".$this->api_language));curl_setopt(${$dovmswspqc},CURLOPT_RETURNTRANSFER,true);curl_setopt(${$ywxaxblmv},CURLOPT_CONNECTTIMEOUT,30);echo LB_TEXT_DOWNLOADING_SQL."<b\x72>";if(LB_SHOW_UPDATE_PROGRESS){echo"<\x73cri\x70\x74\x3e\x64\x6fcu\x6d\x65\x6e\x74\x2e\x67\x65\x74Ele\x6dent\x42\x79\x49d(\x27pro\x67\x27).\x76\x61\x6cue\x20\x3d\x209\x30\x3b\x3c/scri\x70t\x3e";}ob_flush();$hihebctpw="\x76\x65\x72\x73\x69\x6fn";${${"G\x4c\x4fB\x41LS"}["\x70\x69\x62d\x68v\x6d\x73"]}=curl_exec(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6adh\x70\x6b\x66yu\x78"]});${${"\x47\x4cO\x42A\x4cS"}["\x66\x6a\x6bbj\x79\x66\x68v\x67"]}=curl_getinfo(${${"\x47L\x4f\x42A\x4cS"}["\x6a\x64\x68\x70\x6b\x66\x79ux"]},CURLINFO_HTTP_CODE);if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66jkbj\x79\x66\x68\x76\x67"]}!=200){$mrdurbrdpfl="\x63h";curl_close(${$mrdurbrdpfl});exit(LB_TEXT_INVALID_RESPONSE);}curl_close(${${"G\x4cO\x42A\x4c\x53"}["\x6ad\x68\x70kf\x79\x75\x78"]});$lwkjikqs="\x64e\x73ti\x6eat\x69o\x6e";${$lwkjikqs}=$this->root_path."/up\x64ate\x5fs\x71l_".${$hihebctpw}."\x2e\x73q\x6c";${${"G\x4c\x4f\x42\x41L\x53"}["\x65w\x66\x61\x64j\x77m\x75\x72"]}=fopen(${${"\x47L\x4fB\x41\x4c\x53"}["\x6d\x74\x6cl\x6a\x66"]},"w+");if(!${${"\x47\x4cO\x42\x41\x4c\x53"}["\x7ao\x75\x6ea\x79\x69\x79\x6f"]}){exit(LB_TEXT_UPDATE_PATH_ERROR);}fputs(${${"\x47\x4cOBA\x4c\x53"}["\x61\x6a\x69\x74\x78\x75\x67\x78u\x6d"]},${${"GLO\x42\x41\x4c\x53"}["\x70i\x62\x64\x68\x76m\x73"]});fclose(${${"\x47\x4c\x4f\x42ALS"}["\x65\x77\x66\x61\x64jw\x6d\x75\x72"]});echo LB_TEXT_SQL_UPDATE_DONE."<\x62\x72>\x3cbr>";if(LB_SHOW_UPDATE_PROGRESS){echo"\x3cs\x63r\x69p\x74\x3ed\x6fc\x75\x6d\x65nt.ge\x74\x45l\x65men\x74\x42\x79I\x64(\x27p\x72\x6f\x67')\x2e\x76a\x6cue\x20=\x2095\x3b\x3c/\x73\x63\x72ipt\x3e";}ob_flush();if(is_array(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65q\x69\x69p\x77n"]})){$erkcujtfh="\x64\x62\x5f\x66\x6fr\x5f\x69\x6d\x70\x6f\x72t";$eouhdsvpkgm="\x64b\x5f\x66\x6fr\x5f\x69\x6d\x70o\x72\x74";${"\x47LO\x42\x41L\x53"}["\x72\x6dr\x66g\x64j\x72jq\x78o"]="\x64\x62\x5f\x66\x6f\x72\x5fi\x6d\x70\x6f\x72\x74";if(!empty(${${"G\x4cO\x42\x41\x4cS"}["\x72m\x72f\x67d\x6a\x72j\x71\x78\x6f"]}["db\x5fh\x6fst"])&&!empty(${$erkcujtfh}["\x64\x62_u\x73\x65\x72"])&&!empty(${$eouhdsvpkgm}["\x64b\x5fnam\x65"])){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x63\x63\x67\x6bh\x69m"]="\x64\x62\x5fh\x6f\x73t";${${"GL\x4fB\x41L\x53"}["\x70cc\x67\x6b\x68im"]}=strip_tags(trim((string)${${"\x47LO\x42\x41L\x53"}["e\x71\x69ip\x77\x6e"]}["\x64b\x5f\x68o\x73\x74"]));${"G\x4c\x4fB\x41\x4c\x53"}["x\x6d\x6al\x69\x62\x69xm"]="\x64\x62\x5fho\x73t";$qxmbonnug="\x64b\x5f\x6e\x61\x6de";$dkhsjeonbd="\x64b\x5fp\x61\x73\x73";${"\x47L\x4f\x42A\x4c\x53"}["\x71\x6bdx\x68\x75ke\x79xj\x7a"]="db\x5f\x75s\x65\x72";$hlocbtu="\x64\x62\x5f\x66\x6f\x72\x5f\x69\x6d\x70\x6f\x72t";${"GLO\x42A\x4c\x53"}["\x62\x75\x6d\x73\x6c\x63f"]="\x64\x62_\x66\x6f\x72_\x69\x6dpor\x74";$spkodztpe="\x64\x62\x5f\x6ea\x6d\x65";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64w\x75f\x64t\x7a\x77\x70\x76u"]}=strip_tags(trim((string)${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x71\x69\x69\x70wn"]}["\x64b\x5fu\x73\x65\x72"]));${${"G\x4c\x4fB\x41L\x53"}["\x6c\x6d\x74\x70\x76\x66"]}=strip_tags(trim((string)${${"\x47\x4c\x4f\x42\x41L\x53"}["\x62u\x6ds\x6c\x63\x66"]}["db_p\x61\x73\x73"]));$ouhpmgoym="con";${$spkodztpe}=strip_tags(trim((string)${$hlocbtu}["d\x62_\x6ea\x6d\x65"]));${$ouhpmgoym}=@mysqli_connect(${${"\x47\x4c\x4f\x42A\x4cS"}["x\x6d\x6a\x6cib\x69x\x6d"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71kd\x78\x68\x75keyx\x6a\x7a"]},${$dkhsjeonbd},${$qxmbonnug});if(mysqli_connect_errno()){echo LB_TEXT_UPDATE_WITH_SQL_IMPORT_FAILED;}else{${${"\x47\x4c\x4fBA\x4c\x53"}["\x64\x74h\x76eoez\x71\x63"]}="";${${"GL\x4f\x42A\x4cS"}["\x7a\x7a\x74g\x67\x62n\x79\x68\x66"]}=file(${${"\x47\x4c\x4f\x42\x41\x4cS"}["mt\x6clj\x66"]});foreach(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x7az\x74\x67\x67\x62\x6e\x79h\x66"]} as${${"\x47L\x4fB\x41\x4cS"}["\x67\x63\x6b\x64\x73\x78zw\x6a"]}){$ggxicun="l\x69\x6e\x65";if(substr(${$ggxicun},0,2)=="--"||${${"\x47\x4c\x4f\x42\x41L\x53"}["\x67\x63kd\x73\x78zwj"]}=="")continue;${${"GL\x4f\x42A\x4c\x53"}["\x64\x74\x68\x76\x65\x6f\x65z\x71\x63"]}.=${${"\x47L\x4fB\x41\x4c\x53"}["\x67\x63\x6b\x64\x73\x78\x7a\x77\x6a"]};${${"\x47LOB\x41\x4cS"}["g\x7a\x70po\x71\x72me\x77\x71c"]}=false;if(substr(trim(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x63\x6b\x64\x73\x78\x7a\x77\x6a"]}),-1,1)==";"){${${"\x47\x4cO\x42\x41L\x53"}["\x67z\x70po\x71r\x6d\x65\x77q\x63"]}=mysqli_query(${${"\x47L\x4fB\x41L\x53"}["n\x6dp\x70a\x79\x66"]},${${"\x47\x4c\x4fBA\x4c\x53"}["\x64\x74\x68\x76\x65\x6f\x65zqc"]});${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64t\x68\x76\x65\x6f\x65zq\x63"]}="";}}@chmod(${${"\x47L\x4f\x42A\x4cS"}["\x6d\x74lljf"]},0777);if(is_writeable(${${"\x47LO\x42\x41\x4c\x53"}["\x6d\x74\x6c\x6c\x6af"]})){unlink(${${"GLOB\x41\x4c\x53"}["mt\x6cl\x6a\x66"]});}echo LB_TEXT_UPDATE_WITH_SQL_IMPORT_DONE;}}else{echo LB_TEXT_UPDATE_WITH_SQL_IMPORT_FAILED;}}else{echo LB_TEXT_UPDATE_WITH_SQL_DONE;}if(LB_SHOW_UPDATE_PROGRESS){echo"\x3cscr\x69\x70t>do\x63\x75m\x65\x6e\x74\x2e\x67\x65\x74\x45l\x65m\x65ntBy\x49\x64(\x27\x70\x72og\x27)\x2eval\x75e \x3d \x310\x30\x3b</\x73cr\x69p\x74\x3e";}ob_flush();}else{if(LB_SHOW_UPDATE_PROGRESS){echo"<\x73\x63\x72\x69\x70\x74\x3e\x64\x6fcu\x6d\x65nt.get\x45\x6cem\x65\x6et\x42\x79\x49d(\x27\x70\x72o\x67')\x2ev\x61\x6cu\x65\x20= \x31\x30\x30;</\x73c\x72i\x70t>";}echo LB_TEXT_UPDATE_WITHOUT_SQL_DONE;ob_flush();}ob_end_flush();}private function progress($resource,$download_size,$downloaded,$upload_size,$uploaded){static$prev=0;$pacamhdb="p\x72o\x67\x72es\x73";$blnjonekl="p\x72\x6f\x67\x72\x65\x73s";if(${${"G\x4c\x4fBAL\x53"}["ltpu\x76\x67\x78\x66\x74"]}==0){${${"G\x4cOB\x41\x4c\x53"}["\x6cu\x69uok\x72z\x6d"]}=0;}else{${"\x47LO\x42\x41\x4c\x53"}["\x6f\x75j\x64\x68\x70k"]="\x64\x6f\x77\x6e\x6c\x6f\x61\x64e\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["\x64xvf\x73\x6ek\x68c\x6b\x77"]="\x70\x72\x6f\x67\x72\x65\x73\x73";${${"\x47\x4cO\x42\x41LS"}["d\x78v\x66\x73n\x6b\x68\x63\x6bw"]}=round(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6f\x75\x6a\x64\x68p\x6b"]}*100/${${"\x47\x4cO\x42\x41\x4cS"}["\x6c\x74\x70\x75v\x67\x78ft"]});}$syumqxllwsc="\x70\x72\x6f\x67r\x65ss";$njduyot="\x70\x72e\x76";${"\x47LO\x42A\x4c\x53"}["\x79\x64\x75\x71a\x71\x64\x7a\x78"]="pr\x6fgre\x73\x73";if((${$pacamhdb}!=${${"\x47\x4c\x4f\x42\x41LS"}["\x62\x64\x68\x67r\x6b\x62"]})&&(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6c\x75\x69\x75\x6f\x6brz\x6d"]}==25)){${"\x47L\x4f\x42A\x4c\x53"}["\x79\x72vv\x79\x65\x67\x76\x6c"]="\x70\x72\x6fg\x72\x65\x73s";${${"\x47L\x4fB\x41L\x53"}["b\x64\x68g\x72k\x62"]}=${${"GLO\x42\x41\x4c\x53"}["yrvvy\x65g\x76\x6c"]};echo"<\x73c\x72ip\x74>\x64o\x63\x75\x6d\x65n\x74\x2e\x67\x65\x74E\x6c\x65ment\x42y\x49d('p\x72\x6fg\x27)\x2ev\x61l\x75\x65\x20= \x322\x2e5\x3b\x3c/script\x3e";ob_flush();}if((${${"GLOB\x41L\x53"}["\x6c\x75\x69\x75\x6f\x6b\x72\x7am"]}!=${${"G\x4c\x4fB\x41\x4c\x53"}["\x62\x64\x68g\x72\x6bb"]})&&(${$syumqxllwsc}==50)){$odnzbwr="\x70r\x6f\x67\x72e\x73\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62d\x68gr\x6bb"]}=${$odnzbwr};echo"<\x73c\x72ip\x74\x3ed\x6fc\x75\x6d\x65\x6et.\x67e\x74\x45l\x65\x6den\x74\x42y\x49d(\x27pr\x6f\x67').\x76a\x6c\x75\x65\x20=\x20\x335;\x3c/s\x63ri\x70t\x3e";ob_flush();}if((${$blnjonekl}!=${$njduyot})&&(${${"\x47L\x4f\x42\x41\x4c\x53"}["l\x75\x69\x75\x6fkr\x7am"]}==75)){${"\x47\x4cO\x42\x41\x4cS"}["\x6c\x6b\x63\x73\x72\x74\x6c\x71\x75\x6c\x69\x63"]="\x70\x72\x65v";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x6b\x63s\x72\x74l\x71\x75\x6c\x69c"]}=${${"\x47\x4c\x4fBAL\x53"}["\x6c\x75i\x75ok\x72z\x6d"]};echo"\x3cscr\x69\x70t\x3edo\x63um\x65nt.g\x65\x74\x45\x6c\x65\x6d\x65ntBy\x49d('\x70\x72\x6f\x67\x27).\x76\x61l\x75e \x3d 47\x2e\x35\x3b</\x73cr\x69pt>";ob_flush();}$pkjesokh="\x70\x72\x6f\x67r\x65\x73\x73";${"\x47\x4c\x4fB\x41L\x53"}["n\x6a\x69\x72\x75\x77\x62\x67"]="\x70re\x76";if((${${"GLO\x42A\x4c\x53"}["\x79du\x71\x61qdz\x78"]}!=${${"\x47\x4c\x4f\x42A\x4cS"}["\x6e\x6air\x75\x77b\x67"]})&&(${$pkjesokh}==100)){${"\x47LO\x42\x41\x4c\x53"}["\x62\x6b\x74d\x73ui"]="p\x72\x65v";${${"\x47\x4c\x4fBA\x4c\x53"}["\x62\x6b\x74\x64\x73u\x69"]}=${${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x75\x69\x75\x6f\x6br\x7a\x6d"]};echo"\x3c\x73\x63r\x69pt\x3e\x64ocum\x65nt.\x67\x65\x74\x45l\x65\x6de\x6et\x42\x79I\x64('p\x72o\x67')\x2e\x76al\x75e\x20=\x2060;</s\x63\x72ip\x74\x3e";ob_flush();}}private function get_ip_from_third_party(){${"\x47\x4c\x4fB\x41\x4cS"}["\x6cc\x62\x67\x64q\x68\x6c\x79\x61\x6e"]="\x63\x75\x72\x6c";${${"\x47\x4cO\x42AL\x53"}["\x62\x67\x67\x64\x69wx\x70"]}=curl_init();curl_setopt(${${"\x47\x4cOB\x41\x4c\x53"}["l\x63bgdqh\x6cy\x61\x6e"]},CURLOPT_URL,"\x68tt\x70://i\x70e\x63\x68\x6f.\x6ee\x74/\x70\x6c\x61in");${"\x47\x4cO\x42AL\x53"}["\x75\x74\x6czf\x6fg\x6d"]="\x63\x75rl";curl_setopt(${${"GL\x4f\x42A\x4c\x53"}["\x62\x67\x67\x64\x69\x77xp"]},CURLOPT_HEADER,0);curl_setopt(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x67\x67\x64\x69\x77\x78p"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"\x47\x4c\x4f\x42A\x4cS"}["\x75tlzf\x6fg\x6d"]},CURLOPT_CONNECTTIMEOUT,10);curl_setopt(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x67gd\x69\x77xp"]},CURLOPT_TIMEOUT,10);${${"\x47\x4c\x4fB\x41L\x53"}["k\x6f\x69\x74\x68\x6dn\x66\x70i\x73y"]}=curl_exec(${${"G\x4cO\x42A\x4cS"}["\x62\x67\x67d\x69\x77x\x70"]});curl_close(${${"GLOBA\x4c\x53"}["\x62g\x67\x64\x69\x77\x78p"]});return${${"G\x4c\x4f\x42\x41LS"}["\x6b\x6f\x69th\x6d\x6e\x66\x70isy"]};}private function get_remote_filesize($url){$rdmjsbwglkh="\x74\x68\x69\x73\x5f\x69p";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x78z\x6e\x79\x64v\x67\x6e\x69j"]="curl";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["bg\x67d\x69\x77\x78\x70"]}=curl_init();$vcdnvevcp="\x66i\x6ce\x73i\x7a\x65";curl_setopt(${${"\x47L\x4f\x42\x41\x4cS"}["b\x67\x67\x64\x69\x77\x78p"]},CURLOPT_HEADER,TRUE);${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x73\x67\x6bbq\x75\x64wr"]="\x72\x65s\x75\x6c\x74";${"\x47\x4c\x4f\x42\x41LS"}["k\x64e\x68d\x78\x77\x79"]="\x74\x68i\x73\x5f\x73\x65\x72\x76e\x72_\x6e\x61\x6d\x65";curl_setopt(${${"\x47LOB\x41L\x53"}["\x64\x78\x7a\x6e\x79\x64\x76g\x6e\x69\x6a"]},CURLOPT_URL,${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x76s\x67\x6b\x72\x78\x67"]});$eofvkwmcxsr="\x63\x75\x72l";curl_setopt(${${"\x47L\x4fB\x41\x4c\x53"}["\x62g\x67\x64\x69\x77x\x70"]},CURLOPT_NOBODY,TRUE);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bd\x65\x68\x64\x78\x77\x79"]}=getenv("SER\x56E\x52\x5f\x4eAME")?:$_SERVER["\x53E\x52\x56\x45R_\x4eA\x4d\x45"]?:getenv("H\x54\x54\x50\x5fHO\x53\x54")?:$_SERVER["H\x54T\x50\x5f\x48\x4f\x53\x54"];${${"\x47\x4c\x4f\x42ALS"}["c\x6b\x72yp\x73"]}=(((isset($_SERVER["HTT\x50\x53"])&&($_SERVER["HT\x54\x50S"]=="\x6fn"))or(isset($_SERVER["H\x54TP_\x58\x5fFORW\x41R\x44\x45\x44_PROT\x4f"])and$_SERVER["HT\x54\x50_\x58\x5f\x46OR\x57A\x52D\x45\x44\x5f\x50RO\x54\x4f"]==="htt\x70\x73"))?"h\x74\x74p\x73://":"ht\x74p://");${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6e\x68\x77zgv\x72x\x70\x6c\x74\x76"]}=${${"\x47L\x4fB\x41\x4c\x53"}["\x63\x6br\x79\x70\x73"]}.${${"\x47LOB\x41\x4c\x53"}["\x74\x69\x78\x74gqd\x68\x6f\x72j"]}.$_SERVER["\x52\x45\x51UES\x54_UR\x49"];${${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x62v\x65\x67\x76\x63n\x6bu"]}=getenv("SE\x52V\x45R_ADD\x52")?:$_SERVER["SER\x56ER\x5fA\x44D\x52"]?:$this->get_ip_from_third_party()?:gethostbyname(gethostname());curl_setopt(${${"\x47LO\x42ALS"}["\x62\x67\x67\x64i\x77xp"]},CURLOPT_HTTPHEADER,array("\x4cB-AP\x49-K\x45Y: ".$this->api_key,"\x4c\x42-UR\x4c: ".${${"\x47L\x4f\x42A\x4cS"}["n\x68\x77\x7a\x67vr\x78\x70\x6c\x74\x76"]},"\x4c\x42-IP: ".${$rdmjsbwglkh},"L\x42-\x4c\x41\x4eG: ".$this->api_language));curl_setopt(${${"G\x4cO\x42AL\x53"}["\x62gg\x64\x69w\x78\x70"]},CURLOPT_RETURNTRANSFER,true);curl_setopt(${${"\x47LO\x42\x41L\x53"}["\x62gg\x64i\x77\x78p"]},CURLOPT_CONNECTTIMEOUT,30);${${"\x47LO\x42\x41\x4cS"}["\x72s\x67\x6b\x62\x71u\x64\x77\x72"]}=curl_exec(${$eofvkwmcxsr});${${"\x47LO\x42A\x4cS"}["\x6fa\x67\x66\x6fy"]}=curl_getinfo(${${"G\x4c\x4fB\x41L\x53"}["\x62g\x67\x64i\x77\x78\x70"]},CURLINFO_CONTENT_LENGTH_DOWNLOAD);if(${$vcdnvevcp}){$yyhewevcq="\x73\x69\x7a\x65";${"GL\x4fB\x41LS"}["\x61\x65\x74uv\x64\x76cs\x6e\x63"]="\x73\x69z\x65";${"G\x4cO\x42AL\x53"}["\x71\x74i\x69\x63\x64\x6a\x79"]="\x73iz\x65";$cqyeqgje="\x66\x69\x6cesi\x7a\x65";${"G\x4c\x4fBA\x4c\x53"}["\x64\x74\x66\x70p\x66\x6fx"]="f\x69\x6c\x65siz\x65";$kiddcqh="\x66il\x65\x73\x69\x7a\x65";$njqnbezn="\x66\x69\x6c\x65s\x69\x7a\x65";$gagbmbyty="\x66iles\x69\x7ae";switch(${$gagbmbyty}){case${${"\x47\x4cO\x42\x41LS"}["dt\x66\x70\x70\x66o\x78"]}<1024:${$yyhewevcq}=${${"G\x4cO\x42\x41\x4c\x53"}["\x6f\x61\x67fo\x79"]}."\x20B";break;case${${"\x47\x4cO\x42\x41LS"}["o\x61g\x66oy"]}<1048576:${${"\x47L\x4f\x42\x41\x4c\x53"}["xm\x72\x68\x64\x6c\x6eg\x66\x64"]}=round(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x61\x67\x66o\x79"]}/1024,2)."\x20\x4b\x42";break;case${$njqnbezn}<1073741824:${${"\x47\x4cOBA\x4c\x53"}["\x71\x74i\x69cd\x6a\x79"]}=round(${$cqyeqgje}/1048576,2)." \x4dB";break;case${${"G\x4cOB\x41L\x53"}["\x6fa\x67\x66\x6f\x79"]}<1099511627776:${${"\x47\x4cO\x42A\x4c\x53"}["\x61\x65\x74\x75\x76\x64v\x63\x73n\x63"]}=round(${$kiddcqh}/1073741824,2)."\x20\x47B";break;}return${${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x6dr\x68d\x6cng\x66\x64"]};}}}${${"G\x4c\x4f\x42\x41\x4cS"}["\x75\x76\x75l\x62o\x73"]}=new LicenseBoxExternalAPI();${${"\x47\x4c\x4fBA\x4cS"}["\x67\x6b\x68\x65\x6av"]}=$api->verify_license(true,@${$usdpkni},@${$zpkhoajolort});${$rogqviy}=${${"G\x4c\x4f\x42\x41L\x53"}["\x67\x6b\x68\x65\x6av"]}["st\x61t\x75\x73"];if(${${"\x47L\x4fB\x41\x4c\x53"}["\x6e\x62\x69\x6dh\x69\x79v\x6b\x6ce\x6e"]}!=1){header("L\x6f\x63\x61ti\x6fn:\x20./\x61t\x69\x76ar/");exit;}}function Sair(){session_destroy();header("Loc\x61\x74\x69on: lo\x67in.php");exit;}if(isset($_POST["bt"])){${${"\x47L\x4fB\x41LS"}["iey\x63\x6bb\x6d"]}=$_POST["b\x74"];${${"\x47LO\x42\x41L\x53"}["ps\x61\x64\x6cs\x68w"]}=mysqli_query(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x74\x79\x62ot\x67\x7a\x6cd"]},"\x53EL\x45CT * F\x52O\x4d\x20\x63o\x6etro\x6c\x65\x20\x57H\x45\x52\x45\x20$tab\x20= '0'");${${"\x47LO\x42\x41LS"}["\x75\x67\x74z\x66\x71\x70"]}=mysqli_num_rows(${${"G\x4cOBA\x4c\x53"}["\x70\x73a\x64l\x73\x68\x77"]});try{${"\x47L\x4fBA\x4c\x53"}["q\x65\x6aewp\x75a"]="\x73\x74\x6d\x74";${${"GL\x4f\x42\x41\x4c\x53"}["\x6aiu\x6b\x66\x6c"]}="U\x50\x44\x41TE\x20\x63o\x6e\x74\x72\x6fl\x65 \x53\x45T $tab\x20\x3d ?\x20\x57H\x45\x52\x45 \x75\x73\x75a\x72\x69\x6f = ?";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71e\x6ae\x77\x70\x75a"]}=$conn->prepare(${${"\x47L\x4f\x42A\x4cS"}["j\x69uk\x66\x6c"]});$stmt->bind_param("is",${${"\x47\x4c\x4f\x42\x41L\x53"}["u\x67\x74\x7a\x66qp"]},$_SESSION["\x61\x64\x6d\x69\x6e"]);$stmt->execute();header("L\x6f\x63\x61\x74i\x6fn: ../\x63\x6fn\x74\x72ol\x65\x2eph\x70?su\x63es\x73o\x3d");exit;}catch(Exception$e){header("L\x6fc\x61t\x69\x6f\x6e: ../\x63ontrol\x65\x2e\x70\x68p?\x65\x72\x72o\x72\x3d");exit;}}if(isset($_POST["no\x74i\x66\x69\x63a\x63\x61o"])&&isset($_SESSION["\x61\x64m\x69\x6e"])){$yojpaiuwdvdm="\x77\x68atsa\x70\x70";isset($_POST["no\x74if\x69ca\x63a\x6f"])&&$_POST["no\x74i\x66ic\x61\x63a\x6f"]!=null?${${"G\x4cOBA\x4c\x53"}["\x72\x75b\x71s\x61"]}=$_POST["\x6eo\x74i\x66\x69\x63\x61\x63\x61\x6f"]:"";isset($_POST["\x77\x68a\x74s\x61p\x70"])&&$_POST["\x77ha\x74sapp"]!=null?${$yojpaiuwdvdm}=$_POST["\x77\x68a\x74s\x61pp"]:"";isset($_POST["fra\x73\x65"])&&$_POST["\x66ras\x65"]!=null?${${"\x47L\x4fBA\x4cS"}["\x71\x6e\x75\x71y\x71\x6f\x72\x65x"]}=$_POST["fr\x61\x73e"]:"";try{${"G\x4cO\x42\x41\x4c\x53"}["\x66e\x69z\x64\x62\x69\x76t"]="s\x74\x6dt";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62mv\x77\x73\x76l\x6e"]="\x6eot\x69f\x69\x63\x61\x63\x61o";${${"GL\x4fB\x41L\x53"}["\x6a\x69uk\x66\x6c"]}="\x55\x50\x44AT\x45 \x63o\x6etr\x6f\x6c\x65 S\x45T \x6e\x6f\x74\x69f\x69ca\x63a\x6f\x20=\x20?, \x77hatsa\x70p = ?, \x20\x66\x72a\x73\x65\x20=\x20?\x20\x57\x48\x45\x52E\x20u\x73\x75ari\x6f\x20\x3d\x20?";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["f\x65i\x7a\x64\x62\x69v\x74"]}=$conn->prepare(${${"\x47L\x4fB\x41\x4cS"}["jiuk\x66\x6c"]});$stmt->bind_param("s\x73\x73\x73",${${"\x47\x4c\x4f\x42A\x4cS"}["\x62m\x76\x77\x73v\x6c\x6e"]},${${"\x47L\x4fB\x41\x4cS"}["\x68regiq\x74"]},${${"\x47\x4cO\x42\x41L\x53"}["\x71n\x75\x71\x79q\x6f\x72\x65\x78"]},$_SESSION["ad\x6d\x69n"]);$stmt->execute();header("\x4c\x6fcati\x6fn:\x20\x2e\x2e/c\x6fntrole.\x70\x68\x70?s\x75\x63esso=");exit;}catch(Exception$e){header("\x4c\x6f\x63atio\x6e: .\x2e/cont\x72ol\x65.\x70\x68\x70?\x65\x72r\x6fr=");exit;}}if(isset($_POST["cpf_cnpj"])||isset($_POST["adm\x69n"])){$pinejxjlyh="cl\x69\x65n\x74_\x64\x6f\x63\x75\x6d\x65n\x74";$hifhnhbwd="\x63\x75rl";isset($_POST["\x63p\x66\x5f\x63\x6e\x70\x6a"])?${${"\x47\x4cOB\x41\x4c\x53"}["\x79c\x6a\x75wx"]}=$_POST["c\x70f\x5fc\x6e\x70j"]:"";if(isset($_SESSION["\x61\x64min"])&&isset($_POST["ad\x6din"])){${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6aiukf\x6c"]}="S\x45\x4c\x45\x43\x54 * F\x52\x4fM c\x6fntr\x6f\x6ce\x20WH\x45\x52E \x75\x73uar\x69\x6f = ?\x20\x41N\x44 \x73\x65\x6eha\x20=\x20?";${${"G\x4cO\x42A\x4c\x53"}["\x77\x73hpl\x70\x6f\x6e\x6b\x6a\x64\x78"]}=$conn->prepare(${${"G\x4c\x4fBAL\x53"}["\x6ai\x75k\x66\x6c"]});$stmt->bind_param("\x73\x73",$_SESSION["\x61\x64\x6din"],$_POST["ad\x6d\x69n"]);$stmt->execute();${${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x67\x6d\x6ep\x6fs\x74\x78"]}=$stmt->get_result()->fetch_object();if(${${"\x47\x4cO\x42\x41\x4cS"}["jg\x6d\x6e\x70o\x73\x74\x78"]}){if(isset($_SESSION["adm\x69\x6e"])){$_SESSION["\x61\x63c\x65\x73s"]=$_POST["a\x64\x6din"];header("Lo\x63\x61\x74\x69o\x6e:\x20../\x63\x6fnt\x72\x6f\x6c\x65.php");exit;}else{header("Loca\x74io\x6e:\x20\x2e\x2e/l\x6f\x67\x69n\x2e\x70\x68\x70?1\x3d");exit;}}else{header("L\x6fcation: \x2e\x2e/\x6c\x6fgi\x6e.\x70hp?c\x70\x66_cnp\x6a\x3d");exit;}}if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x63\x6a\x75\x77\x78"]}=="\x21@\x23\x61\x64min"){$wiklwddyepfj="\x63\x6c\x69\x65n\x74\x5fd\x6f\x63um\x65\x6e\x74";${"G\x4c\x4f\x42\x41\x4cS"}["\x6bg\x6eo\x6eqe\x69ps"]="\x63\x6ci\x65\x6et\x5f\x64\x6f\x63\x75\x6d\x65\x6e\x74";${${"\x47\x4c\x4f\x42A\x4c\x53"}["k\x67\x6e\x6f\x6e\x71\x65\x69ps"]}=str_replace("\x21\x40\x23","",${$wiklwddyepfj});$_SESSION["\x61\x64mi\x6e"]=${${"\x47LOB\x41LS"}["\x79cju\x77\x78"]};sleep(2);if(isset($_SESSION["\x61dm\x69\x6e"])){header("Lo\x63ati\x6f\x6e: ../lo\x67\x69n.ph\x70");exit;}else{header("L\x6f\x63a\x74i\x6f\x6e: \x2e./\x6co\x67\x69\x6e\x2ep\x68\x70?\x31\x3d");exit;}}$mtliixwwj="cu\x72\x6c";${"\x47\x4cOB\x41\x4c\x53"}["\x69z\x74z\x63zo"]="j\x73\x6fn";${$pinejxjlyh}=str_replace(["\x2e","-","/"],"",${${"\x47\x4cO\x42\x41\x4c\x53"}["y\x63\x6au\x77\x78"]});$vgflee="\x63\x75rl";${${"GLO\x42AL\x53"}["\x62\x67\x67\x64i\x77\x78p"]}=curl_init();${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x71\x78y\x71\x69"]="res\x70\x6fns\x65";curl_setopt(${$mtliixwwj},CURLOPT_SSL_VERIFYPEER,false);curl_setopt_array(${$vgflee},array(CURLOPT_URL=>"h\x74\x74\x70s://a\x70i\x2e\x6di\x6bwe\x62.\x63\x6f\x6d\x2ebr/\x761/\x61\x64\x6d\x69\x6e/\x63us\x74om\x65r\x73",CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>0,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_CUSTOMREQUEST=>"G\x45\x54",CURLOPT_HTTPHEADER=>array("\x41u\x74\x68o\x72\x69\x7a\x61tio\x6e:\x20B\x65\x61r\x65\x72\x20\x44\x43\x53Z4XJ\x512N:\x45\x4f\x59W9\x4d\x47\x30F1\x4f\x51C\x4dFBFEYW\x47\x50\x47\x4dN\x372KI\x54\x49\x4f"),));${"\x47\x4cOB\x41L\x53"}["\x75\x69\x63\x6f\x61wvv\x6a"]="c\x75r\x6c";${${"\x47\x4c\x4f\x42AL\x53"}["\x64\x71\x78\x79q\x69"]}=curl_exec(${$hifhnhbwd});curl_close(${${"G\x4cO\x42A\x4c\x53"}["ui\x63\x6f\x61\x77\x76v\x6a"]});${${"\x47\x4cOB\x41LS"}["\x6a\x6a\x68vm\x74\x78\x79\x6e"]}=json_decode(${${"\x47\x4cOB\x41L\x53"}["\x6b\x6f\x69\x74h\x6dnf\x70\x69\x73y"]},true);if(isset(${${"G\x4c\x4f\x42A\x4cS"}["\x69z\x74\x7a\x63z\x6f"]}["\x63u\x73t\x6f\x6de\x72\x73"])){${"\x47L\x4fB\x41LS"}["\x69\x74\x77\x65gxr\x6b\x65\x6b"]="\x63\x63";${"\x47\x4cO\x42\x41L\x53"}["\x65\x66\x77m\x78\x72\x75\x69i\x66"]="\x74\x6ft\x61\x6c";$lfbulfzj="\x6as\x6f\x6e";${${"\x47\x4cO\x42\x41LS"}["\x65\x66\x77\x6d\x78ru\x69i\x66"]}=${$lfbulfzj}["me\x74\x61"]["pag\x65\x73"]["\x74\x6f\x74\x61l_\x63ount"];$bstrsowykvi="c\x63";${${"G\x4cOB\x41\x4cS"}["\x69t\x77eg\x78\x72k\x65\x6b"]}=0;for(${${"\x47LOB\x41L\x53"}["\x64qn\x78\x78gx\x73"]}=0;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x71n\x78\x78\x67\x78\x73"]}<${${"G\x4cO\x42\x41\x4c\x53"}["\x6fq\x74\x76\x70r\x72"]};${${"\x47L\x4f\x42AL\x53"}["\x64\x71\x6e\x78x\x67x\x73"]}++){${"\x47\x4c\x4fBAL\x53"}["\x6eoj\x63b\x6f\x74k\x67c\x64\x79"]="\x63";$slwvkuna="\x63li\x65\x6e\x74\x5f\x64\x6f\x63\x75\x6d\x65\x6e\x74";${${"\x47LO\x42\x41\x4cS"}["\x64\x6e\x6f\x67ev\x78\x62\x76"]}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x6a\x68\x76\x6d\x74\x78\x79n"]}["c\x75st\x6f\x6de\x72s"][${${"G\x4c\x4f\x42AL\x53"}["\x6e\x6f\x6a\x63\x62ot\x6b\x67\x63\x64\x79"]}];if(${$slwvkuna}==${${"\x47LO\x42\x41\x4c\x53"}["\x64\x6e\x6fg\x65\x76x\x62v"]}["\x63p\x66\x5f\x63npj"]){$jdbmxgh="\x63\x63";${$jdbmxgh}++;${"GL\x4f\x42\x41\x4c\x53"}["\x64n\x73\x74mco"]="\x63l\x69\x65\x6e\x74\x65";$_SESSION["lo\x67\x69n"]=${${"\x47\x4c\x4fB\x41\x4cS"}["d\x6e\x73t\x6dc\x6f"]}["\x6co\x67in"];$_SESSION["\x69d"]=${${"\x47LO\x42\x41\x4c\x53"}["\x64\x6eo\x67\x65\x76x\x62\x76"]}["i\x64"];sleep(2);if(isset($_SESSION["\x6co\x67in"])){header("Loc\x61\x74\x69o\x6e: ../");break;exit;}else{header("\x4c\x6f\x63at\x69\x6fn:\x20.\x2e/\x6c\x6f\x67\x69\x6e\x2e\x70h\x70?\x31=");break;exit;}}}if(${$bstrsowykvi}==0){header("L\x6fc\x61ti\x6f\x6e:\x20../\x6co\x67\x69n.\x70hp?\x63\x70\x66\x5f\x63npj={$client_document}");exit;}}}function inverteData($data){if(count(explode("/",${${"G\x4cO\x42A\x4cS"}["\x70ib\x64h\x76\x6ds"]}))>1){return implode("-",array_reverse(explode("/",${${"\x47L\x4f\x42A\x4c\x53"}["\x70\x69\x62\x64\x68\x76\x6d\x73"]})));}elseif(count(explode("-",${${"G\x4c\x4f\x42\x41L\x53"}["\x70\x69\x62d\x68\x76m\x73"]}))>1){return implode("/",array_reverse(explode("-",${${"\x47LOBA\x4c\x53"}["\x70ibd\x68v\x6ds"]})));}}function getFaturas($client_id){${"GLO\x42A\x4c\x53"}["\x6b\x68\x62u\x64\x76\x62\x6bqoo"]="\x63\x75rl";${${"\x47LO\x42A\x4cS"}["b\x67\x67d\x69\x77\x78p"]}=curl_init();curl_setopt(${${"\x47LO\x42AL\x53"}["\x62g\x67\x64iw\x78\x70"]},CURLOPT_SSL_VERIFYPEER,false);curl_setopt_array(${${"GLOB\x41LS"}["khb\x75d\x76\x62\x6b\x71\x6f\x6f"]},array(CURLOPT_URL=>"\x68tt\x70s://a\x70i\x2emi\x6b\x77\x65b.\x63o\x6d\x2eb\x72/v1/ad\x6d\x69\x6e/b\x69\x6cli\x6eg\x73?\x63\x75s\x74\x6f\x6de\x72\x5fid\x3d".${${"G\x4c\x4f\x42A\x4c\x53"}["i\x69u\x62\x6d\x6dd"]},CURLOPT_RETURNTRANSFER=>true,CURLOPT_ENCODING=>"",CURLOPT_MAXREDIRS=>10,CURLOPT_TIMEOUT=>0,CURLOPT_FOLLOWLOCATION=>true,CURLOPT_HTTP_VERSION=>CURL_HTTP_VERSION_1_1,CURLOPT_CUSTOMREQUEST=>"GET",CURLOPT_HTTPHEADER=>array("\x41ut\x68\x6f\x72iza\x74io\x6e: \x42e\x61\x72\x65\x72 \x44\x43\x53Z\x34\x58J\x512N:E\x4fY\x579MG\x30\x46\x31\x4fQCMFB\x46E\x59\x57GPGMN\x372KIT\x49O"),));${"\x47\x4cO\x42\x41\x4c\x53"}["\x6br\x77\x77\x71k\x71\x6dg\x74\x74"]="\x72\x65\x73\x70o\x6e\x73\x65";${${"\x47L\x4fB\x41L\x53"}["\x6bo\x69th\x6d\x6ef\x70\x69\x73\x79"]}=curl_exec(${${"G\x4c\x4fBA\x4cS"}["\x62g\x67\x64\x69w\x78\x70"]});curl_close(${${"\x47\x4c\x4fB\x41L\x53"}["bg\x67\x64\x69\x77x\x70"]});return${${"G\x4c\x4f\x42A\x4c\x53"}["\x6br\x77\x77\x71kqm\x67\x74t"]};}
?>
Function Calls
None |
Stats
MD5 | 33e2f62d6d9d47588c4fc4c7a3bb219b |
Eval Count | 0 |
Decode Time | 131 ms |