/* Decoded by unphp.net */ ERROR 404Entre em contato conosco e envie detalhes.");}protegePagina("user");if(isset($_GET["ler"])){$aocumlpeth="ler";${"GLOBALS"}["ufxvgrtxsno"]="tipo";$vavnoyquhxqs="ler";$vbicfhm="tipo";$awifkxuc="ler";${"GLOBALS"}["tadysda"]="ler";$sfdxzhs="tipo";$vgufkwa="ler";${"GLOBALS"}["bfzrkkm"]="ler";$qwhogszm="ler";${"GLOBALS"}["loxetuppnkn"]="ler";${"GLOBALS"}["nmwtpljrz"]="ler";switch($_GET["ler"]){case"all":${$qwhogszm}="tudo";${$sfdxzhs}="tudo";break;case"others":${${"GLOBALS"}["aofmryz"]}="others";${${"GLOBALS"}["ufxvgrtxsno"]}="outros";break;case"fatu":${${"GLOBALS"}["aofmryz"]}="fatu";${${"GLOBALS"}["rdjeptkep"]}="fatura";break;case"accs":${${"GLOBALS"}["aofmryz"]}="contas";${${"GLOBALS"}["rdjeptkep"]}="conta";break;case"reve":${${"GLOBALS"}["tadysda"]}="revenda";${${"GLOBALS"}["rdjeptkep"]}="revenda";break;case"subreve":${$aocumlpeth}="subrevenda";${${"GLOBALS"}["rdjeptkep"]}="subrevenda";break;case"usuario":${${"GLOBALS"}["aofmryz"]}="usuario";${${"GLOBALS"}["rdjeptkep"]}="usuario";break;case"chamados":${${"GLOBALS"}["aofmryz"]}="chamados";${$vbicfhm}="chamados";break;default:${$awifkxuc}="nada";break;}${"GLOBALS"}["ivedgiuiuv"]="ler";${"GLOBALS"}["upqpcix"]="ler";$dxwdgrlge="ler";if(${${"GLOBALS"}["nmwtpljrz"]}=="nada"){}elseif(${${"GLOBALS"}["loxetuppnkn"]}=="tudo"){$oqyfwwxl="SQLnoti";${"GLOBALS"}["vdyokxrkkbbm"]="SQLnoti";$ionkyrhhim="SQLnoti";${${"GLOBALS"}["vdyokxrkkbbm"]}="select * from notificacoes where lido='nao' and admin='nao' and usuario_id='".$_SESSION["usuarioID"]."'";${$ionkyrhhim}=$conn->prepare(${$oqyfwwxl});$SQLnoti->execute();${${"GLOBALS"}["unmwyj"]}=$SQLnoti->rowCount();if(${${"GLOBALS"}["unmwyj"]}>0){$kbhgviwvkps="tudo";while(${$kbhgviwvkps}=$SQLnoti->fetch()){$myeisiam="tudo";${"GLOBALS"}["adzdtc"]="SQLnotiler";${${"GLOBALS"}["rlzmcgbr"]}="update notificacoes set lido='sim' where id='".${$myeisiam}["id"]."'";${${"GLOBALS"}["adzdtc"]}=$conn->prepare(${${"GLOBALS"}["rlzmcgbr"]});$SQLnotiler->execute();}}}elseif(${${"GLOBALS"}["bfzrkkm"]}=="others"){$qekujzstcb="SQLnoti";${"GLOBALS"}["zqvciggonc"]="SQLnoti";${"GLOBALS"}["kylcndykw"]="totalnoti";$tplisebi="totalnoti";${$qekujzstcb}="select * from notificacoes where lido='nao' and tipo='outros' and admin='nao' and usuario_id='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["ojcbejpzgk"]}=$conn->prepare(${${"GLOBALS"}["zqvciggonc"]});$SQLnoti->execute();${$tplisebi}=$SQLnoti->rowCount();if(${${"GLOBALS"}["kylcndykw"]}>0){while(${${"GLOBALS"}["umvbqmfzdbx"]}=$SQLnoti->fetch()){$ipuplur="SQLnotiler";$ryeedwobr="tudo";$mkqdiau="SQLnotiler";${$mkqdiau}="update notificacoes set lido='sim' where id='".${$ryeedwobr}["id"]."'";${$ipuplur}=$conn->prepare(${${"GLOBALS"}["rlzmcgbr"]});$SQLnotiler->execute();}}}elseif(${$dxwdgrlge}=="fatu"){$mqlalinnrc="SQLnoti";$pyjsqtq="totalnoti";${${"GLOBALS"}["ojcbejpzgk"]}="select * from notificacoes where lido='nao' and tipo='fatura' and admin='nao' and usuario_id='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["ojcbejpzgk"]}=$conn->prepare(${$mqlalinnrc});$SQLnoti->execute();${${"GLOBALS"}["unmwyj"]}=$SQLnoti->rowCount();if(${$pyjsqtq}>0){while(${${"GLOBALS"}["umvbqmfzdbx"]}=$SQLnoti->fetch()){${${"GLOBALS"}["rlzmcgbr"]}="update notificacoes set lido='sim' where id='".${${"GLOBALS"}["umvbqmfzdbx"]}["id"]."'";$lxlbgsesyuhf="SQLnotiler";$pgknfvnz="SQLnotiler";${$pgknfvnz}=$conn->prepare(${$lxlbgsesyuhf});$SQLnotiler->execute();}}}elseif(${${"GLOBALS"}["upqpcix"]}=="contas"){$geaqegc="SQLnoti";${"GLOBALS"}["pjxabjokpue"]="totalnoti";${"GLOBALS"}["tagkxmg"]="SQLnoti";${${"GLOBALS"}["ojcbejpzgk"]}="select * from notificacoes where lido='nao' and tipo='conta' and admin='nao' and usuario_id='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["tagkxmg"]}=$conn->prepare(${$geaqegc});$SQLnoti->execute();${${"GLOBALS"}["pjxabjokpue"]}=$SQLnoti->rowCount();if(${${"GLOBALS"}["unmwyj"]}>0){${"GLOBALS"}["ewdrokn"]="tudo";while(${${"GLOBALS"}["ewdrokn"]}=$SQLnoti->fetch()){${"GLOBALS"}["nfwyduyos"]="tudo";$lxnauboj="SQLnotiler";${$lxnauboj}="update notificacoes set lido='sim' where id='".${${"GLOBALS"}["nfwyduyos"]}["id"]."'";${${"GLOBALS"}["rlzmcgbr"]}=$conn->prepare(${${"GLOBALS"}["rlzmcgbr"]});$SQLnotiler->execute();}}}elseif(${$vavnoyquhxqs}=="revenda"){$cdjxucgmcz="SQLnoti";$bydwmeco="totalnoti";${${"GLOBALS"}["ojcbejpzgk"]}="select * from notificacoes where lido='nao' and tipo='revenda' and admin='nao' and usuario_id='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["ojcbejpzgk"]}=$conn->prepare(${$cdjxucgmcz});$SQLnoti->execute();${${"GLOBALS"}["unmwyj"]}=$SQLnoti->rowCount();if(${$bydwmeco}>0){while(${${"GLOBALS"}["umvbqmfzdbx"]}=$SQLnoti->fetch()){${"GLOBALS"}["ioxkxervlun"]="tudo";${"GLOBALS"}["oinruyd"]="SQLnotiler";${${"GLOBALS"}["oinruyd"]}="update notificacoes set lido='sim' where id='".${${"GLOBALS"}["ioxkxervlun"]}["id"]."'";${${"GLOBALS"}["rlzmcgbr"]}=$conn->prepare(${${"GLOBALS"}["rlzmcgbr"]});$SQLnotiler->execute();}}}elseif(${${"GLOBALS"}["aofmryz"]}=="subrevenda"){${"GLOBALS"}["hjfeag"]="totalnoti";${${"GLOBALS"}["ojcbejpzgk"]}="select * from notificacoes where lido='nao' and tipo='subrevenda' and admin='nao' and usuario_id='".$_SESSION["usuarioID"]."'";${"GLOBALS"}["twgcyh"]="SQLnoti";${"GLOBALS"}["hjdurenbp"]="SQLnoti";${${"GLOBALS"}["twgcyh"]}=$conn->prepare(${${"GLOBALS"}["hjdurenbp"]});$SQLnoti->execute();${${"GLOBALS"}["hjfeag"]}=$SQLnoti->rowCount();if(${${"GLOBALS"}["unmwyj"]}>0){while(${${"GLOBALS"}["umvbqmfzdbx"]}=$SQLnoti->fetch()){${"GLOBALS"}["sodljwwbqos"]="SQLnotiler";$yhvzbncn="SQLnotiler";${"GLOBALS"}["rexmxykmgjz"]="tudo";${"GLOBALS"}["kgxvuff"]="SQLnotiler";${${"GLOBALS"}["kgxvuff"]}="update notificacoes set lido='sim' where id='".${${"GLOBALS"}["rexmxykmgjz"]}["id"]."'";${${"GLOBALS"}["sodljwwbqos"]}=$conn->prepare(${$yhvzbncn});$SQLnotiler->execute();}}}elseif(${$vgufkwa}=="usuario"){${"GLOBALS"}["pdvxjsgxnyr"]="SQLnoti";${"GLOBALS"}["nrovjnwcft"]="SQLnoti";$qouansyudkj="totalnoti";${${"GLOBALS"}["pdvxjsgxnyr"]}="select * from notificacoes where lido='nao' and tipo='subrevenda' and admin='nao' and usuario_id='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["ojcbejpzgk"]}=$conn->prepare(${${"GLOBALS"}["nrovjnwcft"]});$SQLnoti->execute();${$qouansyudkj}=$SQLnoti->rowCount();if(${${"GLOBALS"}["unmwyj"]}>0){$fxcbyxiaavs="tudo";while(${$fxcbyxiaavs}=$SQLnoti->fetch()){${${"GLOBALS"}["rlzmcgbr"]}="update notificacoes set lido='sim' where id='".${${"GLOBALS"}["umvbqmfzdbx"]}["id"]."'";$vaalsfvqhwp="SQLnotiler";${$vaalsfvqhwp}=$conn->prepare(${${"GLOBALS"}["rlzmcgbr"]});$SQLnotiler->execute();}}}elseif(${${"GLOBALS"}["ivedgiuiuv"]}=="chamados"){${"GLOBALS"}["yudvqgd"]="totalnoti";${"GLOBALS"}["ixgdmve"]="SQLnoti";${${"GLOBALS"}["ixgdmve"]}="select * from notificacoes where lido='nao' and tipo='chamados' and admin='nao' and usuario_id='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["ojcbejpzgk"]}=$conn->prepare(${${"GLOBALS"}["ojcbejpzgk"]});$SQLnoti->execute();${${"GLOBALS"}["unmwyj"]}=$SQLnoti->rowCount();if(${${"GLOBALS"}["yudvqgd"]}>0){$vyxwlirwo="tudo";while(${$vyxwlirwo}=$SQLnoti->fetch()){$tupxsiyp="SQLnotiler";${${"GLOBALS"}["rlzmcgbr"]}="update notificacoes set lido='sim' where id='".${${"GLOBALS"}["umvbqmfzdbx"]}["id"]."'";${${"GLOBALS"}["rlzmcgbr"]}=$conn->prepare(${$tupxsiyp});$SQLnotiler->execute();}}}}else{${${"GLOBALS"}["rdjeptkep"]}="tudo";}${"GLOBALS"}["lvyuxciw"]="SQLUPUser";echo "

Últimas Notificações

";if(${${"GLOBALS"}["rdjeptkep"]}=="tudo"){$cynbtry="usuario";${${"GLOBALS"}["dceteqqpq"]}="SELECT * FROM notificacoes where usuario_id = '".${$cynbtry}["id_usuario"]."' and admin='nao' ORDER BY id desc LIMIT 15";}else{${${"GLOBALS"}["dceteqqpq"]}="SELECT * FROM notificacoes where usuario_id = '".${${"GLOBALS"}["ogvnlqgyqif"]}["id_usuario"]."' and tipo='".${${"GLOBALS"}["rdjeptkep"]}."' and admin='nao' ORDER BY id desc LIMIT 15";}${${"GLOBALS"}["dceteqqpq"]}=$conn->prepare(${${"GLOBALS"}["lvyuxciw"]});$SQLUPUser->execute();if(($SQLUPUser->rowCount())>0){while(${${"GLOBALS"}["wwxbmvgx"]}=$SQLUPUser->fetch()){${"GLOBALS"}["ffssmnincsf"]="tipo";${"GLOBALS"}["qcyddhqydodo"]="info";${"GLOBALS"}["nnoxqbmhhs"]="class";$vijenruc="noti";${"GLOBALS"}["bsslknleg"]="class";$tpovoiiofl="info";${"GLOBALS"}["wcwojpscvmbk"]="datacriado";$ruqfeth="noti";${"GLOBALS"}["dpmsiq"]="class";$fsvddn="noti";${"GLOBALS"}["dtqddahsk"]="tipo";$sinhmm="noti";$zyzypbxesm="noti";${"GLOBALS"}["wogyspwdkz"]="tipo";$gwqxfjp="class";switch(${${"GLOBALS"}["wwxbmvgx"]}["tipo"]){case"fatura":${${"GLOBALS"}["rdjeptkep"]}="Fatura";${${"GLOBALS"}["cofsmrsvu"]}="label label-success";${${"GLOBALS"}["wcosruxud"]}="Visualizar";break;case"conta":${${"GLOBALS"}["dtqddahsk"]}="Conta";${${"GLOBALS"}["dpmsiq"]}="label label-warning";${${"GLOBALS"}["wcosruxud"]}=${$zyzypbxesm}["info_outros"];break;case"revenda":${${"GLOBALS"}["rdjeptkep"]}="Revenda";${$gwqxfjp}="label label-danger";${${"GLOBALS"}["qcyddhqydodo"]}=${${"GLOBALS"}["wwxbmvgx"]}["info_outros"];break;case"subrevenda":${${"GLOBALS"}["rdjeptkep"]}="Revenda-SUB";${${"GLOBALS"}["nnoxqbmhhs"]}="label label-primary";${${"GLOBALS"}["wcosruxud"]}="Sobre a Revenda";break;case"usuario":${${"GLOBALS"}["ffssmnincsf"]}="Usúario VPN";${${"GLOBALS"}["bsslknleg"]}="label label-primary";${$tpovoiiofl}="Sobre Suas Contas";break;case"outros":${${"GLOBALS"}["rdjeptkep"]}="Outros";${${"GLOBALS"}["cofsmrsvu"]}="label label-primary";${${"GLOBALS"}["wcosruxud"]}=${$sinhmm}["info_outros"];break;case"chamados":${${"GLOBALS"}["rdjeptkep"]}="Chamado/Suporte";${${"GLOBALS"}["cofsmrsvu"]}="label label-primary";${${"GLOBALS"}["wcosruxud"]}=${$fsvddn}["info_outros"];break;default:${${"GLOBALS"}["rdjeptkep"]}="erro";break;}${${"GLOBALS"}["wcwojpscvmbk"]}=${$ruqfeth}["data"];echo " ";if(${${"GLOBALS"}["wwxbmvgx"]}["linkfatura"]=="Admin"){echo " ";}else{if(${${"GLOBALS"}["rdjeptkep"]}=="Fatura"){echo " ";}else{${"GLOBALS"}["vxzhcba"]="class";echo " ";}}echo " ";}}else{echo " ";}echo "
ID TIPO DATA|HORA INFORMAÇOES DETALHES
";echo${$vijenruc}["id"];echo " ";echo${${"GLOBALS"}["wogyspwdkz"]};echo " ";echo date("d/m/Y H:i:s",strtotime(${${"GLOBALS"}["esinxrkheys"]}));echo "Administração";echo${${"GLOBALS"}["wcosruxud"]};echo "";echo${${"GLOBALS"}["wcosruxud"]};echo "";echo${${"GLOBALS"}["wwxbmvgx"]}["mensagem"];echo "
Nenhuma notificação encontrada
"; ?>