/* Decoded by unphp.net */ 2){${"GLOBALS"}["tonymcaounue"]="url_nome_peca";$rxrxnrtep="url_nome_parte";$bppcygb="url_nome_parte";${"GLOBALS"}["rejxltbvyqn"]="url_nome_peca";${$rxrxnrtep}=strtolower(strtourl(${${"GLOBALS"}["uckodyijuvxt"]}["parte"]));${${"GLOBALS"}["tonymcaounue"]}=strtolower(strtourl(${${"GLOBALS"}["uckodyijuvxt"]}["nome"]));if(${${"GLOBALS"}["rejxltbvyqn"]}==tratarInput($_GET[${$bppcygb}])||(empty(tratarInput($_GET[${${"GLOBALS"}["okpdhnvde"]}]))&&${${"GLOBALS"}["uckodyijuvxt"]}["ordem"]==1)){${"GLOBALS"}["emefvudojp"]="url_nome_parte";${"GLOBALS"}["gitcmdwgcplw"]="url_nome_parte";${"peca_inicial_".${${"GLOBALS"}["emefvudojp"]}}=${${"GLOBALS"}["ilmdrmvf"]};$yaepyixbv="valInfoModalidade";${"peca_".${${"GLOBALS"}["okpdhnvde"]}}=${${"GLOBALS"}["gitcmdwgcplw"]};${"nome_".${${"GLOBALS"}["okpdhnvde"]}}=${$yaepyixbv}["parte"];}}else{$xomyijmy="valInfoModalidade";$pcqwmyy="valInfoModalidade";$yswywhihta="valInfoModalidade";${"peca_".strtolower(strtourl(${$pcqwmyy}["parte"]))}=strtolower(strtourl(${$yswywhihta}["nome"]));${"nome_".strtolower(strtourl(${${"GLOBALS"}["uckodyijuvxt"]}["parte"]))}=${$xomyijmy}["nome"];}}if((int)${${"GLOBALS"}["zmrklydthksz"]}>0){${"GLOBALS"}["bxvxcfdktl"]="sqlColecao";${${"GLOBALS"}["bxvxcfdktl"]}="SELECT * FROM colecao c WHERE c.ativo = 1 AND c.id = ".(int)${${"GLOBALS"}["zmrklydthksz"]}." AND c.idtipo_modalidade = ".(int)${${"GLOBALS"}["efiaxyu"]}." LIMIT 1;";${"GLOBALS"}["ekupiydvr"]="connection";${${"GLOBALS"}["ocfowmojxr"]}=mysqli_query(${${"GLOBALS"}["ekupiydvr"]},${${"GLOBALS"}["dodpvcq"]});${${"GLOBALS"}["eoumeyjq"]}=mysqli_fetch_array(${${"GLOBALS"}["ocfowmojxr"]});}${${"GLOBALS"}["nvbixikk"]}="modalidade=".${${"GLOBALS"}["efiaxyu"]};${${"GLOBALS"}["dzyxqxidugs"]}.="&esporte=".${${"GLOBALS"}["uolnyefbk"]};${$bvspyisxg};if(isset(${${"GLOBALS"}["dlmvblodt"]}))${$ideocrsms}.="&superior=".${${"GLOBALS"}["mxpygndcbw"]};if(isset(${${"GLOBALS"}["hpsnekuywyi"]}))${${"GLOBALS"}["epuexqsftbn"]}.="&inicial_superior=".${$usfhrfopg};if(empty(${$utdjtsipi})||${${"GLOBALS"}["eoumeyjq"]}["mostrar_somente_camisa"]==0){$wzfoznspqxm="peca_inferior";${"GLOBALS"}["oenpyoqpjhvh"]="peca_acessorio";${"GLOBALS"}["xhqserokt"]="pecas";$sqtyqnnzokb="peca_inferior";${"GLOBALS"}["ctnmedtwgtfm"]="pecas";if(isset(${$wzfoznspqxm}))${${"GLOBALS"}["xhqserokt"]}.="&inferior=".${$sqtyqnnzokb};$cnkxkyrv="peca_inicial_inferior";if(isset(${$cnkxkyrv}))${${"GLOBALS"}["epuexqsftbn"]}.="&inicial_inferior=".${${"GLOBALS"}["cjjocuw"]};if(isset(${${"GLOBALS"}["cpxluqp"]}))${${"GLOBALS"}["ctnmedtwgtfm"]}.="&acessorio=".${${"GLOBALS"}["oenpyoqpjhvh"]};}${${"GLOBALS"}["qijmer"]}.=${$xpseklpeg};${$qpasuyfmt}.=(${$kdxdloffg}>0)?"&inicial=".${$axhyuiioo}:"";${${"GLOBALS"}["iglaoyywvxh"]}.=(${$uxrzwjnyt}>0)?"&simulacao=".${${"GLOBALS"}["fvlapyvpz"]}:"";${${"GLOBALS"}["woquxtjmffkh"]}.=(${${"GLOBALS"}["fjqwrpi"]}>0)?"&goleiro=".${${"GLOBALS"}["fqbuniisikq"]}:"";${${"GLOBALS"}["nvbixikk"]}.=!empty(${$pvqsfyepsk})?"&colecao=".${${"GLOBALS"}["zmrklydthksz"]}:"";${${"GLOBALS"}["jrfosdznqd"]}.=empty(${${"GLOBALS"}["qigbqothobr"]})?"":"&escolher_mockup=1";${${"GLOBALS"}["nvbixikk"]}.=${$ypvgki};${${"GLOBALS"}["nvbixikk"]}.=(!empty($_SESSION["idCliente"]))?"&logado=".$_SESSION["idCliente"]:"";${${"GLOBALS"}["nvbixikk"]}.=(!isset($_COOKIE["aviso_cookie"]))?"&cookie=0":"";${${"GLOBALS"}["gxmbuqfs"]}.=empty($_GET["testes_modal"])?"":"&testes_modal=".$_GET["testes_modal"];${${"GLOBALS"}["nvbixikk"]}.="&v=".${${"GLOBALS"}["venughhtui"]}["versao"];${${"GLOBALS"}["vbjxnxqd"]}=md5(${${"GLOBALS"}["toyketdrdbn"]}).".html";if(is_file("template/temp/".${${"GLOBALS"}["vbjxnxqd"]})&&!$_GET["testes_modal"]){echo file_get_contents("template/temp/".${${"GLOBALS"}["vbjxnxqd"]});exit;}else{$jhtgpmj="info_simu";${"GLOBALS"}["asedbiwnlc"]="valConfiguracoes";$kmluvtby="fonte";${${"GLOBALS"}["ycoalfgcjjb"]}=(stripos(${${"GLOBALS"}["soedikyiopz"]},"3d"))?"3d":"2d";${"GLOBALS"}["rknrwbkmf"]="valBuscaCores";${"GLOBALS"}["rmnylhtn"]="tipo_modelagem";${"GLOBALS"}["ocqhhow"]="valBuscaModalidade";${"GLOBALS"}["kpktmuk"]="modalidade_slug";$sthruxsj="valCoresMeiao";${"GLOBALS"}["cpvivstbyct"]="tpl";${${"GLOBALS"}["cpvivstbyct"]}=new Template("template/".${${"GLOBALS"}["ycoalfgcjjb"]}."/simulador.html");mysqli_data_seek(${${"GLOBALS"}["xfwrqokxohy"]},0);$uahsbekqdjq="link";${"GLOBALS"}["pxvmpxsjxwk"]="valCores";$pucpchlym="esporte_path_diretorio";$cqcspjosj="esporte_path_diretorio";$xgisqb="esporte_path";$scmprbnw="sqlBuscaCores";while(${${"GLOBALS"}["uslrjn"]}=mysqli_fetch_array(${${"GLOBALS"}["xfwrqokxohy"]})){${"GLOBALS"}["eyqyfk"]="valBuscaModalidade";${"GLOBALS"}["sjeuasjxr"]="totInfoModalidade";if(${${"GLOBALS"}["eyqyfk"]}["mostrar_pecas"]==1&&${${"GLOBALS"}["sjeuasjxr"]}>2){$tpl->NOME_PECA=${${"GLOBALS"}["uslrjn"]}["nome"];$qjhxpvchini="valInfoModalidade2";$tpl->PECA=strtolower(strtourl(${${"GLOBALS"}["uslrjn"]}["nome"]));$tpl->block("BLOCK_PECA_".strtoupper(strtourl(${$qjhxpvchini}["parte"])));}}$sdypniiswhe="fundo";$xsrhgag="esporte_path_diretorio";${"GLOBALS"}["cotnxixovr"]="nome_temp";${"GLOBALS"}["sghieoikf"]="peca_superior";${"GLOBALS"}["tjybktqxoic"]="fonte";${"GLOBALS"}["eilppuiclp"]="nome_acessorio";${"GLOBALS"}["ytnwwgx"]="valFonte";$tpl->ESPORTE_PATH=${$xgisqb};$upnerik="buscaCores";$tpl->PECA_SUPERIOR=${${"GLOBALS"}["sghieoikf"]};$lqxinbq="sqlBuscaCores";$zipyuot="fundo";$pbytymh="valConfiguracoes";$tpl->NOME_SUPERIOR=${${"GLOBALS"}["kdhhqgjr"]};$geymixwmg="filtro_colecao_fonte";$xylljxlh="modalidade";$tpl->PECA_INFERIOR=${${"GLOBALS"}["unytbvlfl"]};$tpl->NOME_INFERIOR=${${"GLOBALS"}["rimvpudd"]};$plqvclrhy="valConfiguracoes";$tpl->PECA_ACESSORIO=${${"GLOBALS"}["cpxluqp"]};$tpl->NOME_ACESSORIO=${${"GLOBALS"}["eilppuiclp"]};$tpl->INFO_SIMU=${$jhtgpmj};$jixowdz="esporte_path_diretorio";if(${$uahsbekqdjq}=="invalido")$tpl->block("BLOCK_MSG_INVALIDO");$kcstbwatxf="modalidade_linha";if(${${"GLOBALS"}["ocqhhow"]}["rotacionar"]==0&&${${"GLOBALS"}["kuvktnvshi"]}["verso"]==1){${"GLOBALS"}["oegdmr"]="tipo_modelagem";${"GLOBALS"}["qfyiuvk"]="goleiro";$kihbnnzkegj="tipo_modelagem";if(${${"GLOBALS"}["qfyiuvk"]}==1&&${${"GLOBALS"}["oegdmr"]}=="2d")$tpl->block("BLOCK_MOSTRAR_LUVAS");if(${$kihbnnzkegj}=="2d")$tpl->block("BLOCK_MOSTRAR_FRENTE_VERSO");}${"GLOBALS"}["nikgwhwqfo"]="esporte_path_diretorio";if(${${"GLOBALS"}["kuvktnvshi"]}["colecao"]>1){${"GLOBALS"}["jtiivhccbsf"]="totColecoes";$iqfbjwelypyf="resColecoes";${"GLOBALS"}["rpuerxtk"]="filtro_colecao_fonte";$dxdjwnvv="modalidade";$ijzrkheog="connection";${${"GLOBALS"}["tbfowhm"]}="SELECT c.id, c.nome, c.file_imagem FROM colecao c WHERE c.ativo = 1 AND c.idtipo_modalidade = ".(int)${$dxdjwnvv}." ORDER BY c.ordem ASC;";$xemfxlcdfl="filtro_colecao_fonte";${"GLOBALS"}["nrlcxvdyha"]="colecao";${$iqfbjwelypyf}=mysqli_query(${$ijzrkheog},${${"GLOBALS"}["tbfowhm"]});${${"GLOBALS"}["jtiivhccbsf"]}=mysqli_num_rows(${${"GLOBALS"}["gtlywmhxp"]});if(${${"GLOBALS"}["bgoglbicq"]}>0){${"GLOBALS"}["oofwtvqkc"]="resColecoes";${"GLOBALS"}["frvurjaudp"]="valColecoes";while(${${"GLOBALS"}["frvurjaudp"]}=mysqli_fetch_array(${${"GLOBALS"}["oofwtvqkc"]})){$eszjlvttcan="valColecoes";$tpl->ID_COLECAO=${${"GLOBALS"}["lwhzlxgjevkl"]}["id"];$tpl->NOME_COLECAO=${${"GLOBALS"}["lwhzlxgjevkl"]}["nome"];$tpl->IMAGEM_COLECAO=${$eszjlvttcan}["file_imagem"];$tpl->GOLEIRO=$_GET["goleiro"];$tpl->block("EXIBIR_COLECAO");}$asejjrp="colecao";if(empty(${$asejjrp}))$tpl->block("POPUP_COLECOES_INICIALMENTE");$tpl->block("POPUP_COLECOES");}$sicamqpy="filtro_colecao_fonte";${${"GLOBALS"}["rpuerxtk"]}="";$jygoinlim="filtro_colecao_fonte";if((int)${${"GLOBALS"}["nrlcxvdyha"]}>0){$gkijsoqzl="i";${${"GLOBALS"}["yswkmctbcq"]}=unserialize(${${"GLOBALS"}["eoumeyjq"]}["lista_fonte"]);for(${$gkijsoqzl}=0;${${"GLOBALS"}["bkwbhxgm"]}0)${${"GLOBALS"}["vwltvms"]}.=" OR ";${$iqhkom}.=" f.id = ".${${"GLOBALS"}["yswkmctbcq"]}[${${"GLOBALS"}["bkwbhxgm"]}];}}if(!empty(${$jygoinlim}))${$xemfxlcdfl}="(".${$sicamqpy}.") ";}${$zipyuot}="img/fundos/".${${"GLOBALS"}["dkhlxlwvqdf"]}.".webp";$ydwegigtt="valConfiguracoes";$tpl->FUNDO=${$sdypniiswhe};if(${${"GLOBALS"}["fqbuniisikq"]}==1&&${${"GLOBALS"}["rmnylhtn"]}=="2d"){$tpl->block("LUVAS_FRENTE");$tpl->block("LUVAS_COSTAS");}if($_SESSION["idCliente"]>0&&${$pbytymh}["armario"]==1){${"GLOBALS"}["dtmbrnhru"]="totBuscaArmario";$tpl->NOME_CLIENTE=$_SESSION["nomeCliente"];$newsjlkp="buscaArmario";$nxgroce="totBuscaArmario";$tpl->block("BLOCK_SAUDACAO");${"GLOBALS"}["wshusm"]="sqlBuscaArmario";$tpl->block("BLOCK_LOGOUT");${"GLOBALS"}["morrytmubect"]="sqlBuscaArmario";$tpl->block("BLOCK_SIMULACOES_SALVAS");${"GLOBALS"}["cnqusu"]="buscaArmario";${$newsjlkp}="SELECT a_s.id, a_s.nome, a_s.info, a_s.preview, a.idcliente, a.idtipo_modalidade FROM armario_simulacao AS a_s LEFT JOIN armario AS a ON a.id = a_s.idarmario WHERE a.idcliente = ".$_SESSION["idCliente"]." AND a.idtipo_modalidade = ".${${"GLOBALS"}["efiaxyu"]};${"GLOBALS"}["sbyiigkbr"]="connection";$wxrbmo="s";${${"GLOBALS"}["wshusm"]}=mysqli_query(${${"GLOBALS"}["sbyiigkbr"]},${${"GLOBALS"}["cnqusu"]})or die(mysqli_error(${${"GLOBALS"}["dsffmx"]}));${"GLOBALS"}["pxbhpm"]="connection";$mtmqwqggva="resCliente";$fldxjvrm="resCliente";${${"GLOBALS"}["dtmbrnhru"]}=mysqli_num_rows(${${"GLOBALS"}["morrytmubect"]});${$wxrbmo}=1;$tpl->NUM_SIMULACOES=${$nxgroce};$tpl->block("BLOCK_SIMULACOES");while(${${"GLOBALS"}["veupks"]}=mysqli_fetch_array(${${"GLOBALS"}["wxgplvpxx"]})){${"GLOBALS"}["wqxdwpufmgu"]="valBuscaArmario";$jteyjjdm="valBuscaArmario";${"GLOBALS"}["yfbahepncos"]="s";$tpl->ID_SIMULACAO=${${"GLOBALS"}["wqxdwpufmgu"]}["id"];${"GLOBALS"}["oqyusps"]="s";$tpl->IMG_SIMULACAO=${$jteyjjdm}["preview"];$tpl->NOME_SIMULACAO=${${"GLOBALS"}["oqyusps"]}." - ".${${"GLOBALS"}["veupks"]}["nome"];$tpl->block("BLOCK_SIMULACAO");${${"GLOBALS"}["yfbahepncos"]}++;}$tpl->block("BLOCK_ARMARIO");${"GLOBALS"}["qahwsnv"]="sqlCliente";${${"GLOBALS"}["qyiboqrz"]}="SELECT nome, email, telefone, cidade, estado FROM cliente WHERE id = ".$_SESSION["idCliente"];${$fldxjvrm}=mysqli_query(${${"GLOBALS"}["dsffmx"]},${${"GLOBALS"}["qahwsnv"]})or die(mysqli_error(${${"GLOBALS"}["pxbhpm"]}));while(${${"GLOBALS"}["hwikghh"]}=mysqli_fetch_array(${$mtmqwqggva})){${"GLOBALS"}["fqyximo"]="valCliente";$sdtnuippmkho="valCliente";$qiclro="valCliente";${"GLOBALS"}["lpeeubwdkp"]="valCliente";$jdozvvk="valCliente";$qkwuwunpz="valCliente";$tpl->NOME_MEMBRO=${$sdtnuippmkho}["nome"];$tpl->EMAIL_MEMBRO=${${"GLOBALS"}["hwikghh"]}["email"];if(${${"GLOBALS"}["lpeeubwdkp"]}["cidade"]!="")$tpl->TELEFONE_MEMBRO=${$qkwuwunpz}["telefone"];if(${$jdozvvk}["cidade"]!="")$tpl->CIDADE_MEMBRO=${${"GLOBALS"}["fqyximo"]}["cidade"];if(${$qiclro}["estado"]!="")$tpl->ESTADO_MEMBRO=${${"GLOBALS"}["hwikghh"]}["estado"];}}${${"GLOBALS"}["bkwbhxgm"]}=0;$jddubwc="totFonte";$jfxctqcufev="esporte_path_diretorio";${${"GLOBALS"}["pxvmpxsjxwk"]}=array();${${"GLOBALS"}["uogkeql"]}=array();${$sthruxsj}=array();$manfsqj="sqlFonte";$hxurii="esporte_path_diretorio";${${"GLOBALS"}["qhuwhplsuw"]}="SELECT cor.* FROM cor INNER JOIN cor_modalidade ON cor_modalidade.idcor = cor.id AND cor_modalidade.idtipo_modalidade = ".${$xylljxlh}." AND cor.ativo = 1 ORDER BY cor.ordem ASC;";${${"GLOBALS"}["cfqsskcgheu"]}=mysqli_query(${${"GLOBALS"}["dsffmx"]},${$upnerik});${"GLOBALS"}["spikcb"]="valConfiguracoes";${${"GLOBALS"}["afvrcahjom"]}=mysqli_num_rows(${$lqxinbq});$kdmpyujsvej="tipo_modelagem";$jeauncbjloye="sqlFonte";while(${${"GLOBALS"}["rknrwbkmf"]}=mysqli_fetch_array(${$scmprbnw})){${"GLOBALS"}["ybwbpjbcy"]="valBuscaCores";${"GLOBALS"}["xkgfsxoj"]="valBuscaCores";${"GLOBALS"}["lmhmfuax"]="valBuscaCores";$uomgnflmejfl="valBuscaCores";$nfflbtw="valBuscaCores";$tpl->I=${${"GLOBALS"}["bkwbhxgm"]};${"GLOBALS"}["njonye"]="valBuscaCores";${"GLOBALS"}["srhhchjctc"]="valCores";$tpl->ID_COR=${${"GLOBALS"}["ybwbpjbcy"]}["id"];$ptsxsplylwgq="valBuscaCores";$jmupgwkdyfr="mostrar_textos";$tpl->ALT_COR=strtourl(${${"GLOBALS"}["xkgfsxoj"]}["nome"]);$tpl->NOME_COR=${$nfflbtw}["nome"];if(strstr(${${"GLOBALS"}["njonye"]}["codigo"],"#")==false)${${"GLOBALS"}["bdkwqgi"]}["codigo"]="#".${${"GLOBALS"}["bdkwqgi"]}["codigo"];$tpl->COD_COR=${$uomgnflmejfl}["codigo"];$tpl->block("CAIXA_COR_SUPERIOR");$tpl->block("CAIXA_COR_INFERIOR");$wypwonh="i";${"GLOBALS"}["sefwaskp"]="valBuscaCores";if(${${"GLOBALS"}["bdkwqgi"]}["meiao"]==1&&(strstr(${${"GLOBALS"}["bdkwqgi"]}["nome"],"Mescla")==false)){${"GLOBALS"}["tpmvji"]="valCoresMeiao";${"GLOBALS"}["wuhibsd"]="valBuscaCores";$tpl->block("CAIXA_COR_ACESSORIO");array_push(${${"GLOBALS"}["tpmvji"]},${${"GLOBALS"}["wuhibsd"]}["nome"]);}if(${${"GLOBALS"}["sefwaskp"]}["gola"]==1&&(strstr(${${"GLOBALS"}["bdkwqgi"]}["nome"],"Mescla")==false)&&${${"GLOBALS"}["ycoalfgcjjb"]}=="2d"){${"GLOBALS"}["icsmbbbn"]="valBuscaCores";$tpl->block("CAIXA_COR_GOLA");array_push(${${"GLOBALS"}["uogkeql"]},${${"GLOBALS"}["icsmbbbn"]}["nome"]);}if(${$jmupgwkdyfr}==1&&(strstr(${$ptsxsplylwgq}["nome"],"Mescla")==false)){$tpl->block("CAIXA_COR_TEXTO");$tpl->block("CAIXA_COR_BORDA_TEXTO");}${$wypwonh}++;array_push(${${"GLOBALS"}["srhhchjctc"]},${${"GLOBALS"}["lmhmfuax"]}["nome"]);}${${"GLOBALS"}["dcfifekzl"]}=${$pucpchlym};switch(${${"GLOBALS"}["soedikyiopz"]}){case"social_feminino_3-4":${${"GLOBALS"}["kpktmuk"]}="social_feminino_mc";break;case"social_masculino_3-4":${${"GLOBALS"}["dcfifekzl"]}="social_masculino_mc";break;}if(${$kdmpyujsvej}=="2d")$tpl->block(strtoupper(str_replace("-","",${${"GLOBALS"}["dcfifekzl"]}))."_STYLE");if(${$jfxctqcufev}=="mascara"){$tpl->block("BLOCK_COR_PELE");}if(${${"GLOBALS"}["ycoalfgcjjb"]}=="2d"&&(strrpos(${${"GLOBALS"}["soedikyiopz"]},"futebol")!==false||strrpos(${$xsrhgag},"handebol")!==false||strrpos(${$cqcspjosj},"volei")!==false||strrpos(${$hxurii},"artes")!==false||strrpos(${${"GLOBALS"}["nikgwhwqfo"]},"basquete")!==false||strrpos(${$jixowdz},"agasalho")!==false)){$tpl->block("BLOCK_ICONES_NOME");}if(${${"GLOBALS"}["ycoalfgcjjb"]}=="3d"){${"GLOBALS"}["rjtjfldo"]="modalidade";$iofhjhyuhj="golas";$bstvdr="golas";${$iofhjhyuhj}="SELECT file_icone, nome FROM gola WHERE idtipo_modalidade = ".${${"GLOBALS"}["rjtjfldo"]}." AND ativo = 1 ORDER BY ordem ASC;";$utdrjzbwojtd="connection";${${"GLOBALS"}["fuutobyes"]}=mysqli_query(${$utdrjzbwojtd},${$bstvdr});while(${${"GLOBALS"}["vcjimex"]}=mysqli_fetch_array(${${"GLOBALS"}["fuutobyes"]})){$fserrkyly="resGolas";$ukgemsnzevkc="resGolas";$tpl->TIPO=str_replace("gola_","",strtourl(${$ukgemsnzevkc}["nome"]));$tpl->NOME_GOLA=${${"GLOBALS"}["vcjimex"]}["nome"];$tpl->FILE_ICONE=${$fserrkyly}["file_icone"];$tpl->block("BLOCK_GOLA_ICONE");}}function base64DataUri($sFile){${"GLOBALS"}["ekhoabbujvpl"]="handle";${"GLOBALS"}["siervzsrm"]="sExt";$jopiitgli="ddata";$cmtbhxkybkb="sBase64";${${"GLOBALS"}["siervzsrm"]}=strtolower(substr(strrchr(${${"GLOBALS"}["flgvadr"]},"."),1));$cchmyegtxgch="sExt";${"GLOBALS"}["wtixvdjvd"]="sFile";${"GLOBALS"}["nlcgel"]="sMimeType";switch(${$cchmyegtxgch}){case"eot":${${"GLOBALS"}["nlcgel"]}="application/vnd.ms-fontobject";break;case"otf":case"ttf":case"woff":${${"GLOBALS"}["dvxcypsf"]}="application/font-woff";break;default:exit("Invalid extension file!");}${$cmtbhxkybkb}=base64_encode(file_get_contents(${${"GLOBALS"}["flgvadr"]}));${${"GLOBALS"}["ekhoabbujvpl"]}=fopen(${${"GLOBALS"}["wtixvdjvd"]},"rb");${"GLOBALS"}["ewqhvsrrrn"]="data";${${"GLOBALS"}["ewqhvsrrrn"]}=fread(${${"GLOBALS"}["mphleqxfz"]},filesize(${${"GLOBALS"}["flgvadr"]}));${$jopiitgli}=base64_encode(${${"GLOBALS"}["dqwllmx"]});return"data:$sMimeType;charset=utf-8;base64,$sBase64";}${${"GLOBALS"}["yumyunveehhf"]}="SELECT f.file_arquivo, f.titulo, f.ordem, f.tamanho_fonte, f.nome, f.numero FROM fonte f";${$kmluvtby}.=" WHERE f.linha_".${$kcstbwatxf}." = 1";if(!empty(${$geymixwmg}))${${"GLOBALS"}["tjybktqxoic"]}.=" AND ".${${"GLOBALS"}["nlhcdoqk"]};${"GLOBALS"}["yuvxnkq"]="valConfiguracoes";${${"GLOBALS"}["yumyunveehhf"]}.=" ORDER BY ordem ASC;";${${"GLOBALS"}["hsboinaf"]}=mysqli_query(${${"GLOBALS"}["dsffmx"]},${${"GLOBALS"}["yumyunveehhf"]})or die(mysqli_error(${${"GLOBALS"}["dsffmx"]}));${${"GLOBALS"}["lmpqqx"]}=mysqli_num_rows(${$manfsqj});while(${${"GLOBALS"}["ytnwwgx"]}=mysqli_fetch_array(${$jeauncbjloye})){${"GLOBALS"}["bmgrzeb"]="valFonte";${"GLOBALS"}["uytdoceq"]="valFonte";$fudafswyqpn="valFonte";${"GLOBALS"}["tkbtnhz"]="sBase64";$tpl->I_FONTE=${$fudafswyqpn}["ordem"];$qxofjmyb="valFonte";$hiynrhtlofn="valFonte";$tpl->NOME_FONTE=${${"GLOBALS"}["rphhsidh"]}["titulo"];$tpl->TAMANHO_FONTE=${$qxofjmyb}["tamanho_fonte"];$tpl->CAMINHO_FONTE=PASTA_RAIZ_SIMULADOR."/imagens/fonte/".${$hiynrhtlofn}["file_arquivo"];${${"GLOBALS"}["flgvadr"]}=(file_exists("imagens/fonte/".${${"GLOBALS"}["uytdoceq"]}["file_arquivo"]))?base64DataUri("imagens/fonte/".${${"GLOBALS"}["bmgrzeb"]}["file_arquivo"]):"";${${"GLOBALS"}["tkbtnhz"]}=${${"GLOBALS"}["flgvadr"]};$lfmotdrfo="valFonte";$mcejhlo="sBase64";$tpl->DATA_FONTE=${$mcejhlo};if(${$lfmotdrfo}["nome"]==1){$tinhjjql="tipo_modelagem";$rqkwklgppw="tipo_modelagem";if(${$rqkwklgppw}=="2d"){$eklweohsq="mostrar_textos";(${$eklweohsq}==1)?$tpl->block("SELECT_FONTE"):$tpl->block("LISTA_FONTES_NOME_FRENTE");}if(${$tinhjjql}=="3d"&&${${"GLOBALS"}["ebfpbnan"]}==1){$tpl->block("SELECT_FONTE");}$tpl->block("LISTA_FONTES_NOME_VERSO");}if(${${"GLOBALS"}["rphhsidh"]}["numero"]==1){$tpl->block("LISTA_FONTES_NUMERO");$tpl->block("LISTA_FONTES_NUMERO_INFERIOR");}$tpl->block("FONTES_CADASTRADAS");}if(${${"GLOBALS"}["ebfpbnan"]}==1){$tpl->block("BLOCK_SELECT_FONTES");$tpl->block("CAIXA_BORDA_TEXTO");}if(${$jddubwc}<2){$tpl->block("REMOVER_SETAS_FONTES");}if(${${"GLOBALS"}["venughhtui"]}["compartilhar_preview"]==1){$tpl->block("BLOCK_MOSTRAR_ADDTHIS");}if(!empty(trim(${${"GLOBALS"}["asedbiwnlc"]}["tags_head"]))){${"GLOBALS"}["leorcpt"]="valConfiguracoes";$tpl->TAGS_HEAD=${${"GLOBALS"}["leorcpt"]}["tags_head"];$tpl->block("BLOCK_TAGS_HEAD");}if(!empty(trim(${${"GLOBALS"}["venughhtui"]}["tags_body"]))){$dgkutuifh="valConfiguracoes";$tpl->TAGS_BODY=${$dgkutuifh}["tags_body"];$tpl->block("BLOCK_TAGS_BODY");}${${"GLOBALS"}["xkcvthwr"]}=array("-",".","(",")"," ");if(${${"GLOBALS"}["spikcb"]}["armario"]==1){if($_SESSION["idCliente"]==0){$tpl->block("MOSTRAR_LOGIN");$tpl->block("MOSTRAR_LOGIN_MOBILE");}$tpl->block("SALVAR_ARMARIO");$tpl->block("MOSTRAR_SIMULACOES");$tpl->block("MOSTRAR_SIMULACOES_MOBILE");}if(!empty(trim(${$ydwegigtt}["telefone"]))){$wprselcmg="tirar";$wccisyb="valConfiguracoes";$tpl->TELEFONE=${$wccisyb}["telefone"];$tpl->NUM_TELEFONE=str_replace(${$wprselcmg},"",${${"GLOBALS"}["venughhtui"]}["telefone"]);$tpl->block("MOSTRAR_TELEFONE");$tpl->block("MOSTRAR_TELEFONE_MOBILE");}if(!empty(trim(${${"GLOBALS"}["venughhtui"]}["whatsapp"]))){$xntcrbbqn="valConfiguracoes";$tpl->TELEFONE_2=${$xntcrbbqn}["whatsapp"];$tpl->NUM_WHATSAPP=str_replace(${${"GLOBALS"}["xkcvthwr"]},"",${${"GLOBALS"}["venughhtui"]}["whatsapp"]);$tpl->block("MOSTRAR_TELEFONE_2");$tpl->block("MOSTRAR_TELEFONE_2_MOBILE");$tpl->block("MOSTRAR_ATENDIMENTO_WHATSAPP");$tpl->block("MOSTRAR_ATENDIMENTO_WHATSAPP_2");}if((!empty(trim(${${"GLOBALS"}["yuvxnkq"]}["telefone"]))||!empty(trim(${$plqvclrhy}["whatsapp"])))){$tpl->block("MOSTRAR_TELEFONES");}$tpl->PASTA_RAIZ_SIMULADOR=PASTA_RAIZ_SIMULADOR;if(!empty(PASTA_RAIZ_SITE))$tpl->PASTA_RAIZ_SITE=PASTA_RAIZ_SITE;$tpl->NOME_SITE=${${"GLOBALS"}["venughhtui"]}["nome_site"];$tpl->DESCRICAO_SITE=${${"GLOBALS"}["venughhtui"]}["descricao"];$tpl->VERSAO=${${"GLOBALS"}["venughhtui"]}["versao"];if(!isset($_COOKIE["aviso_cookie"])){$tpl->block("AVISO_COOKIES");setcookie("aviso_cookie","1",time()+(3600*24*30*12),"/","",0);}file_put_contents("template/temp/".${${"GLOBALS"}["cotnxixovr"]},$tpl->parse());$tpl->show();mysqli_close(${${"GLOBALS"}["dsffmx"]});} ?>