/* Decoded by unphp.net */ conexao=pdo();$this->tabela=${${"GLOBALS"}["ppsjiec"]};}public function results($all=false){${${"GLOBALS"}["rsgxkpnuz"]}=$this->conexao->query("SELECT * FROM {$this->tabela} {$this->where} order by id desc");if($sql->rowCount()==0){return false;}if(${${"GLOBALS"}["taajtbfip"]}==false){return$sql->fetch(\PDO::FETCH_OBJ);}else{return$sql->fetchAll(\PDO::FETCH_OBJ);}}public function deleteById($id){${${"GLOBALS"}["rsgxkpnuz"]}=$this->conexao->prepare("DELETE FROM {$this->tabela} WHERE `id` = ?");$sql->execute([${${"GLOBALS"}["cihkxkgv"]}]);return$sql->rowCount();}public function resultsById($id){${"GLOBALS"}["ynhvrno"]="id";${${"GLOBALS"}["ynhvrno"]}=filter_var(${${"GLOBALS"}["cihkxkgv"]},FILTER_SANITIZE_STRING);$this->setWhere("`id` = '$id'");return$this->results();}public function insertDB($dados=[]){${"GLOBALS"}["ktmxbce"]="dados";$jdldlalaryg="key";${"GLOBALS"}["eisuvite"]="values";${"GLOBALS"}["dnnzbcmyqky"]="keys";${"GLOBALS"}["hnkjxcr"]="sql_formater";if(empty(${${"GLOBALS"}["zsgrqux"]})){return false;}$achkykget="new_keys";${"GLOBALS"}["qwxzxnvrkpx"]="pads";${${"GLOBALS"}["dnnzbcmyqky"]}=array_keys(${${"GLOBALS"}["zsgrqux"]});${${"GLOBALS"}["lebqcsjali"]}=array_values(${${"GLOBALS"}["ktmxbce"]});${$achkykget}=[];$ollzifrvs="keys";${${"GLOBALS"}["qwxzxnvrkpx"]}=array_pad([],count(${${"GLOBALS"}["auxhjgsctx"]}),"?");foreach(${$ollzifrvs} as${$jdldlalaryg}){$ebihgepskp="key";$akdekolanqfp="key";$jnhmokts="new_keys";${$akdekolanqfp}="`$key`";array_push(${$jnhmokts},${$ebihgepskp});}${${"GLOBALS"}["chnfmcntmto"]}="INSERT INTO `{$this->tabela}` (".implode(",",${${"GLOBALS"}["bopepw"]}).") VALUES (".implode(",",${${"GLOBALS"}["ufbnqved"]}).")";${${"GLOBALS"}["rsgxkpnuz"]}=$this->conexao->prepare(${${"GLOBALS"}["hnkjxcr"]});$sql->execute(${${"GLOBALS"}["eisuvite"]});return$sql->rowCount();}public static function crudStatic($tabela){${"GLOBALS"}["ffqtamvvxp"]="crud";${${"GLOBALS"}["lectwswdrk"]}=new crud(${${"GLOBALS"}["ppsjiec"]});return${${"GLOBALS"}["ffqtamvvxp"]};}public function setWhere($where):void{$this->where="WHERE ".${${"GLOBALS"}["bfoeoxgfm"]};}public function isVIP(){return 1;}} ?>conexao=pdo();$this->tabela=${${"GLOBALS"}["ppsjiec"]};}public function results($all=false){${${"GLOBALS"}["rsgxkpnuz"]}=$this->conexao->query("SELECT * FROM {$this->tabela} {$this->where} order by id desc");if($sql->rowCount()==0){return false;}if(${${"GLOBALS"}["taajtbfip"]}==false){return$sql->fetch(\PDO::FETCH_OBJ);}else{return$sql->fetchAll(\PDO::FETCH_OBJ);}}public function deleteById($id){${${"GLOBALS"}["rsgxkpnuz"]}=$this->conexao->prepare("DELETE FROM {$this->tabela} WHERE `id` = ?");$sql->execute([${${"GLOBALS"}["cihkxkgv"]}]);return$sql->rowCount();}public function resultsById($id){${"GLOBALS"}["ynhvrno"]="id";${${"GLOBALS"}["ynhvrno"]}=filter_var(${${"GLOBALS"}["cihkxkgv"]},FILTER_SANITIZE_STRING);$this->setWhere("`id` = '$id'");return$this->results();}public function insertDB($dados=[]){${"GLOBALS"}["ktmxbce"]="dados";$jdldlalaryg="key";${"GLOBALS"}["eisuvite"]="values";${"GLOBALS"}["dnnzbcmyqky"]="keys";${"GLOBALS"}["hnkjxcr"]="sql_formater";if(empty(${${"GLOBALS"}["zsgrqux"]})){return false;}$achkykget="new_keys";${"GLOBALS"}["qwxzxnvrkpx"]="pads";${${"GLOBALS"}["dnnzbcmyqky"]}=array_keys(${${"GLOBALS"}["zsgrqux"]});${${"GLOBALS"}["lebqcsjali"]}=array_values(${${"GLOBALS"}["ktmxbce"]});${$achkykget}=[];$ollzifrvs="keys";${${"GLOBALS"}["qwxzxnvrkpx"]}=array_pad([],count(${${"GLOBALS"}["auxhjgsctx"]}),"?");foreach(${$ollzifrvs} as${$jdldlalaryg}){$ebihgepskp="key";$akdekolanqfp="key";$jnhmokts="new_keys";${$akdekolanqfp}="`$key`";array_push(${$jnhmokts},${$ebihgepskp});}${${"GLOBALS"}["chnfmcntmto"]}="INSERT INTO `{$this->tabela}` (".implode(",",${${"GLOBALS"}["bopepw"]}).") VALUES (".implode(",",${${"GLOBALS"}["ufbnqved"]}).")";${${"GLOBALS"}["rsgxkpnuz"]}=$this->conexao->prepare(${${"GLOBALS"}["hnkjxcr"]});$sql->execute(${${"GLOBALS"}["eisuvite"]});return$sql->rowCount();}public static function crudStatic($tabela){${"GLOBALS"}["ffqtamvvxp"]="crud";${${"GLOBALS"}["lectwswdrk"]}=new crud(${${"GLOBALS"}["ppsjiec"]});return${${"GLOBALS"}["ffqtamvvxp"]};}public function setWhere($where):void{$this->where="WHERE ".${${"GLOBALS"}["bfoeoxgfm"]};}public function isVIP(){return 1;}} ?>