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 goto mpl2c; Kijbg: if ($_POST["\162\x65\163\x75\154\x74"] == "\x72\x65\163\145\x74..

Decoded Output download

<?php 
 goto mpl2c; Kijbg: if ($_POST["result"] == "reset_ips_key_license") { getDBConnection(); $dataid = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.license.resetips")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } $verifySQL = $connx->prepare("SELECT * FROM `{$dbb_license}` WHERE `id` = ?;"); $verifySQL->execute(array($dataid)); if ($verifySQL->RowCount() > 0) { $verify = $verifySQL->fetch(PDO::FETCH_ASSOC); $elements = explode("#", $verify["ip"]); $count = count($elements) - 1; $updateSQL = $connx->prepare("UPDATE `{$dbb_license}` SET `ip`= NULL, `activity` = NULL WHERE `id` = ?;"); $updateSQL->execute(array($verify["id"])); echo json_encode(array("type" => "success", "title" => "Complete reset of IPs!", "subtitle" => "The IPS have been cleaned with a total of " . $count . " removed.")); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohhh", "subtitle" => "This license does not exist!")); closeDBConnection(); return; } } goto jGOos; QcmoQ: if ($_POST["result"] == "token_status") { getDBConnection(); $tokenSQL = $connx->prepare("SELECT * FROM `{$dbb_token}` WHERE `token` = ?;"); $tokenSQL->execute(array($_COOKIE["dbb_token"])); $token = $tokenSQL->fetch(PDO::FETCH_ASSOC); if (TOKEN_STATUS) { if ($tokenSQL->RowCount() == 0) { session_destroy(); } else { $updateSQL = $connx->prepare("UPDATE `{$dbb_token}` SET `activity`= NOW() WHERE `id` = ?;"); $updateSQL->execute(array($token["id"])); } } echo json_encode(array("type" => "success", "title" => "Token Updated!", "subtitle" => '')); closeDBConnection(); return; } goto CYnh0; RoTqX: if ($_POST["result"] == "testVerifyHtaccess") { echo "Verified"; } goto VDL2l; wgds9: if ($_POST["result"] == "erase_user") { getDBConnection(); $dataid = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.user.erase")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $deleteSQL = $connx->prepare("DELETE FROM `{$dbb_user}` WHERE `id` = ?;"); $deleteSQL->execute(array($dataid)); echo json_encode(array("type" => "success", "title" => "Correctly!", "subtitle" => '')); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto rJMTT; RvDri: if ($_POST["result"] == "logout_all_devices") { getDBConnection(); $user = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.clear.devices")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } $userSQL = $connx->prepare("SELECT * FROM `{$dbb_user}` WHERE `id` = ?;"); $userSQL->execute(array($user)); $user = $userSQL->fetch(PDO::FETCH_ASSOC); $tokenSQL = $connx->prepare("SELECT * FROM `{$dbb_token}` WHERE `user` = ?;"); $tokenSQL->execute(array($user["id"])); if ($tokenSQL->RowCount() > 0) { $updateSQL = $connx->prepare("DELETE FROM `{$dbb_token}` WHERE `user` = ? AND `token` != ?;"); $updateSQL->execute(array($user["id"], $_COOKIE["dbb_token"])); echo json_encode(array("type" => "success", "title" => '', "subtitle" => "All user sessions have been logged out.")); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Offline!", "subtitle" => "There is no user session open.")); closeDBConnection(); return; } } goto BarcR; T0lAv: if ($_POST["result"] == "product_edit") { getDBConnection(); $product_id = $_POST["product_id"]; $id_name = $_POST["id_name"]; $name = $_POST["name"]; $description = $_POST["description"]; $price = $_POST["price"]; $version = $_POST["version"]; $icon = $_POST["icon"]; $tebex = !TEBEX_PAYMENT ? NULL : $_POST["tebex_product"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.product.create")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($id_name) or empty($name) or empty($version) or empty($price)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } if (empty($tebex) and TEBEX_PAYMENT) { echo json_encode(array("type" => lang($messages, "error", "tebex_empty", "type"), "title" => lang($messages, "error", "tebex_empty", "title"), "subtitle" => lang($messages, "error", "tebex_empty", "subtitle"))); return; } try { if (hasExist("dbb_product", "id", $product_id)) { if (empty($icon)) { $trimmedText = trim($name); $firstLetter = strtoupper(substr($trimmedText, 0, 1)); $spacePosition = strpos($trimmedText, " "); if ($spacePosition !== false) { $lastLetter = strtoupper(substr($trimmedText, $spacePosition + 1, 1)); } else { $lastLetter = strtoupper(substr($trimmedText, -1)); } $result = $firstLetter . $lastLetter; $icon = $result; $icon_type = 0; $icon_bg = "icon-blue-suave-text"; } else { $icon = $icon; $icon_type = 1; $icon_bg = "icon-blue-bg"; } $description = empty($description) ? NULL : $description; $insertSQL = $connx->prepare("UPDATE `{$dbb_product}` SET `icon_bg` = ?, `icon_type` = ?, `icon`= ?,`id_name`= ?,`name`= ?,`description`= ?,`price`= ?,`version`= ?,`tebex`= ? WHERE `id` = ?;"); $insertSQL->execute(array($icon_bg, $icon_type, $icon, $id_name, $name, $description, $price, $version, $tebex, $product_id)); if (TEBEX_PAYMENT) { $insertSQLs = $connx->prepare("UPDATE `{$dbb_product_actions}` SET `data`= ? WHERE `product` = ?;"); $insertSQLs->execute(array($_COOKIE["product_actions"], $product_id)); } setcookie("product_actions", '', time() - 3600, "/"); echo json_encode(array("type" => lang($messages, "product", "content", "alert", "edited_product", "type"), "title" => lang($messages, "product", "content", "alert", "edited_product", "title"), "subtitle" => lang($messages, "product", "content", "alert", "edited_product", "subtitle"), "id" => $product_id)); closeDBConnection(); return; } else { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto BFaGU; Q4b7k: if ($_GET["result"] == "downloadFiles") { getDBConnection(); $name = $_GET["file"]; $secret = $_GET["secret"]; $code = $_GET["code"]; $filename = pathinfo($name, PATHINFO_FILENAME); $extension = pathinfo($name, PATHINFO_EXTENSION); $new_name = $filename . "_" . randomCodes(8) . "." . $extension; $codeSQL = $connx->prepare("SELECT * FROM `{$dbb_code}` WHERE `code` = ?;"); $codeSQL->execute(array($code)); $code = $codeSQL->fetch(PDO::FETCH_ASSOC); if ($codeSQL->RowCount() > 0) { $path = "../parent/upload/" . $secret; if ($code["type"] == "download" and $code["status"] == 2) { if (file_exists($path)) { header("Cache-Control: public"); header("Content-Description: File Transfer"); header("Content-Disposition: attachment; filename=" . $new_name); header("Content-Transfer-Encoding: binary"); $insertSQL = $connx->prepare("INSERT INTO `{$dbb_download}`(`user`, `file`, `code`) VALUES (?, ?, ?);"); $insertSQL->execute(array($_SESSION["dbb_user"]["id"], $new_name, $code["code"])); $download_id = $connx->lastInsertId(); $download_id = $download_id . "#" . $new_name; $updateSQL = $connx->prepare("UPDATE `{$dbb_code}` SET `addons` = ?, `status` = '1', `use` = ? WHERE `{$dbb_code}`.`id` = ?;"); $updateSQL->execute(array($download_id, $_SESSION["dbb_user"]["id"], $code["id"])); readfile($path); echo "<script> history.back(-1); </script>"; closeDBConnection(); die; } else { echo "File not found."; } } else { echo "Has been used."; } } echo "<script> history.back(-1); </script>"; closeDBConnection(); } goto laT8v; pijGY: if ($_POST["result"] == "testTableList") { try { $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); $connx->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException $e) { echo json_encode(array("success" => 0, "message" => "Error on connection of MySQL.")); return; } if (DB_TYPE == "MYSQL") { $tables = array($dbb_user, $dbb_token, $dbb_product_update, $dbb_product_actions, $dbb_product, $dbb_logs, $dbb_license, $dbb_history_ip, $dbb_group_user, $dbb_group_permission, $dbb_group, $dbb_download, $dbb_code, $dbb_basket_payment, $dbb_basket_checkout, $dbb_basket); $type = 1; $message = "In good time, all the tables are correct!"; foreach ($tables as $table) { try { $sqlVerify = $connx->prepare("DESCRIBE `{$table}`"); $sqlVerify->execute(); $tables_status[$table] = 1; } catch (PDOException $e) { $type = 2; $tables_status[$table] = 0; $message = "There are still tables that were not loaded successfully. To continue, insert the necessary tables or click on the "insert tables" button."; break; } } } else { $type = 1; $message = "In good time, all the tables are correct!"; } echo json_encode(array("success" => $type, "message" => $message) + $tables_status); return; } goto GSU65; yKXEH: if ($_POST["result"] == "file_upload") { $uploadDir = __DIR__ . "/../parent/upload/"; $fileName = $_FILES["file"]["name"]; $fileTmpName = $_FILES["file"]["tmp_name"]; $fileSize = $_FILES["file"]["size"]; $fileError = $_FILES["file"]["error"]; $fileExt = strtolower(pathinfo($fileName, PATHINFO_EXTENSION)); $allowedExts = array("rar", "zip", "png", "gif", "pdf", "doc", "docx", "txt"); if (in_array($fileExt, $allowedExts)) { if ($fileError === 0) { $uniqueFileName = uniqid("file_", true) . "." . $fileExt; $uploadPath = $uploadDir . $uniqueFileName; if (move_uploaded_file($fileTmpName, $uploadPath)) { echo json_encode(array("type" => "success", "name" => $fileName, "size" => $fileSize, "path" => $uploadPath, "unique_name" => $uniqueFileName)); return; } else { echo json_encode(array("type" => lang($messages, "product", "content", "alert", "files", "upload", "error", "type"), "title" => lang($messages, "product", "content", "alert", "files", "upload", "error", "title"), "subtitle" => lang($messages, "product", "content", "alert", "files", "upload", "error", "subtitle"))); return; } } else { echo json_encode(array("type" => lang($messages, "product", "content", "alert", "files", "upload", "error", "type"), "title" => lang($messages, "product", "content", "alert", "files", "upload", "error", "title"), "subtitle" => lang($messages, "product", "content", "alert", "files", "upload", "error", "subtitle"))); return; } } else { echo json_encode(array("type" => lang($messages, "product", "content", "alert", "files", "upload", "extension", "type"), "title" => lang($messages, "product", "content", "alert", "files", "upload", "extension", "title"), "subtitle" => lang($messages, "product", "content", "alert", "files", "upload", "extension", "subtitle"))); return; } } goto AzpWA; r636S: if ($_POST["result"] == "erase_group") { getDBConnection(); $dataid = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.group.erase")) { echo json_encode(array("type" => "error", "title" => "Insufficient permissions", "subtitle" => '')); return; } if (empty($dataid)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $groupSQL = $connx->prepare("SELECT * FROM `{$dbb_group}` WHERE `id` = ?;"); $groupSQL->execute(array($dataid)); $group = $groupSQL->fetch(PDO::FETCH_ASSOC); if ($groupSQL->RowCount() > 0) { $user_count = hasCount("dbb_group_user", "group", $group["id"]); $perms_count = hasCount("dbb_group_permission", "group", $group["id"]); if ($group["default"]) { echo json_encode(array("type" => "error", "title" => "This group is default.", "subtitle" => "It cannot be deleted unless you change the default setting to another group.")); return; } $deleteSQL = $connx->prepare("DELETE FROM `{$dbb_group}` WHERE `id` = ?;"); $deleteSQL->execute(array($dataid)); $deleteUserSQL = $connx->prepare("DELETE FROM `{$dbb_group_user}` WHERE `group` = ?;"); $deleteUserSQL->execute(array($dataid)); $deletePermissionSQL = $connx->prepare("DELETE FROM `{$dbb_group_permission}` WHERE `group` = ?;"); $deletePermissionSQL->execute(array($dataid)); } else { echo json_encode(array("type" => "error", "title" => "Does not exist.", "subtitle" => "The group does not exist to perform this action.")); closeDBConnection(); return; } echo json_encode(array("type" => "success", "title" => "Successful deletion!", "subtitle" => "The " . $group["name"] . " with " . $user_count . " users and " . $perms_count . " permissions has been removed.")); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto soRa3; tO6Ae: if ($_POST["result"] == "clonLicense") { getDBConnection(); $dataid = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.license.clone")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid)) { echo json_encode(array("type" => "error", "title" => "Ohh, there are problems!", "subtitle" => "Problems occurred when trying to clone the license. Try again!")); return; } $verifySQL = $connx->prepare("SELECT * FROM `{$dbb_license}` WHERE `id` = ?;"); $verifySQL->execute(array($dataid)); if ($verifySQL->RowCount() > 0) { $verify = $verifySQL->fetch(PDO::FETCH_ASSOC); $addons = explode("#", $verify["addons"]); if (!$addons[9]) { echo json_encode(array("type" => "error", "title" => "Ohhh", "subtitle" => "The license does not support cloning.")); closeDBConnection(); return; } $new_key = randomCodes(5) . "-" . randomCodes(5) . "-" . randomCodes(5) . "-" . randomCodes(5) . "-" . randomCodes(5); $cloneSQL = $connx->prepare("INSERT INTO `{$dbb_license}`(`client`, `key`, `product`, `expire`, `ip`, `activity`, `status`, `addons`, `custom_addons`) 
\x9	\x9VALUES (?, ?, ?, ?, NULL, NULL, ?, ?, ?);"); $cloneSQL->execute(array($verify["client"], $new_key, $verify["product"], $verify["expire"], $verify["status"], $verify["addons"], $verify["custom_addons"])); $dataid = $connx->lastInsertId(); $expire_date = $verify["expire"] == "-1" ? "Never" : date("Y-m-d h:i A", $verify["expire"]); $fields = array(array("name" => "`\xf0\237\247\232\xe2\200\215` Customer", "value" => "<@" . $verify["client"] . ">", "inline" => true), array("name" => "`\360\237\x93\205` Expire", "value" => "`" . $expire_date . "`", "inline" => true), array("name" => "`\360\x9f\221\xae`\xe2\200\x8d Made by", "value" => "<@" . userDev("udid", $_SESSION["dbb_user"]["id"]) . ">", "inline" => true)); if (LICENSE_CREATED_WEBHOOK != 0) { $custom_addons = empty($verify["custom_addons"]) ? "Empty" : $verify["custom_addons"]; webhook(LICENSE_CREATED_WEBHOOK, SOFTWARE_ICON . " " . SOFTWARE . " | " . userDev("username", $_SESSION["dbb_user"]["id"]), userDev("avatar", $_SESSION["dbb_user"]["id"]), '', "`\360\x9f\224\220` LICENSE CLONATED", "\343\203\xbb **License Key:**\xa\x9\x9\x9\x9```" . $new_key . "``` 
	\x9\x9	\343\203\xbb **License Information:** \xa\x9\x9	\x9`\360\237\x93\246` Product: `" . $verify["product"] . "`
\x9			`\xf0\237\x93\x9c` Max IPs: `" . $addons[0] . "`\xa\x9	\x9\x9`\xf0\237\216\201` Custom Addons: `" . $custom_addons . "`\xa\x9\x9		\xa\x9\x9\x9\x9", URI . "/license/" . $dataid, "1a8b00", '', hasDocs($dbb_user, "udid", $verify["client"], "avatar"), $fields); } } else { echo json_encode(array("type" => "error", "title" => "Ohhh", "subtitle" => "This license does not exist!")); closeDBConnection(); return; } echo json_encode(array("type" => "success", "title" => "Successful license cloning!", "subtitle" => "The license was successfully cloned. Do you want to be redirected to modify it?", "id" => $dataid)); closeDBConnection(); return; } goto rOPTy; lWiMe: if ($_POST["result"] == "add_perm") { getDBConnection(); $value = $_POST["value"]; $group = $_POST["group"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.group.permission.add")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($value) or empty($group)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $insertSQL = $connx->prepare("INSERT INTO `{$dbb_group_permission}`(`group`, `permission`) VALUES (?, ?);"); $insertSQL->execute(array($group, $value)); $perm_id = $connx->lastInsertId(); echo json_encode(array("type" => "success", "title" => "Correctly!", "subtitle" => '', "dataid" => $perm_id)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto zPGlq; ER_ej: if ($_POST["result"] == "edit_perm") { getDBConnection(); $dataid = $_POST["dataid"]; $group = $_POST["group"]; $value = $_POST["value"]; $experm = $_POST["olddata"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.group.permission.edit")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid) or empty($value) or empty($group)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $group = hasDocs($dbb_group, "id", $group, "name"); $updateSQL = $connx->prepare("UPDATE `{$dbb_group_permission}` SET `permission` = ? WHERE `{$dbb_group_permission}`.`id` = ?;"); $updateSQL->execute(array($value, $dataid)); $value = userDev("username", $_SESSION["dbb_user"]["id"]) . " has edited a permission '" . $experm . "' to '" . $value . "' of " . $group . "."; $logsSQL = $connx->prepare("INSERT INTO `{$dbb_logs}`(`type`, `user`, `license`, `ip`, `value`, `status`, `time`) 
\x9	VALUES ('edit', ?, NULL, ?, ?, '1', ?);"); $logsSQL->execute(array($_SESSION["dbb_user"]["id"], getUserIp(), $value, time())); echo json_encode(array("type" => "success", "title" => "Correctly!", "subtitle" => '')); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto YzqfW; n29UC: if ($_POST["result"] == "create_license") { getDBConnection(); $key = $_POST["key"]; $client = $_POST["client"]; $product = $_POST["product"]; $expire = $_POST["expire"]; $expire_time = $_POST["expire_time"]; $ips = empty($_POST["ips"]) ? 5 : $_POST["ips"]; $reason = $_POST["reason"]; $variables = $_POST["variables"]; $bound = $_POST["bound"] ? 1 : 0; $ip_log = $_POST["ip_log"] ? 1 : 0; $logs = $_POST["logs"] ? 1 : 0; $delete_ips = $_POST["delete_ips"] ? 1 : 0; $limit = $_POST["limit"] ? 1 : 0; $product_verify = $_POST["product_verify"] ? 1 : 0; $require_version = $_POST["require_version"] ? 1 : 0; $expire_erase = $_POST["expire_erase"] ? 1 : 0; $admit_clone = $_POST["admit_clone"] ? 1 : 0; $discord = $_POST["send_discord"] ? 1 : 0; $webhook = $_POST["send_webhook"] ? 1 : 0; $addons = $ips . "#" . $bound . "#" . $ip_log . "#" . $logs . "#" . $delete_ips . "#" . $limit . "#" . $product_verify . "#" . $require_version . "#" . $expire_erase . "#" . $admit_clone; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.license.create")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($key) or empty($client) or empty($product)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } $elementsData = json_decode($_POST["custom_addons"], true); $custom_addons = array(); foreach ($elementsData as $id => $data) { $addonName = $data["addonName"]; $custom_addons[] = $addonName; } $addons_list = implode("#", $custom_addons); $addons_list_edit = empty($custom_addons) ? "Without" : implode(", ", $custom_addons); $addons_quant = explode("#", $addons_list); $addons_list = empty($custom_addons) ? NULL : $addons_list; $addons_quant = empty($custom_addons) ? 0 : count($addons_quant); $status = 1; if ($expire_time != "Never") { $expire = strtotime("+" . $expire . " " . $expire_time); } else { $expire = "-1"; } $expire_date = $expire == "-1" ? "Never" : date("Y-m-d h:i A", $expire); $reason = empty($reason) ? NULL : $reason; try { $verifySQL = $connx->prepare("SELECT * FROM `{$dbb_license}` WHERE `key` = ?;"); $verifySQL->execute(array($key)); if ($verifySQL->RowCount() == 0) { $cloneSQL = $connx->prepare("INSERT INTO `{$dbb_license}`(`client`, `key`, `product`, `expire`, `ip`, `activity`, `status`, `addons`, `custom_addons`, `reason`) \xa\x9	\x9VALUES (?, ?, ?, ?, NULL, NULL, ?, ?, ?, ?);"); $cloneSQL->execute(array($client, $key, $product, $expire, $status, $addons, $addons_list, $reason)); $dataid = $connx->lastInsertId(); } else { $cloneSQL = $connx->prepare("UPDATE `{$dbb_license}` SET `client`= ?,`product`= ?,`expire`= ?,`status`= ?,`addons`= ?,`custom_addons`= ?,`reason`= ? WHERE `key` = ?;"); $cloneSQL->execute(array($client, $product, $expire, $status, $addons, $addons_list, $reason, $key)); if (LICENSE_EDITED_WEBHOOK != 0) { $fields = array(array("name" => "`\360\x9f\247\x9a\342\200\x8d` Customer", "value" => "<@" . $client . ">", "inline" => true), array("name" => "`\360\x9f\223\205` Expire", "value" => "`" . $expire_date . "`", "inline" => true), array("name" => "`\360\x9f\221\256`\342\x80\215 Made by", "value" => "<@" . userDev("udid", $_SESSION["dbb_user"]["id"]) . ">", "inline" => true)); $embed_reason = $reason == NULL ? '' : "`\360\237\x9a\xa7` Reason: ```" . $reason . "```"; webhook(LICENSE_EDITED_WEBHOOK, SOFTWARE_ICON . " " . SOFTWARE . " | " . userDev("username", $_SESSION["dbb_user"]["id"]), userDev("avatar", $_SESSION["dbb_user"]["id"]), '', "`\360\237\224\x90` LICENSE EDITED", "\343\x83\273 **License Key:**
\x9\x9		\x9```" . $key . "``` 
\x9\x9\x9\x9	\343\203\xbb **License Information:** \xa	\x9\x9	\x9`\360\237\223\xa6` Product: `" . $product . "`
\x9		\x9\x9`\xf0\237\223\x9c` Max IPs: `" . $ips . "`
\x9		\x9	`\xf0\x9f\216\x81` Custom Addons: ```" . $addons_list_edit . "```\xa\x9	\x9\x9	" . $embed_reason . " \xa			\x9\x9", URI . "/license", "919b32", '', hasDocs($dbb_user, "udid", $client, "avatar"), $fields); } echo json_encode(array("type" => lang($messages, "edit", "complete", "type"), "title" => lang($messages, "edit", "complete", "title"), "subtitle" => lang($messages, "edit", "complete", "subtitle"))); closeDBConnection(); return; } if ($webhook and LICENSE_CREATED_WEBHOOK != 0) { $embed_reason = $reason == NULL ? '' : "`\xf0\237\x9a\xa7` Reason: ```" . $reason . "```"; $fields = array(array("name" => "`\360\x9f\247\232\xe2\x80\x8d` Customer", "value" => "<@" . $client . ">", "inline" => true), array("name" => "`\xf0\237\223\x85` Expire", "value" => "`" . $expire_date . "`", "inline" => true), array("name" => "`\xf0\x9f\221\xae`\342\200\215 Made by", "value" => "<@" . userDev("udid", $_SESSION["dbb_user"]["id"]) . ">", "inline" => true)); webhook(LICENSE_CREATED_WEBHOOK, SOFTWARE_ICON . " " . SOFTWARE . " | " . userDev("username", $_SESSION["dbb_user"]["id"]), userDev("avatar", $_SESSION["dbb_user"]["id"]), '', "`\xf0\x9f\x94\220` LICENSE CREATED", "\343\203\xbb **License Key:**
\x9\x9\x9\x9```" . $key . "``` \xa		\x9\x9\xe3\x83\xbb **License Information:** 
\x9	\x9\x9`\360\237\x93\246` Product: `" . $product . "`
\x9		\x9`\360\237\223\234` Max IPs: `" . $ips . "`
\x9\x9\x9\x9`\xf0\237\216\x81` Custom Addons: `" . $addons_quant . "`
	\x9\x9	" . $embed_reason . " \xa\x9		\x9", URI . "/license/" . $dataid, "3c9936", '', hasDocs($dbb_user, "udid", $client, "avatar"), $fields); } if ($discord) { sendMDC(BOT_TOKEN, $client, "**" . SOFTWARE . "** | You got a license!\xa> `\xf0\x9f\x94\221` **Key:**\xa> ```" . $key . "```
> `\xf0\237\223\246` **Product:**
> ```" . $product . "```
> `\360\x9f\223\205` **Expire:**
> ```" . $expire_date . "```\xa> `\xf0\237\x91\x91` **By:**\xa> ```" . userDev("username", $_SESSION["dbb_user"]["id"]) . "```
\xa> `\xf0\237\224\x97` **Web Admin:**\xa> " . URI . "/license/" . $dataid); } echo json_encode(array("type" => "success", "title" => "Successful license created!", "subtitle" => "The license was successfully created.", "id" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto EJxu2; xvOPV: if ($_POST["result"] == "create_product") { getDBConnection(); $id_name = $_POST["id_name"]; $name = $_POST["name"]; $description = $_POST["description"]; $price = $_POST["price"]; $version = $_POST["version"]; $icon = $_POST["icon"]; $tebex = $_POST["tebex_product"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.product.create")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($id_name) or empty($name) or empty($version) or empty($price)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } if (empty($tebex) and TEBEX_PAYMENT) { echo json_encode(array("type" => lang($messages, "error", "tebex_empty", "type"), "title" => lang($messages, "error", "tebex_empty", "title"), "subtitle" => lang($messages, "error", "tebex_empty", "subtitle"))); return; } $tebex = !TEBEX_PAYMENT ? NULL : $tebex; try { if (empty($icon)) { $trimmedText = trim($name); $firstLetter = strtoupper(substr($trimmedText, 0, 1)); $spacePosition = strpos($trimmedText, " "); if ($spacePosition !== false) { $lastLetter = strtoupper(substr($trimmedText, $spacePosition + 1, 1)); } else { $lastLetter = strtoupper(substr($trimmedText, -1)); } $result = $firstLetter . $lastLetter; $icon = $result; $icon_type = 0; $icon_bg = "icon-blue-suave-text"; } else { $icon = $icon; $icon_type = 1; $icon_bg = "icon-blue-bg"; } $description = empty($description) ? NULL : $description; $insertSQL = $connx->prepare("INSERT INTO `{$dbb_product}`(`icon_bg`, `icon_type`, `icon`, `id_name`, `name`, `description`, `price`, `version`, `status`, `tebex`) \xa	\x9VALUES (?, ?, ?, ?, ?, ?, ?, ?, '1', ?);"); $insertSQL->execute(array($icon_bg, $icon_type, $icon, $id_name, $name, $description, $price, $version, $tebex)); $product_id = $connx->lastInsertId(); if (TEBEX_PAYMENT) { $insertSQLs = $connx->prepare("INSERT INTO `{$dbb_product_actions}`(`product`, `data`) 
	\x9	VALUES (?, ?);"); $insertSQLs->execute(array($product_id, $_COOKIE["product_actions"])); } setcookie("product_actions", '', time() - 3600, "/"); echo json_encode(array("type" => lang($messages, "product", "content", "alert", "create_product", "type"), "title" => lang($messages, "product", "content", "alert", "create_product", "title"), "subtitle" => lang($messages, "product", "content", "alert", "create_product", "subtitle"), "id" => $product_id)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto T0lAv; CYnh0: if ($_POST["result"] == "logout") { getDBConnection(); $tokenSQL = $connx->prepare("SELECT * FROM `{$dbb_token}` WHERE `token` = ?;"); $tokenSQL->execute(array($_COOKIE["dbb_token"])); $token = $tokenSQL->fetch(PDO::FETCH_ASSOC); if ($tokenSQL->RowCount() > 0) { $deletetokenSQL = $connx->prepare("DELETE FROM `{$dbb_token}` WHERE `{$dbb_token}`.`id` = ?;"); $deletetokenSQL->execute(array($token["id"])); } deleteOldTokens(); session_destroy(); echo json_encode(array("type" => "success", "title" => "Session closed!", "subtitle" => '')); closeDBConnection(); return; } goto RyO7w; rOPTy: if ($_POST["result"] == "refresh_key_license") { getDBConnection(); $dataid = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.license.regenerate")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } $new_key = randomCodes(5) . "-" . randomCodes(5) . "-" . randomCodes(5) . "-" . randomCodes(5) . "-" . randomCodes(5); $verifySQL = $connx->prepare("SELECT * FROM `{$dbb_license}` WHERE `id` = ?;"); $verifySQL->execute(array($dataid)); if ($verifySQL->RowCount() > 0) { $verify = $verifySQL->fetch(PDO::FETCH_ASSOC); $updateSQL = $connx->prepare("UPDATE `{$dbb_license}` SET `key`= ? WHERE `id` = ?;"); $updateSQL->execute(array($new_key, $verify["id"])); echo json_encode(array("type" => "success", "title" => "Complete refreshment!", "subtitle" => "Do you want to copy the new key?", "newkey" => $new_key)); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohhh", "subtitle" => "This license does not exist!")); closeDBConnection(); return; } } goto Kijbg; shIpQ: if ($_POST["result"] == "go_to_pay") { getDBConnection(); $user = $_SESSION["dbb_user"]["id"]; $username = userDev("username", $user); if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } require_once "../parent/tebex/api.php"; SetWebstoreIdentifier(TEBEX_PUBLIC_KEY); $ip_address = getUserIp(); $custom_data = array("user_id" => $user, "ip_address" => $ip_address); $complete_auto_redirect = TEBEX_PAYMENT_RETURN; $basketUrl = URI . "/basket"; $basketSQL = $connx->prepare("SELECT * FROM `{$dbb_basket}` WHERE `user` = ?;"); $basketSQL->execute(array($user)); if ($basketSQL->RowCount() > 0) { $basket = $basketSQL->fetch(PDO::FETCH_ASSOC); $basketIdent = $_SESSION["basket_id"]; if (isset($basketIdent)) { $basketVerify = GetBasket($basketIdent); $insertProductSQL = $connx->prepare("SELECT * FROM `{$dbb_basket}` WHERE `user` = ?;"); $insertProductSQL->execute(array($user)); while ($insertProduct = $insertProductSQL->fetch(PDO::FETCH_ASSOC)) { $custom = array("pid" => $insertProduct["id"], "test" => "testing"); $addPackageResponse = AddPackage($basketIdent, $insertProduct["tebex_product"], $insertProduct["quantity"], $custom); } if (isset($addPackageResponse["data"]["id"])) { echo json_encode(array("type" => "success", "redirrect" => "https://checkout.tebex.io/checkout/" . $basketIdent)); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohh problems...", "subtitle" => "Fatal problems have occurred.")); closeDBConnection(); return; } } else { echo json_encode(array("type" => "error", "title" => "You need to authenticate.", "subtitle" => "Before trying to pay, Authenticate with Tebex.")); closeDBConnection(); return; } } else { echo json_encode(array("type" => "info", "title" => "Ohh problems...", "subtitle" => "You do not have any items added to your cart.")); closeDBConnection(); return; } } goto XH77j; cMwPt: if ($_POST["result"] == "chart_license_admin") { getDBConnection(); $currentYear = date("Y"); $license = isset($_POST["chartValue"]) ? htmlspecialchars($_POST["chartValue"], ENT_QUOTES, "UTF-8") : null; $chartData = $connx->prepare("\xa\x9		SELECT DATE_FORMAT(since, '{$currentYear}-%m') AS month, SUM(value) AS total_value\xa			FROM `{$dbb_logs}`\xa\x9\x9	WHERE type = 'request' AND status = '1' AND YEAR(since) = :currentYear \xa\x9\x9	GROUP BY month\xa	\x9\x9ORDER BY month
	\x9"); $chartData->bindParam(":currentYear", $currentYear, PDO::PARAM_STR); $chartData->execute(); $acceptedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $chartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["month"], 5)); $acceptedData[$month - 1] = $row["total_value"]; } $deniedChartData = $connx->prepare("\xa\x9\x9	SELECT DATE_FORMAT(since, '{$currentYear}-%m') AS month, SUM(value) AS totald_value
\x9\x9\x9FROM `{$dbb_logs}`\xa			WHERE type = 'request' AND status = '0' AND YEAR(since) = :currentYear 
	\x9\x9GROUP BY month\xa\x9	\x9ORDER BY month
\x9\x9"); $deniedChartData->bindParam(":currentYear", $currentYear, PDO::PARAM_STR); $deniedChartData->execute(); $deniedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $deniedChartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["month"], 5)); $deniedData[$month - 1] = $row["totald_value"]; } header("Content-Type: application/json"); echo json_encode(array("acceptedData" => $acceptedData, "deniedData" => $deniedData)); closeDBConnection(); } goto biPpk; AzpWA: if ($_POST["result"] == "erase_file_uploaded") { $fileNameToDelete = $_POST["unique"]; $filePath = __DIR__ . "/../parent/upload/" . $fileNameToDelete; if (file_exists($filePath)) { if (unlink($filePath)) { echo json_encode(array("type" => "success")); return; } else { echo json_encode(array("type" => "error", "title" => "Error to erase the file.", "subtitle" => '')); return; } } else { echo json_encode(array("type" => lang($messages, "product", "content", "alert", "files", "erase", "type"), "title" => lang($messages, "product", "content", "alert", "files", "erase", "title"), "subtitle" => lang($messages, "product", "content", "alert", "files", "erase", "subtitle"))); return; } } goto KJz0m; zPGlq: if ($_POST["result"] == "add_user") { getDBConnection(); $value = $_POST["value"]; $group = $_POST["group"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.group.user.add")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($value) or empty($group)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $infoGroupSQL = $connx->prepare("SELECT * FROM `{$dbb_user}` WHERE `id` = ?;"); $infoGroupSQL->execute(array($value)); $info = $infoGroupSQL->fetch(PDO::FETCH_ASSOC); if ($infoGroupSQL->RowCount() == 0) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } $insertSQL = $connx->prepare("INSERT INTO `{$dbb_group_user}`(`group`, `user`) \xa		VALUES (?, ?);"); $insertSQL->execute(array($group, $info["id"])); $perm_id = $connx->lastInsertId(); echo json_encode(array("type" => "success", "title" => "Correctly!", "subtitle" => '', "dataid" => $perm_id)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto wgds9; EJxu2: if ($_POST["result"] == "verify_exist_key") { getDBConnection(); $key = $_POST["key"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.license.create")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } try { $verifySQL = $connx->prepare("SELECT * FROM `{$dbb_license}` WHERE `key` = ?;"); $verifySQL->execute(array($key)); if ($verifySQL->RowCount() > 0) { echo json_encode(array("type" => "exist")); closeDBConnection(); return; } else { echo json_encode(array("type" => "no-exist")); closeDBConnection(); return; } closeDBConnection(); return; } catch (Exception $e) { echo $e; closeDBConnection(); return; } } goto Lxgy1; vRhKo: if ($_POST["result"] == "move-group") { getDBConnection(); $data_id = $_POST["data_id"]; $position = $_POST["position"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.group.move")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } $connx->beginTransaction(); try { $original_position = $connx->prepare("SELECT `position` FROM `{$dbb_group}` WHERE `id` = ?"); $original_position->execute(array($data_id)); $original_position = $original_position->fetchColumn(); $updateSQL = $connx->prepare("UPDATE `{$dbb_group}` SET `position` = ? WHERE `id` = ?"); $updateSQL->execute(array($position, $data_id)); if ($position < $original_position) { $reorderSQL = $connx->prepare("UPDATE `{$dbb_group}` SET `position` = `position` + 1 WHERE `position` >= ? AND `position` < ? AND `id` != ?"); $reorderSQL->execute(array($position, $original_position, $data_id)); } elseif ($position > $original_position) { $reorderSQL = $connx->prepare("UPDATE `{$dbb_group}` SET `position` = `position` - 1 WHERE `position` > ? AND `position` <= ? AND `id` != ?"); $reorderSQL->execute(array($original_position, $position, $data_id)); } $connx->commit(); closeDBConnection(); } catch (Exception $e) { $connx->rollBack(); closeDBConnection(); } } goto r636S; laT8v: if ($_POST["result"] == "generateCodeDownload") { if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } $type = "download"; $code = randomCodes(32); $status = 2; $createSQL = $connx->prepare("INSERT INTO `{$dbb_code}`(`type`, `code`, `status`) 
\x9	VALUES (?, ?, ?);"); $createSQL->execute(array($type, $code, $status)); echo json_encode(array("type" => "success", "code" => $code)); } goto zenPG; gh0tc: if ($_POST["result"] == "placeLicenseKey") { $secret_key = $_POST["key"]; if (empty($secret_key)) { echo json_encode(array("success" => 2, "message" => "Please fill out the license field.")); return; } $type = "auth"; $url = "https://devlicense.devbybit.com/api.php?secret=" . $secret . "&type=auth&secretkey=" . $secret_key . "&product=" . $software; $response = file_get_contents($url); $data = json_decode($response, true); $valid = $data["valid"]; if ($valid) { $filename = __DIR__ . "/../config.php"; $permissions = fileperms($filename); $ownerWritable = ($permissions & 128) !== 0; $groupWritable = ($permissions & 16) !== 0; $otherWritable = ($permissions & 2) !== 0; if ($ownerWritable and $groupWritable and $otherWritable) { $configContent = file_get_contents($filename); $newConfigContent = preg_replace("/define\('LICENSE_KEY',\s*.*\);/", "define('LICENSE_KEY', '" . $data["key"] . "');", $configContent); file_put_contents($filename, $newConfigContent); echo json_encode(array("success" => 1, "message" => $data["message"], "key" => $data["key"], "id" => $data["id"])); return; } else { echo json_encode(array("success" => 2, "message" => "The permission has not been applied to the file "config.php" Please implement the permission "777" to continue.", "key" => $data["key"], "id" => $data["id"])); return; } } else { echo json_encode(array("success" => 2, "message" => $data["message"] . " " . $data["pet"])); return; } } goto oX0kY; rqOMM: if ($_POST["result"] == "create_request_code") { getDBConnection(); $code = $_POST["code"]; if (empty($_POST["custom_addons"])) { $addons_list = NULL; } else { $elementsData = json_decode($_POST["custom_addons"], true); $custom_addons = array(); foreach ($elementsData as $id => $data) { $addonName = $data["addonName"]; $custom_addons[] = $addonName; } } $addons_list = implode("#", $custom_addons); if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.code.create.request")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($code)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $eraseSQL = $connx->prepare("INSERT INTO `dbb_code`(`type`, `code`, `addons`, `status`) 
	\x9VALUES ('request', ?, ?, 2);"); $eraseSQL->execute(array($code, $addons_list)); echo json_encode(array("type" => lang($messages, "license", "alert", "erase", "type"), "title" => lang($messages, "license", "alert", "erase", "title"), "subtitle" => lang($messages, "license", "alert", "erase", "subtitle"), "id" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto yzKBz; igLTI: if ($_POST["result"] == "create_license_gift") { getDBConnection(); $code = $_POST["code"]; $product = $_POST["product"]; $expire = $_POST["expire"]; $expire_time = $_POST["expire_time"]; $ips = empty($_POST["ips"]) ? 5 : $_POST["ips"]; $bound = $_POST["bound"] ? 1 : 0; $ip_log = $_POST["ip_log"] ? 1 : 0; $logs = $_POST["logs"] ? 1 : 0; $delete_ips = $_POST["delete_ips"] ? 1 : 0; $limit = $_POST["limit"] ? 1 : 0; $product_verify = $_POST["product_verify"] ? 1 : 0; $require_version = $_POST["require_version"] ? 1 : 0; $expire_erase = $_POST["expire_erase"] ? 1 : 0; $admit_clone = $_POST["admit_clone"] ? 1 : 0; $discord = $_POST["send_discord"] ? 1 : 0; $webhook = $_POST["send_webhook"] ? 1 : 0; $addons = $ips . "#" . $bound . "#" . $ip_log . "#" . $logs . "#" . $delete_ips . "#" . $limit . "#" . $product_verify . "#" . $require_version . "#" . $expire_erase . "#" . $admit_clone; $complete_addons = $product . "." . $ips . "." . $expire . "#" . $expire_time . "." . $addons . "."; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.code.create.license")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($code) or empty($product) or empty($expire)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $eraseSQL = $connx->prepare("INSERT INTO `dbb_code`(`type`, `code`, `addons`, `status`) 
	\x9VALUES ('license', ?, ?, 2);"); $eraseSQL->execute(array($code, $complete_addons)); echo json_encode(array("type" => lang($messages, "license", "alert", "erase", "type"), "title" => lang($messages, "license", "alert", "erase", "title"), "subtitle" => lang($messages, "license", "alert", "erase", "subtitle"), "id" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto JAVQ1; WJCe2: if ($_POST["result"] == "login") { getDBConnection(); $username = $_POST["username"]; $password = $_POST["password"]; $remember = isset($_POST["remember"]) ? 1 : 0; if (empty($username)) { echo json_encode(array("type" => "error", "message" => "Username has not been entered.")); return; } $docsSQL = $connx->prepare("SELECT * FROM `{$dbb_user}` WHERE `username` = ?;"); $docsSQL->execute(array($username)); $docs = $docsSQL->fetch(PDO::FETCH_ASSOC); if ($docsSQL->RowCount() == 0) { echo json_encode(array("type" => "error", "message" => "Your account does not exist or is incorrect. Log out and log in with discord.")); closeDBConnection(); return; } if (!empty($docs["password"])) { if (md5($password) != $docs["password"]) { echo json_encode(array("type" => "error", "message" => "The account password is incorrect. You can try again.")); closeDBConnection(); return; } } $last_token = randomCode(32, "ASDFGHJKLQWERTYUIOPZXCVBNM0123456789asdfghjklqwertyuiopzxcvbnm.-_"); $tokenSQL = $connx->prepare("SELECT * FROM `{$dbb_token}` WHERE `token` = ? AND `user` = ?;"); $tokenSQL->execute(array($_COOKIE["dbb_token"], $docs["id"])); $token = $tokenSQL->fetch(PDO::FETCH_ASSOC); if ($tokenSQL->RowCount() > 0) { $deletetokenSQL = $connx->prepare("DELETE FROM `{$dbb_token}` WHERE `{$dbb_token}`.`id` = ?;"); $deletetokenSQL->execute(array($token["id"])); } $ip = getUserIp(); $country_api = json_decode(file_get_contents("https://api.country.is/" . $ip)); $country_dec = $country_api->country; $variable = array("A", "S", "D", "F", "G", "H", "J", "K", "L", "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "Z", "X", "C", "V", "B", "N", "M"); $str_variable = array("a", "s", "d", "f", "g", "h", "j", "k", "l", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "z", "x", "c", "v", "b", "n", "m"); $country = str_replace($variable, $str_variable, $country_dec); $inserttokenSQL = $connx->prepare("INSERT INTO `{$dbb_token}`(`user`, `ip`, `country`, `token`, `activity`, `status`) VALUES (?, ?, ?, ?, NOW(), '1');"); $inserttokenSQL->execute(array($docs["id"], $ip, $country, $last_token)); $userdata = array("id" => $docs["id"], "last_token" => $last_token); $_SESSION["dbb_user"] = $userdata; $updateSQL = $connx->prepare("UPDATE `{$dbb_user}` SET `last_token` = ? WHERE `{$dbb_user}`.`id` = ?;"); $updateSQL->execute(array($last_token, $docs["id"])); if ($remember) { setcookie("dbb_user_password", $password, time() + 3600 * 24 * 30, "/"); } ipHistory($ip, $docs["id"], $country, $last_token); deleteOldTokens(); setcookie("dbb_user", $docs["id"], time() + 3600 * 24 * 30, "/"); setcookie("dbb_token", $last_token, time() + 3600 * 24 * 30, "/"); echo json_encode(array("type" => "success", "title" => "Logged!", "subtitle" => "You have just logged in to your account successfully!")); closeDBConnection(); return; } goto AGK5i; KCIE8: if ($_POST["result"] == "remove_of_basket") { getDBConnection(); $item = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } $basketSQL = $connx->prepare("SELECT * FROM `{$dbb_basket}` WHERE `id` = ?;"); $basketSQL->execute(array($item)); if ($basketSQL->RowCount() > 0) { $basket = $basketSQL->fetch(PDO::FETCH_ASSOC); $productSQL = $connx->prepare("SELECT * FROM `{$dbb_product}` WHERE `id` = ?;"); $productSQL->execute(array($basket["product"])); $product = $productSQL->fetch(PDO::FETCH_ASSOC); $insertSQL = $connx->prepare("DELETE FROM `{$dbb_basket}` WHERE `dbb_basket`.`id` = ?;"); $insertSQL->execute(array($basket["id"])); echo json_encode(array("type" => "success", "title" => "Removed!", "subtitle" => "You have removed " . $product["name"] . " from your basket.")); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohh problems...", "subtitle" => "Basket item does not exist.")); closeDBConnection(); return; } } goto ruy48; DAqZk: if ($_POST["result"] == "add-group") { getDBConnection(); $group_name = $_POST["new_group_name"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.group.create")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($group_name)) { echo json_encode(array("type" => "error", "title" => "Ohh, there are problems!", "subtitle" => "Problems occurred when trying to clone the license. Try again!")); return; } try { $lastPosition = $connx->prepare("SELECT `position` FROM `{$dbb_group}` ORDER BY position DESC;"); $lastPosition->execute(); $position = $lastPosition->fetch(PDO::FETCH_ASSOC); $last_position = $position["position"] + 1; $insertSQL = $connx->prepare("INSERT INTO `{$dbb_group}`(`name`, `position`) VALUES (?, ?);"); $insertSQL->execute(array($group_name, $last_position)); $group_id = $connx->lastInsertId(); echo json_encode(array("id" => $group_id)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto WQzvx; j9plX: if ($_POST["result"] == "auto_login") { $user = $_POST["user"]; $last_token = randomCode(32, "ASDFGHJKLQWERTYUIOPZXCVBNM0123456789asdfghjklqwertyuiopzxcvbnm.-_"); $tokenSQL = $connx->prepare("SELECT * FROM `{$dbb_token}` WHERE `token` = ? AND `user` = ?;"); $tokenSQL->execute(array($_COOKIE["dbb_token"], $user)); $token = $tokenSQL->fetch(PDO::FETCH_ASSOC); if ($tokenSQL->RowCount() > 0) { $deletetokenSQL = $connx->prepare("DELETE FROM `{$dbb_token}` WHERE `{$dbb_token}`.`id` = ?;"); $deletetokenSQL->execute(array($token["id"])); } $ip = getUserIp(); $country_api = json_decode(file_get_contents("https://api.country.is/" . $ip)); $country_dec = $country_api->country; $variable = array("A", "S", "D", "F", "G", "H", "J", "K", "L", "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "Z", "X", "C", "V", "B", "N", "M"); $str_variable = array("a", "s", "d", "f", "g", "h", "j", "k", "l", "q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "z", "x", "c", "v", "b", "n", "m"); $country = str_replace($variable, $str_variable, $country_dec); $inserttokenSQL = $connx->prepare("INSERT INTO `{$dbb_token}`(`user`, `ip`, `country`, `token`, `activity`, `status`) VALUES (?, ?, ?, ?, NOW(), '1');"); $inserttokenSQL->execute(array($user, $ip, $country, $last_token)); $userdata = array("id" => $user, "last_token" => $last_token); $_SESSION["dbb_user"] = $userdata; $updateSQL = $connx->prepare("UPDATE `{$dbb_user}` SET `last_token` = ? WHERE `{$dbb_user}`.`id` = ?;"); $updateSQL->execute(array($last_token, $user)); if ($remember) { setcookie("dbb_user_password", $password, time() + 3600 * 24 * 30, "/"); } ipHistory($ip, $user, $country, $last_token); deleteOldTokens(); setcookie("dbb_user", $user, time() + 3600 * 24 * 30, "/"); setcookie("dbb_token", $last_token, time() + 3600 * 24 * 30, "/"); echo json_encode(array("type" => "success", "title" => "Logged!", "subtitle" => "You have just logged in to your account successfully!")); closeDBConnection(); return; } goto WJCe2; vPmPS: if ($_POST["result"] == "configurations") { $filename = __DIR__ . "/../config.php"; $permissions = fileperms($filename); $ownerWritable = ($permissions & 128) !== 0; $groupWritable = ($permissions & 16) !== 0; $otherWritable = ($permissions & 2) !== 0; if ($ownerWritable and $groupWritable and $otherWritable) { $configContent = file_get_contents($filename); $newConfigContent = preg_replace("/define\('SOFTWARE',\s*.*\);/", "define('SOFTWARE', '" . $_POST["name"] . "');", $configContent); $newConfigContent1 = preg_replace("/define\('SECRET_KEY',\s*.*\);/", "define('SECRET_KEY', '" . $_POST["secret"] . "');", $newConfigContent); $newConfigContent2 = preg_replace("/define\('BOT_TOKEN',\s*.*\);/", "define('BOT_TOKEN', '" . $_POST["bot_token"] . "');", $newConfigContent1); $newConfigContent3 = preg_replace("/define\('CLIENT_SECRET',\s*.*\);/", "define('CLIENT_SECRET', '" . $_POST["client_secret"] . "');", $newConfigContent2); $newConfigContent4 = preg_replace("/define\('CLIENT_ID',\s*.*\);/", "define('CLIENT_ID', '" . $_POST["cliend_id"] . "');", $newConfigContent3); $newConfigContent5 = preg_replace("/define\('GUILD_ID',\s*.*\);/", "define('GUILD_ID', '" . $_POST["guild_id"] . "');", $newConfigContent4); $newConfigContent6 = preg_replace("/define\('MEMBER_ROLE_ID',\s*.*\);/", "define('MEMBER_ROLE_ID', '" . $_POST["member_role"] . "');", $newConfigContent5); $newConfigContent7 = preg_replace("/define\('TEBEX_PUBLIC_KEY',\s*.*\);/", "define('TEBEX_PUBLIC_KEY', '" . $_POST["tebex_key"] . "');", $newConfigContent6); $newConfigContent8 = preg_replace("/define\('TEBEX_WEBHOOK_SECRET',\s*.*\);/", "define('TEBEX_WEBHOOK_SECRET', '" . $_POST["tebex_webhook"] . "');", $newConfigContent7); $newConfigContent9 = preg_replace("/define\('TINYMCE_KEY',\s*.*\);/", "define('TINYMCE_KEY', '" . $_POST["tinymce"] . "');", $newConfigContent8); $newConfigContent10 = preg_replace("/define\('LICENSE_CREATED_WEBHOOK',\s*.*\);/", "define('LICENSE_CREATED_WEBHOOK', '" . $_POST["license_webhook"] . "');", $newConfigContent9); $newConfigContent11 = preg_replace("/define\('PRODUCT_CREATED_WEBHOOK',\s*.*\);/", "define('PRODUCT_CREATED_WEBHOOK', '" . $_POST["product_webhook"] . "');", $newConfigContent10); $newConfigContent12 = preg_replace("/define\('INSTALL_MODE',\s*.*\);/", "define('INSTALL_MODE', 0);", $newConfigContent11); file_put_contents($filename, $newConfigContent12); echo json_encode(array("success" => 1, "message" => "Success!")); return; } else { echo json_encode(array("success" => 2, "message" => "The permission has not been applied to the file "config.php" Please implement the permission "777" to continue.", "key" => $data["key"], "id" => $data["id"])); return; } } goto gh0tc; zB1jX: if ($_POST["result"] == "chart_license_accepted_by_user") { getDBConnection(); $currentYear = date("Y"); $license = isset($_POST["chartValue"]) ? htmlspecialchars($_POST["chartValue"], ENT_QUOTES, "UTF-8") : null; if ($license !== null) { $chartData = $connx->prepare("
\x9\x9\x9SELECT DATE_FORMAT(since, '{$currentYear}-%m') AS month, SUM(value) AS total_value
\x9\x9\x9FROM `{$dbb_logs}`\xa			WHERE type = 'request' AND user = ? AND YEAR(since) = ? 
\x9			AND status = '1'\xa		\x9GROUP BY month
			ORDER BY month
\x9\x9"); $chartData->execute(array($license, $currentYear)); $acceptedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $chartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["month"], 5)); $acceptedData[$month - 1] = $row["total_value"]; } $deniedChartData = $connx->prepare("
\x9\x9\x9SELECT DATE_FORMAT(since, '{$currentYear}-%m') AS month, SUM(value) AS totald_value\xa\x9\x9\x9FROM `{$dbb_logs}`\xa			WHERE type = 'request' AND user = ? AND YEAR(since) = ? 
\x9		\x9AND status = '0'
			GROUP BY month\xa\x9\x9	ORDER BY month
		"); $deniedChartData->execute(array($license, $currentYear)); $deniedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $deniedChartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["month"], 5)); $deniedData[$month - 1] = $row["totald_value"]; } header("Content-Type: application/json"); echo json_encode(array("acceptedData" => $acceptedData, "deniedData" => $deniedData)); closeDBConnection(); } else { echo "Error: Falta el par\xc3\xa1metro 'chartValue'."; } } goto jMsUu; zenPG: if ($_POST["result"] == "edit_account") { getDBConnection(); $user = $_POST["userid"]; $username = $_POST["user_name"]; $password = $_POST["password"]; $email = $_POST["email_new"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.user.edit")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } $userSQL = $connx->prepare("SELECT * FROM `{$dbb_user}` WHERE `id` = ?;"); $userSQL->execute(array($user)); $user = $userSQL->fetch(PDO::FETCH_ASSOC); if ($userSQL->RowCount() > 0) { $username = empty($username) ? $user["username"] : $username; $password = empty($password) ? $user["password"] : md5($password); $email = empty($email) ? $user["email"] : $email; $updateSQL = $connx->prepare("UPDATE `{$dbb_user}` SET `username` = ?, `password` = ?, `email` = ? WHERE `{$dbb_user}`.`id` = ?;"); $updateSQL->execute(array($username, $password, $email, $user["id"])); echo json_encode(array("type" => "success", "title" => lang($messages, "user", "edit", "alert", "title"), "subtitle" => lang($messages, "user", "edit", "alert", "subtitle"))); closeDBConnection(); return; } } goto RvDri; L61LV: require_once "../function.php"; goto Q4b7k; JAVQ1: if ($_POST["result"] == "create_addons_gift") { getDBConnection(); $code = $_POST["code"]; $elementsData = json_decode($_POST["custom_addons"], true); $custom_addons = array(); foreach ($elementsData as $id => $data) { $addonName = $data["addonName"]; $custom_addons[] = $addonName; } $addons_list = implode("#", $custom_addons); if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.code.create.addons")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($code) or empty($addons_list)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $eraseSQL = $connx->prepare("INSERT INTO `dbb_code`(`type`, `code`, `addons`, `status`) 
		VALUES ('addons', ?, ?, 2);"); $eraseSQL->execute(array($code, $addons_list)); echo json_encode(array("type" => lang($messages, "license", "alert", "erase", "type"), "title" => lang($messages, "license", "alert", "erase", "title"), "subtitle" => lang($messages, "license", "alert", "erase", "subtitle"), "id" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto rqOMM; jGOos: if ($_POST["result"] == "reset_logs_key_license") { getDBConnection(); $dataid = $_POST["license"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.license.resetlogs")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } $verifySQL = $connx->prepare("SELECT * FROM `{$dbb_license}` WHERE `id` = ?;"); $verifySQL->execute(array($dataid)); if ($verifySQL->RowCount() > 0) { $verify = $verifySQL->fetch(PDO::FETCH_ASSOC); $updateSQL = $connx->prepare("DELETE FROM `{$dbb_logs}` WHERE `type` = 'request' AND `license` = ?;"); $updateSQL->execute(array($verify["id"])); echo json_encode(array("type" => "success", "title" => "Complete reset of Logs!", "subtitle" => '')); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohhh", "subtitle" => "This license does not exist!")); closeDBConnection(); return; } } goto GDs1A; RyO7w: if ($_POST["result"] == "closelogout") { getDBConnection(); $tokenSQL = $connx->prepare("SELECT * FROM `{$dbb_token}` WHERE `token` = ?;"); $tokenSQL->execute(array($_COOKIE["dbb_token"])); $token = $tokenSQL->fetch(PDO::FETCH_ASSOC); if ($tokenSQL->RowCount() > 0) { $deletetokenSQL = $connx->prepare("DELETE FROM `{$dbb_token}` WHERE `{$dbb_token}`.`id` = ?;"); $deletetokenSQL->execute(array($token["id"])); } setcookie("dbb_user", "0", time(), "/"); setcookie("dbb_token", "0", time(), "/"); setcookie("dbb_user_password", "0", time(), "/"); deleteOldTokens(); session_destroy(); echo json_encode(array("type" => "success", "title" => "Session closed!", "subtitle" => '')); closeDBConnection(); return; } goto j9plX; WQzvx: if ($_POST["result"] == "modified_group_info") { getDBConnection(); $group_id = $_POST["group_id"]; $group_name = $_POST["group_name"]; $group_color = $_POST["group_color"]; $default = $_POST["group_default"] ? "1" : "0"; if (!has("dbb.admin.group.edit")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($group_id) or empty($group_name) or empty($group_color)) { echo json_encode(array("type" => "error", "title" => "Empty fields.", "subtitle" => '')); return; } $infoGroupSQL = $connx->prepare("SELECT * FROM `{$dbb_group}` WHERE `id` = ?;"); $infoGroupSQL->execute(array($group_id)); $info = $infoGroupSQL->fetch(PDO::FETCH_ASSOC); if ($info["default"] and !$default) { $default = 1; $subtitle = "The modification was correct! But the default range has not been changed, Put it to another group."; } else { if ($default) { $editAllSQL = $connx->prepare("UPDATE `{$dbb_group}` SET `default` = '0';"); $editAllSQL->execute(); } $subtitle = "Successful modification!"; } $editSQL = $connx->prepare("UPDATE `{$dbb_group}` SET `name`= ?,`default`= ?,`color`= ? WHERE `id` = ?"); $editSQL->execute(array($group_name, $default, $group_color, $group_id)); echo json_encode(array("type" => "success", "title" => "Edited the Group.", "subtitle" => $subtitle)); closeDBConnection(); return; } goto vRhKo; KJz0m: if ($_POST["result"] == "change_lang") { $dataid = $_POST["data_id"]; $_SESSION["lang"] = $dataid; setcookie("lang", $dataid, time() + 86400 * 30, "/"); echo json_encode(array("type" => "success")); return; } goto RoTqX; mpl2c: session_start(); goto xdw6T; GDs1A: if ($_POST["result"] == "reclaim_my_gift_addons") { getDBConnection(); $license = $_POST["license"]; $code = $_POST["code"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (empty($license) or empty($code)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } $verifyCodeSQL = $connx->prepare("SELECT * FROM `{$dbb_code}` WHERE `code` = ?;"); $verifyCodeSQL->execute(array($code)); if ($verifyCodeSQL->RowCount() > 0) { $code = $verifyCodeSQL->fetch(PDO::FETCH_ASSOC); if ($code["type"] == "addons") { if ($code["status"] != 2) { echo json_encode(array("type" => "error", "title" => "Ohhh, Failed!", "subtitle" => "The code I inserted does not exist.")); closeDBConnection(); return; } $verifySQL = $connx->prepare("SELECT * FROM `{$dbb_license}` WHERE `id` = ?;"); $verifySQL->execute(array($license)); if ($verifySQL->RowCount() > 0) { $verify = $verifySQL->fetch(PDO::FETCH_ASSOC); $updateSQL = $connx->prepare("UPDATE `{$dbb_license}` SET `custom_addons`= ? WHERE `id` = ?;"); $updateSQL->execute(array($code["addons"], $license)); $updateSQL2 = $connx->prepare("UPDATE `{$dbb_code}` SET `status`= '1', `use` = ? WHERE `id` = ?;"); $updateSQL2->execute(array($_SESSION["dbb_user"]["id"], $code["id"])); echo json_encode(array("type" => "success", "title" => "Complete redeem!", "subtitle" => '')); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohhh", "subtitle" => "This license does not exist!")); closeDBConnection(); return; } } else { echo json_encode(array("type" => "error", "title" => "Ohhh, Failed!", "subtitle" => "The code I inserted does not exist.")); closeDBConnection(); return; } } else { echo json_encode(array("type" => "error", "title" => "Ohhh, Failed!", "subtitle" => "The code I inserted does not exist.")); closeDBConnection(); return; } } goto S84NI; Ai6Fh: if ($_POST["result"] == "update_product") { $new_version_number = $_POST["new_version_number"]; $new_title = empty($_POST["new_title"]) ? NULL : $_POST["new_title"]; $new_message = $_POST["new_message"]; $new_message_hidden = $_POST["new_message_hidden"]; $product = $_POST["product"]; $new_content_filename = $_FILES["new_content"]["name"]; $new_content_temp_file = $_FILES["new_content"]["tmp_name"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.product.update")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($new_version_number) or empty($product)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $productSQL = $connx->prepare("SELECT * FROM `{$dbb_product}` WHERE `id` = ?;"); $productSQL->execute(array($product)); if ($productSQL->RowCount() > 0) { $product = $productSQL->fetch(PDO::FETCH_ASSOC); $insertSQLs = $connx->prepare("INSERT INTO `{$dbb_product_update}`(`user`, `product`, `version`, `title`, `description`, `file`) \xa\x9\x9\x9VALUES (?, ?, ?, ?, ?, ?);"); $insertSQLs->execute(array($_SESSION["dbb_user"]["id"], $product["id"], $new_version_number, $new_title, $new_message_hidden, $new_content_filename)); move_uploaded_file($new_content_temp_file, __DIR__ . "/../parent/upload/" . $new_content_filename); echo json_encode(array("type" => lang($messages, "product", "content", "alert", "updated_product", "type"), "title" => lang($messages, "product", "content", "alert", "updated_product", "title"), "subtitle" => lang($messages, "product", "content", "alert", "updated_product", "subtitle"), "message" => $new_message_hidden)); return; } else { echo json_encode(array("type" => lang($messages, "product", "content", "alert", "does_not_exist", "type"), "title" => lang($messages, "product", "content", "alert", "does_not_exist", "title"), "subtitle" => lang($messages, "product", "content", "alert", "does_not_exist", "subtitle"))); closeDBConnection(); return; } } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto cMwPt; yUlHI: if ($_POST["result"] == "config_database") { $filename = __DIR__ . "/../config.php"; $type = $_POST["type"]; $hosting = $_POST["hosting"]; if ($type == "MYSQL") { $port = 3306; } else { if ($type == "MONGODB") { $port = 27017; } else { if ($type == "REDIS") { $port = 6379; } else { $port = 3306; } } } $database = $_POST["database"]; $username = $_POST["username"]; $password = $_POST["password"]; try { $connx = new PDO("mysql:host=" . $hosting . ";port=" . $port . ";dbname=" . $database, $username, $password); $connx->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $database_valid = 1; } catch (PDOException $e) { $database_valid = 0; } if (!$database_valid) { echo json_encode(array("success" => 2, "message" => "The database is not working correctly, either due to incorrect data or not working.")); return; } $permissions = fileperms($filename); $ownerWritable = ($permissions & 128) !== 0; $groupWritable = ($permissions & 16) !== 0; $otherWritable = ($permissions & 2) !== 0; if ($ownerWritable and $groupWritable and $otherWritable) { $configContent = file_get_contents($filename); $newConfigContent = preg_replace("/define\('DB_TYPE',\s*.*\);/", "define('DB_TYPE', '" . $type . "');", $configContent); $newConfigContent2 = preg_replace("/define\('DB_HOST',\s*.*\);/", "define('DB_HOST', '" . $hosting . "');", $newConfigContent); $newConfigContent3 = preg_replace("/define\('DB_PORT',\s*.*\);/", "define('DB_PORT', " . $port . ");", $newConfigContent2); $newConfigContent4 = preg_replace("/define\('DB_DATA',\s*.*\);/", "define('DB_DATA', '" . $database . "');", $newConfigContent3); $newConfigContent5 = preg_replace("/define\('DB_USER',\s*.*\);/", "define('DB_USER', '" . $username . "');", $newConfigContent4); $newConfigContent6 = preg_replace("/define\('DB_PASSWORD',\s*.*\);/", "define('DB_PASSWORD', '" . $password . "');", $newConfigContent5); $newConfigContent7 = preg_replace("/define\('DATABASE_CONFIG',\s*.*\);/", "define('DATABASE_CONFIG', 1);", $newConfigContent6); file_put_contents($filename, $newConfigContent7); echo json_encode(array("success" => 1, "message" => "Success.")); return; } else { echo json_encode(array("success" => 2, "message" => "The permission has not been applied to the file "config.php" Please implement the permission "777" to continue.")); return; } } goto Io40h; jMsUu: if ($_POST["result"] == "cache_reset") { if (CACHE_ENABLE) { foreach ($_SESSION as $key => $value) { if (strpos($key, "cached_") === 0) { unset($_SESSION[$key]); } } echo "All cached sessions starting with 'cache_' have been reset!"; } else { echo "Caching is not enabled."; } } goto E0ovS; Lxgy1: if ($_POST["result"] == "erase_license") { getDBConnection(); $dataid = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.license.erase")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $client = hasDocs($dbb_license, "id", $dataid, "client"); $value = userDev("username", $_SESSION["dbb_user"]["id"]) . " has deleted a license with id '" . $dataid . "'."; $eraseSQL = $connx->prepare("DELETE FROM `{$dbb_license}` WHERE `{$dbb_license}`.`id` = ?;"); $eraseSQL->execute(array($dataid)); $erase2SQL = $connx->prepare("DELETE FROM `{$dbb_logs}` WHERE `{$dbb_logs}`.`license` = ? AND `type` = 'request';"); $erase2SQL->execute(array($dataid)); $logsSQL = $connx->prepare("INSERT INTO `{$dbb_logs}`(`type`, `user`, `license`, `ip`, `value`, `status`, `time`) \xa		VALUES ('erase', ?, ?, ?, ?, '1', ?);"); $logsSQL->execute(array($_SESSION["dbb_user"]["id"], $dataid, getUserIp(), $value, time())); if (PRODUCT_ERASED_WEBHOOK != 0) { $fields = array(array("name" => "`\xf0\237\247\232\342\x80\215` Customer", "value" => "<@" . $client . ">", "inline" => true), array("name" => "`\xf0\x9f\223\205` Deleted at", "value" => "`" . countSince(date("Y-m-d h:i:s")) . "`", "inline" => true), array("name" => "`\360\237\221\xae`\342\200\x8d Made by", "value" => "<@" . userDev("udid", $_SESSION["dbb_user"]["id"]) . ">", "inline" => true)); webhook(PRODUCT_ERASED_WEBHOOK, SOFTWARE_ICON . " " . SOFTWARE . " | " . userDev("username", $_SESSION["dbb_user"]["id"]), userDev("avatar", $_SESSION["dbb_user"]["id"]), '', "`\xf0\x9f\x94\x90` DELETED LICENSE", "\xe3\203\273 **License ID:**\xa		\x9	\x9```" . $dataid . "```", URI . "/license", "ff6c6c", '', hasDocs($dbb_user, "udid", $client, "avatar"), $fields); } echo json_encode(array("type" => lang($messages, "license", "alert", "erase", "type"), "title" => lang($messages, "license", "alert", "erase", "title"), "subtitle" => lang($messages, "license", "alert", "erase", "subtitle"), "id" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto igLTI; GnRCy: if ($_POST["result"] == "chart_license_admin_per_key") { getDBConnection(); $currentYear = date("Y"); $license = isset($_POST["chartValue"]) ? htmlspecialchars($_POST["chartValue"], ENT_QUOTES, "UTF-8") : null; if ($license !== null) { $currentMonth = date("m"); $lastMonth = date("m", strtotime("-1 month")); $acceptedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); $deniedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); $chartData = $connx->prepare("
            SELECT DATE_FORMAT(since, '{$currentYear}-%m') AS month, SUM(value) AS total_value
            FROM `{$dbb_logs}`\xa            WHERE type = 'request' AND `license` = ? AND status = '1' AND YEAR(since) = ?\xa            GROUP BY month
            ORDER BY month
        "); $chartData->execute(array($license, $currentYear)); while ($row = $chartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["month"], 5)); $acceptedData[$month - 1] = $row["total_value"]; } $deniedChartData = $connx->prepare("
            SELECT DATE_FORMAT(since, '{$currentYear}-%m') AS month, SUM(value) AS totald_value
            FROM `{$dbb_logs}`\xa            WHERE type = 'request' AND `license` = ? AND status = '0' AND YEAR(since) = ? 
            GROUP BY month\xa            ORDER BY month\xa        "); $deniedChartData->execute(array($license, $currentYear)); while ($row = $deniedChartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["month"], 5)); $deniedData[$month - 1] = $row["totald_value"]; } header("Content-Type: application/json"); echo json_encode(array("acceptedData" => $acceptedData, "deniedData" => $deniedData)); closeDBConnection(); } else { echo "Error: Falta el par\303\xa1metro 'chartValue'."; } } goto zB1jX; MKCbg: if ($_POST["result"] == "down_quantity_update") { getDBConnection(); $item = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } $basketSQL = $connx->prepare("SELECT * FROM `{$dbb_basket}` WHERE `id` = ?;"); $basketSQL->execute(array($item)); if ($basketSQL->RowCount() > 0) { $basket = $basketSQL->fetch(PDO::FETCH_ASSOC); $productSQL = $connx->prepare("SELECT * FROM `{$dbb_product}` WHERE `id` = ?;"); $productSQL->execute(array($basket["product"])); $product = $productSQL->fetch(PDO::FETCH_ASSOC); if ($basket["quantity"] <= 1) { echo json_encode(array("type" => "info", "title" => "Very low quantity.", "subtitle" => "The quantity must be greater than 1 to continue.")); closeDBConnection(); return; } $quantity = $basket["quantity"] - 1; $price = $product["price"] * $quantity; $updateSQL = $connx->prepare("UPDATE `{$dbb_basket}` SET `quantity` = ?, `cost` = ? WHERE `{$dbb_basket}`.`id` = ?;"); $updateSQL->execute(array($quantity, $price, $item)); echo json_encode(array("type" => "success", "quantity" => $quantity, "price" => number_format($price, 2, ".", ","))); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohh problems...", "subtitle" => "Basket item does not exist.")); closeDBConnection(); return; } } goto QcmoQ; biPpk: if ($_POST["result"] == "puchases_chart_admin") { getDBConnection(); $currentYear = date("Y"); $license = isset($_POST["chartValue"]) ? htmlspecialchars($_POST["chartValue"], ENT_QUOTES, "UTF-8") : null; $chartData = $connx->prepare("
		\x9SELECT DATE_FORMAT(since, '{$currentYear}-%m') AS month, COUNT(id) AS total_value\xa		\x9FROM `{$dbb_basket_checkout}`\xa\x9\x9	WHERE type = 'completed' AND YEAR(since) = :currentYear \xa\x9		GROUP BY month
\x9		ORDER BY month\xa\x9	"); $chartData->bindParam(":currentYear", $currentYear, PDO::PARAM_STR); $chartData->execute(); $puchases = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $chartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["month"], 5)); $puchases[$month - 1] = $row["total_value"]; } $deniedChartData = $connx->prepare("\xa			SELECT DATE_FORMAT(since, '{$currentYear}-%m') AS month, COUNT(id) AS totald_value
\x9\x9\x9FROM `{$dbb_basket_checkout}`
\x9		WHERE type = 'declined' AND YEAR(since) = :currentYear \xa\x9\x9	GROUP BY month
\x9	\x9ORDER BY month
\x9\x9"); $deniedChartData->bindParam(":currentYear", $currentYear, PDO::PARAM_STR); $deniedChartData->execute(); $declined = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $deniedChartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["month"], 5)); $declined[$month - 1] = $row["totald_value"]; } $in_baksetSQL = $connx->prepare("\xa\x9	\x9SELECT DATE_FORMAT(since, '{$currentYear}-%m') AS month, COUNT(id) AS totald_value
\x9\x9	FROM `{$dbb_basket}`\xa\x9\x9	WHERE YEAR(since) = :currentYear \xa\x9\x9\x9GROUP BY month
\x9\x9\x9ORDER BY month
\x9\x9"); $in_baksetSQL->bindParam(":currentYear", $currentYear, PDO::PARAM_STR); $in_baksetSQL->execute(); $inbasket = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $in_baksetSQL->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["month"], 5)); $inbasket[$month - 1] = $row["totald_value"]; } header("Content-Type: application/json"); echo json_encode(array("puchases" => $puchases, "declined" => $declined, "inbasket" => $inbasket)); closeDBConnection(); } goto GnRCy; BarcR: if ($_POST["result"] == "clear_all_request") { getDBConnection(); $user = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.clear.request")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } $userSQL = $connx->prepare("SELECT * FROM `{$dbb_user}` WHERE `id` = ?;"); $userSQL->execute(array($user)); if ($userSQL->RowCount() > 0) { $user = $userSQL->fetch(PDO::FETCH_ASSOC); $requestSQL = $connx->prepare("SELECT * FROM `{$dbb_logs}` WHERE `user` = ?;"); $requestSQL->execute(array($user["id"])); if ($requestSQL->RowCount() > 0) { $requestCountSQL = $connx->prepare("SELECT SUM(value) AS total FROM `{$dbb_logs}` WHERE `user` = ?;"); $requestCountSQL->execute(array($user["id"])); $requestCount = $requestCountSQL->fetch(PDO::FETCH_ASSOC); $request_count = $requestCount["total"]; $updateSQL = $connx->prepare("DELETE FROM `{$dbb_logs}` WHERE `user` = ?;"); $updateSQL->execute(array($user["id"])); echo json_encode(array("type" => "success", "title" => "Complete execution!", "subtitle" => "All user request records with a total of " . $request_count . " requests have been deleted.")); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohh failed...", "subtitle" => "The user has no requests.")); closeDBConnection(); return; } } else { echo json_encode(array("type" => "error", "title" => "Ohh problems...", "subtitle" => "User does not exist.")); closeDBConnection(); return; } } goto O4JRV; XH77j: if ($_POST["result"] == "add_to_cart") { $product = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } $productSQL = $connx->prepare("SELECT * FROM `{$dbb_product}` WHERE `id` = ?;"); $productSQL->execute(array($product)); if ($productSQL->RowCount() > 0) { $product = $productSQL->fetch(PDO::FETCH_ASSOC); $basketSQL = $connx->prepare("SELECT * FROM `{$dbb_basket}` WHERE `user` = ? AND `product` = ?;"); $basketSQL->execute(array($_SESSION["dbb_user"]["id"], $product["id"])); if ($basketSQL->RowCount() == 0) { $expire = strtotime("+1 Hours"); $insertSQL = $connx->prepare("INSERT INTO `{$dbb_basket}`(`user`, `product`, `tebex_product`, `expire`, `cost`) \xa			VALUES (?, ?, ?, ?, ?);"); $insertSQL->execute(array($_SESSION["dbb_user"]["id"], $product["id"], $product["tebex"], $expire, $product["price"])); echo json_encode(array("type" => "success", "title" => "It has been added to your cart!", "subtitle" => "The product has already been added to your basket, let's go to your basket?")); closeDBConnection(); return; } else { echo json_encode(array("type" => "info", "title" => "You already have it!", "subtitle" => "You already have the product in your basket. Change the amount in basket.")); closeDBConnection(); return; } } else { echo json_encode(array("type" => "error", "title" => "Ohh problems...", "subtitle" => "Product does not exist.")); closeDBConnection(); return; } } goto KCIE8; yzKBz: if ($_POST["result"] == "erase_product") { getDBConnection(); $dataid = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.product.erase")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $updates = hasCount($dbb_product_update, "product", $dataid); $inbasket = hasCount($dbb_basket, "product", $dataid); $puchases = hasCount($dbb_basket_payment, "product", $dataid); $keysused = hasCount($dbb_license, "product", hasDocs($dbb_product, "id", $dataid, "id_name")); $value = userDev("username", $_SESSION["dbb_user"]["id"]) . " has deleted a product with id '" . $dataid . "' that had '" . $updates . " Updates', '" . $inbasket . " In basket', '" . $keysused . " Keys' and '" . $puchases . " Purchases'"; $eraseSQL = $connx->prepare("DELETE FROM `{$dbb_product}` WHERE `{$dbb_product}`.`id` = ?;"); $eraseSQL->execute(array($dataid)); $erase2SQL = $connx->prepare("DELETE FROM `{$dbb_product_actions}` WHERE `{$dbb_product_actions}`.`product` = ?;"); $erase2SQL->execute(array($dataid)); $erase3SQL = $connx->prepare("DELETE FROM `{$dbb_product_update}` WHERE `{$dbb_product_update}`.`product` = ?;"); $erase3SQL->execute(array($dataid)); $erase4SQL = $connx->prepare("DELETE FROM `{$dbb_basket}` WHERE `{$dbb_basket}`.`product` = ?;"); $erase4SQL->execute(array($dataid)); $logsSQL = $connx->prepare("INSERT INTO `{$dbb_logs}`(`type`, `user`, `license`, `ip`, `value`, `status`, `time`) 
	\x9VALUES ('erase', ?, NULL, ?, ?, '1', ?);"); $logsSQL->execute(array($_SESSION["dbb_user"]["id"], getUserIp(), $value, time())); echo json_encode(array("type" => lang($messages, "product", "alert", "erase", "type"), "title" => lang($messages, "product", "alert", "erase", "title"), "subtitle" => lang($messages, "product", "alert", "erase", "subtitle"), "id" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto xvOPV; xdw6T: require_once "../config.php"; goto L61LV; E0ovS: if ($_POST["result"] == "cache_reset_type") { $cache_id = "cached_" . $_SERVER["REQUEST_URI"]; $type = $_POST["type"]; if (CACHE_ENABLE) { if (isset($_SESSION[$cache_id][$type])) { unset($_SESSION[$cache_id][$type]); echo "Cached page removed from '{$cache_id}' of type '{$type}'!"; } else { echo "Cached page was not found for '{$cache_id}' of type '{$type}'!"; } } else { echo "Caching is not enabled."; } } goto yKXEH; AGK5i: if ($_POST["result"] == "erase") { getDBConnection(); $dataid = $_POST["data_id"]; $datatype = $_POST["data_type"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin." . $datatype . ".erase")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $eraseSQL = $connx->prepare("DELETE FROM `dbb_{$datatype}` WHERE `dbb_{$datatype}`.`id` = ?"); $eraseSQL->execute(array($dataid)); echo json_encode(array("type" => "success", "title" => $datatype . " deleted successfully!", "subtitle" => "The " . $datatype . " has been deleted, Successfully. There is no way to recover.", "id" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto DAqZk; wLHpI: if ($_POST["result"] == "create_basket_tebex") { getDBConnection(); $user = $_SESSION["dbb_user"]["id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } require_once "../parent/tebex/api.php"; $ip_address = getUserIp(); $custom_data = array("user_id" => $user, "ip_address" => $ip_address); $complete_auto_redirect = TEBEX_PAYMENT_RETURN; $basketUrl = URI . "/basket"; $basketSQL = $connx->prepare("SELECT * FROM `{$dbb_basket}` WHERE `user` = ?;"); $basketSQL->execute(array($user)); if ($basketSQL->RowCount() > 0) { $basket = $basketSQL->fetch(PDO::FETCH_ASSOC); SetWebstoreIdentifier(TEBEX_PUBLIC_KEY); $createBasketResponse = CreateBasket($basketUrl, $basketUrl, $custom_data, $complete_auto_redirect); if (isset($createBasketResponse["data"]["ident"])) { $_SESSION["basket_id"] = $createBasketResponse["data"]["ident"]; $basketIdent = $createBasketResponse["data"]["ident"]; $authUrlResponse = GetBasketAuthURL($basketIdent, $basketUrl); if (isset($authUrlResponse[0]["url"])) { echo json_encode(array("type" => "success", "redirrect" => $authUrlResponse[0]["url"])); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohh problems...", "subtitle" => "Fatal problems have occurred.")); closeDBConnection(); return; } } else { echo json_encode(array("type" => "error", "title" => "Ohh problems...", "subtitle" => "Fatal problems have occurred.")); closeDBConnection(); return; } } else { echo json_encode(array("type" => "error", "title" => "Ohh problems...", "subtitle" => "You do not have any items added to your cart.")); closeDBConnection(); return; } } goto shIpQ; Io40h: if ($_POST["result"] == "updateConfig") { $filename = __DIR__ . "/../config.php"; $permissions = fileperms($filename); $ownerWritable = ($permissions & 128) !== 0; $groupWritable = ($permissions & 16) !== 0; $otherWritable = ($permissions & 2) !== 0; if ($ownerWritable and $groupWritable and $otherWritable) { $configContent = file_get_contents($filename); $newConfigContent = preg_replace("/define\('URI',\s*.*\);/", "define('URI', '" . $_POST["url"] . "');", $configContent); file_put_contents($filename, $newConfigContent); echo json_encode(array("success" => 1, "message" => "Success!")); return; } else { echo json_encode(array("success" => 2, "message" => "The permission has not been applied to the file "config.php" Please implement the permission "777" to continue.", "key" => $data["key"], "id" => $data["id"])); return; } } goto vPmPS; BFaGU: if ($_POST["result"] == "clonProduct") { getDBConnection(); $data_id = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.product.clone")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($data_id)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $productSQL = $connx->prepare("SELECT * FROM `{$dbb_product}` WHERE `id` = ?;"); $productSQL->execute(array($data_id)); if ($productSQL->RowCount() > 0) { $product = $productSQL->fetch(PDO::FETCH_ASSOC); $insertSQL = $connx->prepare("INSERT INTO `{$dbb_product}`(`icon_bg`, `icon_type`, `icon`, `id_name`, `name`, `description`, `version`, `status`) 
\x9	\x9VALUES (?, ?, ?, ?, ?, ?, ?, '1');"); $insertSQL->execute(array($product["icon_bg"], $product["icon_type"], $product["icon"], $product["id_name"], $product["name"], $product["description"], $product["version"])); $product_id = $connx->lastInsertId(); if (TEBEX_PAYMENT) { $productActionsSQL = $connx->prepare("SELECT * FROM `{$dbb_product_actions}` WHERE `product` = ?;"); $productActionsSQL->execute(array($data_id)); $productActions = $productActionsSQL->fetch(PDO::FETCH_ASSOC); $insertSQLs = $connx->prepare("INSERT INTO `{$dbb_product_actions}`(`product`, `data`) \xa\x9\x9\x9\x9VALUES (?, ?);"); $insertSQLs->execute(array($product_id, $productActions["data"])); } echo json_encode(array("type" => lang($messages, "product", "content", "alert", "cloned_product", "type"), "title" => lang($messages, "product", "content", "alert", "cloned_product", "title"), "subtitle" => lang($messages, "product", "content", "alert", "cloned_product", "subtitle"), "id" => $product_id)); closeDBConnection(); return; } else { echo json_encode(array("type" => lang($messages, "product", "content", "alert", "does_not_exist", "type"), "title" => lang($messages, "product", "content", "alert", "does_not_exist", "title"), "subtitle" => lang($messages, "product", "content", "alert", "does_not_exist", "subtitle"))); closeDBConnection(); return; } } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto Ai6Fh; O4JRV: if ($_POST["result"] == "total_price_in_basket") { getDBConnection(); $basketSQL = $connx->prepare("SELECT * FROM `{$dbb_basket}` WHERE `user` = ?;"); $basketSQL->execute(array($_SESSION["dbb_user"]["id"])); $totalPrice = 0; while ($basket = $basketSQL->fetch(PDO::FETCH_ASSOC)) { $productId = $basket["product"]; $productSQL = $connx->prepare("SELECT `price` FROM `{$dbb_product}` WHERE `id` = ?;"); $productSQL->execute(array($productId)); $product = $productSQL->fetch(PDO::FETCH_ASSOC); $totalPrice += $product["price"] * $basket["quantity"]; } echo number_format($totalPrice, 2, ".", ","); closeDBConnection(); } goto wLHpI; S84NI: if ($_POST["result"] == "reclaim_my_gift_license") { getDBConnection(); $code = $_POST["code"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (empty($code)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } $verifyCodeSQL = $connx->prepare("SELECT * FROM `{$dbb_code}` WHERE `code` = ?;"); $verifyCodeSQL->execute(array($code)); if ($verifyCodeSQL->RowCount() > 0) { $code = $verifyCodeSQL->fetch(PDO::FETCH_ASSOC); if ($code["type"] == "license") { if ($code["status"] != 2) { echo json_encode(array("type" => "error", "title" => "Ohhh, Failed!", "subtitle" => "The code I inserted does not exist.")); closeDBConnection(); return; } $addons = explode(".", $code["addons"]); $expire = explode("#", $addons[2]); $expire = strtotime("+" . $expire[0] . " " . $expire[1]); $reason = "Claimed by " . $_SESSION["dbb_user"]["id"]; $client = userDev("udid", $_SESSION["dbb_user"]["id"]); $status = 1; $custom_addons = empty($addons[4]) ? NULL : $addons[4]; $new_key = randomCodes(5) . "-" . randomCodes(5) . "-" . randomCodes(5) . "-" . randomCodes(5) . "-" . randomCodes(5); $insetSQL = $connx->prepare("INSERT INTO `{$dbb_license}`(`client`, `key`, `product`, `expire`, `status`, `addons`, `custom_addons`, `reason`) \xa			VALUES (?, ?, ?, ?, ?, ?, ?, ?);"); $insetSQL->execute(array($client, $new_key, $addons[0], $expire, $status, $addons[3], $custom_addons, $reason)); $updateSQL2 = $connx->prepare("UPDATE `{$dbb_code}` SET `status`= '1', `use` = ? WHERE `id` = ?;"); $updateSQL2->execute(array($_SESSION["dbb_user"]["id"], $code["id"])); echo json_encode(array("type" => "success", "title" => "Complete redeem!", "subtitle" => '')); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohhh, Failed!", "subtitle" => "The code I inserted does not exist.")); closeDBConnection(); return; } } else { echo json_encode(array("type" => "error", "title" => "Ohhh, Failed!", "subtitle" => "The code I inserted does not exist.")); closeDBConnection(); return; } } goto n29UC; DgQ5O: if ($_POST["result"] == "verify_database") { $type = $_POST["type"]; $hosting = $_POST["hosting"]; if ($type == "MYSQL") { $port = 3306; } else { if ($type == "MONGODB") { $port = 27017; } else { if ($type == "REDIS") { $port = 6379; } else { $port = 3306; } } } $database = $_POST["database"]; $username = $_POST["username"]; $password = $_POST["password"]; try { $connx = new PDO("mysql:host=" . $hosting . ";port=" . $port . ";dbname=" . $database, $username, $password); $connx->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $database_valid = 1; } catch (PDOException $e) { $database_valid = "The database is not working correctly, either due to incorrect data or not working."; } echo $database_valid; } goto yUlHI; soRa3: if ($_POST["result"] == "modifiedUserGroup") { getDBConnection(); $dataid = $_POST["data_id"]; $datauser = $_POST["data_user"]; $datatype = $_POST["data_type"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.group.give")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $groupUserSQL = $connx->prepare("SELECT * FROM `{$dbb_group_user}` WHERE `user` = ?;"); $groupUserSQL->execute(array($datauser)); $groupUser = $groupUserSQL->fetch(PDO::FETCH_ASSOC); if ($datatype) { if ($groupUser["group"] != $dataid) { $insertSQL = $connx->prepare("INSERT INTO `{$dbb_group_user}`(`id`, `group`, `user`, `since`) VALUES (NULL, ?, ?, CURRENT_TIMESTAMP);"); $insertSQL->execute(array($dataid, $datauser)); } else { $deleteSQL = $connx->prepare("DELETE FROM `{$dbb_group_user}` WHERE `group` = ? AND `user` = ?;"); $deleteSQL->execute(array($dataid, $datauser)); $insertSQL = $connx->prepare("INSERT INTO `{$dbb_group_user}`(`id`, `group`, `user`, `since`) VALUES (NULL, ?, ?, CURRENT_TIMESTAMP);"); $insertSQL->execute(array($dataid, $datauser)); } } else { $deleteSQL = $connx->prepare("DELETE FROM `{$dbb_group_user}` WHERE `group` = ? AND `user` = ?;"); $deleteSQL->execute(array($dataid, $datauser)); } echo json_encode(array("type" => "success", "title" => "Correctly!", "subtitle" => '')); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto ER_ej; rJMTT: if ($_POST["result"] == "keys_status") { getDBConnection(); $user = userDev("udid", $_SESSION["dbb_user"]["id"]); $type = $_POST["type"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } $calculateSQL = $connx->prepare("SELECT COUNT(id) AS count FROM `{$dbb_license}` WHERE `client` = ? AND `status` = ?;"); $calculateSQL->execute(array($user, $type)); $verify = $calculateSQL->fetch(PDO::FETCH_ASSOC); echo number_format($verify["count"], 0, ",", "."); } goto tO6Ae; YzqfW: if ($_POST["result"] == "erase_perm") { getDBConnection(); $dataid = $_POST["dataid"]; $experm = $_POST["experm"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } if (!has("dbb.admin.group.permission.erase")) { echo json_encode(array("type" => lang($messages, "error", "without_permission", "type"), "title" => lang($messages, "error", "without_permission", "title"), "subtitle" => lang($messages, "error", "without_permission", "subtitle"))); return; } if (empty($dataid)) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); return; } try { $value = userDev("username", $_SESSION["dbb_user"]["id"]) . " has deleted a permission '" . $experm . "'."; $deleteSQL = $connx->prepare("DELETE FROM `{$dbb_group_permission}` WHERE `id` = ?;"); $deleteSQL->execute(array($dataid)); $logsSQL = $connx->prepare("INSERT INTO `{$dbb_logs}`(`type`, `user`, `license`, `ip`, `value`, `status`, `time`) \xa\x9	VALUES ('erase', ?, NULL, ?, ?, '1', ?);"); $logsSQL->execute(array($_SESSION["dbb_user"]["id"], getUserIp(), $value, time())); echo json_encode(array("type" => "success", "title" => "Correctly!", "subtitle" => '')); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("type" => lang($messages, "error", "empty", "type"), "title" => lang($messages, "error", "empty", "title"), "subtitle" => lang($messages, "error", "empty", "subtitle"))); closeDBConnection(); return; } } goto lWiMe; ruy48: if ($_POST["result"] == "up_quantity_update") { getDBConnection(); $item = $_POST["data_id"]; if (!sessions($_COOKIE["dbb_token"]) and TOKEN_STATUS) { echo json_encode(array("type" => lang($messages, "session", "alert", "error"), "title" => lang($messages, "session", "alert", "title"), "subtitle" => lang($messages, "session", "alert", "subtitle"))); return; } $basketSQL = $connx->prepare("SELECT * FROM `{$dbb_basket}` WHERE `id` = ?;"); $basketSQL->execute(array($item)); if ($basketSQL->RowCount() > 0) { $basket = $basketSQL->fetch(PDO::FETCH_ASSOC); $productSQL = $connx->prepare("SELECT * FROM `{$dbb_product}` WHERE `id` = ?;"); $productSQL->execute(array($basket["product"])); $product = $productSQL->fetch(PDO::FETCH_ASSOC); if ($basket["quantity"] == 99) { echo json_encode(array("type" => "info", "title" => "Quantity Limit.", "subtitle" => "You have reached the quantity limit per item.")); closeDBConnection(); return; } $quantity = $basket["quantity"] + 1; $price = $product["price"] * $quantity; $updateSQL = $connx->prepare("UPDATE `{$dbb_basket}` SET `quantity` = ?, `cost` = ? WHERE `{$dbb_basket}`.`id` = ?;"); $updateSQL->execute(array($quantity, $price, $item)); echo json_encode(array("type" => "success", "quantity" => $quantity, "price" => number_format($price, 2, ".", ","))); closeDBConnection(); return; } else { echo json_encode(array("type" => "error", "title" => "Ohh problems...", "subtitle" => "Basket item does not exist.")); closeDBConnection(); return; } } goto MKCbg; oX0kY: if ($_POST["result"] == "uploadSQLFiles") { if (DB_TYPE == "MONGODB") { echo json_encode(array("success" => 1)); return; } $connx = new PDO("mysql:host=" . DB_HOST . ";port=" . DB_PORT . ";dbname=" . DB_DATA, DB_USER, DB_PASSWORD); try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_basket`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_basket` (\xa  `id` int NOT NULL,
  `user` int NOT NULL,
  `product` int NOT NULL,
  `tebex_product` varchar(32) NOT NULL,
  `quantity` int NOT NULL DEFAULT '1',\xa  `expire` bigint DEFAULT NULL,\xa  `cost` varchar(32) DEFAULT NULL,\xa  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,\xa\x9\x9PRIMARY KEY (`id`))\xa\x9	ENGINE = InnoDB\xa		DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_basket` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_basket_checkout`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_basket_checkout` (\xa  `id` int NOT NULL,\xa  `user` int NOT NULL,
  `type` varchar(32) DEFAULT NULL,
  `transaction_id` varchar(32) NOT NULL,\xa  `payment_method` varchar(128) NOT NULL,\xa  `price` varchar(32) DEFAULT NULL,
  `status` int NOT NULL DEFAULT '0',
  `data` text NOT NULL,
  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
	\x9PRIMARY KEY (`id`))\xa\x9	ENGINE = InnoDB\xa\x9\x9DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_basket_checkout` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_basket_payment`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_basket_payment` (
  `id` int NOT NULL,\xa  `product` int NOT NULL,
  `user` int NOT NULL,
  `transaction_id` varchar(64) NOT NULL,\xa  `product_id` varchar(64) NOT NULL,
  `quantity` varchar(32) NOT NULL,
  `b_price` varchar(32) NOT NULL,
  `p_price` varchar(32) NOT NULL,
  `currency` varchar(8) NOT NULL,\xa  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
\x9	PRIMARY KEY (`id`))\xa\x9\x9ENGINE = InnoDB
\x9\x9DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_basket_payment` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_code`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_code` (\xa  `id` int NOT NULL,\xa  `type` varchar(32) NOT NULL,\xa  `code` varchar(32) NOT NULL,\xa  `addons` text CHARACTER SET utf8mb4,\xa  `status` int NOT NULL DEFAULT '1',\xa  `use` int DEFAULT NULL,\xa  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,\xa\x9\x9PRIMARY KEY (`id`))
\x9	ENGINE = InnoDB
\x9	DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_code` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_download`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_download` (
  `id` int NOT NULL,\xa  `user` int NOT NULL,\xa  `file` text NOT NULL,
  `code` varchar(48) DEFAULT NULL,\xa  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,\xa		PRIMARY KEY (`id`))\xa\x9	ENGINE = InnoDB
	\x9DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_download` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_group`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_group` (
  `id` int NOT NULL,
  `name` varchar(64) NOT NULL,
  `default` int NOT NULL DEFAULT '0',\xa  `color` varchar(32) CHARACTER SET utf8mb4 NOT NULL DEFAULT '#c08484',
  `position` int NOT NULL DEFAULT '1',\xa  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
	\x9PRIMARY KEY (`id`))\xa		ENGINE = InnoDB
\x9\x9DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_group` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); $connx->exec("INSERT INTO `dbb_group` (`id`, `name`, `default`, `color`, `position`, `since`) VALUES\xa(1, 'Member', 1, '#028000', 1, '2024-01-31 04:26:59'),\xa(2, 'BOT', 0, '#c08484', 2, '2024-01-31 05:26:59'),
(3, 'Admin', 0, '#c74d65', 3, '2024-01-31 08:34:14'),\xa(4, 'Customer', 0, '#57b6ff', 6, '2024-01-31 10:00:59'),
(5, 'Developer', 0, '#ff7575', 5, '2024-01-31 11:00:59'),
(6, 'Owner', 0, '#b84242', 4, '2024-02-06 02:55:41');"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_group_permission`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_group_permission` (
  `id` int NOT NULL,
  `group` int NOT NULL,
  `permission` text NOT NULL,\xa  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,\xa	\x9PRIMARY KEY (`id`))
\x9\x9ENGINE = InnoDB
\x9\x9DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_group_permission` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); $connx->exec("INSERT INTO `dbb_group_permission` (`id`, `group`, `permission`, `since`) VALUES\xa(1, 4, 'dbb.admin.license', '2024-02-03 12:51:58'),
(2, 4, 'dbb.admin.license.create', '2024-02-03 12:51:58'),
(3, 4, 'dbb.admin.license.edit', '2024-02-03 12:52:24'),
(4, 4, 'dbb.admin.license.erase', '2024-02-03 12:52:24'),\xa(5, 4, 'dbb.admin.license.clone', '2024-02-03 12:51:58'),\xa(6, 4, 'dbb.admin.license.regenerate', '2024-02-03 12:51:58'),\xa(7, 4, 'dbb.admin.license.resetlogs', '2024-02-03 12:52:24'),
(8, 4, 'dbb.admin.license.resetips', '2024-02-03 12:52:24'),\xa(9, 4, 'dbb.admin.license.other', '2024-02-03 12:52:24'),
(10, 4, 'dbb.license', '2024-02-03 12:52:24'),\xa(11, 4, 'dbb.dashboard', '2024-02-03 12:52:24'),\xa(12, 4, 'dbb.admin.user', '2024-02-03 12:52:24'),\xa(13, 4, 'dbb.admin.user.edit', '2024-02-03 12:52:24'),
(14, 4, 'dbb.admin.user.erase', '2024-02-03 12:52:24'),
(15, 4, 'dbb.admin.user.group', '2024-02-03 12:52:24'),\xa(16, 4, 'dbb.admin.product', '2024-02-03 12:52:24');"); $connx->exec("INSERT INTO `dbb_group_permission` (`id`, `group`, `permission`, `since`) VALUES
(17, 4, 'dbb.admin.product.edit', '2024-02-03 12:52:24'),\xa(18, 4, 'dbb.admin.product.clone', '2024-02-03 12:52:24'),\xa(19, 4, 'dbb.admin.product.erase', '2024-02-03 12:52:24'),
(20, 4, 'dbb.admin.group', '2024-02-03 12:52:24'),
(21, 4, 'dbb.admin.group.edit', '2024-02-03 12:52:24'),
(22, 4, 'dbb.admin.group.erase', '2024-02-03 12:52:24'),
(23, 4, 'dbb.admin.group.move', '2024-02-03 12:52:24'),\xa(24, 4, 'dbb.admin.code', '2024-02-03 12:52:24'),
(25, 4, 'dbb.admin.code.edit', '2024-02-03 12:52:24'),\xa(26, 4, 'dbb.admin.code.erase', '2024-02-03 12:52:24'),
(27, 4, 'dbb.admin.about', '2024-02-03 12:52:24'),\xa(28, 4, 'dbb.admin.product.create', '2024-02-03 12:52:24'),\xa(29, 4, 'dbb.admin.group.create', '2024-02-03 12:52:24'),
(30, 4, 'dbb.admin.code.create', '2024-02-03 12:52:24'),\xa(31, 4, 'dbb.admin.group.permission.edit', '2024-02-06 20:48:33'),
(32, 4, 'dbb.admin.group.give', '2024-02-06 20:51:58'),\xa(33, 4, 'dbb.admin.clear.request', '2024-02-06 20:55:33'),
(34, 4, 'dbb.admin.clear.devices', '2024-02-03 20:57:58'),
(35, 4, 'dbb.admin.product.update', '2024-02-07 21:57:58'),
(36, 1, 'dbb.license', '2024-02-07 21:57:58'),\xa(38, 4, 'dbb.download', '2024-02-03 12:52:24'),\xa(39, 4, 'dbb.download.other', '2024-02-03 12:52:24'),\xa(40, 4, 'dbb.admin.group.user.erase', '2024-02-17 11:49:02'),\xa(41, 4, 'dbb.admin.group.user.edit', '2024-02-17 11:49:02'),
(42, 4, 'dbb.admin.group.permission.erase', '2024-02-17 11:49:17'),
(43, 4, 'dbb.admin.group.permission.add', '2024-02-21 08:29:16'),\xa(44, 4, 'dbb.admin.user.edit', '2024-02-21 14:24:09'),\xa(45, 4, 'dbb.admin.group.user.add', '2024-02-22 13:19:11'),\xa(46, 4, 'dbb.admin.code.create.addons', '2024-02-23 13:50:19'),\xa(47, 4, 'dbb.admin.code.create.license', '2024-02-23 13:50:20'),\xa(48, 4, 'dbb.admin.code.create.request', '2024-02-24 20:10:08');"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_group_user`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_group_user` (
  `id` int NOT NULL,
  `group` int NOT NULL,
  `user` int NOT NULL,\xa  `since` datetime DEFAULT CURRENT_TIMESTAMP,
\x9	PRIMARY KEY (`id`))\xa\x9\x9ENGINE = InnoDB
\x9	DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_group_user` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); $connx->exec("INSERT INTO `dbb_group_user` (`id`, `group`, `user`, `since`) VALUE (1, 4, 1, '2024-02-02 08:48:54');"); $connx->exec("INSERT INTO `dbb_group_user` (`id`, `group`, `user`, `since`) VALUE (2, 4, 2, CURRENT_TIMESTAMP);"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_history_ip`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_history_ip` (
  `id` int NOT NULL,
  `user` int NOT NULL,\xa  `ip` text NOT NULL,\xa  `country` varchar(8) NOT NULL,
  `token` varchar(48) DEFAULT NULL,
  `status` int NOT NULL DEFAULT '1',
  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,\xa		PRIMARY KEY (`id`))\xa\x9\x9ENGINE = InnoDB\xa	\x9DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_history_ip` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_license`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_license` (\xa  `id` int NOT NULL,
  `client` text NOT NULL,
  `key` text NOT NULL,
  `product` text NOT NULL,\xa  `expire` bigint NOT NULL,\xa  `ip` text CHARACTER SET utf8mb4,\xa  `activity` text CHARACTER SET utf8mb4,\xa  `status` int NOT NULL DEFAULT '1',\xa  `addons` varchar(32) CHARACTER SET utf8mb4 NOT NULL DEFAULT '5#1#1#1#0#0#0#0',\xa  `custom_addons` text,
  `reason` text,\xa  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,\xa		PRIMARY KEY (`id`))
\x9	ENGINE = InnoDB\xa		DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_license` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_logs`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_logs` (
  `id` int NOT NULL,\xa  `type` varchar(64) NOT NULL,
  `user` varchar(128) CHARACTER SET utf8mb4 DEFAULT NULL,\xa  `license` varchar(256) CHARACTER SET utf8mb4 DEFAULT NULL,\xa  `ip` text,\xa  `value` text CHARACTER SET utf8mb4,
  `status` varchar(32) NOT NULL,
  `time` bigint DEFAULT NULL,\xa  `expire` bigint DEFAULT NULL,
  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
		PRIMARY KEY (`id`))\xa\x9	ENGINE = InnoDB\xa\x9	DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_logs` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_product`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_product` (
  `id` int NOT NULL,
  `icon_bg` varchar(64) NOT NULL DEFAULT 'icon-blue-suave-text',
  `icon_type` int NOT NULL DEFAULT '0',
  `icon` text,\xa  `id_name` text,
  `name` varchar(128) NOT NULL,\xa  `description` text CHARACTER SET utf8mb4,\xa  `price` varchar(32) NOT NULL DEFAULT '0',
  `version` varchar(32) NOT NULL DEFAULT '1.0',
  `status` int NOT NULL DEFAULT '1',\xa  `tebex` varchar(32) DEFAULT NULL,
  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
	\x9PRIMARY KEY (`id`))
\x9\x9ENGINE = InnoDB
\x9	DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_product` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_product_actions`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_product_actions` (
  `id` int NOT NULL,
  `product` int NOT NULL,
  `data` text NOT NULL,
  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
\x9\x9PRIMARY KEY (`id`))\xa		ENGINE = InnoDB\xa\x9\x9DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_product_actions` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_product_update`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_product_update` (
  `id` int NOT NULL,\xa  `user` int NOT NULL,
  `product` int NOT NULL,
  `version` varchar(32) NOT NULL DEFAULT '1.0',
  `title` varchar(128) DEFAULT NULL,
  `description` text,
  `file` text,\xa  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,\xa\x9\x9PRIMARY KEY (`id`))\xa\x9	ENGINE = InnoDB
\x9	DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_product_update` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_token`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_token` (\xa  `id` int NOT NULL,
  `user` int NOT NULL,\xa  `ip` text NOT NULL,
  `country` varchar(8) DEFAULT NULL,
  `token` varchar(64) NOT NULL,
  `activity` varchar(32) DEFAULT NULL,\xa  `status` int NOT NULL DEFAULT '1',\xa  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
	\x9PRIMARY KEY (`id`))\xa		ENGINE = InnoDB\xa\x9\x9DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_token` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); } try { $insertionSQL = $connx->prepare("DESCRIBE `dbb_user`"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "CREATE TABLE `dbb_user` (\xa  `id` int NOT NULL,
  `username` text NOT NULL,
  `password` text NOT NULL,
  `email` text CHARACTER SET utf8mb4 NOT NULL,\xa  `udid` varchar(20) NOT NULL,
  `avatar` text NOT NULL,
  `secret_key` varchar(32) DEFAULT NULL,
  `last_token` varchar(48) DEFAULT NULL,\xa  `token` text,\xa  `since` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
		PRIMARY KEY (`id`))\xa	\x9ENGINE = InnoDB
\x9\x9DEFAULT CHARACTER SET = utf8"; $connx->exec($insertionList); $connx->exec("ALTER TABLE `dbb_user` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;"); $connx->exec("INSERT INTO `dbb_user` (`id`, `username`, `password`, `email`, `udid`, `avatar`, `secret_key`, `last_token`, `token`, `since`) VALUES (1, 'Vuhp', '04debacfaa6b8376acd4b223adf9e76a', '[email protected]', '623308343582130187', 'https://cdn.discordapp.com/avatars/623308343582130187/ecc1855fc3cefd9497dd3c7e68a5eeca.png', 'O9RKhWeXgo3ggmKapl2q4fLUrBOSLFZl', 'x7VhEr9nZRb.3I0pB96FT23TMuFBozVr', 'MomkOGkysWZjMOhIqCzbHR8LrhMfr8', '2024-01-29 15:29:42');"); } } goto pijGY; VDL2l: if ($_POST["result"] == "verifyPermissions") { $filename = "../config.php"; $filename2 = "../parent/upload"; $filename3 = "../parent/tebex_payments"; $permissions = fileperms($filename); $ownerWritable = ($permissions & 128) !== 0; $groupWritable = ($permissions & 16) !== 0; $otherWritable = ($permissions & 2) !== 0; if ($ownerWritable and $groupWritable and $otherWritable) { $config_perm = 1; } else { $config_perm = 0; } $permissions2 = fileperms($filename2); $ownerWritable2 = ($permissions2 & 128) !== 0; $groupWritable2 = ($permissions2 & 16) !== 0; $otherWritable2 = ($permissions2 & 2) !== 0; if ($ownerWritable2 and $groupWritable2 and $otherWritable2) { $parentupload_perm = 1; } else { $parentupload_perm = 0; } $permissions3 = fileperms($filename3); $ownerWritable3 = ($permissions2 & 128) !== 0; $groupWritable3 = ($permissions2 & 16) !== 0; $otherWritable3 = ($permissions2 & 2) !== 0; if ($ownerWritable3 and $groupWritable3 and $otherWritable3) { $tebex_perm = 1; } else { $tebex_perm = 0; } echo json_encode(array("config" => $config_perm, "parent_upload" => $parentupload_perm, "tebex_payments" => $tebex_perm)); return; } goto DgQ5O; GSU65: ?>

Did this file decode correctly?

Original Code

<?php
 goto mpl2c; Kijbg: if ($_POST["\162\x65\163\x75\154\x74"] == "\x72\x65\163\145\x74\x5f\x69\160\163\x5f\153\x65\x79\137\x6c\151\x63\145\x6e\163\145") { getDBConnection(); $dataid = $_POST["\144\x61\164\141\137\151\x64"]; if (!sessions($_COOKIE["\x64\142\142\x5f\x74\x6f\153\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\160\145" => lang($messages, "\x73\145\163\163\x69\157\156", "\141\154\x65\162\164", "\x65\x72\162\x6f\x72"), "\x74\151\x74\x6c\145" => lang($messages, "\163\x65\163\163\x69\157\156", "\x61\154\145\x72\164", "\164\x69\164\x6c\x65"), "\163\165\142\x74\x69\x74\154\x65" => lang($messages, "\x73\x65\x73\163\x69\x6f\156", "\x61\x6c\x65\162\164", "\163\x75\x62\x74\151\164\154\145"))); return; } if (!has("\x64\142\142\56\141\x64\155\151\x6e\x2e\x6c\151\143\x65\156\x73\x65\x2e\x72\x65\x73\145\164\151\160\163")) { echo json_encode(array("\164\171\160\x65" => lang($messages, "\145\x72\162\x6f\x72", "\167\151\164\150\157\x75\164\x5f\160\x65\162\155\x69\x73\163\151\157\156", "\x74\x79\x70\145"), "\x74\151\164\x6c\x65" => lang($messages, "\x65\x72\x72\x6f\162", "\167\x69\x74\150\157\165\x74\x5f\160\145\x72\x6d\x69\x73\163\x69\x6f\156", "\164\x69\x74\154\x65"), "\x73\x75\142\164\151\164\x6c\x65" => lang($messages, "\x65\x72\162\157\162", "\167\x69\x74\x68\x6f\x75\x74\137\x70\x65\x72\x6d\151\x73\x73\151\x6f\x6e", "\163\x75\142\x74\151\164\x6c\x65"))); return; } if (empty($dataid)) { echo json_encode(array("\164\x79\160\145" => lang($messages, "\x65\162\x72\x6f\162", "\145\155\x70\164\171", "\164\x79\x70\145"), "\x74\151\x74\x6c\x65" => lang($messages, "\145\162\x72\x6f\162", "\x65\155\x70\x74\171", "\x74\151\164\154\x65"), "\x73\165\x62\164\x69\x74\154\x65" => lang($messages, "\x65\x72\162\157\162", "\145\x6d\x70\164\x79", "\x73\165\142\164\151\164\154\x65"))); return; } $verifySQL = $connx->prepare("\123\105\114\x45\x43\x54\40\52\40\106\x52\x4f\115\x20\140{$dbb_license}\x60\40\x57\x48\105\122\x45\40\140\x69\x64\140\x20\75\x20\x3f\x3b"); $verifySQL->execute(array($dataid)); if ($verifySQL->RowCount() > 0) { $verify = $verifySQL->fetch(PDO::FETCH_ASSOC); $elements = explode("\x23", $verify["\x69\160"]); $count = count($elements) - 1; $updateSQL = $connx->prepare("\125\120\x44\101\124\x45\x20\140{$dbb_license}\140\x20\123\105\124\40\x60\151\x70\140\75\40\116\125\114\x4c\54\x20\140\x61\143\x74\151\x76\x69\164\x79\x60\x20\x3d\x20\x4e\x55\x4c\x4c\40\127\x48\105\x52\105\x20\x60\x69\x64\x60\40\x3d\40\77\x3b"); $updateSQL->execute(array($verify["\151\x64"])); echo json_encode(array("\164\x79\160\145" => "\163\165\x63\x63\145\163\163", "\x74\x69\x74\154\145" => "\x43\x6f\x6d\x70\154\145\164\x65\40\x72\x65\163\x65\164\x20\x6f\x66\x20\111\x50\x73\x21", "\x73\x75\142\x74\151\164\154\145" => "\x54\x68\x65\40\111\120\x53\40\x68\x61\x76\x65\x20\x62\145\x65\x6e\x20\143\x6c\145\141\x6e\145\144\40\x77\x69\x74\150\40\141\x20\x74\x6f\x74\141\154\x20\157\x66\x20" . $count . "\x20\x72\145\x6d\157\x76\x65\x64\x2e")); closeDBConnection(); return; } else { echo json_encode(array("\164\x79\x70\145" => "\x65\x72\x72\157\x72", "\x74\151\x74\x6c\145" => "\117\150\150\x68", "\163\165\142\164\151\164\154\145" => "\124\150\151\x73\40\x6c\x69\143\145\156\163\x65\x20\x64\x6f\145\163\x20\156\157\164\x20\145\x78\x69\163\x74\41")); closeDBConnection(); return; } } goto jGOos; QcmoQ: if ($_POST["\162\145\163\165\x6c\x74"] == "\164\157\x6b\145\x6e\x5f\163\x74\x61\x74\x75\163") { getDBConnection(); $tokenSQL = $connx->prepare("\x53\105\x4c\105\103\124\40\x2a\40\x46\122\117\115\40\140{$dbb_token}\140\40\x57\110\x45\x52\x45\40\x60\x74\157\x6b\x65\x6e\140\40\x3d\40\77\73"); $tokenSQL->execute(array($_COOKIE["\x64\x62\x62\x5f\164\157\x6b\x65\156"])); $token = $tokenSQL->fetch(PDO::FETCH_ASSOC); if (TOKEN_STATUS) { if ($tokenSQL->RowCount() == 0) { session_destroy(); } else { $updateSQL = $connx->prepare("\125\120\x44\101\x54\x45\40\140{$dbb_token}\140\40\123\105\124\x20\140\141\x63\164\151\166\x69\x74\x79\x60\x3d\x20\116\x4f\127\50\x29\x20\x57\x48\105\122\105\40\140\151\144\x60\40\x3d\40\77\73"); $updateSQL->execute(array($token["\x69\x64"])); } } echo json_encode(array("\164\x79\x70\145" => "\163\165\143\x63\x65\x73\x73", "\164\x69\x74\154\x65" => "\124\x6f\x6b\145\x6e\x20\x55\160\x64\x61\164\145\x64\41", "\163\165\x62\164\151\164\x6c\x65" => '')); closeDBConnection(); return; } goto CYnh0; RoTqX: if ($_POST["\x72\145\163\165\x6c\164"] == "\x74\x65\163\164\x56\145\x72\151\146\171\x48\x74\x61\x63\143\145\163\163") { echo "\126\x65\x72\x69\146\151\145\x64"; } goto VDL2l; wgds9: if ($_POST["\162\x65\x73\165\x6c\164"] == "\x65\x72\141\x73\x65\x5f\165\163\145\162") { getDBConnection(); $dataid = $_POST["\144\141\x74\141\137\x69\144"]; if (!sessions($_COOKIE["\144\142\x62\x5f\x74\157\x6b\x65\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\171\160\x65" => lang($messages, "\163\145\x73\163\151\157\156", "\x61\x6c\145\162\164", "\x65\162\x72\x6f\x72"), "\164\151\164\x6c\x65" => lang($messages, "\x73\145\163\x73\151\157\x6e", "\x61\x6c\145\x72\x74", "\164\151\164\154\145"), "\x73\x75\x62\164\x69\x74\154\145" => lang($messages, "\x73\x65\163\x73\x69\157\x6e", "\x61\x6c\x65\162\164", "\x73\165\142\x74\x69\x74\x6c\x65"))); return; } if (!has("\144\142\142\x2e\x61\144\155\x69\x6e\x2e\x75\x73\x65\x72\x2e\145\162\x61\x73\145")) { echo json_encode(array("\x74\171\x70\145" => lang($messages, "\x65\162\162\x6f\162", "\x77\151\164\x68\157\x75\x74\x5f\x70\145\162\x6d\151\163\163\x69\157\156", "\164\x79\160\145"), "\164\151\x74\154\x65" => lang($messages, "\145\x72\x72\x6f\x72", "\x77\151\x74\150\x6f\165\x74\137\160\x65\x72\x6d\x69\x73\x73\151\157\x6e", "\164\151\164\154\145"), "\163\165\x62\164\x69\x74\x6c\145" => lang($messages, "\x65\x72\x72\157\162", "\x77\x69\164\150\x6f\165\164\x5f\x70\145\x72\x6d\151\x73\x73\x69\157\156", "\163\x75\x62\x74\x69\164\154\x65"))); return; } if (empty($dataid)) { echo json_encode(array("\164\x79\x70\x65" => lang($messages, "\x65\162\162\x6f\x72", "\x65\x6d\x70\164\x79", "\164\x79\160\145"), "\x74\x69\164\154\145" => lang($messages, "\x65\x72\162\157\162", "\145\x6d\160\164\171", "\164\x69\164\x6c\x65"), "\163\x75\142\x74\151\164\154\x65" => lang($messages, "\145\x72\162\157\162", "\145\x6d\160\x74\171", "\163\x75\x62\164\151\164\154\145"))); return; } try { $deleteSQL = $connx->prepare("\x44\105\x4c\x45\124\x45\40\x46\122\117\115\x20\x60{$dbb_user}\x60\x20\x57\x48\105\122\x45\x20\x60\151\x64\140\40\x3d\x20\77\x3b"); $deleteSQL->execute(array($dataid)); echo json_encode(array("\x74\171\160\x65" => "\x73\x75\x63\x63\x65\163\163", "\164\151\164\154\x65" => "\103\x6f\x72\162\x65\143\164\154\x79\41", "\163\165\x62\164\151\x74\x6c\145" => '')); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\x74\x79\x70\x65" => lang($messages, "\x65\162\x72\x6f\162", "\x65\155\x70\164\x79", "\x74\171\160\145"), "\164\x69\x74\154\145" => lang($messages, "\145\162\162\x6f\162", "\x65\x6d\x70\164\x79", "\164\x69\x74\154\x65"), "\x73\165\142\164\151\164\154\x65" => lang($messages, "\x65\162\x72\x6f\162", "\145\155\160\x74\171", "\163\165\x62\x74\x69\164\154\x65"))); closeDBConnection(); return; } } goto rJMTT; RvDri: if ($_POST["\x72\x65\163\x75\x6c\164"] == "\154\x6f\x67\x6f\x75\164\137\x61\154\x6c\137\144\145\x76\x69\x63\145\163") { getDBConnection(); $user = $_POST["\144\141\x74\x61\x5f\x69\x64"]; if (!sessions($_COOKIE["\x64\x62\x62\137\164\x6f\x6b\x65\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\171\160\145" => lang($messages, "\x73\145\163\163\x69\x6f\156", "\x61\x6c\x65\x72\164", "\145\x72\162\157\162"), "\x74\151\x74\154\x65" => lang($messages, "\x73\145\163\x73\x69\x6f\156", "\x61\154\x65\162\164", "\x74\151\164\154\145"), "\x73\x75\142\164\x69\164\x6c\145" => lang($messages, "\x73\145\163\x73\x69\157\156", "\141\x6c\x65\x72\164", "\163\x75\x62\x74\x69\x74\x6c\145"))); return; } if (!has("\144\x62\142\56\141\144\x6d\151\x6e\x2e\x63\154\145\x61\x72\56\144\x65\x76\151\x63\x65\x73")) { echo json_encode(array("\164\x79\x70\145" => lang($messages, "\145\x72\162\157\x72", "\167\151\164\150\x6f\165\x74\x5f\x70\x65\x72\x6d\151\163\163\x69\157\156", "\164\171\x70\145"), "\x74\151\164\x6c\145" => lang($messages, "\x65\162\162\x6f\x72", "\x77\151\164\150\157\x75\x74\x5f\x70\145\x72\155\x69\x73\x73\151\x6f\x6e", "\164\151\164\154\145"), "\x73\165\x62\x74\151\164\x6c\145" => lang($messages, "\145\162\x72\x6f\162", "\167\151\164\150\157\x75\164\x5f\160\x65\x72\x6d\x69\163\x73\x69\157\x6e", "\x73\x75\142\164\x69\x74\154\145"))); return; } $userSQL = $connx->prepare("\123\105\x4c\105\x43\124\x20\52\x20\x46\122\x4f\x4d\40\140{$dbb_user}\x60\40\127\110\105\x52\x45\40\140\x69\144\x60\40\75\x20\x3f\x3b"); $userSQL->execute(array($user)); $user = $userSQL->fetch(PDO::FETCH_ASSOC); $tokenSQL = $connx->prepare("\123\105\114\105\x43\124\40\x2a\x20\106\x52\x4f\x4d\x20\x60{$dbb_token}\140\40\x57\110\x45\122\x45\x20\140\165\x73\x65\162\x60\x20\75\x20\x3f\x3b"); $tokenSQL->execute(array($user["\151\144"])); if ($tokenSQL->RowCount() > 0) { $updateSQL = $connx->prepare("\104\105\x4c\105\124\105\40\x46\x52\x4f\x4d\x20\140{$dbb_token}\x60\40\x57\110\105\x52\x45\40\x60\165\x73\145\162\140\40\75\x20\x3f\x20\101\116\x44\x20\140\164\x6f\x6b\145\x6e\140\x20\41\75\x20\x3f\x3b"); $updateSQL->execute(array($user["\151\144"], $_COOKIE["\x64\x62\x62\x5f\164\157\153\x65\x6e"])); echo json_encode(array("\x74\x79\x70\145" => "\163\165\143\x63\145\x73\x73", "\164\x69\x74\x6c\145" => '', "\163\165\142\164\x69\164\154\x65" => "\101\x6c\x6c\40\165\163\145\x72\40\x73\x65\163\163\x69\157\x6e\163\x20\150\141\166\x65\40\142\145\145\x6e\x20\x6c\157\x67\x67\145\144\40\157\x75\x74\56")); closeDBConnection(); return; } else { echo json_encode(array("\x74\x79\x70\145" => "\145\x72\162\157\x72", "\164\151\164\x6c\145" => "\117\x66\146\x6c\x69\x6e\x65\41", "\x73\x75\x62\x74\151\x74\x6c\145" => "\124\150\145\162\145\40\151\163\x20\x6e\x6f\x20\x75\x73\145\162\x20\x73\145\x73\x73\151\x6f\x6e\40\157\160\x65\156\56")); closeDBConnection(); return; } } goto BarcR; T0lAv: if ($_POST["\162\145\163\165\x6c\164"] == "\160\x72\x6f\x64\165\143\x74\x5f\x65\x64\x69\164") { getDBConnection(); $product_id = $_POST["\x70\162\157\x64\x75\143\164\137\151\x64"]; $id_name = $_POST["\x69\144\x5f\x6e\x61\x6d\x65"]; $name = $_POST["\156\x61\x6d\145"]; $description = $_POST["\144\x65\x73\x63\162\151\160\x74\151\157\x6e"]; $price = $_POST["\160\x72\x69\x63\145"]; $version = $_POST["\166\145\x72\163\151\157\156"]; $icon = $_POST["\151\143\157\x6e"]; $tebex = !TEBEX_PAYMENT ? NULL : $_POST["\164\145\x62\x65\x78\x5f\160\162\157\x64\165\143\164"]; if (!sessions($_COOKIE["\x64\x62\x62\x5f\164\x6f\x6b\145\156"]) and TOKEN_STATUS) { echo json_encode(array("\x74\x79\x70\145" => lang($messages, "\163\145\x73\163\x69\x6f\156", "\x61\x6c\145\x72\164", "\145\x72\x72\x6f\x72"), "\x74\x69\164\x6c\145" => lang($messages, "\163\145\163\x73\x69\157\156", "\x61\154\145\x72\164", "\x74\151\x74\x6c\145"), "\x73\x75\142\164\151\164\x6c\x65" => lang($messages, "\x73\x65\x73\163\151\157\x6e", "\141\154\x65\162\164", "\x73\x75\142\x74\151\164\x6c\x65"))); return; } if (!has("\x64\x62\x62\56\x61\144\x6d\x69\x6e\56\160\162\157\144\x75\143\164\56\143\162\145\x61\x74\x65")) { echo json_encode(array("\164\171\160\145" => lang($messages, "\145\x72\x72\157\x72", "\167\x69\x74\x68\157\x75\164\x5f\160\145\162\155\151\x73\x73\x69\x6f\156", "\x74\171\160\145"), "\x74\x69\164\154\145" => lang($messages, "\x65\x72\x72\157\x72", "\167\x69\x74\150\157\x75\164\x5f\160\145\162\155\x69\x73\x73\x69\157\x6e", "\164\x69\164\x6c\x65"), "\163\x75\x62\164\151\x74\154\145" => lang($messages, "\x65\162\x72\157\x72", "\x77\151\x74\x68\x6f\x75\164\137\x70\145\162\155\151\163\x73\x69\x6f\x6e", "\x73\165\x62\164\x69\x74\x6c\x65"))); return; } if (empty($id_name) or empty($name) or empty($version) or empty($price)) { echo json_encode(array("\164\x79\x70\x65" => lang($messages, "\x65\x72\162\157\162", "\x65\155\160\164\x79", "\x74\x79\x70\145"), "\x74\x69\x74\154\x65" => lang($messages, "\x65\162\162\157\x72", "\145\155\160\x74\171", "\x74\x69\x74\x6c\145"), "\x73\165\x62\164\151\164\154\x65" => lang($messages, "\x65\162\x72\157\x72", "\x65\155\x70\x74\x79", "\x73\x75\x62\164\x69\x74\x6c\145"))); return; } if (empty($tebex) and TEBEX_PAYMENT) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x65\162\162\157\162", "\164\x65\142\145\x78\137\x65\155\x70\164\171", "\164\x79\x70\145"), "\x74\151\x74\x6c\145" => lang($messages, "\x65\x72\162\157\162", "\164\x65\142\x65\x78\x5f\145\155\160\x74\x79", "\164\151\164\154\x65"), "\x73\165\142\x74\x69\x74\154\145" => lang($messages, "\x65\162\162\x6f\x72", "\164\x65\x62\145\170\x5f\145\x6d\x70\164\171", "\163\165\x62\164\151\x74\x6c\x65"))); return; } try { if (hasExist("\x64\142\x62\x5f\x70\162\x6f\144\x75\143\164", "\151\144", $product_id)) { if (empty($icon)) { $trimmedText = trim($name); $firstLetter = strtoupper(substr($trimmedText, 0, 1)); $spacePosition = strpos($trimmedText, "\x20"); if ($spacePosition !== false) { $lastLetter = strtoupper(substr($trimmedText, $spacePosition + 1, 1)); } else { $lastLetter = strtoupper(substr($trimmedText, -1)); } $result = $firstLetter . $lastLetter; $icon = $result; $icon_type = 0; $icon_bg = "\151\x63\157\156\55\142\x6c\x75\x65\55\x73\165\x61\x76\x65\55\164\x65\x78\x74"; } else { $icon = $icon; $icon_type = 1; $icon_bg = "\x69\x63\x6f\x6e\55\x62\154\x75\145\55\142\x67"; } $description = empty($description) ? NULL : $description; $insertSQL = $connx->prepare("\x55\120\104\x41\124\x45\40\x60{$dbb_product}\x60\40\123\105\x54\40\140\x69\x63\x6f\156\x5f\142\147\x60\x20\x3d\x20\x3f\54\x20\x60\x69\x63\157\x6e\137\x74\x79\160\145\x60\x20\x3d\x20\x3f\x2c\x20\140\151\x63\x6f\x6e\x60\75\x20\77\x2c\x60\x69\144\137\x6e\x61\155\145\140\75\40\77\54\140\156\x61\155\145\x60\75\40\77\x2c\x60\x64\145\x73\143\162\x69\x70\x74\151\157\x6e\140\75\40\x3f\54\140\x70\162\x69\x63\x65\140\x3d\40\x3f\x2c\140\x76\x65\162\x73\151\157\156\x60\75\40\x3f\54\x60\x74\145\x62\x65\x78\140\x3d\x20\x3f\x20\127\x48\x45\x52\x45\x20\x60\x69\x64\x60\x20\x3d\40\x3f\x3b"); $insertSQL->execute(array($icon_bg, $icon_type, $icon, $id_name, $name, $description, $price, $version, $tebex, $product_id)); if (TEBEX_PAYMENT) { $insertSQLs = $connx->prepare("\125\x50\x44\101\124\x45\x20\x60{$dbb_product_actions}\140\x20\x53\x45\x54\x20\140\x64\141\x74\x61\140\75\x20\77\40\127\x48\105\122\x45\40\140\160\x72\x6f\144\x75\x63\164\x60\x20\75\x20\77\x3b"); $insertSQLs->execute(array($_COOKIE["\x70\x72\x6f\x64\165\x63\x74\137\x61\x63\x74\x69\x6f\x6e\x73"], $product_id)); } setcookie("\160\x72\157\144\165\x63\x74\x5f\141\143\x74\151\x6f\x6e\163", '', time() - 3600, "\x2f"); echo json_encode(array("\x74\171\160\145" => lang($messages, "\160\162\x6f\144\x75\143\x74", "\143\157\x6e\164\145\x6e\164", "\x61\x6c\145\162\x74", "\x65\144\x69\164\145\144\137\x70\x72\157\x64\x75\143\164", "\164\x79\160\x65"), "\164\151\164\154\x65" => lang($messages, "\x70\x72\157\144\x75\143\x74", "\x63\157\156\164\x65\x6e\x74", "\141\154\x65\162\x74", "\x65\144\x69\164\x65\x64\137\160\x72\x6f\144\165\x63\164", "\164\151\x74\154\145"), "\163\x75\142\x74\151\x74\154\x65" => lang($messages, "\160\x72\x6f\x64\x75\x63\164", "\x63\x6f\156\x74\x65\x6e\164", "\141\154\x65\162\x74", "\145\x64\151\164\x65\144\137\x70\162\x6f\144\165\x63\x74", "\163\165\x62\x74\x69\164\x6c\x65"), "\x69\x64" => $product_id)); closeDBConnection(); return; } else { echo json_encode(array("\x74\171\160\145" => lang($messages, "\x65\162\x72\x6f\x72", "\145\x6d\160\x74\171", "\164\x79\x70\145"), "\164\x69\x74\x6c\x65" => lang($messages, "\x65\x72\x72\157\x72", "\x65\x6d\x70\x74\171", "\x74\151\x74\x6c\145"), "\163\x75\142\x74\151\x74\x6c\145" => lang($messages, "\145\162\x72\x6f\x72", "\145\155\x70\164\171", "\163\x75\142\x74\x69\164\154\145"))); closeDBConnection(); return; } } catch (Exception $e) { echo json_encode(array("\164\171\x70\x65" => lang($messages, "\x65\x72\162\x6f\162", "\145\155\x70\x74\x79", "\x74\x79\160\x65"), "\164\x69\x74\154\145" => lang($messages, "\145\x72\162\157\162", "\x65\x6d\160\164\x79", "\x74\x69\x74\x6c\x65"), "\163\x75\x62\164\x69\x74\154\x65" => lang($messages, "\x65\162\162\157\x72", "\145\155\160\164\171", "\x73\x75\x62\164\151\x74\154\145"))); closeDBConnection(); return; } } goto BFaGU; Q4b7k: if ($_GET["\x72\x65\x73\x75\x6c\x74"] == "\144\157\167\156\x6c\x6f\141\x64\106\151\x6c\x65\163") { getDBConnection(); $name = $_GET["\146\151\x6c\x65"]; $secret = $_GET["\x73\x65\143\x72\145\x74"]; $code = $_GET["\143\x6f\144\x65"]; $filename = pathinfo($name, PATHINFO_FILENAME); $extension = pathinfo($name, PATHINFO_EXTENSION); $new_name = $filename . "\x5f" . randomCodes(8) . "\x2e" . $extension; $codeSQL = $connx->prepare("\x53\x45\x4c\x45\103\x54\x20\x2a\40\x46\x52\x4f\x4d\40\140{$dbb_code}\140\40\x57\110\x45\122\x45\40\x60\143\x6f\x64\145\140\40\x3d\40\x3f\73"); $codeSQL->execute(array($code)); $code = $codeSQL->fetch(PDO::FETCH_ASSOC); if ($codeSQL->RowCount() > 0) { $path = "\56\x2e\57\x70\141\162\145\x6e\164\x2f\x75\x70\x6c\x6f\141\x64\57" . $secret; if ($code["\164\171\x70\145"] == "\144\157\167\x6e\154\x6f\x61\x64" and $code["\x73\x74\x61\164\x75\x73"] == 2) { if (file_exists($path)) { header("\103\x61\x63\x68\x65\x2d\x43\157\x6e\x74\162\157\x6c\x3a\x20\x70\x75\x62\x6c\x69\x63"); header("\x43\157\x6e\164\x65\x6e\x74\x2d\104\x65\x73\x63\162\x69\x70\164\151\157\x6e\x3a\x20\x46\151\x6c\145\x20\x54\162\x61\156\x73\x66\x65\x72"); header("\103\x6f\156\164\145\x6e\x74\x2d\104\151\163\160\x6f\163\x69\164\151\x6f\x6e\x3a\x20\x61\x74\x74\141\x63\x68\x6d\x65\x6e\164\x3b\x20\146\151\x6c\145\156\141\155\145\x3d" . $new_name); header("\x43\x6f\x6e\x74\145\x6e\164\55\x54\x72\141\156\163\146\145\x72\55\x45\156\143\x6f\144\151\156\x67\72\40\142\x69\156\141\162\171"); $insertSQL = $connx->prepare("\x49\x4e\x53\x45\x52\124\x20\x49\x4e\x54\117\x20\x60{$dbb_download}\x60\x28\x60\x75\163\x65\162\x60\54\40\140\x66\151\x6c\145\140\x2c\40\x60\x63\x6f\x64\x65\x60\x29\40\126\x41\x4c\x55\105\123\40\50\x3f\x2c\x20\x3f\x2c\40\77\51\x3b"); $insertSQL->execute(array($_SESSION["\x64\x62\x62\x5f\x75\x73\145\x72"]["\x69\x64"], $new_name, $code["\143\x6f\144\x65"])); $download_id = $connx->lastInsertId(); $download_id = $download_id . "\x23" . $new_name; $updateSQL = $connx->prepare("\x55\120\104\x41\124\105\40\140{$dbb_code}\x60\x20\x53\105\x54\40\140\141\144\144\x6f\156\x73\140\40\x3d\x20\x3f\54\x20\140\163\x74\x61\x74\x75\163\x60\40\x3d\40\47\x31\47\54\40\x60\x75\x73\x65\x60\40\x3d\x20\77\x20\x57\x48\x45\x52\105\40\x60{$dbb_code}\x60\x2e\x60\x69\144\140\x20\75\x20\77\73"); $updateSQL->execute(array($download_id, $_SESSION["\144\142\142\137\165\163\145\x72"]["\x69\144"], $code["\151\x64"])); readfile($path); echo "\x3c\x73\143\x72\x69\160\164\76\x20\x68\151\163\x74\157\x72\x79\56\142\x61\143\x6b\50\55\61\x29\73\40\74\x2f\x73\143\162\x69\160\164\x3e"; closeDBConnection(); die; } else { echo "\106\151\x6c\145\x20\156\157\164\x20\x66\x6f\165\x6e\144\56"; } } else { echo "\x48\x61\x73\x20\x62\x65\x65\156\x20\165\163\x65\144\x2e"; } } echo "\74\x73\143\x72\151\x70\164\x3e\40\150\x69\163\x74\x6f\162\171\x2e\142\141\143\x6b\50\x2d\61\x29\73\40\x3c\57\163\143\162\151\x70\x74\76"; closeDBConnection(); } goto laT8v; pijGY: if ($_POST["\x72\145\x73\165\x6c\x74"] == "\164\145\x73\x74\x54\x61\x62\154\x65\114\x69\163\x74") { try { $connx = new PDO("\x6d\x79\x73\161\154\72\x68\157\163\x74\x3d" . DB_HOST . "\x3b\160\x6f\162\x74\75" . DB_PORT . "\73\x64\142\x6e\x61\x6d\145\75" . DB_DATA, DB_USER, DB_PASSWORD); $connx->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch (PDOException $e) { echo json_encode(array("\x73\165\x63\x63\145\163\x73" => 0, "\155\145\x73\x73\141\147\145" => "\105\162\162\157\162\40\x6f\x6e\x20\143\x6f\156\x6e\145\143\x74\x69\157\156\x20\x6f\146\40\115\171\x53\121\114\x2e")); return; } if (DB_TYPE == "\115\131\123\x51\114") { $tables = array($dbb_user, $dbb_token, $dbb_product_update, $dbb_product_actions, $dbb_product, $dbb_logs, $dbb_license, $dbb_history_ip, $dbb_group_user, $dbb_group_permission, $dbb_group, $dbb_download, $dbb_code, $dbb_basket_payment, $dbb_basket_checkout, $dbb_basket); $type = 1; $message = "\x49\156\x20\147\157\x6f\x64\x20\x74\151\x6d\145\54\40\x61\x6c\154\x20\x74\150\x65\x20\x74\141\142\154\x65\x73\40\141\x72\x65\40\x63\157\162\162\145\x63\164\41"; foreach ($tables as $table) { try { $sqlVerify = $connx->prepare("\104\105\x53\x43\122\x49\x42\105\40\140{$table}\x60"); $sqlVerify->execute(); $tables_status[$table] = 1; } catch (PDOException $e) { $type = 2; $tables_status[$table] = 0; $message = "\124\150\x65\x72\145\x20\141\162\145\x20\x73\164\x69\x6c\x6c\x20\x74\141\142\x6c\x65\163\40\164\150\x61\x74\x20\x77\x65\162\x65\x20\156\157\x74\40\154\x6f\141\144\x65\x64\40\x73\165\x63\143\145\x73\163\146\x75\x6c\x6c\171\x2e\x20\x54\157\x20\x63\x6f\156\164\151\x6e\165\145\x2c\40\x69\x6e\163\x65\162\x74\40\x74\150\145\x20\x6e\x65\x63\145\x73\x73\x61\162\171\40\164\141\142\154\145\163\40\x6f\x72\40\143\x6c\x69\x63\x6b\x20\157\156\x20\x74\x68\145\x20\42\151\x6e\x73\x65\x72\x74\40\x74\141\142\154\145\163\42\x20\142\x75\x74\164\157\156\x2e"; break; } } } else { $type = 1; $message = "\x49\156\x20\147\x6f\157\x64\40\164\151\155\x65\54\x20\141\154\154\x20\164\x68\x65\x20\164\141\x62\154\145\163\x20\x61\x72\x65\40\x63\x6f\x72\x72\x65\x63\x74\41"; } echo json_encode(array("\x73\x75\143\x63\145\x73\x73" => $type, "\x6d\145\163\x73\141\x67\x65" => $message) + $tables_status); return; } goto GSU65; yKXEH: if ($_POST["\x72\145\x73\x75\154\x74"] == "\x66\x69\154\x65\x5f\x75\x70\154\x6f\x61\x64") { $uploadDir = __DIR__ . "\x2f\56\x2e\57\x70\x61\162\x65\x6e\164\x2f\x75\160\x6c\157\141\144\57"; $fileName = $_FILES["\x66\151\x6c\145"]["\x6e\x61\x6d\x65"]; $fileTmpName = $_FILES["\x66\x69\154\145"]["\164\155\x70\x5f\x6e\x61\155\145"]; $fileSize = $_FILES["\x66\x69\154\x65"]["\163\x69\172\x65"]; $fileError = $_FILES["\146\151\x6c\145"]["\145\162\162\x6f\x72"]; $fileExt = strtolower(pathinfo($fileName, PATHINFO_EXTENSION)); $allowedExts = array("\x72\141\x72", "\x7a\151\x70", "\160\x6e\x67", "\x67\x69\146", "\160\144\146", "\x64\x6f\143", "\x64\157\x63\170", "\x74\x78\164"); if (in_array($fileExt, $allowedExts)) { if ($fileError === 0) { $uniqueFileName = uniqid("\146\x69\x6c\x65\x5f", true) . "\56" . $fileExt; $uploadPath = $uploadDir . $uniqueFileName; if (move_uploaded_file($fileTmpName, $uploadPath)) { echo json_encode(array("\x74\x79\160\x65" => "\163\165\x63\x63\145\x73\163", "\x6e\141\155\x65" => $fileName, "\163\151\172\145" => $fileSize, "\x70\141\164\150" => $uploadPath, "\165\156\x69\161\x75\x65\137\x6e\x61\x6d\x65" => $uniqueFileName)); return; } else { echo json_encode(array("\164\x79\x70\145" => lang($messages, "\x70\x72\157\144\x75\x63\164", "\x63\x6f\x6e\x74\x65\156\164", "\141\154\145\162\x74", "\x66\x69\154\x65\x73", "\165\x70\154\x6f\x61\144", "\145\162\162\157\162", "\x74\x79\x70\x65"), "\164\151\x74\154\x65" => lang($messages, "\160\x72\x6f\x64\x75\143\x74", "\143\157\156\x74\x65\156\x74", "\141\154\x65\162\164", "\146\151\x6c\x65\x73", "\165\160\x6c\x6f\x61\x64", "\145\x72\x72\157\x72", "\164\151\164\x6c\x65"), "\163\165\x62\164\151\x74\x6c\145" => lang($messages, "\x70\x72\x6f\144\x75\143\x74", "\143\157\156\x74\145\156\x74", "\141\x6c\x65\162\164", "\146\151\154\145\163", "\x75\x70\154\157\x61\x64", "\x65\x72\x72\157\162", "\x73\165\142\164\x69\x74\154\x65"))); return; } } else { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\160\x72\157\144\165\143\164", "\143\157\x6e\x74\145\156\x74", "\141\154\145\162\164", "\146\x69\154\145\163", "\165\x70\154\x6f\x61\x64", "\145\162\x72\x6f\x72", "\164\x79\x70\145"), "\x74\151\164\154\x65" => lang($messages, "\160\162\x6f\x64\x75\x63\x74", "\x63\157\156\164\x65\156\x74", "\x61\154\x65\162\x74", "\x66\x69\x6c\145\x73", "\x75\x70\154\x6f\141\x64", "\145\x72\162\157\x72", "\164\151\164\154\x65"), "\163\x75\142\164\151\164\154\x65" => lang($messages, "\x70\162\157\x64\165\143\x74", "\143\x6f\x6e\164\145\x6e\164", "\141\154\x65\x72\x74", "\146\x69\154\145\x73", "\x75\x70\154\x6f\141\x64", "\x65\x72\162\157\162", "\x73\x75\x62\x74\x69\164\154\x65"))); return; } } else { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x70\162\157\x64\165\143\x74", "\143\x6f\156\164\145\x6e\x74", "\x61\x6c\145\x72\164", "\x66\x69\x6c\x65\163", "\165\x70\154\x6f\x61\x64", "\x65\x78\x74\x65\x6e\x73\151\x6f\x6e", "\x74\171\x70\145"), "\x74\x69\x74\154\x65" => lang($messages, "\x70\x72\x6f\x64\165\143\164", "\x63\157\156\164\145\156\x74", "\x61\x6c\145\162\x74", "\146\x69\x6c\145\163", "\165\x70\154\157\x61\144", "\x65\170\x74\x65\x6e\163\151\x6f\x6e", "\x74\x69\164\x6c\145"), "\x73\x75\x62\164\x69\x74\x6c\145" => lang($messages, "\160\x72\157\x64\165\143\164", "\143\157\156\164\145\x6e\164", "\141\x6c\145\162\x74", "\146\x69\x6c\x65\163", "\x75\160\x6c\157\x61\144", "\x65\170\164\x65\156\x73\151\x6f\x6e", "\x73\x75\x62\x74\151\164\x6c\145"))); return; } } goto AzpWA; r636S: if ($_POST["\x72\x65\163\165\x6c\164"] == "\145\162\x61\163\145\x5f\147\x72\157\165\160") { getDBConnection(); $dataid = $_POST["\144\141\x74\x61\x5f\x69\144"]; if (!sessions($_COOKIE["\x64\x62\142\137\164\x6f\153\145\156"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\160\145" => lang($messages, "\x73\145\163\x73\151\x6f\156", "\x61\x6c\x65\x72\x74", "\145\x72\162\x6f\162"), "\x74\151\164\x6c\145" => lang($messages, "\x73\x65\163\163\x69\157\156", "\141\x6c\145\162\164", "\x74\x69\164\x6c\x65"), "\x73\x75\x62\x74\151\x74\154\145" => lang($messages, "\163\145\x73\163\151\157\156", "\141\154\145\162\x74", "\163\x75\x62\164\x69\164\x6c\x65"))); return; } if (!has("\x64\142\x62\x2e\141\144\x6d\x69\156\x2e\x67\x72\157\x75\160\x2e\145\x72\141\163\x65")) { echo json_encode(array("\x74\x79\x70\x65" => "\x65\x72\162\157\162", "\x74\151\164\154\x65" => "\111\156\163\165\x66\146\x69\143\151\x65\x6e\164\x20\160\145\162\x6d\x69\163\163\151\x6f\156\163", "\163\165\142\x74\151\164\x6c\145" => '')); return; } if (empty($dataid)) { echo json_encode(array("\164\x79\160\x65" => lang($messages, "\145\x72\x72\157\x72", "\145\x6d\x70\164\x79", "\x74\171\x70\x65"), "\x74\x69\164\154\145" => lang($messages, "\x65\162\x72\157\x72", "\x65\x6d\160\x74\x79", "\x74\x69\164\x6c\145"), "\x73\165\142\x74\x69\164\x6c\x65" => lang($messages, "\145\x72\162\157\162", "\145\x6d\160\164\171", "\x73\165\142\164\151\164\x6c\145"))); return; } try { $groupSQL = $connx->prepare("\123\x45\114\105\103\124\x20\52\40\x46\122\x4f\115\x20\140{$dbb_group}\x60\x20\x57\x48\105\x52\105\x20\x60\151\x64\140\40\75\x20\x3f\x3b"); $groupSQL->execute(array($dataid)); $group = $groupSQL->fetch(PDO::FETCH_ASSOC); if ($groupSQL->RowCount() > 0) { $user_count = hasCount("\144\142\x62\x5f\x67\162\x6f\165\160\x5f\x75\x73\145\x72", "\147\x72\157\x75\x70", $group["\x69\x64"]); $perms_count = hasCount("\144\142\x62\x5f\x67\162\x6f\x75\160\137\x70\x65\x72\155\x69\x73\163\151\157\x6e", "\x67\x72\157\x75\x70", $group["\151\144"]); if ($group["\x64\x65\x66\x61\165\x6c\x74"]) { echo json_encode(array("\x74\x79\x70\145" => "\145\x72\162\x6f\x72", "\164\x69\164\154\x65" => "\124\150\151\163\x20\147\x72\157\165\160\x20\151\163\40\x64\145\146\141\165\x6c\x74\56", "\163\x75\x62\x74\151\164\x6c\x65" => "\x49\x74\40\143\141\x6e\156\157\164\40\142\145\x20\144\145\x6c\145\x74\x65\144\x20\x75\156\154\145\x73\163\x20\x79\x6f\x75\40\143\150\x61\x6e\x67\145\x20\x74\150\x65\40\144\145\x66\141\x75\x6c\164\x20\x73\145\x74\x74\151\x6e\x67\x20\164\157\40\x61\156\x6f\x74\x68\x65\162\40\147\x72\x6f\x75\160\x2e")); return; } $deleteSQL = $connx->prepare("\x44\x45\x4c\x45\x54\x45\40\x46\x52\117\x4d\x20\x60{$dbb_group}\x60\40\127\110\x45\x52\x45\40\x60\151\x64\x60\40\x3d\40\x3f\73"); $deleteSQL->execute(array($dataid)); $deleteUserSQL = $connx->prepare("\x44\105\114\105\x54\105\x20\106\122\117\115\40\140{$dbb_group_user}\x60\x20\x57\110\x45\x52\105\40\x60\147\162\157\x75\160\x60\40\75\40\77\x3b"); $deleteUserSQL->execute(array($dataid)); $deletePermissionSQL = $connx->prepare("\104\105\114\105\x54\105\x20\106\x52\117\115\x20\140{$dbb_group_permission}\x60\40\127\x48\x45\122\x45\40\140\x67\x72\157\x75\160\140\x20\x3d\x20\x3f\73"); $deletePermissionSQL->execute(array($dataid)); } else { echo json_encode(array("\x74\171\x70\145" => "\145\162\162\157\162", "\x74\151\x74\154\x65" => "\104\157\145\x73\40\x6e\x6f\164\40\145\170\x69\x73\164\x2e", "\163\165\x62\164\151\x74\154\x65" => "\x54\150\x65\x20\x67\162\157\x75\160\40\x64\157\x65\x73\40\x6e\x6f\164\40\x65\170\151\163\164\40\164\157\40\160\x65\162\146\x6f\162\x6d\x20\164\x68\x69\x73\x20\x61\x63\x74\151\x6f\156\x2e")); closeDBConnection(); return; } echo json_encode(array("\164\171\x70\x65" => "\x73\165\x63\143\x65\x73\163", "\x74\x69\164\x6c\x65" => "\123\x75\143\x63\145\163\163\x66\165\x6c\40\144\x65\154\x65\x74\x69\x6f\x6e\x21", "\x73\x75\x62\x74\x69\164\154\x65" => "\x54\x68\x65\x20" . $group["\156\141\155\145"] . "\40\167\x69\164\150\x20" . $user_count . "\40\165\163\x65\x72\163\40\x61\x6e\144\40" . $perms_count . "\x20\x70\145\162\x6d\151\x73\163\x69\157\x6e\163\x20\150\141\x73\40\142\145\145\156\40\x72\x65\x6d\157\x76\145\x64\56")); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x65\x72\x72\157\162", "\x65\x6d\x70\x74\171", "\164\x79\160\145"), "\x74\x69\164\x6c\145" => lang($messages, "\x65\162\x72\x6f\162", "\145\x6d\x70\x74\171", "\164\151\164\154\145"), "\163\x75\x62\164\x69\164\154\145" => lang($messages, "\x65\162\162\157\162", "\x65\x6d\x70\164\x79", "\x73\x75\142\164\151\x74\154\x65"))); closeDBConnection(); return; } } goto soRa3; tO6Ae: if ($_POST["\x72\x65\x73\x75\154\164"] == "\x63\x6c\x6f\x6e\114\x69\x63\145\x6e\x73\145") { getDBConnection(); $dataid = $_POST["\x64\x61\x74\x61\x5f\151\144"]; if (!sessions($_COOKIE["\x64\142\x62\x5f\164\157\x6b\145\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\171\160\145" => lang($messages, "\163\x65\163\163\x69\157\x6e", "\x61\x6c\145\x72\164", "\x65\x72\x72\157\x72"), "\164\151\164\154\145" => lang($messages, "\163\145\163\163\151\157\156", "\141\x6c\x65\162\164", "\x74\x69\164\x6c\x65"), "\163\165\x62\x74\151\164\154\145" => lang($messages, "\163\x65\x73\x73\x69\157\x6e", "\x61\154\x65\162\164", "\x73\165\x62\x74\x69\x74\x6c\145"))); return; } if (!has("\144\x62\x62\56\x61\144\155\x69\156\x2e\154\x69\x63\145\156\163\x65\x2e\x63\x6c\x6f\156\x65")) { echo json_encode(array("\164\x79\x70\145" => lang($messages, "\x65\x72\x72\157\x72", "\167\151\164\150\x6f\x75\164\x5f\x70\x65\162\x6d\151\163\163\x69\x6f\x6e", "\x74\171\x70\145"), "\x74\x69\x74\x6c\x65" => lang($messages, "\x65\162\162\x6f\162", "\x77\x69\164\x68\x6f\x75\x74\137\160\x65\162\x6d\x69\x73\163\x69\157\x6e", "\164\151\164\x6c\145"), "\163\165\142\x74\151\x74\154\x65" => lang($messages, "\x65\x72\162\x6f\162", "\x77\x69\164\150\x6f\165\x74\137\160\x65\162\155\151\x73\x73\151\157\x6e", "\x73\165\x62\164\x69\164\x6c\145"))); return; } if (empty($dataid)) { echo json_encode(array("\164\171\x70\x65" => "\x65\162\162\x6f\x72", "\164\151\164\154\x65" => "\x4f\150\x68\54\40\x74\150\145\162\x65\x20\x61\162\x65\40\x70\162\157\142\x6c\145\155\x73\x21", "\163\165\142\x74\x69\164\154\145" => "\x50\162\x6f\142\x6c\145\x6d\163\40\x6f\x63\143\x75\x72\162\145\x64\40\x77\150\145\156\40\x74\162\171\151\156\147\x20\164\157\x20\x63\x6c\x6f\x6e\145\x20\x74\150\145\40\x6c\151\143\x65\156\163\x65\x2e\x20\x54\162\171\x20\141\147\x61\x69\x6e\x21")); return; } $verifySQL = $connx->prepare("\x53\x45\x4c\105\103\x54\x20\52\x20\x46\122\x4f\115\40\x60{$dbb_license}\x60\40\x57\110\x45\122\x45\x20\140\151\x64\x60\x20\x3d\x20\x3f\x3b"); $verifySQL->execute(array($dataid)); if ($verifySQL->RowCount() > 0) { $verify = $verifySQL->fetch(PDO::FETCH_ASSOC); $addons = explode("\43", $verify["\x61\144\x64\157\156\x73"]); if (!$addons[9]) { echo json_encode(array("\164\171\x70\145" => "\x65\162\162\157\162", "\x74\x69\x74\x6c\145" => "\117\150\x68\150", "\x73\165\142\x74\x69\x74\154\x65" => "\124\150\145\x20\x6c\151\x63\145\156\x73\x65\40\x64\x6f\145\x73\x20\x6e\157\x74\40\163\x75\160\160\x6f\x72\x74\40\143\x6c\x6f\156\151\156\x67\56")); closeDBConnection(); return; } $new_key = randomCodes(5) . "\55" . randomCodes(5) . "\x2d" . randomCodes(5) . "\x2d" . randomCodes(5) . "\x2d" . randomCodes(5); $cloneSQL = $connx->prepare("\x49\x4e\x53\x45\122\x54\x20\x49\116\x54\x4f\x20\140{$dbb_license}\x60\x28\140\x63\x6c\151\x65\x6e\x74\x60\54\x20\x60\153\145\171\140\x2c\x20\x60\x70\162\157\144\x75\x63\x74\140\54\x20\140\145\x78\x70\151\162\x65\x60\x2c\x20\140\151\160\140\x2c\x20\x60\x61\143\164\x69\166\151\x74\171\x60\54\40\x60\x73\x74\141\164\x75\163\x60\x2c\40\140\x61\x64\144\157\156\163\x60\54\40\x60\143\x75\163\x74\157\x6d\137\141\x64\x64\157\x6e\x73\140\x29\x20\12\x9\11\x9\126\101\x4c\x55\105\123\x20\50\77\x2c\40\77\x2c\40\x3f\x2c\40\x3f\x2c\x20\116\125\114\114\x2c\40\x4e\125\114\x4c\x2c\x20\x3f\54\x20\x3f\54\x20\77\51\73"); $cloneSQL->execute(array($verify["\x63\x6c\151\x65\156\x74"], $new_key, $verify["\160\162\x6f\144\165\x63\x74"], $verify["\x65\x78\x70\x69\162\145"], $verify["\163\164\x61\164\165\163"], $verify["\x61\144\144\157\x6e\x73"], $verify["\143\165\x73\164\x6f\155\x5f\x61\x64\x64\157\156\x73"])); $dataid = $connx->lastInsertId(); $expire_date = $verify["\x65\x78\160\151\162\145"] == "\x2d\x31" ? "\116\x65\x76\x65\x72" : date("\x59\55\155\55\x64\40\150\x3a\151\40\x41", $verify["\x65\x78\160\x69\162\x65"]); $fields = array(array("\156\141\155\145" => "\x60\xf0\237\247\232\xe2\200\215\x60\x20\x43\165\163\164\x6f\x6d\145\162", "\166\141\x6c\165\145" => "\74\x40" . $verify["\x63\154\x69\x65\x6e\x74"] . "\x3e", "\x69\x6e\154\151\x6e\x65" => true), array("\156\141\x6d\x65" => "\140\360\237\x93\205\140\x20\105\x78\160\x69\162\145", "\166\x61\x6c\165\x65" => "\x60" . $expire_date . "\x60", "\151\156\x6c\x69\x6e\x65" => true), array("\x6e\x61\x6d\145" => "\x60\360\x9f\221\xae\140\xe2\200\x8d\x20\115\x61\x64\145\40\x62\x79", "\x76\x61\x6c\x75\145" => "\74\x40" . userDev("\165\144\151\x64", $_SESSION["\x64\142\142\x5f\x75\163\145\162"]["\151\x64"]) . "\x3e", "\x69\x6e\x6c\151\156\x65" => true)); if (LICENSE_CREATED_WEBHOOK != 0) { $custom_addons = empty($verify["\x63\x75\163\164\x6f\155\137\x61\x64\x64\157\x6e\x73"]) ? "\x45\155\160\x74\171" : $verify["\x63\x75\x73\164\157\155\137\x61\x64\x64\x6f\156\163"]; webhook(LICENSE_CREATED_WEBHOOK, SOFTWARE_ICON . "\40" . SOFTWARE . "\40\x7c\40" . userDev("\165\x73\x65\162\156\x61\155\x65", $_SESSION["\x64\142\142\137\165\163\x65\162"]["\x69\144"]), userDev("\x61\x76\141\164\x61\162", $_SESSION["\x64\x62\142\x5f\165\x73\x65\x72"]["\x69\144"]), '', "\140\360\x9f\224\220\140\x20\x4c\x49\103\105\x4e\123\x45\40\x43\114\117\x4e\x41\124\105\x44", "\343\203\xbb\40\x2a\x2a\x4c\151\x63\145\x6e\x73\x65\x20\113\x65\171\72\52\52\xa\x9\x9\x9\x9\140\x60\140" . $new_key . "\140\140\140\40\12\11\x9\x9\11\343\203\xbb\x20\52\52\114\151\x63\x65\x6e\x73\x65\x20\111\x6e\146\157\162\x6d\141\x74\151\157\156\x3a\x2a\x2a\x20\xa\x9\x9\11\x9\x60\360\237\x93\246\140\x20\x50\162\157\x64\165\x63\164\x3a\x20\140" . $verify["\160\x72\157\144\x75\143\164"] . "\140\12\x9\11\11\11\x60\xf0\237\x93\x9c\140\40\x4d\x61\x78\x20\x49\x50\x73\72\x20\140" . $addons[0] . "\140\xa\x9\11\x9\x9\140\xf0\237\216\201\x60\40\x43\165\x73\x74\x6f\155\40\x41\144\144\x6f\156\x73\72\40\140" . $custom_addons . "\x60\xa\x9\x9\11\11\xa\x9\x9\x9\x9", URI . "\57\x6c\x69\143\145\156\163\145\57" . $dataid, "\61\141\x38\142\60\x30", '', hasDocs($dbb_user, "\x75\x64\151\144", $verify["\143\154\x69\145\x6e\x74"], "\141\x76\141\x74\141\x72"), $fields); } } else { echo json_encode(array("\164\x79\x70\145" => "\x65\x72\x72\x6f\x72", "\164\151\164\x6c\x65" => "\117\x68\x68\150", "\x73\165\x62\164\151\164\154\145" => "\124\150\151\163\40\154\x69\143\x65\156\x73\x65\40\144\157\145\x73\40\156\x6f\x74\x20\x65\170\151\x73\x74\41")); closeDBConnection(); return; } echo json_encode(array("\x74\171\x70\x65" => "\x73\165\143\x63\145\x73\163", "\x74\x69\x74\154\145" => "\x53\x75\143\143\x65\163\163\x66\165\x6c\40\x6c\151\x63\145\156\163\x65\x20\x63\154\x6f\156\151\x6e\x67\x21", "\x73\x75\142\x74\x69\x74\x6c\145" => "\124\x68\145\40\x6c\x69\143\x65\156\163\x65\x20\x77\x61\x73\x20\163\x75\x63\143\145\163\x73\x66\x75\154\154\171\40\143\x6c\x6f\x6e\x65\x64\56\x20\104\x6f\40\x79\x6f\165\x20\x77\141\x6e\x74\x20\x74\x6f\40\142\145\40\162\x65\x64\x69\x72\145\x63\x74\145\x64\40\x74\157\40\155\x6f\144\x69\x66\x79\x20\x69\x74\77", "\151\144" => $dataid)); closeDBConnection(); return; } goto rOPTy; lWiMe: if ($_POST["\x72\x65\163\165\154\164"] == "\x61\144\144\x5f\160\x65\162\x6d") { getDBConnection(); $value = $_POST["\x76\x61\154\165\145"]; $group = $_POST["\x67\x72\157\x75\x70"]; if (!sessions($_COOKIE["\144\x62\x62\x5f\x74\x6f\153\145\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\x70\145" => lang($messages, "\163\145\x73\x73\151\x6f\156", "\x61\x6c\145\162\164", "\x65\x72\x72\157\162"), "\x74\x69\x74\x6c\x65" => lang($messages, "\x73\145\x73\x73\151\x6f\156", "\141\154\145\162\164", "\x74\151\x74\154\145"), "\x73\165\142\x74\151\x74\x6c\145" => lang($messages, "\163\145\163\163\x69\x6f\156", "\141\x6c\x65\162\164", "\x73\165\x62\164\151\164\154\x65"))); return; } if (!has("\x64\142\142\x2e\141\x64\x6d\x69\156\56\147\162\157\165\x70\56\x70\145\x72\155\x69\x73\x73\x69\x6f\156\x2e\141\144\x64")) { echo json_encode(array("\x74\171\x70\145" => lang($messages, "\x65\162\x72\157\162", "\167\151\164\150\x6f\x75\x74\x5f\x70\x65\162\x6d\151\163\x73\151\x6f\156", "\x74\x79\x70\145"), "\x74\x69\164\154\x65" => lang($messages, "\x65\x72\x72\157\162", "\x77\x69\x74\150\x6f\165\164\x5f\x70\145\x72\x6d\x69\x73\x73\151\x6f\x6e", "\164\151\x74\x6c\x65"), "\x73\x75\x62\x74\x69\x74\154\145" => lang($messages, "\x65\x72\162\x6f\x72", "\x77\x69\164\150\157\165\164\x5f\160\145\162\155\x69\x73\163\x69\157\156", "\163\x75\x62\x74\x69\164\x6c\x65"))); return; } if (empty($value) or empty($group)) { echo json_encode(array("\x74\171\x70\x65" => lang($messages, "\145\x72\x72\157\162", "\x65\x6d\x70\164\x79", "\x74\x79\160\145"), "\x74\151\x74\154\x65" => lang($messages, "\x65\x72\x72\157\x72", "\145\x6d\x70\x74\171", "\164\x69\164\154\x65"), "\x73\x75\x62\x74\151\164\x6c\x65" => lang($messages, "\145\x72\x72\157\162", "\145\x6d\160\x74\x79", "\x73\x75\142\x74\151\x74\154\x65"))); return; } try { $insertSQL = $connx->prepare("\x49\116\x53\105\122\124\x20\111\x4e\x54\117\x20\140{$dbb_group_permission}\x60\50\140\x67\162\x6f\x75\160\x60\54\x20\140\x70\145\x72\155\151\163\163\x69\x6f\156\x60\x29\40\x56\101\114\x55\105\123\40\50\x3f\x2c\x20\x3f\51\x3b"); $insertSQL->execute(array($group, $value)); $perm_id = $connx->lastInsertId(); echo json_encode(array("\164\x79\x70\145" => "\x73\x75\x63\x63\x65\163\x73", "\164\151\164\x6c\x65" => "\103\x6f\x72\x72\145\x63\x74\154\171\41", "\x73\165\142\x74\x69\164\x6c\x65" => '', "\x64\x61\164\x61\x69\144" => $perm_id)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\164\x79\160\145" => lang($messages, "\145\x72\162\x6f\162", "\145\x6d\160\164\x79", "\164\x79\x70\x65"), "\x74\x69\x74\154\x65" => lang($messages, "\x65\x72\162\157\x72", "\145\155\x70\164\171", "\164\x69\164\154\145"), "\163\165\x62\164\151\164\x6c\145" => lang($messages, "\145\162\162\157\x72", "\145\x6d\x70\164\171", "\x73\165\x62\x74\x69\164\x6c\x65"))); closeDBConnection(); return; } } goto zPGlq; ER_ej: if ($_POST["\162\x65\x73\x75\x6c\164"] == "\145\144\x69\164\137\x70\145\162\155") { getDBConnection(); $dataid = $_POST["\x64\141\x74\x61\151\x64"]; $group = $_POST["\147\x72\157\x75\160"]; $value = $_POST["\x76\141\x6c\x75\145"]; $experm = $_POST["\x6f\x6c\144\x64\x61\164\x61"]; if (!sessions($_COOKIE["\x64\142\x62\x5f\x74\x6f\x6b\x65\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\171\x70\x65" => lang($messages, "\x73\145\163\x73\151\157\x6e", "\141\154\x65\x72\x74", "\145\x72\162\x6f\162"), "\164\151\x74\154\x65" => lang($messages, "\163\x65\x73\x73\x69\x6f\156", "\141\154\x65\162\x74", "\x74\151\164\154\145"), "\163\x75\x62\164\x69\x74\154\145" => lang($messages, "\163\145\163\163\151\x6f\x6e", "\141\x6c\x65\x72\x74", "\163\x75\x62\x74\151\x74\x6c\145"))); return; } if (!has("\144\x62\x62\x2e\x61\144\x6d\x69\x6e\x2e\x67\162\157\165\x70\x2e\160\x65\162\x6d\151\x73\163\x69\x6f\156\x2e\x65\144\x69\164")) { echo json_encode(array("\164\171\x70\x65" => lang($messages, "\145\162\x72\x6f\162", "\x77\151\164\x68\x6f\165\x74\x5f\x70\x65\162\x6d\x69\163\x73\x69\157\156", "\164\x79\160\145"), "\164\151\164\x6c\145" => lang($messages, "\145\162\x72\157\x72", "\x77\151\x74\x68\x6f\x75\x74\137\x70\145\x72\155\151\163\163\x69\x6f\x6e", "\x74\x69\164\154\145"), "\x73\x75\142\x74\x69\164\154\x65" => lang($messages, "\145\162\162\157\x72", "\167\151\x74\x68\x6f\165\164\137\160\x65\x72\x6d\x69\163\x73\x69\x6f\x6e", "\163\165\x62\x74\x69\x74\x6c\x65"))); return; } if (empty($dataid) or empty($value) or empty($group)) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x65\x72\x72\157\162", "\x65\155\160\x74\171", "\x74\171\x70\145"), "\164\151\x74\154\x65" => lang($messages, "\x65\x72\x72\x6f\162", "\x65\155\x70\164\171", "\164\x69\x74\154\x65"), "\x73\x75\x62\164\151\164\x6c\x65" => lang($messages, "\x65\162\x72\x6f\162", "\x65\155\160\164\x79", "\163\x75\142\164\151\164\154\145"))); return; } try { $group = hasDocs($dbb_group, "\x69\144", $group, "\x6e\x61\x6d\x65"); $updateSQL = $connx->prepare("\125\120\104\101\124\105\x20\x60{$dbb_group_permission}\140\x20\x53\x45\x54\x20\140\x70\x65\162\x6d\151\163\163\151\157\x6e\x60\x20\x3d\40\x3f\40\x57\110\105\x52\x45\40\x60{$dbb_group_permission}\140\56\x60\x69\144\140\40\x3d\40\77\x3b"); $updateSQL->execute(array($value, $dataid)); $value = userDev("\x75\x73\145\162\x6e\x61\155\145", $_SESSION["\x64\x62\x62\x5f\x75\x73\x65\162"]["\151\144"]) . "\40\150\141\x73\x20\x65\144\151\x74\x65\144\40\141\x20\x70\x65\162\x6d\151\163\163\151\x6f\156\x20\x27" . $experm . "\47\x20\164\x6f\40\x27" . $value . "\x27\40\x6f\x66\x20" . $group . "\x2e"; $logsSQL = $connx->prepare("\x49\116\x53\105\x52\124\40\x49\x4e\124\x4f\40\x60{$dbb_logs}\x60\x28\140\x74\171\x70\x65\140\x2c\40\x60\x75\x73\x65\162\140\x2c\40\140\154\x69\x63\145\x6e\x73\x65\140\54\x20\x60\151\160\140\x2c\x20\140\166\x61\x6c\x75\x65\140\54\40\x60\x73\x74\x61\164\x75\163\x60\54\40\140\164\x69\x6d\145\x60\51\x20\12\x9\11\x56\101\114\125\x45\123\40\x28\x27\x65\144\151\164\x27\54\40\77\54\40\116\125\x4c\114\54\x20\x3f\54\x20\x3f\x2c\x20\47\x31\x27\54\40\77\x29\x3b"); $logsSQL->execute(array($_SESSION["\x64\142\142\x5f\x75\x73\x65\162"]["\x69\x64"], getUserIp(), $value, time())); echo json_encode(array("\164\171\x70\145" => "\163\x75\x63\143\145\163\x73", "\164\x69\164\154\x65" => "\103\x6f\x72\162\x65\143\x74\154\171\41", "\163\x75\x62\164\151\x74\154\145" => '')); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\164\171\160\x65" => lang($messages, "\145\162\162\157\x72", "\x65\x6d\x70\x74\171", "\164\171\x70\145"), "\164\x69\x74\x6c\145" => lang($messages, "\x65\x72\x72\157\x72", "\x65\155\160\x74\x79", "\164\x69\x74\x6c\145"), "\163\165\x62\x74\x69\x74\x6c\145" => lang($messages, "\x65\162\x72\x6f\x72", "\145\155\x70\164\x79", "\x73\165\x62\x74\151\x74\154\145"))); closeDBConnection(); return; } } goto YzqfW; n29UC: if ($_POST["\162\145\163\x75\154\x74"] == "\143\162\145\141\164\x65\x5f\154\x69\143\145\156\163\x65") { getDBConnection(); $key = $_POST["\153\x65\x79"]; $client = $_POST["\143\154\x69\x65\156\164"]; $product = $_POST["\160\x72\x6f\144\x75\143\x74"]; $expire = $_POST["\145\x78\160\x69\x72\145"]; $expire_time = $_POST["\145\x78\x70\x69\162\x65\137\164\151\155\x65"]; $ips = empty($_POST["\x69\160\163"]) ? 5 : $_POST["\x69\x70\163"]; $reason = $_POST["\x72\145\x61\163\x6f\x6e"]; $variables = $_POST["\x76\x61\162\151\141\x62\x6c\x65\x73"]; $bound = $_POST["\142\x6f\x75\x6e\144"] ? 1 : 0; $ip_log = $_POST["\151\160\137\x6c\x6f\147"] ? 1 : 0; $logs = $_POST["\154\x6f\x67\163"] ? 1 : 0; $delete_ips = $_POST["\x64\145\154\x65\164\145\x5f\x69\160\163"] ? 1 : 0; $limit = $_POST["\x6c\151\x6d\x69\164"] ? 1 : 0; $product_verify = $_POST["\160\x72\157\x64\165\x63\x74\x5f\x76\x65\162\151\x66\171"] ? 1 : 0; $require_version = $_POST["\162\x65\161\x75\151\x72\x65\137\166\145\x72\x73\x69\x6f\156"] ? 1 : 0; $expire_erase = $_POST["\145\170\160\151\162\x65\137\x65\x72\141\x73\145"] ? 1 : 0; $admit_clone = $_POST["\141\x64\155\151\164\x5f\143\154\x6f\x6e\x65"] ? 1 : 0; $discord = $_POST["\163\145\156\144\137\144\x69\x73\143\x6f\x72\x64"] ? 1 : 0; $webhook = $_POST["\x73\145\156\144\137\x77\x65\x62\x68\x6f\157\153"] ? 1 : 0; $addons = $ips . "\x23" . $bound . "\x23" . $ip_log . "\43" . $logs . "\43" . $delete_ips . "\x23" . $limit . "\43" . $product_verify . "\43" . $require_version . "\43" . $expire_erase . "\43" . $admit_clone; if (!sessions($_COOKIE["\x64\142\142\x5f\164\157\153\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\160\x65" => lang($messages, "\163\x65\163\x73\151\x6f\156", "\141\x6c\x65\162\x74", "\x65\162\162\157\x72"), "\x74\151\164\x6c\145" => lang($messages, "\163\145\x73\163\151\x6f\156", "\x61\x6c\145\x72\164", "\x74\x69\164\x6c\x65"), "\163\x75\x62\x74\151\x74\x6c\x65" => lang($messages, "\x73\145\163\x73\x69\157\156", "\x61\x6c\145\162\x74", "\163\165\x62\164\x69\x74\x6c\145"))); return; } if (!has("\x64\142\142\x2e\x61\144\155\151\156\56\x6c\x69\x63\x65\156\x73\x65\56\x63\x72\x65\141\x74\145")) { echo json_encode(array("\x74\x79\x70\x65" => lang($messages, "\145\162\x72\157\162", "\x77\151\164\150\x6f\x75\x74\x5f\x70\x65\162\155\x69\163\163\x69\x6f\156", "\164\171\160\145"), "\x74\151\x74\154\145" => lang($messages, "\145\162\x72\x6f\x72", "\x77\x69\164\x68\x6f\165\164\x5f\160\x65\x72\155\151\x73\x73\x69\157\156", "\164\151\x74\x6c\x65"), "\x73\x75\x62\164\151\164\154\x65" => lang($messages, "\x65\162\x72\157\x72", "\167\x69\x74\x68\157\165\x74\137\160\145\x72\155\x69\x73\x73\151\x6f\156", "\x73\165\x62\x74\x69\164\x6c\145"))); return; } if (empty($key) or empty($client) or empty($product)) { echo json_encode(array("\164\x79\160\145" => lang($messages, "\145\162\x72\157\162", "\145\x6d\x70\164\x79", "\x74\171\x70\145"), "\164\151\x74\154\145" => lang($messages, "\x65\x72\162\157\162", "\x65\x6d\x70\164\171", "\164\x69\x74\x6c\145"), "\163\165\142\x74\151\164\154\145" => lang($messages, "\x65\x72\162\157\x72", "\x65\155\x70\x74\171", "\163\x75\142\x74\x69\164\154\145"))); return; } $elementsData = json_decode($_POST["\x63\165\163\164\157\x6d\137\x61\144\x64\x6f\x6e\163"], true); $custom_addons = array(); foreach ($elementsData as $id => $data) { $addonName = $data["\x61\144\x64\x6f\156\x4e\141\155\145"]; $custom_addons[] = $addonName; } $addons_list = implode("\x23", $custom_addons); $addons_list_edit = empty($custom_addons) ? "\x57\x69\164\150\157\165\x74" : implode("\54\40", $custom_addons); $addons_quant = explode("\43", $addons_list); $addons_list = empty($custom_addons) ? NULL : $addons_list; $addons_quant = empty($custom_addons) ? 0 : count($addons_quant); $status = 1; if ($expire_time != "\116\x65\x76\x65\x72") { $expire = strtotime("\x2b" . $expire . "\40" . $expire_time); } else { $expire = "\x2d\x31"; } $expire_date = $expire == "\55\61" ? "\x4e\x65\166\x65\162" : date("\131\55\155\55\144\x20\150\72\x69\x20\101", $expire); $reason = empty($reason) ? NULL : $reason; try { $verifySQL = $connx->prepare("\x53\105\114\x45\x43\124\40\x2a\40\x46\122\x4f\115\x20\x60{$dbb_license}\140\x20\x57\x48\x45\122\x45\40\140\x6b\145\171\140\40\x3d\x20\x3f\73"); $verifySQL->execute(array($key)); if ($verifySQL->RowCount() == 0) { $cloneSQL = $connx->prepare("\x49\x4e\123\105\122\124\x20\111\x4e\x54\x4f\x20\140{$dbb_license}\140\x28\x60\x63\x6c\x69\x65\156\x74\x60\54\x20\x60\153\x65\x79\x60\54\x20\x60\x70\x72\x6f\144\165\x63\164\140\x2c\40\x60\x65\x78\160\151\162\145\x60\54\40\x60\151\160\140\54\40\x60\141\143\x74\151\x76\x69\164\x79\x60\54\40\x60\x73\x74\141\x74\165\x73\x60\x2c\x20\x60\141\144\x64\x6f\156\163\140\54\x20\140\143\x75\x73\164\x6f\155\137\141\x64\x64\157\156\x73\x60\x2c\x20\140\162\145\x61\163\x6f\x6e\140\x29\x20\xa\x9\11\x9\x56\x41\x4c\125\x45\123\40\x28\x3f\54\x20\77\x2c\40\x3f\x2c\x20\x3f\54\40\x4e\x55\114\114\54\40\116\125\114\114\x2c\40\77\54\40\77\x2c\40\x3f\54\x20\77\51\73"); $cloneSQL->execute(array($client, $key, $product, $expire, $status, $addons, $addons_list, $reason)); $dataid = $connx->lastInsertId(); } else { $cloneSQL = $connx->prepare("\x55\120\x44\101\124\x45\x20\140{$dbb_license}\x60\x20\x53\105\124\40\140\143\x6c\151\x65\x6e\164\x60\x3d\40\x3f\x2c\x60\x70\162\x6f\144\165\143\164\140\75\40\x3f\54\140\x65\x78\160\x69\x72\x65\x60\75\x20\77\x2c\140\x73\164\141\x74\x75\163\x60\75\40\77\x2c\140\x61\144\144\157\156\x73\x60\x3d\40\77\x2c\140\143\x75\163\x74\157\155\137\141\x64\144\157\156\x73\140\x3d\x20\77\54\140\x72\145\141\x73\157\x6e\x60\75\x20\x3f\40\127\110\x45\122\105\x20\140\x6b\145\171\x60\x20\75\x20\77\x3b"); $cloneSQL->execute(array($client, $product, $expire, $status, $addons, $addons_list, $reason, $key)); if (LICENSE_EDITED_WEBHOOK != 0) { $fields = array(array("\156\x61\155\145" => "\x60\360\x9f\247\x9a\342\200\x8d\x60\40\103\165\x73\x74\157\155\x65\162", "\x76\x61\154\165\x65" => "\x3c\x40" . $client . "\x3e", "\x69\156\154\151\156\145" => true), array("\156\141\x6d\x65" => "\x60\360\x9f\223\205\140\40\x45\x78\x70\x69\x72\x65", "\166\x61\154\165\x65" => "\x60" . $expire_date . "\x60", "\151\x6e\x6c\151\156\145" => true), array("\x6e\x61\x6d\x65" => "\140\360\x9f\221\256\x60\342\x80\215\40\115\x61\x64\x65\x20\x62\x79", "\x76\141\x6c\x75\145" => "\x3c\x40" . userDev("\165\x64\151\144", $_SESSION["\144\142\142\x5f\165\163\x65\x72"]["\151\144"]) . "\x3e", "\151\x6e\x6c\151\156\x65" => true)); $embed_reason = $reason == NULL ? '' : "\x60\360\237\x9a\xa7\140\x20\x52\x65\141\163\157\156\x3a\x20\140\140\x60" . $reason . "\140\140\x60"; webhook(LICENSE_EDITED_WEBHOOK, SOFTWARE_ICON . "\x20" . SOFTWARE . "\40\x7c\x20" . userDev("\x75\163\x65\x72\156\x61\155\x65", $_SESSION["\144\x62\x62\x5f\165\x73\145\x72"]["\x69\x64"]), userDev("\x61\x76\x61\x74\141\x72", $_SESSION["\x64\142\142\137\x75\x73\145\x72"]["\151\144"]), '', "\x60\360\237\224\x90\140\40\x4c\x49\103\x45\x4e\x53\105\40\105\x44\111\124\x45\x44", "\343\x83\273\40\x2a\52\114\x69\x63\x65\x6e\163\x65\40\x4b\145\x79\x3a\x2a\52\12\x9\x9\11\11\x9\x60\140\140" . $key . "\140\140\x60\x20\12\x9\x9\x9\x9\11\343\203\xbb\40\52\52\114\151\143\145\156\163\x65\x20\111\x6e\146\157\x72\x6d\x61\x74\151\x6f\156\72\52\x2a\40\xa\11\x9\x9\11\x9\x60\360\237\223\xa6\140\40\x50\162\157\x64\165\x63\x74\x3a\40\140" . $product . "\x60\12\x9\11\11\x9\x9\140\xf0\237\223\x9c\x60\x20\x4d\x61\170\x20\111\x50\163\x3a\x20\140" . $ips . "\140\12\x9\11\11\x9\11\x60\xf0\x9f\216\x81\x60\40\103\x75\163\164\x6f\155\x20\101\144\x64\x6f\x6e\163\72\x20\x60\140\x60" . $addons_list_edit . "\x60\140\140\xa\x9\11\x9\x9\11" . $embed_reason . "\x20\xa\11\11\11\x9\x9", URI . "\x2f\154\x69\143\x65\156\163\145", "\71\x31\71\142\63\x32", '', hasDocs($dbb_user, "\165\x64\x69\x64", $client, "\x61\166\141\x74\x61\x72"), $fields); } echo json_encode(array("\164\171\160\145" => lang($messages, "\x65\x64\151\x74", "\143\157\x6d\x70\154\145\x74\x65", "\x74\x79\x70\x65"), "\x74\x69\164\x6c\145" => lang($messages, "\x65\x64\151\164", "\143\x6f\x6d\160\x6c\145\x74\x65", "\164\x69\x74\154\x65"), "\x73\x75\142\164\x69\164\154\x65" => lang($messages, "\145\x64\x69\164", "\x63\157\155\160\x6c\x65\164\x65", "\x73\x75\142\164\x69\x74\x6c\145"))); closeDBConnection(); return; } if ($webhook and LICENSE_CREATED_WEBHOOK != 0) { $embed_reason = $reason == NULL ? '' : "\140\xf0\237\x9a\xa7\x60\40\x52\145\x61\x73\157\x6e\x3a\40\140\x60\140" . $reason . "\140\140\x60"; $fields = array(array("\x6e\141\x6d\x65" => "\x60\360\x9f\247\232\xe2\x80\x8d\140\40\x43\x75\x73\x74\157\155\145\x72", "\x76\141\154\165\145" => "\74\x40" . $client . "\76", "\151\x6e\154\x69\156\x65" => true), array("\x6e\141\x6d\145" => "\140\xf0\237\223\x85\x60\40\105\170\x70\x69\162\145", "\x76\141\x6c\x75\x65" => "\140" . $expire_date . "\140", "\151\x6e\x6c\151\x6e\x65" => true), array("\156\x61\155\x65" => "\140\xf0\x9f\221\xae\140\342\200\215\40\x4d\141\144\x65\x20\x62\x79", "\x76\141\154\165\x65" => "\x3c\100" . userDev("\165\x64\x69\144", $_SESSION["\144\142\142\x5f\165\163\x65\162"]["\151\x64"]) . "\76", "\x69\156\x6c\151\156\x65" => true)); webhook(LICENSE_CREATED_WEBHOOK, SOFTWARE_ICON . "\x20" . SOFTWARE . "\40\174\x20" . userDev("\x75\163\145\x72\x6e\x61\x6d\145", $_SESSION["\x64\142\142\x5f\x75\x73\145\162"]["\x69\x64"]), userDev("\x61\x76\141\x74\141\x72", $_SESSION["\144\142\142\x5f\165\x73\145\x72"]["\151\144"]), '', "\140\xf0\x9f\x94\220\140\40\x4c\111\x43\x45\x4e\123\x45\40\103\x52\105\101\124\105\x44", "\343\203\xbb\40\52\52\114\x69\x63\x65\x6e\x73\x65\x20\113\145\171\x3a\x2a\x2a\12\x9\x9\x9\x9\140\140\x60" . $key . "\140\x60\x60\40\xa\11\11\x9\x9\xe3\x83\xbb\40\x2a\x2a\x4c\x69\143\145\156\163\145\40\111\156\146\x6f\x72\x6d\141\164\151\157\x6e\72\52\x2a\x20\12\x9\11\x9\x9\140\360\237\x93\246\x60\x20\120\x72\157\x64\x75\143\x74\72\x20\140" . $product . "\x60\12\x9\11\11\x9\x60\360\237\223\234\x60\40\115\x61\x78\40\x49\120\163\72\40\140" . $ips . "\x60\12\x9\x9\x9\x9\x60\xf0\237\216\x81\140\40\103\165\163\164\x6f\x6d\x20\x41\x64\144\157\x6e\x73\72\x20\140" . $addons_quant . "\x60\12\11\x9\x9\11" . $embed_reason . "\x20\xa\x9\11\11\x9", URI . "\x2f\x6c\x69\143\x65\x6e\x73\145\x2f" . $dataid, "\63\143\71\x39\x33\66", '', hasDocs($dbb_user, "\x75\144\151\x64", $client, "\141\x76\x61\164\x61\x72"), $fields); } if ($discord) { sendMDC(BOT_TOKEN, $client, "\x2a\x2a" . SOFTWARE . "\52\x2a\40\x7c\40\131\157\165\40\147\x6f\164\40\141\x20\x6c\151\143\145\x6e\163\145\41\xa\x3e\x20\x60\xf0\x9f\x94\221\140\40\52\52\x4b\x65\171\x3a\x2a\52\xa\76\40\140\140\140" . $key . "\x60\140\140\12\76\x20\x60\xf0\237\223\246\x60\40\x2a\x2a\x50\x72\157\x64\x75\143\164\72\x2a\x2a\12\76\40\140\x60\140" . $product . "\140\140\x60\12\76\x20\140\360\x9f\223\205\140\x20\x2a\52\105\x78\x70\x69\x72\145\72\x2a\x2a\12\x3e\40\140\x60\x60" . $expire_date . "\140\x60\140\xa\76\40\140\xf0\237\x91\x91\x60\40\52\x2a\102\171\x3a\x2a\52\xa\76\40\x60\140\x60" . userDev("\165\163\x65\162\x6e\141\155\x65", $_SESSION["\x64\x62\142\x5f\x75\163\x65\x72"]["\x69\x64"]) . "\x60\140\x60\12\xa\76\x20\x60\xf0\237\224\x97\x60\40\x2a\52\127\x65\142\40\101\x64\155\x69\156\x3a\x2a\52\xa\x3e\40" . URI . "\x2f\154\151\x63\145\x6e\x73\x65\57" . $dataid); } echo json_encode(array("\164\171\x70\x65" => "\163\x75\x63\143\x65\163\163", "\x74\151\x74\x6c\x65" => "\x53\165\143\143\145\163\x73\146\x75\154\40\x6c\x69\143\x65\156\x73\x65\x20\143\x72\x65\x61\164\x65\x64\41", "\x73\165\142\x74\x69\164\x6c\145" => "\124\x68\145\40\154\x69\x63\145\x6e\163\145\x20\167\141\x73\x20\163\165\x63\143\x65\163\x73\146\165\x6c\x6c\x79\x20\x63\162\x65\141\x74\x65\144\56", "\151\x64" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\x74\171\x70\x65" => lang($messages, "\145\x72\162\x6f\162", "\x65\155\x70\x74\171", "\164\171\160\x65"), "\x74\151\x74\154\x65" => lang($messages, "\x65\162\x72\157\162", "\145\x6d\160\x74\171", "\164\x69\x74\x6c\x65"), "\163\x75\142\164\151\x74\x6c\x65" => lang($messages, "\145\x72\x72\157\162", "\x65\x6d\x70\x74\x79", "\x73\165\142\x74\x69\164\x6c\145"))); closeDBConnection(); return; } } goto EJxu2; xvOPV: if ($_POST["\x72\x65\x73\165\x6c\164"] == "\x63\x72\145\141\x74\x65\137\x70\162\157\144\x75\x63\x74") { getDBConnection(); $id_name = $_POST["\151\x64\x5f\x6e\x61\155\145"]; $name = $_POST["\x6e\x61\x6d\145"]; $description = $_POST["\144\145\163\143\x72\151\x70\164\151\157\156"]; $price = $_POST["\x70\162\151\143\145"]; $version = $_POST["\x76\145\x72\x73\151\157\156"]; $icon = $_POST["\x69\143\x6f\x6e"]; $tebex = $_POST["\x74\145\x62\145\x78\137\160\162\x6f\144\165\x63\x74"]; if (!sessions($_COOKIE["\144\142\x62\137\164\x6f\x6b\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\x79\x70\x65" => lang($messages, "\163\145\163\163\151\157\156", "\141\x6c\x65\162\x74", "\145\x72\x72\157\162"), "\x74\151\164\x6c\145" => lang($messages, "\x73\145\x73\163\x69\x6f\x6e", "\x61\154\145\162\x74", "\x74\151\x74\154\x65"), "\x73\165\142\164\x69\x74\154\x65" => lang($messages, "\x73\x65\163\x73\151\x6f\x6e", "\141\x6c\145\162\x74", "\163\165\x62\164\151\x74\x6c\145"))); return; } if (!has("\x64\x62\142\x2e\x61\144\x6d\x69\x6e\x2e\160\162\157\144\165\143\x74\56\x63\x72\x65\141\x74\x65")) { echo json_encode(array("\164\171\x70\x65" => lang($messages, "\145\x72\x72\157\x72", "\x77\x69\x74\x68\x6f\x75\164\137\x70\145\x72\x6d\x69\x73\x73\x69\x6f\156", "\x74\171\160\x65"), "\x74\x69\x74\154\145" => lang($messages, "\145\x72\162\157\162", "\x77\x69\164\x68\157\x75\x74\x5f\160\x65\x72\x6d\151\163\x73\151\x6f\156", "\x74\151\164\x6c\x65"), "\163\x75\142\x74\x69\x74\154\145" => lang($messages, "\145\x72\162\x6f\162", "\x77\151\x74\x68\x6f\165\164\x5f\x70\x65\162\x6d\x69\163\163\x69\157\x6e", "\x73\x75\142\x74\x69\x74\x6c\x65"))); return; } if (empty($id_name) or empty($name) or empty($version) or empty($price)) { echo json_encode(array("\164\x79\x70\x65" => lang($messages, "\x65\162\x72\x6f\x72", "\145\x6d\160\164\171", "\x74\x79\160\145"), "\164\x69\x74\154\x65" => lang($messages, "\x65\x72\162\157\162", "\145\155\160\x74\x79", "\164\x69\x74\154\145"), "\x73\165\142\164\151\x74\154\145" => lang($messages, "\x65\x72\x72\x6f\162", "\x65\x6d\x70\164\x79", "\163\165\x62\164\151\164\x6c\x65"))); return; } if (empty($tebex) and TEBEX_PAYMENT) { echo json_encode(array("\x74\x79\160\145" => lang($messages, "\x65\162\x72\157\162", "\x74\x65\142\145\170\137\x65\x6d\x70\164\x79", "\164\171\160\145"), "\164\151\x74\x6c\145" => lang($messages, "\145\x72\x72\x6f\x72", "\164\x65\142\145\170\137\145\x6d\x70\x74\x79", "\x74\x69\x74\x6c\x65"), "\163\x75\142\164\x69\164\154\145" => lang($messages, "\x65\x72\x72\x6f\x72", "\x74\145\x62\145\x78\x5f\x65\x6d\160\x74\x79", "\x73\165\142\x74\x69\x74\x6c\145"))); return; } $tebex = !TEBEX_PAYMENT ? NULL : $tebex; try { if (empty($icon)) { $trimmedText = trim($name); $firstLetter = strtoupper(substr($trimmedText, 0, 1)); $spacePosition = strpos($trimmedText, "\40"); if ($spacePosition !== false) { $lastLetter = strtoupper(substr($trimmedText, $spacePosition + 1, 1)); } else { $lastLetter = strtoupper(substr($trimmedText, -1)); } $result = $firstLetter . $lastLetter; $icon = $result; $icon_type = 0; $icon_bg = "\x69\x63\157\156\x2d\142\154\165\x65\x2d\163\x75\x61\166\145\55\164\x65\x78\x74"; } else { $icon = $icon; $icon_type = 1; $icon_bg = "\x69\143\157\156\x2d\x62\x6c\x75\145\55\x62\147"; } $description = empty($description) ? NULL : $description; $insertSQL = $connx->prepare("\111\116\123\x45\122\124\40\111\x4e\124\117\x20\x60{$dbb_product}\140\x28\140\151\x63\x6f\x6e\x5f\142\147\140\54\x20\140\151\x63\x6f\x6e\x5f\164\x79\x70\x65\140\x2c\x20\x60\x69\x63\x6f\x6e\x60\54\40\x60\151\144\137\x6e\x61\x6d\x65\x60\54\40\x60\156\141\155\x65\x60\54\x20\140\144\x65\x73\x63\x72\151\x70\164\151\x6f\x6e\x60\54\x20\140\160\162\x69\143\145\140\54\x20\x60\x76\145\162\163\x69\157\x6e\140\x2c\40\x60\163\164\x61\x74\x75\x73\140\54\x20\x60\x74\145\142\x65\x78\140\x29\40\xa\11\x9\x56\x41\x4c\x55\x45\123\x20\x28\77\x2c\x20\x3f\54\x20\77\x2c\40\x3f\54\40\x3f\x2c\40\x3f\54\40\77\54\x20\x3f\x2c\40\47\61\47\x2c\40\77\51\73"); $insertSQL->execute(array($icon_bg, $icon_type, $icon, $id_name, $name, $description, $price, $version, $tebex)); $product_id = $connx->lastInsertId(); if (TEBEX_PAYMENT) { $insertSQLs = $connx->prepare("\x49\116\x53\x45\x52\x54\x20\x49\x4e\x54\x4f\40\140{$dbb_product_actions}\x60\50\x60\x70\x72\x6f\144\x75\x63\x74\x60\x2c\x20\x60\x64\141\x74\141\x60\x29\40\12\11\x9\11\126\x41\x4c\125\105\123\x20\50\77\x2c\x20\77\x29\73"); $insertSQLs->execute(array($product_id, $_COOKIE["\x70\162\157\x64\165\x63\x74\x5f\x61\143\164\x69\157\x6e\163"])); } setcookie("\x70\162\x6f\144\165\143\164\x5f\x61\x63\x74\x69\157\156\163", '', time() - 3600, "\57"); echo json_encode(array("\x74\171\160\x65" => lang($messages, "\x70\162\157\x64\x75\x63\x74", "\x63\157\x6e\164\x65\x6e\164", "\x61\154\145\x72\164", "\x63\x72\145\x61\164\x65\137\160\162\x6f\144\165\x63\164", "\164\x79\x70\145"), "\164\x69\164\154\x65" => lang($messages, "\160\x72\x6f\x64\x75\143\x74", "\x63\x6f\x6e\164\145\x6e\x74", "\141\154\x65\162\x74", "\143\162\145\x61\x74\x65\137\x70\x72\157\144\x75\x63\164", "\x74\x69\164\x6c\x65"), "\163\x75\x62\164\x69\x74\x6c\145" => lang($messages, "\x70\162\157\x64\x75\x63\x74", "\143\x6f\x6e\164\145\x6e\164", "\141\x6c\x65\162\164", "\143\x72\145\x61\x74\x65\x5f\x70\162\x6f\144\165\143\x74", "\163\165\x62\164\151\164\x6c\145"), "\151\x64" => $product_id)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\x74\x79\x70\x65" => lang($messages, "\145\162\x72\157\x72", "\145\x6d\x70\x74\x79", "\164\171\x70\x65"), "\164\151\164\154\145" => lang($messages, "\x65\x72\x72\157\162", "\145\155\160\x74\x79", "\164\x69\x74\154\145"), "\x73\165\x62\164\x69\164\154\145" => lang($messages, "\x65\162\x72\x6f\162", "\x65\155\x70\164\171", "\x73\165\x62\x74\151\x74\x6c\145"))); closeDBConnection(); return; } } goto T0lAv; CYnh0: if ($_POST["\162\x65\163\165\x6c\x74"] == "\x6c\157\x67\x6f\165\164") { getDBConnection(); $tokenSQL = $connx->prepare("\123\x45\114\105\x43\124\x20\x2a\x20\x46\122\117\115\x20\x60{$dbb_token}\x60\x20\x57\x48\105\122\x45\40\x60\x74\x6f\x6b\x65\x6e\140\40\75\x20\77\73"); $tokenSQL->execute(array($_COOKIE["\144\x62\142\137\164\x6f\x6b\145\x6e"])); $token = $tokenSQL->fetch(PDO::FETCH_ASSOC); if ($tokenSQL->RowCount() > 0) { $deletetokenSQL = $connx->prepare("\x44\x45\114\x45\x54\105\40\106\x52\x4f\115\40\140{$dbb_token}\140\x20\127\110\105\x52\x45\40\140{$dbb_token}\x60\x2e\140\x69\144\140\x20\x3d\40\77\x3b"); $deletetokenSQL->execute(array($token["\151\x64"])); } deleteOldTokens(); session_destroy(); echo json_encode(array("\x74\171\160\145" => "\163\165\143\x63\x65\163\163", "\164\x69\x74\x6c\x65" => "\x53\x65\x73\x73\x69\157\x6e\40\x63\154\x6f\x73\145\144\x21", "\163\x75\x62\x74\x69\164\x6c\145" => '')); closeDBConnection(); return; } goto RyO7w; rOPTy: if ($_POST["\162\145\x73\x75\x6c\164"] == "\x72\145\146\x72\x65\163\x68\x5f\x6b\x65\171\x5f\154\x69\x63\x65\156\x73\x65") { getDBConnection(); $dataid = $_POST["\x64\141\164\141\x5f\x69\x64"]; if (!sessions($_COOKIE["\144\142\x62\x5f\x74\x6f\x6b\x65\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\163\145\x73\x73\151\157\x6e", "\x61\x6c\x65\162\x74", "\x65\x72\x72\157\162"), "\164\151\x74\154\x65" => lang($messages, "\x73\145\163\163\151\157\156", "\141\154\x65\162\164", "\x74\151\164\154\145"), "\163\x75\142\164\x69\x74\154\145" => lang($messages, "\x73\145\163\x73\151\x6f\x6e", "\x61\154\x65\162\164", "\163\165\x62\x74\x69\x74\x6c\145"))); return; } if (!has("\x64\x62\142\x2e\x61\144\155\151\156\x2e\x6c\151\143\x65\x6e\x73\x65\56\162\x65\147\145\x6e\x65\162\x61\x74\145")) { echo json_encode(array("\x74\171\160\x65" => lang($messages, "\145\162\x72\157\x72", "\x77\x69\x74\x68\157\165\x74\137\x70\145\162\155\x69\163\163\x69\x6f\x6e", "\164\x79\x70\x65"), "\x74\151\164\154\145" => lang($messages, "\x65\x72\x72\x6f\162", "\x77\x69\x74\150\157\x75\164\x5f\x70\x65\x72\155\151\163\163\x69\x6f\x6e", "\164\x69\164\154\145"), "\163\165\x62\164\x69\x74\x6c\x65" => lang($messages, "\145\x72\162\157\x72", "\x77\x69\x74\x68\x6f\165\x74\137\x70\145\162\155\151\x73\x73\x69\x6f\156", "\x73\x75\142\164\151\164\154\x65"))); return; } if (empty($dataid)) { echo json_encode(array("\164\x79\x70\145" => lang($messages, "\x65\162\x72\157\x72", "\x65\x6d\x70\164\x79", "\164\171\160\x65"), "\x74\151\x74\154\145" => lang($messages, "\145\162\162\x6f\x72", "\x65\x6d\160\164\171", "\x74\x69\x74\x6c\145"), "\x73\x75\x62\164\x69\164\x6c\x65" => lang($messages, "\x65\x72\162\157\x72", "\x65\155\x70\x74\x79", "\163\x75\142\164\151\164\154\145"))); return; } $new_key = randomCodes(5) . "\x2d" . randomCodes(5) . "\x2d" . randomCodes(5) . "\x2d" . randomCodes(5) . "\x2d" . randomCodes(5); $verifySQL = $connx->prepare("\123\x45\x4c\105\103\x54\x20\52\40\x46\x52\117\x4d\40\140{$dbb_license}\x60\x20\x57\x48\x45\122\x45\x20\140\151\x64\x60\x20\x3d\40\x3f\x3b"); $verifySQL->execute(array($dataid)); if ($verifySQL->RowCount() > 0) { $verify = $verifySQL->fetch(PDO::FETCH_ASSOC); $updateSQL = $connx->prepare("\x55\120\x44\x41\124\105\40\140{$dbb_license}\x60\x20\123\x45\x54\x20\x60\x6b\145\171\140\x3d\40\77\40\x57\x48\x45\122\105\40\x60\151\144\140\x20\75\40\77\x3b"); $updateSQL->execute(array($new_key, $verify["\x69\x64"])); echo json_encode(array("\x74\171\x70\145" => "\x73\x75\x63\143\145\163\163", "\x74\151\164\154\145" => "\103\x6f\155\x70\x6c\x65\x74\x65\x20\162\145\x66\x72\x65\163\150\x6d\x65\x6e\164\41", "\x73\165\142\164\x69\164\x6c\145" => "\104\x6f\40\171\x6f\165\40\x77\x61\156\x74\x20\164\157\40\143\x6f\160\171\40\x74\x68\145\40\x6e\x65\x77\40\153\145\171\77", "\156\145\x77\x6b\x65\x79" => $new_key)); closeDBConnection(); return; } else { echo json_encode(array("\164\x79\160\x65" => "\145\x72\162\157\162", "\164\x69\x74\x6c\145" => "\117\x68\x68\x68", "\x73\x75\142\x74\151\164\x6c\145" => "\x54\150\x69\x73\x20\x6c\151\x63\145\x6e\163\145\40\144\x6f\x65\x73\40\x6e\157\x74\x20\145\170\x69\x73\x74\x21")); closeDBConnection(); return; } } goto Kijbg; shIpQ: if ($_POST["\x72\145\163\x75\154\x74"] == "\x67\157\137\164\x6f\137\x70\x61\171") { getDBConnection(); $user = $_SESSION["\x64\142\x62\x5f\x75\163\145\162"]["\151\x64"]; $username = userDev("\165\x73\x65\162\156\141\x6d\145", $user); if (!sessions($_COOKIE["\x64\142\142\x5f\x74\157\153\145\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\160\x65" => lang($messages, "\163\145\163\163\151\157\156", "\x61\154\x65\x72\164", "\145\x72\x72\x6f\162"), "\x74\x69\164\x6c\x65" => lang($messages, "\x73\x65\x73\163\x69\x6f\156", "\x61\x6c\x65\162\x74", "\164\151\x74\x6c\145"), "\x73\x75\x62\164\x69\164\x6c\145" => lang($messages, "\x73\x65\x73\x73\151\157\156", "\x61\x6c\x65\162\x74", "\x73\165\142\164\x69\x74\x6c\x65"))); return; } require_once "\56\56\57\160\x61\162\x65\x6e\164\57\x74\x65\142\x65\x78\57\141\160\x69\56\160\x68\x70"; SetWebstoreIdentifier(TEBEX_PUBLIC_KEY); $ip_address = getUserIp(); $custom_data = array("\165\x73\x65\162\x5f\x69\144" => $user, "\x69\160\137\141\144\144\x72\x65\163\163" => $ip_address); $complete_auto_redirect = TEBEX_PAYMENT_RETURN; $basketUrl = URI . "\x2f\x62\x61\x73\153\x65\x74"; $basketSQL = $connx->prepare("\123\x45\114\105\103\x54\x20\x2a\40\x46\x52\x4f\x4d\40\x60{$dbb_basket}\x60\x20\x57\110\105\122\x45\x20\140\165\163\x65\x72\x60\40\75\x20\x3f\73"); $basketSQL->execute(array($user)); if ($basketSQL->RowCount() > 0) { $basket = $basketSQL->fetch(PDO::FETCH_ASSOC); $basketIdent = $_SESSION["\x62\141\x73\x6b\x65\x74\x5f\151\x64"]; if (isset($basketIdent)) { $basketVerify = GetBasket($basketIdent); $insertProductSQL = $connx->prepare("\123\x45\x4c\105\103\x54\40\x2a\x20\106\x52\117\x4d\x20\140{$dbb_basket}\140\x20\127\x48\x45\x52\x45\40\x60\x75\x73\145\162\140\x20\x3d\40\x3f\x3b"); $insertProductSQL->execute(array($user)); while ($insertProduct = $insertProductSQL->fetch(PDO::FETCH_ASSOC)) { $custom = array("\160\x69\x64" => $insertProduct["\x69\144"], "\x74\145\163\x74" => "\164\x65\163\x74\x69\156\x67"); $addPackageResponse = AddPackage($basketIdent, $insertProduct["\x74\x65\142\145\170\137\x70\x72\157\x64\165\x63\164"], $insertProduct["\161\165\x61\156\x74\151\x74\x79"], $custom); } if (isset($addPackageResponse["\144\x61\x74\141"]["\x69\144"])) { echo json_encode(array("\164\x79\160\x65" => "\163\x75\143\143\145\163\163", "\162\145\144\x69\x72\162\145\143\164" => "\x68\x74\x74\160\163\x3a\x2f\x2f\143\150\145\143\153\157\x75\164\x2e\x74\x65\142\145\x78\x2e\151\x6f\x2f\143\x68\x65\143\153\157\165\164\57" . $basketIdent)); closeDBConnection(); return; } else { echo json_encode(array("\164\171\160\x65" => "\x65\x72\162\157\162", "\164\151\x74\x6c\x65" => "\117\x68\150\x20\160\x72\157\142\x6c\145\155\163\56\56\56", "\x73\165\142\164\x69\164\x6c\145" => "\x46\x61\x74\x61\x6c\x20\x70\162\157\142\x6c\145\x6d\x73\40\150\141\x76\x65\x20\x6f\x63\x63\x75\162\x72\x65\x64\x2e")); closeDBConnection(); return; } } else { echo json_encode(array("\x74\171\x70\x65" => "\145\162\x72\157\162", "\164\151\164\154\145" => "\x59\x6f\165\40\x6e\145\x65\x64\40\x74\157\x20\x61\165\x74\x68\145\156\x74\151\x63\141\164\145\x2e", "\x73\x75\x62\164\x69\x74\154\x65" => "\102\145\146\x6f\x72\145\x20\164\x72\x79\x69\x6e\x67\40\x74\157\40\x70\x61\171\x2c\x20\x41\x75\164\150\145\x6e\164\151\x63\141\x74\x65\40\x77\x69\x74\x68\40\124\x65\x62\x65\x78\x2e")); closeDBConnection(); return; } } else { echo json_encode(array("\x74\171\160\x65" => "\151\156\146\157", "\x74\151\x74\154\x65" => "\x4f\150\x68\x20\160\162\157\142\154\x65\155\163\56\56\56", "\163\165\x62\x74\x69\x74\x6c\145" => "\x59\157\165\40\144\157\x20\x6e\157\164\x20\x68\141\166\145\40\141\x6e\171\x20\x69\x74\145\155\x73\40\x61\x64\144\145\x64\x20\164\x6f\40\171\x6f\165\162\40\x63\141\x72\x74\56")); closeDBConnection(); return; } } goto XH77j; cMwPt: if ($_POST["\162\145\163\165\154\x74"] == "\x63\150\x61\162\x74\x5f\x6c\x69\x63\145\156\163\145\x5f\141\x64\x6d\x69\156") { getDBConnection(); $currentYear = date("\131"); $license = isset($_POST["\143\x68\x61\x72\x74\126\x61\x6c\x75\x65"]) ? htmlspecialchars($_POST["\143\150\141\162\164\126\141\x6c\165\145"], ENT_QUOTES, "\125\x54\x46\x2d\x38") : null; $chartData = $connx->prepare("\xa\x9\11\11\x53\105\x4c\x45\x43\124\40\x44\101\124\x45\x5f\x46\117\x52\x4d\x41\124\x28\x73\x69\x6e\x63\x65\54\x20\x27{$currentYear}\55\45\155\x27\51\x20\x41\x53\x20\155\157\156\164\150\x2c\40\x53\x55\x4d\x28\166\x61\x6c\x75\145\x29\40\101\x53\40\x74\x6f\164\141\x6c\x5f\x76\x61\154\x75\x65\xa\11\11\11\x46\122\117\x4d\x20\x60{$dbb_logs}\140\xa\x9\x9\11\127\110\105\x52\105\40\164\171\160\x65\x20\x3d\40\x27\x72\x65\x71\x75\x65\x73\x74\47\x20\x41\x4e\104\40\x73\x74\141\x74\x75\163\x20\75\x20\47\x31\47\40\x41\x4e\x44\40\x59\x45\x41\122\x28\x73\151\x6e\x63\145\x29\x20\x3d\40\x3a\143\165\162\162\x65\156\x74\x59\x65\141\x72\40\xa\x9\x9\11\x47\122\117\x55\120\40\x42\x59\40\155\157\156\x74\150\xa\11\x9\x9\117\122\x44\105\122\40\x42\x59\x20\155\x6f\x6e\164\150\12\11\x9"); $chartData->bindParam("\72\x63\165\x72\162\x65\156\164\131\145\x61\162", $currentYear, PDO::PARAM_STR); $chartData->execute(); $acceptedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $chartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["\155\x6f\156\164\150"], 5)); $acceptedData[$month - 1] = $row["\164\157\164\141\154\137\x76\141\x6c\x75\x65"]; } $deniedChartData = $connx->prepare("\xa\x9\x9\11\123\105\x4c\105\x43\x54\x20\104\101\124\x45\137\106\x4f\122\x4d\x41\x54\x28\163\151\x6e\143\x65\x2c\40\47{$currentYear}\55\x25\x6d\x27\x29\x20\x41\x53\40\x6d\157\x6e\x74\150\x2c\x20\x53\125\x4d\x28\166\141\x6c\x75\x65\x29\40\101\x53\x20\164\x6f\164\141\x6c\144\x5f\x76\141\154\165\145\12\x9\x9\x9\106\122\117\x4d\x20\140{$dbb_logs}\140\xa\11\11\11\127\x48\105\122\x45\x20\x74\x79\160\x65\40\x3d\x20\47\x72\x65\x71\x75\145\163\x74\47\x20\101\x4e\x44\40\x73\x74\x61\x74\x75\x73\x20\75\40\x27\x30\x27\40\x41\116\x44\x20\x59\105\101\x52\50\x73\x69\156\x63\x65\51\40\x3d\x20\72\x63\x75\x72\162\x65\156\164\131\145\141\162\x20\12\11\x9\x9\107\122\117\x55\x50\40\x42\x59\x20\x6d\x6f\x6e\164\x68\xa\x9\11\x9\x4f\122\104\105\122\40\102\131\x20\155\157\156\164\x68\12\x9\x9"); $deniedChartData->bindParam("\x3a\143\x75\x72\x72\145\156\164\131\x65\x61\x72", $currentYear, PDO::PARAM_STR); $deniedChartData->execute(); $deniedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $deniedChartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["\x6d\x6f\156\164\150"], 5)); $deniedData[$month - 1] = $row["\164\x6f\x74\141\x6c\x64\x5f\x76\x61\x6c\165\x65"]; } header("\x43\157\156\x74\145\x6e\164\55\124\x79\x70\x65\72\x20\x61\x70\160\154\151\143\141\164\151\157\x6e\57\152\163\157\156"); echo json_encode(array("\x61\x63\x63\145\160\164\x65\144\104\141\164\141" => $acceptedData, "\x64\145\156\x69\145\x64\x44\x61\x74\141" => $deniedData)); closeDBConnection(); } goto biPpk; AzpWA: if ($_POST["\162\x65\163\x75\x6c\164"] == "\145\x72\x61\x73\x65\x5f\146\x69\154\145\137\x75\x70\x6c\157\x61\144\145\x64") { $fileNameToDelete = $_POST["\x75\x6e\x69\161\165\x65"]; $filePath = __DIR__ . "\57\x2e\56\57\x70\x61\x72\145\x6e\164\57\165\x70\x6c\157\141\x64\x2f" . $fileNameToDelete; if (file_exists($filePath)) { if (unlink($filePath)) { echo json_encode(array("\x74\171\x70\x65" => "\x73\165\x63\x63\145\163\163")); return; } else { echo json_encode(array("\x74\171\160\x65" => "\x65\x72\x72\x6f\x72", "\x74\151\164\154\x65" => "\x45\x72\162\157\162\x20\164\157\x20\x65\x72\x61\163\145\x20\164\150\145\x20\146\x69\x6c\145\x2e", "\x73\165\142\164\151\164\154\x65" => '')); return; } } else { echo json_encode(array("\x74\171\x70\145" => lang($messages, "\160\x72\x6f\144\165\143\x74", "\143\157\x6e\x74\x65\x6e\164", "\x61\x6c\x65\162\164", "\146\x69\x6c\x65\x73", "\x65\162\x61\163\145", "\x74\171\160\x65"), "\164\151\x74\x6c\145" => lang($messages, "\x70\x72\x6f\x64\165\143\x74", "\x63\x6f\x6e\x74\145\x6e\164", "\x61\x6c\x65\x72\x74", "\146\151\154\145\x73", "\x65\x72\x61\163\x65", "\x74\x69\164\154\145"), "\x73\x75\x62\x74\x69\x74\x6c\145" => lang($messages, "\160\162\x6f\144\x75\143\164", "\143\x6f\156\164\x65\156\x74", "\141\154\x65\x72\x74", "\146\x69\x6c\145\163", "\145\x72\141\x73\145", "\x73\165\x62\164\151\164\154\145"))); return; } } goto KJz0m; zPGlq: if ($_POST["\x72\145\163\x75\x6c\164"] == "\141\x64\x64\137\x75\x73\x65\162") { getDBConnection(); $value = $_POST["\x76\x61\x6c\x75\x65"]; $group = $_POST["\x67\162\157\165\x70"]; if (!sessions($_COOKIE["\144\142\142\x5f\x74\157\153\x65\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\x79\x70\145" => lang($messages, "\163\x65\163\163\151\x6f\x6e", "\x61\x6c\x65\162\164", "\145\162\162\157\x72"), "\164\x69\x74\x6c\x65" => lang($messages, "\163\145\x73\163\x69\157\x6e", "\141\154\145\x72\164", "\164\151\x74\x6c\x65"), "\163\x75\x62\164\x69\x74\154\x65" => lang($messages, "\163\145\163\x73\x69\157\156", "\x61\154\145\162\164", "\163\165\142\164\x69\164\154\x65"))); return; } if (!has("\x64\x62\142\x2e\141\x64\155\151\156\x2e\147\162\157\165\160\x2e\x75\x73\x65\162\56\x61\144\x64")) { echo json_encode(array("\164\x79\160\145" => lang($messages, "\x65\162\162\157\x72", "\167\151\x74\150\x6f\165\x74\137\160\x65\162\155\x69\163\163\151\x6f\x6e", "\x74\171\x70\145"), "\x74\151\x74\154\145" => lang($messages, "\145\x72\162\157\x72", "\x77\x69\x74\x68\x6f\165\164\x5f\160\x65\162\x6d\x69\x73\x73\151\157\156", "\164\151\x74\x6c\x65"), "\163\x75\x62\x74\x69\x74\154\145" => lang($messages, "\x65\x72\x72\157\162", "\167\x69\164\x68\157\x75\164\137\160\145\162\155\x69\163\x73\x69\157\x6e", "\x73\x75\x62\164\151\x74\154\145"))); return; } if (empty($value) or empty($group)) { echo json_encode(array("\164\171\160\x65" => lang($messages, "\145\162\x72\x6f\162", "\145\155\x70\164\x79", "\164\x79\160\x65"), "\164\151\164\x6c\145" => lang($messages, "\x65\162\162\x6f\x72", "\145\x6d\160\x74\171", "\164\x69\x74\x6c\145"), "\x73\x75\x62\164\151\164\154\145" => lang($messages, "\145\x72\162\x6f\x72", "\145\155\x70\164\171", "\x73\x75\142\x74\151\164\x6c\x65"))); return; } try { $infoGroupSQL = $connx->prepare("\x53\x45\114\x45\x43\x54\x20\x2a\40\106\x52\117\115\40\140{$dbb_user}\140\40\127\110\x45\122\x45\40\x60\151\144\140\x20\75\x20\x3f\73"); $infoGroupSQL->execute(array($value)); $info = $infoGroupSQL->fetch(PDO::FETCH_ASSOC); if ($infoGroupSQL->RowCount() == 0) { echo json_encode(array("\164\x79\x70\145" => lang($messages, "\145\162\x72\x6f\x72", "\145\x6d\x70\x74\x79", "\164\171\160\x65"), "\164\x69\164\154\145" => lang($messages, "\145\162\162\x6f\162", "\x65\155\x70\164\x79", "\x74\x69\x74\x6c\x65"), "\163\x75\x62\x74\x69\164\154\x65" => lang($messages, "\145\x72\x72\x6f\x72", "\x65\155\160\x74\171", "\163\x75\x62\x74\x69\164\154\145"))); closeDBConnection(); return; } $insertSQL = $connx->prepare("\x49\x4e\123\105\122\124\40\111\116\x54\x4f\40\x60{$dbb_group_user}\140\50\140\x67\162\157\x75\160\140\x2c\40\140\x75\x73\145\x72\140\x29\40\xa\11\11\126\x41\114\125\x45\123\40\50\x3f\54\x20\77\51\x3b"); $insertSQL->execute(array($group, $info["\151\144"])); $perm_id = $connx->lastInsertId(); echo json_encode(array("\x74\171\x70\x65" => "\163\165\143\x63\145\163\163", "\x74\x69\164\x6c\x65" => "\x43\x6f\x72\x72\145\x63\164\154\x79\41", "\x73\x75\x62\x74\x69\164\154\x65" => '', "\144\x61\x74\x61\x69\144" => $perm_id)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\164\171\x70\x65" => lang($messages, "\x65\x72\x72\x6f\162", "\145\155\160\164\x79", "\x74\x79\160\x65"), "\164\151\x74\154\145" => lang($messages, "\145\x72\x72\x6f\x72", "\145\x6d\x70\x74\171", "\x74\x69\164\x6c\x65"), "\163\x75\142\164\x69\x74\154\x65" => lang($messages, "\145\x72\162\157\x72", "\145\155\x70\164\171", "\163\165\142\x74\x69\x74\154\x65"))); closeDBConnection(); return; } } goto wgds9; EJxu2: if ($_POST["\x72\x65\x73\x75\x6c\164"] == "\166\x65\162\151\x66\171\x5f\x65\x78\x69\163\164\x5f\153\x65\x79") { getDBConnection(); $key = $_POST["\x6b\x65\x79"]; if (!sessions($_COOKIE["\144\142\142\x5f\164\x6f\153\x65\156"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\160\x65" => lang($messages, "\163\145\163\x73\x69\157\156", "\141\154\x65\162\164", "\145\162\162\x6f\162"), "\x74\x69\164\x6c\x65" => lang($messages, "\x73\x65\163\163\151\x6f\x6e", "\141\x6c\x65\162\164", "\x74\x69\164\x6c\145"), "\x73\165\x62\164\151\164\x6c\145" => lang($messages, "\163\145\163\x73\x69\x6f\156", "\x61\154\145\x72\x74", "\163\165\x62\x74\x69\164\154\145"))); return; } if (!has("\x64\x62\x62\x2e\x61\144\x6d\x69\x6e\56\x6c\x69\x63\x65\156\x73\145\56\x63\x72\x65\141\x74\145")) { echo json_encode(array("\164\171\160\145" => lang($messages, "\145\x72\x72\x6f\162", "\167\151\x74\x68\x6f\165\164\x5f\x70\145\162\155\151\x73\163\x69\x6f\x6e", "\164\x79\160\145"), "\x74\151\164\x6c\x65" => lang($messages, "\145\x72\x72\157\162", "\x77\x69\164\x68\x6f\165\164\137\x70\x65\x72\x6d\x69\163\x73\x69\x6f\x6e", "\164\151\x74\x6c\x65"), "\x73\165\142\x74\151\x74\x6c\x65" => lang($messages, "\x65\x72\162\157\162", "\167\x69\x74\x68\x6f\165\x74\x5f\160\x65\x72\155\x69\x73\163\x69\x6f\x6e", "\163\165\142\164\x69\x74\154\x65"))); return; } try { $verifySQL = $connx->prepare("\x53\x45\x4c\x45\103\x54\40\52\40\x46\x52\x4f\115\40\x60{$dbb_license}\140\x20\x57\110\105\x52\105\x20\x60\153\145\171\140\x20\x3d\x20\77\73"); $verifySQL->execute(array($key)); if ($verifySQL->RowCount() > 0) { echo json_encode(array("\164\x79\160\145" => "\x65\170\x69\163\164")); closeDBConnection(); return; } else { echo json_encode(array("\x74\x79\160\x65" => "\156\x6f\x2d\145\170\151\x73\x74")); closeDBConnection(); return; } closeDBConnection(); return; } catch (Exception $e) { echo $e; closeDBConnection(); return; } } goto Lxgy1; vRhKo: if ($_POST["\162\145\x73\x75\x6c\x74"] == "\x6d\x6f\x76\x65\x2d\x67\x72\x6f\x75\x70") { getDBConnection(); $data_id = $_POST["\x64\141\164\x61\x5f\151\144"]; $position = $_POST["\x70\x6f\163\151\164\151\157\x6e"]; if (!sessions($_COOKIE["\x64\142\x62\x5f\x74\x6f\153\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\160\x65" => lang($messages, "\163\x65\x73\x73\151\157\156", "\x61\x6c\x65\162\164", "\x65\162\162\157\x72"), "\x74\x69\164\154\145" => lang($messages, "\x73\145\x73\163\x69\157\x6e", "\x61\x6c\145\162\x74", "\x74\x69\164\154\x65"), "\x73\x75\142\x74\x69\x74\154\x65" => lang($messages, "\x73\x65\x73\163\x69\157\156", "\141\x6c\145\162\164", "\163\165\142\x74\151\x74\x6c\145"))); return; } if (!has("\x64\142\x62\56\x61\144\155\151\156\56\x67\162\x6f\x75\x70\x2e\x6d\157\x76\145")) { echo json_encode(array("\164\171\160\145" => lang($messages, "\x65\162\162\157\162", "\x77\x69\x74\150\157\165\164\x5f\160\x65\162\155\x69\163\163\x69\x6f\x6e", "\x74\171\x70\145"), "\164\151\164\x6c\145" => lang($messages, "\x65\162\x72\x6f\x72", "\x77\x69\x74\x68\x6f\x75\x74\137\160\145\x72\x6d\x69\163\x73\151\157\x6e", "\x74\x69\164\154\145"), "\163\x75\x62\x74\x69\164\154\x65" => lang($messages, "\x65\x72\162\x6f\162", "\167\x69\x74\x68\x6f\x75\x74\x5f\x70\145\x72\x6d\151\163\x73\x69\x6f\156", "\x73\165\x62\x74\151\164\154\x65"))); return; } $connx->beginTransaction(); try { $original_position = $connx->prepare("\123\x45\114\105\x43\124\x20\140\160\157\163\151\164\151\x6f\156\140\x20\x46\x52\x4f\115\x20\x60{$dbb_group}\x60\x20\127\x48\105\x52\105\x20\140\x69\x64\140\40\x3d\40\77"); $original_position->execute(array($data_id)); $original_position = $original_position->fetchColumn(); $updateSQL = $connx->prepare("\125\120\x44\x41\x54\x45\40\140{$dbb_group}\140\x20\x53\x45\124\40\140\160\x6f\163\x69\164\151\157\x6e\x60\x20\75\x20\x3f\x20\x57\110\105\x52\105\x20\140\x69\x64\140\x20\75\40\x3f"); $updateSQL->execute(array($position, $data_id)); if ($position < $original_position) { $reorderSQL = $connx->prepare("\x55\120\x44\101\124\105\x20\140{$dbb_group}\x60\x20\x53\105\x54\x20\140\160\157\x73\x69\x74\151\157\x6e\140\x20\75\x20\140\x70\157\x73\x69\164\151\157\156\140\x20\x2b\40\61\40\x57\x48\x45\x52\x45\x20\x60\160\x6f\x73\x69\164\151\157\156\x60\x20\76\75\40\77\x20\x41\116\x44\40\140\160\x6f\x73\151\164\151\x6f\156\140\x20\74\40\x3f\40\x41\x4e\104\40\x60\x69\x64\140\40\x21\75\x20\x3f"); $reorderSQL->execute(array($position, $original_position, $data_id)); } elseif ($position > $original_position) { $reorderSQL = $connx->prepare("\x55\120\x44\x41\x54\105\40\x60{$dbb_group}\x60\x20\123\x45\x54\x20\140\160\157\163\x69\164\151\157\156\x60\x20\75\40\140\160\x6f\x73\x69\x74\151\157\156\140\x20\x2d\40\x31\x20\x57\x48\105\x52\x45\x20\140\x70\x6f\x73\151\164\151\x6f\x6e\x60\40\76\40\77\x20\x41\116\104\x20\x60\x70\157\x73\x69\164\x69\x6f\156\x60\40\x3c\x3d\40\77\x20\x41\116\x44\x20\x60\151\x64\140\40\41\x3d\40\x3f"); $reorderSQL->execute(array($original_position, $position, $data_id)); } $connx->commit(); closeDBConnection(); } catch (Exception $e) { $connx->rollBack(); closeDBConnection(); } } goto r636S; laT8v: if ($_POST["\x72\x65\163\x75\x6c\164"] == "\x67\x65\156\x65\x72\141\164\x65\103\x6f\144\145\104\157\167\x6e\154\x6f\x61\144") { if (!sessions($_COOKIE["\144\x62\x62\137\164\x6f\153\x65\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\160\x65" => lang($messages, "\x73\x65\x73\x73\151\x6f\x6e", "\x61\x6c\x65\162\x74", "\x65\162\162\x6f\x72"), "\x74\151\164\x6c\145" => lang($messages, "\163\145\163\163\151\x6f\156", "\x61\x6c\x65\162\x74", "\x74\x69\164\154\x65"), "\x73\165\142\164\x69\x74\x6c\145" => lang($messages, "\x73\x65\163\x73\x69\157\156", "\141\154\145\162\164", "\163\165\x62\x74\151\x74\x6c\x65"))); return; } $type = "\144\x6f\167\x6e\x6c\x6f\141\x64"; $code = randomCodes(32); $status = 2; $createSQL = $connx->prepare("\111\x4e\x53\105\122\124\40\x49\116\x54\117\x20\x60{$dbb_code}\140\x28\140\x74\x79\160\x65\x60\x2c\x20\140\143\x6f\144\145\x60\x2c\x20\x60\163\x74\141\164\165\x73\x60\51\x20\12\x9\11\126\x41\x4c\125\x45\x53\x20\x28\77\54\x20\77\54\x20\77\51\73"); $createSQL->execute(array($type, $code, $status)); echo json_encode(array("\164\171\160\x65" => "\163\x75\143\143\x65\x73\x73", "\143\157\144\145" => $code)); } goto zenPG; gh0tc: if ($_POST["\x72\145\163\165\154\x74"] == "\160\x6c\141\x63\145\114\151\x63\145\156\x73\145\113\145\x79") { $secret_key = $_POST["\x6b\145\x79"]; if (empty($secret_key)) { echo json_encode(array("\163\165\143\x63\145\163\163" => 2, "\155\x65\x73\x73\x61\147\x65" => "\120\x6c\x65\x61\x73\x65\40\146\x69\x6c\x6c\x20\x6f\165\164\x20\164\x68\145\40\x6c\x69\143\x65\x6e\x73\145\40\x66\x69\145\154\x64\x2e")); return; } $type = "\141\165\x74\150"; $url = "\x68\x74\164\160\x73\x3a\x2f\57\144\145\166\x6c\x69\143\145\x6e\163\x65\x2e\144\x65\x76\142\171\142\x69\x74\x2e\143\x6f\x6d\x2f\141\x70\x69\x2e\160\x68\x70\77\163\145\x63\162\x65\x74\x3d" . $secret . "\46\164\x79\160\145\x3d\141\165\x74\x68\x26\163\145\x63\162\145\164\x6b\145\171\75" . $secret_key . "\x26\x70\162\157\x64\x75\143\164\75" . $software; $response = file_get_contents($url); $data = json_decode($response, true); $valid = $data["\x76\141\154\x69\x64"]; if ($valid) { $filename = __DIR__ . "\57\x2e\x2e\x2f\x63\x6f\x6e\x66\151\x67\56\160\150\x70"; $permissions = fileperms($filename); $ownerWritable = ($permissions & 128) !== 0; $groupWritable = ($permissions & 16) !== 0; $otherWritable = ($permissions & 2) !== 0; if ($ownerWritable and $groupWritable and $otherWritable) { $configContent = file_get_contents($filename); $newConfigContent = preg_replace("\57\x64\x65\146\x69\156\145\134\x28\x27\x4c\111\103\x45\116\x53\105\x5f\x4b\x45\131\x27\x2c\134\163\x2a\56\52\134\x29\x3b\x2f", "\144\x65\146\x69\156\x65\x28\47\x4c\x49\x43\x45\x4e\x53\105\137\113\105\x59\x27\54\40\47" . $data["\x6b\x65\171"] . "\x27\x29\73", $configContent); file_put_contents($filename, $newConfigContent); echo json_encode(array("\163\x75\x63\143\145\x73\163" => 1, "\x6d\145\x73\163\141\x67\x65" => $data["\155\x65\163\x73\x61\x67\x65"], "\x6b\145\x79" => $data["\153\145\x79"], "\151\x64" => $data["\151\144"])); return; } else { echo json_encode(array("\x73\165\143\x63\x65\x73\x73" => 2, "\x6d\x65\163\163\141\147\x65" => "\124\150\x65\x20\160\145\162\x6d\x69\x73\163\151\157\156\x20\150\x61\x73\40\156\x6f\164\40\x62\x65\x65\x6e\x20\x61\160\x70\x6c\x69\145\x64\40\164\157\x20\x74\150\145\x20\x66\151\x6c\x65\40\x22\143\157\156\x66\151\x67\x2e\x70\x68\160\x22\40\120\154\145\141\x73\145\x20\x69\x6d\160\x6c\145\x6d\145\156\164\40\x74\x68\x65\40\x70\145\162\155\151\163\x73\151\157\x6e\x20\x22\67\67\x37\x22\40\x74\x6f\x20\143\x6f\156\x74\151\x6e\x75\145\56", "\153\145\171" => $data["\x6b\x65\x79"], "\x69\x64" => $data["\x69\144"])); return; } } else { echo json_encode(array("\163\x75\x63\x63\145\x73\x73" => 2, "\155\145\x73\163\141\x67\145" => $data["\155\x65\x73\163\141\147\145"] . "\x20" . $data["\160\145\x74"])); return; } } goto oX0kY; rqOMM: if ($_POST["\162\145\x73\165\x6c\164"] == "\143\162\x65\x61\164\145\x5f\x72\145\x71\x75\x65\x73\164\137\143\157\x64\x65") { getDBConnection(); $code = $_POST["\143\157\x64\x65"]; if (empty($_POST["\x63\x75\x73\164\x6f\155\137\141\144\x64\x6f\156\x73"])) { $addons_list = NULL; } else { $elementsData = json_decode($_POST["\143\165\163\164\157\155\137\x61\144\144\157\156\x73"], true); $custom_addons = array(); foreach ($elementsData as $id => $data) { $addonName = $data["\141\x64\x64\x6f\x6e\116\x61\x6d\x65"]; $custom_addons[] = $addonName; } } $addons_list = implode("\x23", $custom_addons); if (!sessions($_COOKIE["\144\x62\142\x5f\x74\157\x6b\x65\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\160\x65" => lang($messages, "\163\x65\163\x73\151\157\x6e", "\x61\x6c\x65\162\164", "\145\x72\x72\x6f\162"), "\x74\151\164\x6c\x65" => lang($messages, "\x73\145\x73\x73\151\157\x6e", "\x61\x6c\145\162\164", "\164\x69\164\x6c\145"), "\163\165\142\164\151\164\x6c\x65" => lang($messages, "\x73\x65\163\x73\x69\157\156", "\x61\x6c\145\x72\x74", "\x73\x75\x62\164\151\x74\154\x65"))); return; } if (!has("\144\x62\142\56\x61\144\x6d\x69\156\x2e\143\157\x64\145\56\x63\x72\145\x61\164\145\x2e\x72\145\161\x75\145\x73\164")) { echo json_encode(array("\x74\171\x70\x65" => lang($messages, "\145\162\162\157\x72", "\167\151\164\x68\157\165\x74\137\x70\x65\x72\155\x69\163\163\x69\x6f\x6e", "\x74\x79\160\145"), "\164\151\x74\x6c\x65" => lang($messages, "\145\x72\x72\157\162", "\x77\151\164\150\157\x75\164\137\x70\145\x72\x6d\x69\163\163\x69\x6f\156", "\x74\151\164\154\x65"), "\163\165\142\164\151\164\154\x65" => lang($messages, "\x65\162\x72\x6f\162", "\167\x69\164\150\157\165\x74\137\x70\145\x72\x6d\x69\x73\x73\151\x6f\156", "\x73\x75\x62\164\x69\164\x6c\x65"))); return; } if (empty($code)) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x65\162\x72\x6f\162", "\x65\x6d\160\164\171", "\x74\x79\x70\145"), "\x74\x69\164\154\x65" => lang($messages, "\145\x72\x72\157\x72", "\x65\155\160\164\171", "\164\151\x74\154\145"), "\x73\x75\142\x74\x69\x74\154\145" => lang($messages, "\145\x72\x72\x6f\162", "\x65\155\x70\164\171", "\x73\165\x62\x74\x69\x74\154\x65"))); return; } try { $eraseSQL = $connx->prepare("\x49\116\x53\x45\x52\124\40\111\116\124\117\x20\140\144\x62\142\137\143\157\144\145\140\x28\140\x74\x79\x70\145\x60\54\x20\140\x63\x6f\144\x65\x60\x2c\40\140\141\144\144\x6f\156\x73\140\x2c\x20\140\163\164\x61\x74\x75\163\x60\51\x20\12\11\x9\126\101\x4c\x55\105\123\40\50\47\162\x65\x71\165\x65\163\x74\x27\x2c\40\x3f\54\x20\x3f\54\x20\x32\51\x3b"); $eraseSQL->execute(array($code, $addons_list)); echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x6c\151\x63\145\x6e\163\145", "\141\x6c\145\x72\x74", "\145\162\141\163\x65", "\164\171\160\x65"), "\x74\151\164\154\145" => lang($messages, "\154\x69\143\x65\x6e\163\145", "\141\x6c\145\x72\164", "\x65\162\x61\163\145", "\164\151\x74\154\145"), "\x73\165\x62\164\x69\x74\154\x65" => lang($messages, "\x6c\151\143\145\x6e\163\145", "\x61\154\145\x72\x74", "\145\162\x61\163\x65", "\x73\165\x62\164\x69\164\154\145"), "\151\x64" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\x74\171\x70\x65" => lang($messages, "\x65\x72\162\157\162", "\x65\x6d\160\x74\171", "\x74\171\160\145"), "\x74\151\164\154\x65" => lang($messages, "\x65\x72\x72\x6f\x72", "\145\155\x70\x74\x79", "\x74\151\164\154\x65"), "\163\165\142\164\x69\x74\x6c\145" => lang($messages, "\x65\162\x72\157\162", "\x65\155\160\x74\171", "\163\x75\142\x74\x69\x74\154\145"))); closeDBConnection(); return; } } goto yzKBz; igLTI: if ($_POST["\x72\145\x73\165\x6c\164"] == "\x63\162\x65\x61\x74\145\137\x6c\151\143\x65\x6e\x73\145\x5f\x67\x69\x66\x74") { getDBConnection(); $code = $_POST["\143\157\x64\145"]; $product = $_POST["\160\x72\x6f\x64\165\x63\x74"]; $expire = $_POST["\145\x78\160\151\x72\145"]; $expire_time = $_POST["\x65\170\160\x69\162\145\137\x74\151\155\145"]; $ips = empty($_POST["\x69\x70\163"]) ? 5 : $_POST["\151\x70\x73"]; $bound = $_POST["\x62\x6f\x75\x6e\x64"] ? 1 : 0; $ip_log = $_POST["\x69\x70\137\154\x6f\147"] ? 1 : 0; $logs = $_POST["\154\x6f\147\x73"] ? 1 : 0; $delete_ips = $_POST["\144\x65\154\145\164\145\137\151\160\163"] ? 1 : 0; $limit = $_POST["\x6c\151\x6d\151\164"] ? 1 : 0; $product_verify = $_POST["\160\162\157\144\x75\143\x74\137\166\145\162\151\146\171"] ? 1 : 0; $require_version = $_POST["\162\145\x71\x75\x69\162\145\137\166\145\162\163\151\x6f\156"] ? 1 : 0; $expire_erase = $_POST["\x65\x78\x70\151\x72\x65\x5f\x65\162\141\163\145"] ? 1 : 0; $admit_clone = $_POST["\x61\144\155\x69\x74\x5f\143\x6c\157\156\x65"] ? 1 : 0; $discord = $_POST["\x73\x65\156\x64\137\144\x69\163\143\157\x72\x64"] ? 1 : 0; $webhook = $_POST["\x73\145\x6e\x64\x5f\x77\145\142\x68\157\x6f\153"] ? 1 : 0; $addons = $ips . "\43" . $bound . "\43" . $ip_log . "\x23" . $logs . "\x23" . $delete_ips . "\43" . $limit . "\x23" . $product_verify . "\43" . $require_version . "\x23" . $expire_erase . "\x23" . $admit_clone; $complete_addons = $product . "\x2e" . $ips . "\x2e" . $expire . "\x23" . $expire_time . "\x2e" . $addons . "\x2e"; if (!sessions($_COOKIE["\144\142\142\x5f\x74\x6f\153\x65\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x73\x65\x73\x73\x69\157\156", "\141\x6c\x65\162\x74", "\x65\162\x72\x6f\x72"), "\164\151\164\x6c\145" => lang($messages, "\163\145\x73\163\151\x6f\156", "\141\154\x65\162\164", "\164\x69\x74\154\x65"), "\x73\165\x62\164\x69\x74\154\145" => lang($messages, "\x73\145\x73\x73\x69\157\156", "\x61\x6c\x65\162\164", "\x73\165\142\164\x69\x74\x6c\x65"))); return; } if (!has("\144\142\142\56\x61\144\155\x69\x6e\56\143\x6f\x64\145\x2e\x63\162\x65\x61\164\x65\56\x6c\x69\x63\x65\156\x73\x65")) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\145\162\162\x6f\x72", "\x77\151\x74\x68\x6f\x75\164\x5f\x70\145\162\155\151\163\163\151\157\x6e", "\164\171\x70\145"), "\164\x69\x74\x6c\145" => lang($messages, "\x65\162\162\x6f\162", "\x77\151\x74\x68\x6f\165\164\137\x70\x65\162\x6d\151\x73\x73\151\x6f\156", "\x74\151\164\154\145"), "\163\x75\142\164\151\x74\x6c\x65" => lang($messages, "\x65\x72\x72\157\x72", "\x77\151\x74\x68\x6f\165\164\137\x70\145\x72\x6d\x69\163\163\x69\x6f\156", "\x73\x75\x62\164\151\x74\x6c\x65"))); return; } if (empty($code) or empty($product) or empty($expire)) { echo json_encode(array("\x74\x79\x70\145" => lang($messages, "\x65\162\162\157\162", "\x65\155\x70\x74\171", "\164\171\160\145"), "\x74\x69\164\154\145" => lang($messages, "\145\x72\162\x6f\x72", "\x65\x6d\x70\x74\171", "\164\x69\164\x6c\x65"), "\x73\165\x62\164\151\x74\x6c\x65" => lang($messages, "\145\x72\162\x6f\162", "\145\155\x70\x74\171", "\163\165\x62\164\x69\164\x6c\x65"))); return; } try { $eraseSQL = $connx->prepare("\111\x4e\x53\105\x52\124\40\x49\116\x54\117\40\140\144\142\142\137\143\157\144\145\x60\50\140\164\x79\x70\x65\x60\x2c\x20\140\x63\157\x64\x65\x60\54\40\x60\141\144\x64\157\156\x73\140\x2c\x20\x60\163\x74\141\x74\x75\x73\140\x29\x20\12\11\x9\126\101\x4c\x55\x45\x53\40\x28\47\x6c\x69\x63\145\x6e\x73\145\47\x2c\40\77\54\40\77\54\40\x32\51\73"); $eraseSQL->execute(array($code, $complete_addons)); echo json_encode(array("\164\171\x70\145" => lang($messages, "\154\151\x63\x65\x6e\163\145", "\141\154\x65\x72\x74", "\x65\x72\x61\163\145", "\164\171\160\x65"), "\164\x69\x74\154\145" => lang($messages, "\154\x69\143\145\156\163\145", "\141\x6c\145\x72\x74", "\145\x72\141\x73\145", "\x74\151\x74\154\x65"), "\163\x75\x62\164\x69\164\154\145" => lang($messages, "\154\x69\143\145\x6e\x73\x65", "\141\154\145\x72\164", "\145\162\x61\163\x65", "\x73\165\x62\x74\x69\164\154\x65"), "\151\144" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\x74\171\x70\x65" => lang($messages, "\x65\162\x72\x6f\162", "\145\155\x70\164\171", "\164\x79\160\x65"), "\164\x69\x74\x6c\145" => lang($messages, "\145\x72\162\157\x72", "\x65\155\x70\164\x79", "\164\151\164\154\x65"), "\x73\x75\142\164\151\x74\x6c\145" => lang($messages, "\145\162\x72\157\x72", "\145\x6d\160\x74\171", "\x73\x75\x62\x74\x69\x74\x6c\145"))); closeDBConnection(); return; } } goto JAVQ1; WJCe2: if ($_POST["\162\145\163\x75\154\x74"] == "\154\x6f\147\x69\156") { getDBConnection(); $username = $_POST["\x75\163\x65\162\156\x61\155\145"]; $password = $_POST["\160\141\x73\x73\167\x6f\x72\144"]; $remember = isset($_POST["\162\x65\155\145\x6d\x62\145\x72"]) ? 1 : 0; if (empty($username)) { echo json_encode(array("\x74\x79\x70\x65" => "\145\x72\x72\x6f\162", "\155\145\163\163\x61\x67\145" => "\x55\163\145\x72\x6e\141\x6d\145\40\x68\x61\x73\x20\x6e\157\164\x20\142\145\145\156\x20\145\156\x74\145\162\x65\144\x2e")); return; } $docsSQL = $connx->prepare("\123\x45\x4c\105\x43\124\40\x2a\40\106\x52\x4f\115\x20\140{$dbb_user}\140\x20\x57\110\105\122\x45\40\x60\x75\x73\145\162\156\141\x6d\145\140\40\75\x20\x3f\73"); $docsSQL->execute(array($username)); $docs = $docsSQL->fetch(PDO::FETCH_ASSOC); if ($docsSQL->RowCount() == 0) { echo json_encode(array("\x74\171\x70\x65" => "\x65\x72\x72\x6f\162", "\155\145\163\163\141\x67\145" => "\x59\x6f\x75\162\x20\x61\143\143\157\165\156\164\40\x64\x6f\145\x73\40\x6e\x6f\x74\x20\x65\x78\151\163\164\x20\x6f\x72\x20\x69\163\x20\151\x6e\x63\x6f\162\x72\x65\143\x74\56\x20\114\157\147\40\x6f\x75\x74\x20\141\x6e\144\40\x6c\x6f\147\x20\x69\156\40\167\x69\x74\x68\40\x64\x69\163\x63\x6f\162\144\56")); closeDBConnection(); return; } if (!empty($docs["\x70\141\x73\x73\x77\157\162\x64"])) { if (md5($password) != $docs["\160\141\163\x73\x77\157\x72\x64"]) { echo json_encode(array("\164\171\160\145" => "\145\162\162\157\x72", "\x6d\x65\163\x73\x61\147\x65" => "\x54\150\x65\40\x61\x63\x63\x6f\165\156\x74\x20\x70\141\x73\x73\x77\x6f\162\x64\40\151\x73\40\151\156\x63\157\162\x72\145\x63\164\56\40\x59\157\165\x20\143\141\x6e\40\x74\x72\x79\40\x61\x67\141\x69\x6e\56")); closeDBConnection(); return; } } $last_token = randomCode(32, "\101\123\x44\x46\x47\x48\x4a\x4b\114\121\127\x45\122\124\131\x55\x49\117\x50\132\130\103\x56\102\116\115\x30\x31\x32\x33\64\65\x36\x37\70\71\141\x73\x64\x66\x67\150\x6a\x6b\x6c\x71\167\x65\162\164\x79\165\x69\157\x70\172\x78\143\166\142\156\155\x2e\55\x5f"); $tokenSQL = $connx->prepare("\123\105\114\105\x43\x54\40\52\x20\106\122\117\115\x20\140{$dbb_token}\x60\40\x57\x48\105\122\105\40\x60\x74\157\153\x65\156\140\x20\75\40\x3f\x20\x41\x4e\104\40\140\x75\163\145\162\140\40\75\x20\x3f\x3b"); $tokenSQL->execute(array($_COOKIE["\144\x62\142\x5f\164\157\153\145\156"], $docs["\151\x64"])); $token = $tokenSQL->fetch(PDO::FETCH_ASSOC); if ($tokenSQL->RowCount() > 0) { $deletetokenSQL = $connx->prepare("\x44\x45\x4c\x45\124\x45\x20\x46\x52\x4f\x4d\40\140{$dbb_token}\x60\40\x57\110\x45\122\105\x20\x60{$dbb_token}\140\x2e\x60\x69\144\140\x20\x3d\x20\77\73"); $deletetokenSQL->execute(array($token["\x69\x64"])); } $ip = getUserIp(); $country_api = json_decode(file_get_contents("\150\x74\164\x70\163\72\57\x2f\141\x70\x69\56\x63\x6f\x75\156\164\x72\171\x2e\x69\163\57" . $ip)); $country_dec = $country_api->country; $variable = array("\101", "\x53", "\104", "\x46", "\x47", "\x48", "\112", "\x4b", "\x4c", "\x51", "\127", "\x45", "\x52", "\124", "\x59", "\x55", "\111", "\117", "\120", "\x5a", "\130", "\103", "\x56", "\102", "\116", "\115"); $str_variable = array("\x61", "\163", "\144", "\146", "\147", "\150", "\152", "\153", "\x6c", "\161", "\x77", "\145", "\x72", "\164", "\171", "\x75", "\151", "\x6f", "\160", "\172", "\x78", "\143", "\166", "\x62", "\156", "\155"); $country = str_replace($variable, $str_variable, $country_dec); $inserttokenSQL = $connx->prepare("\x49\116\123\105\122\124\x20\111\116\x54\117\x20\140{$dbb_token}\140\50\140\x75\163\x65\162\140\x2c\40\140\x69\160\x60\54\x20\x60\143\x6f\x75\156\164\x72\171\x60\x2c\40\x60\x74\157\x6b\145\156\x60\54\x20\x60\141\x63\x74\151\x76\151\x74\171\140\x2c\x20\x60\x73\x74\141\x74\165\163\140\51\x20\x56\101\x4c\x55\x45\x53\40\50\x3f\54\x20\x3f\54\40\77\x2c\x20\77\54\x20\116\x4f\x57\50\51\54\40\x27\x31\47\x29\x3b"); $inserttokenSQL->execute(array($docs["\151\x64"], $ip, $country, $last_token)); $userdata = array("\x69\144" => $docs["\x69\x64"], "\154\x61\163\164\137\164\x6f\x6b\x65\156" => $last_token); $_SESSION["\x64\x62\142\x5f\165\163\145\162"] = $userdata; $updateSQL = $connx->prepare("\x55\120\104\x41\124\x45\40\x60{$dbb_user}\140\40\123\x45\124\x20\140\154\141\163\164\137\164\x6f\153\x65\x6e\x60\x20\x3d\40\x3f\40\x57\x48\105\x52\x45\x20\140{$dbb_user}\x60\x2e\140\x69\144\140\x20\x3d\40\77\73"); $updateSQL->execute(array($last_token, $docs["\151\x64"])); if ($remember) { setcookie("\x64\x62\x62\x5f\165\x73\145\x72\137\x70\141\163\x73\x77\157\162\x64", $password, time() + 3600 * 24 * 30, "\x2f"); } ipHistory($ip, $docs["\151\144"], $country, $last_token); deleteOldTokens(); setcookie("\144\x62\142\137\x75\x73\x65\162", $docs["\151\x64"], time() + 3600 * 24 * 30, "\x2f"); setcookie("\144\x62\x62\x5f\x74\x6f\x6b\145\156", $last_token, time() + 3600 * 24 * 30, "\x2f"); echo json_encode(array("\x74\x79\160\x65" => "\x73\x75\x63\x63\x65\163\163", "\164\151\x74\154\x65" => "\114\x6f\147\147\x65\144\x21", "\163\x75\142\x74\151\164\x6c\145" => "\x59\x6f\x75\40\x68\x61\166\x65\40\x6a\x75\163\x74\x20\154\157\x67\147\145\x64\x20\x69\156\x20\x74\x6f\40\171\x6f\x75\x72\x20\x61\x63\x63\157\165\x6e\164\40\163\x75\143\143\x65\163\163\x66\x75\x6c\x6c\171\x21")); closeDBConnection(); return; } goto AGK5i; KCIE8: if ($_POST["\162\x65\163\165\154\x74"] == "\x72\x65\x6d\x6f\x76\145\137\157\x66\x5f\x62\x61\x73\153\145\x74") { getDBConnection(); $item = $_POST["\144\141\164\x61\x5f\x69\144"]; if (!sessions($_COOKIE["\144\142\x62\137\164\x6f\x6b\145\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\171\160\145" => lang($messages, "\163\x65\x73\x73\151\x6f\x6e", "\141\154\x65\x72\164", "\145\162\162\x6f\x72"), "\x74\151\164\154\x65" => lang($messages, "\x73\145\163\x73\151\157\156", "\141\x6c\x65\162\x74", "\164\151\164\x6c\145"), "\x73\x75\142\x74\x69\x74\154\145" => lang($messages, "\x73\x65\163\163\x69\x6f\156", "\x61\x6c\145\162\164", "\x73\165\142\164\151\x74\x6c\x65"))); return; } $basketSQL = $connx->prepare("\x53\x45\114\105\x43\124\40\52\x20\106\x52\x4f\115\x20\x60{$dbb_basket}\x60\40\127\x48\x45\x52\x45\40\x60\x69\x64\140\x20\x3d\40\x3f\73"); $basketSQL->execute(array($item)); if ($basketSQL->RowCount() > 0) { $basket = $basketSQL->fetch(PDO::FETCH_ASSOC); $productSQL = $connx->prepare("\123\x45\x4c\105\x43\x54\40\52\x20\106\x52\x4f\x4d\x20\x60{$dbb_product}\x60\x20\x57\x48\x45\x52\105\x20\140\x69\x64\x60\x20\x3d\40\77\x3b"); $productSQL->execute(array($basket["\x70\x72\157\144\165\x63\164"])); $product = $productSQL->fetch(PDO::FETCH_ASSOC); $insertSQL = $connx->prepare("\104\105\114\x45\124\x45\40\x46\x52\x4f\x4d\x20\140{$dbb_basket}\x60\x20\127\110\105\x52\105\40\x60\144\x62\142\x5f\x62\x61\x73\153\145\x74\140\x2e\140\x69\144\x60\40\x3d\x20\x3f\x3b"); $insertSQL->execute(array($basket["\151\144"])); echo json_encode(array("\164\x79\x70\145" => "\x73\165\x63\x63\145\163\x73", "\164\151\x74\x6c\145" => "\x52\145\155\x6f\166\145\x64\x21", "\163\x75\142\164\151\164\x6c\145" => "\131\x6f\x75\40\x68\x61\x76\145\x20\162\x65\x6d\157\x76\145\x64\40" . $product["\156\141\x6d\x65"] . "\x20\146\x72\x6f\x6d\40\171\157\x75\162\40\x62\x61\163\x6b\145\164\x2e")); closeDBConnection(); return; } else { echo json_encode(array("\164\x79\x70\x65" => "\145\162\x72\x6f\162", "\x74\x69\x74\x6c\145" => "\117\x68\150\40\x70\162\x6f\x62\154\145\155\163\x2e\x2e\56", "\163\x75\x62\x74\151\164\x6c\145" => "\102\x61\x73\x6b\145\x74\x20\151\164\145\155\40\x64\x6f\x65\163\x20\156\x6f\164\40\x65\170\x69\163\164\56")); closeDBConnection(); return; } } goto ruy48; DAqZk: if ($_POST["\x72\145\x73\165\x6c\x74"] == "\x61\x64\x64\55\x67\162\157\165\160") { getDBConnection(); $group_name = $_POST["\x6e\145\x77\x5f\147\x72\x6f\165\x70\x5f\x6e\141\x6d\145"]; if (!sessions($_COOKIE["\x64\x62\x62\137\164\x6f\x6b\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\x70\x65" => lang($messages, "\163\145\x73\163\x69\x6f\156", "\x61\x6c\x65\162\x74", "\145\x72\162\157\162"), "\164\151\x74\154\x65" => lang($messages, "\163\145\x73\163\x69\157\x6e", "\141\154\x65\162\x74", "\164\x69\164\154\145"), "\x73\165\142\164\x69\164\x6c\145" => lang($messages, "\x73\145\163\163\x69\157\x6e", "\x61\x6c\x65\162\x74", "\163\x75\x62\164\x69\164\x6c\x65"))); return; } if (!has("\144\142\x62\x2e\141\x64\x6d\151\x6e\x2e\x67\x72\157\165\160\56\143\x72\x65\x61\x74\x65")) { echo json_encode(array("\x74\171\x70\x65" => lang($messages, "\x65\x72\x72\157\x72", "\x77\x69\164\150\157\x75\x74\137\160\145\162\155\151\163\163\x69\157\x6e", "\164\171\160\145"), "\x74\x69\x74\154\145" => lang($messages, "\145\162\x72\x6f\x72", "\x77\x69\164\150\x6f\165\x74\x5f\x70\145\x72\x6d\x69\163\x73\151\x6f\x6e", "\164\151\164\154\x65"), "\x73\x75\x62\164\x69\164\154\145" => lang($messages, "\x65\x72\162\157\162", "\167\151\164\x68\x6f\165\164\137\x70\x65\x72\x6d\151\x73\163\x69\x6f\x6e", "\163\x75\142\x74\151\x74\x6c\x65"))); return; } if (empty($group_name)) { echo json_encode(array("\164\x79\160\x65" => "\145\162\162\157\162", "\x74\x69\164\x6c\x65" => "\x4f\150\x68\x2c\40\x74\x68\145\162\145\40\x61\x72\x65\40\x70\162\157\x62\154\145\x6d\x73\41", "\163\165\x62\164\151\x74\x6c\145" => "\x50\x72\157\142\154\x65\155\163\40\x6f\143\143\x75\x72\x72\x65\144\x20\167\150\x65\156\x20\164\x72\171\151\156\147\x20\x74\x6f\40\143\154\157\156\145\40\164\150\145\40\x6c\x69\x63\x65\x6e\163\x65\56\40\124\x72\171\x20\141\147\141\151\x6e\x21")); return; } try { $lastPosition = $connx->prepare("\123\x45\x4c\105\103\x54\x20\140\160\157\x73\151\x74\151\x6f\x6e\x60\x20\x46\122\x4f\115\x20\140{$dbb_group}\140\x20\x4f\x52\104\105\x52\40\x42\x59\40\160\x6f\163\151\164\x69\157\x6e\40\104\105\x53\x43\73"); $lastPosition->execute(); $position = $lastPosition->fetch(PDO::FETCH_ASSOC); $last_position = $position["\160\157\163\x69\164\151\157\156"] + 1; $insertSQL = $connx->prepare("\111\116\123\105\122\x54\x20\111\x4e\x54\117\40\140{$dbb_group}\140\50\x60\156\x61\x6d\145\x60\54\40\140\160\x6f\x73\151\x74\151\157\156\x60\51\40\x56\x41\x4c\x55\105\x53\x20\x28\x3f\54\x20\77\51\x3b"); $insertSQL->execute(array($group_name, $last_position)); $group_id = $connx->lastInsertId(); echo json_encode(array("\x69\144" => $group_id)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\x74\171\x70\x65" => lang($messages, "\145\x72\x72\157\x72", "\x65\x6d\x70\164\171", "\164\171\160\x65"), "\164\151\x74\x6c\145" => lang($messages, "\x65\162\x72\x6f\x72", "\x65\155\160\164\171", "\x74\151\x74\154\145"), "\163\165\x62\164\x69\164\154\x65" => lang($messages, "\145\162\x72\157\162", "\x65\x6d\160\164\x79", "\x73\165\142\164\151\x74\x6c\x65"))); closeDBConnection(); return; } } goto WQzvx; j9plX: if ($_POST["\162\145\x73\165\x6c\164"] == "\141\165\164\x6f\137\x6c\157\x67\x69\156") { $user = $_POST["\x75\x73\145\x72"]; $last_token = randomCode(32, "\101\123\x44\x46\x47\x48\x4a\x4b\114\x51\x57\105\x52\x54\x59\125\x49\117\120\132\130\x43\x56\102\x4e\115\x30\61\x32\63\64\65\66\x37\x38\x39\141\163\144\146\147\150\152\153\x6c\x71\167\145\x72\164\x79\x75\x69\157\x70\172\x78\143\x76\142\x6e\155\56\55\137"); $tokenSQL = $connx->prepare("\123\105\114\105\103\x54\40\52\x20\x46\x52\117\115\40\x60{$dbb_token}\140\40\127\110\x45\x52\x45\x20\140\x74\157\x6b\x65\156\140\x20\75\40\77\x20\101\x4e\x44\40\x60\x75\x73\x65\162\x60\x20\75\x20\x3f\x3b"); $tokenSQL->execute(array($_COOKIE["\x64\x62\x62\137\x74\157\x6b\145\x6e"], $user)); $token = $tokenSQL->fetch(PDO::FETCH_ASSOC); if ($tokenSQL->RowCount() > 0) { $deletetokenSQL = $connx->prepare("\104\105\114\x45\x54\x45\x20\106\x52\117\115\40\x60{$dbb_token}\140\x20\127\110\x45\x52\x45\40\x60{$dbb_token}\x60\x2e\x60\151\144\140\x20\x3d\x20\x3f\x3b"); $deletetokenSQL->execute(array($token["\x69\x64"])); } $ip = getUserIp(); $country_api = json_decode(file_get_contents("\150\x74\164\160\x73\72\57\57\141\x70\x69\56\143\x6f\165\156\164\x72\x79\56\x69\163\x2f" . $ip)); $country_dec = $country_api->country; $variable = array("\x41", "\x53", "\104", "\x46", "\107", "\x48", "\112", "\x4b", "\x4c", "\x51", "\x57", "\105", "\122", "\124", "\x59", "\x55", "\111", "\117", "\x50", "\x5a", "\130", "\x43", "\x56", "\x42", "\x4e", "\x4d"); $str_variable = array("\141", "\163", "\144", "\146", "\x67", "\x68", "\152", "\153", "\154", "\x71", "\x77", "\x65", "\162", "\x74", "\x79", "\x75", "\x69", "\x6f", "\160", "\172", "\170", "\x63", "\166", "\142", "\156", "\155"); $country = str_replace($variable, $str_variable, $country_dec); $inserttokenSQL = $connx->prepare("\x49\116\123\105\122\x54\40\111\116\x54\117\x20\140{$dbb_token}\x60\50\x60\x75\163\x65\x72\x60\54\40\140\x69\160\140\x2c\40\140\x63\157\165\x6e\164\x72\x79\x60\x2c\40\140\x74\157\153\x65\x6e\x60\54\x20\140\141\x63\164\x69\x76\151\164\171\x60\54\40\x60\x73\x74\141\x74\165\x73\x60\x29\40\126\101\114\125\x45\x53\40\50\x3f\54\40\77\54\x20\x3f\x2c\40\x3f\x2c\x20\x4e\x4f\127\50\x29\54\x20\47\x31\47\51\x3b"); $inserttokenSQL->execute(array($user, $ip, $country, $last_token)); $userdata = array("\151\144" => $user, "\x6c\x61\163\164\x5f\164\157\x6b\x65\x6e" => $last_token); $_SESSION["\144\142\142\137\x75\x73\x65\x72"] = $userdata; $updateSQL = $connx->prepare("\125\x50\x44\x41\x54\x45\x20\140{$dbb_user}\140\x20\x53\x45\x54\40\x60\154\141\163\x74\x5f\164\x6f\x6b\145\156\x60\40\x3d\x20\x3f\40\127\110\x45\x52\x45\x20\x60{$dbb_user}\x60\x2e\140\x69\x64\x60\x20\75\x20\77\x3b"); $updateSQL->execute(array($last_token, $user)); if ($remember) { setcookie("\144\x62\142\x5f\165\163\145\x72\x5f\160\141\x73\x73\x77\157\x72\144", $password, time() + 3600 * 24 * 30, "\57"); } ipHistory($ip, $user, $country, $last_token); deleteOldTokens(); setcookie("\x64\x62\142\x5f\x75\163\x65\x72", $user, time() + 3600 * 24 * 30, "\x2f"); setcookie("\x64\x62\142\137\x74\x6f\x6b\x65\156", $last_token, time() + 3600 * 24 * 30, "\57"); echo json_encode(array("\164\171\160\145" => "\163\165\143\x63\145\x73\x73", "\x74\x69\x74\x6c\145" => "\x4c\157\147\147\x65\x64\41", "\163\165\x62\x74\x69\164\154\x65" => "\x59\x6f\165\x20\150\141\x76\x65\x20\152\x75\163\164\40\x6c\x6f\x67\147\145\x64\x20\x69\156\40\x74\x6f\x20\x79\x6f\x75\x72\x20\x61\143\143\157\x75\x6e\x74\x20\163\x75\143\x63\x65\x73\x73\146\x75\x6c\154\171\41")); closeDBConnection(); return; } goto WJCe2; vPmPS: if ($_POST["\162\145\x73\165\154\164"] == "\143\157\x6e\x66\151\147\165\162\141\164\x69\157\156\163") { $filename = __DIR__ . "\x2f\x2e\x2e\x2f\143\157\x6e\x66\151\147\x2e\160\x68\160"; $permissions = fileperms($filename); $ownerWritable = ($permissions & 128) !== 0; $groupWritable = ($permissions & 16) !== 0; $otherWritable = ($permissions & 2) !== 0; if ($ownerWritable and $groupWritable and $otherWritable) { $configContent = file_get_contents($filename); $newConfigContent = preg_replace("\57\x64\x65\x66\x69\156\145\134\50\47\x53\117\x46\x54\127\x41\122\x45\x27\54\134\x73\52\56\52\x5c\51\x3b\x2f", "\144\x65\146\151\x6e\145\50\47\123\117\106\124\127\101\x52\x45\x27\54\x20\x27" . $_POST["\x6e\x61\155\x65"] . "\x27\51\x3b", $configContent); $newConfigContent1 = preg_replace("\x2f\x64\x65\x66\151\156\x65\x5c\50\x27\123\x45\x43\122\105\124\137\113\x45\x59\47\x2c\x5c\x73\52\x2e\52\x5c\51\x3b\57", "\144\145\146\x69\x6e\145\50\x27\x53\x45\103\x52\x45\124\x5f\x4b\105\131\x27\54\40\x27" . $_POST["\x73\x65\x63\162\x65\164"] . "\x27\51\73", $newConfigContent); $newConfigContent2 = preg_replace("\x2f\144\145\x66\151\x6e\x65\x5c\50\x27\x42\117\124\137\124\117\x4b\x45\x4e\x27\x2c\134\x73\x2a\x2e\x2a\x5c\x29\73\57", "\x64\145\x66\151\156\145\50\x27\102\117\124\137\124\x4f\x4b\105\116\x27\54\x20\47" . $_POST["\x62\x6f\x74\x5f\x74\x6f\153\x65\156"] . "\x27\x29\x3b", $newConfigContent1); $newConfigContent3 = preg_replace("\57\144\145\146\x69\156\145\x5c\x28\x27\x43\x4c\111\105\x4e\x54\x5f\x53\x45\x43\x52\x45\124\x27\x2c\x5c\x73\x2a\56\52\x5c\51\73\57", "\x64\145\x66\151\x6e\145\x28\47\103\114\x49\105\116\124\x5f\123\105\x43\x52\x45\124\x27\x2c\x20\x27" . $_POST["\143\x6c\151\145\156\x74\x5f\x73\x65\143\162\x65\x74"] . "\47\x29\x3b", $newConfigContent2); $newConfigContent4 = preg_replace("\57\x64\145\146\x69\x6e\x65\134\50\x27\x43\114\x49\105\x4e\x54\x5f\x49\104\47\54\134\163\52\x2e\x2a\x5c\x29\x3b\57", "\144\x65\x66\151\x6e\145\x28\47\103\x4c\x49\105\116\124\x5f\111\104\47\x2c\40\47" . $_POST["\143\x6c\151\145\156\x64\x5f\x69\144"] . "\x27\51\73", $newConfigContent3); $newConfigContent5 = preg_replace("\57\x64\x65\146\151\x6e\x65\x5c\50\x27\x47\125\111\x4c\x44\x5f\111\x44\x27\x2c\x5c\163\x2a\x2e\52\134\x29\x3b\57", "\144\x65\x66\x69\x6e\x65\x28\x27\x47\x55\111\x4c\x44\x5f\111\104\47\54\40\47" . $_POST["\x67\x75\151\154\x64\137\x69\x64"] . "\47\x29\x3b", $newConfigContent4); $newConfigContent6 = preg_replace("\x2f\x64\145\x66\151\156\x65\134\x28\47\x4d\105\x4d\x42\105\122\x5f\x52\117\x4c\105\x5f\111\104\47\54\x5c\x73\x2a\x2e\52\x5c\x29\x3b\57", "\x64\x65\146\151\x6e\145\x28\47\x4d\105\x4d\102\105\122\137\x52\117\x4c\x45\137\x49\104\x27\x2c\40\x27" . $_POST["\155\x65\155\142\145\x72\x5f\162\x6f\x6c\145"] . "\47\x29\x3b", $newConfigContent5); $newConfigContent7 = preg_replace("\x2f\x64\145\146\x69\x6e\x65\134\50\x27\x54\x45\x42\x45\x58\x5f\x50\125\102\x4c\111\103\137\x4b\x45\x59\x27\x2c\x5c\163\x2a\x2e\52\x5c\x29\73\x2f", "\x64\145\146\x69\156\145\50\47\124\x45\102\105\130\137\120\x55\102\x4c\111\x43\137\x4b\105\131\47\x2c\40\x27" . $_POST["\x74\x65\x62\x65\170\137\x6b\145\171"] . "\47\x29\x3b", $newConfigContent6); $newConfigContent8 = preg_replace("\x2f\x64\145\x66\151\156\145\134\x28\47\x54\105\x42\105\x58\137\x57\105\102\110\x4f\117\113\x5f\123\105\x43\122\105\x54\x27\54\x5c\x73\x2a\x2e\52\134\x29\x3b\x2f", "\144\145\146\151\156\145\50\47\x54\x45\102\105\130\137\x57\105\x42\x48\117\117\x4b\x5f\x53\105\x43\122\x45\124\x27\54\x20\x27" . $_POST["\x74\x65\142\x65\170\137\x77\x65\142\150\x6f\x6f\153"] . "\x27\x29\x3b", $newConfigContent7); $newConfigContent9 = preg_replace("\x2f\144\x65\146\151\156\145\x5c\x28\47\x54\x49\116\x59\x4d\x43\x45\137\x4b\x45\x59\x27\54\x5c\163\x2a\x2e\52\x5c\x29\x3b\57", "\x64\145\146\151\x6e\145\x28\x27\124\111\x4e\x59\115\103\x45\x5f\x4b\105\131\47\54\40\x27" . $_POST["\x74\x69\x6e\171\155\143\145"] . "\47\51\73", $newConfigContent8); $newConfigContent10 = preg_replace("\57\144\x65\x66\x69\156\x65\x5c\x28\47\114\111\x43\105\116\x53\105\x5f\x43\x52\105\101\124\x45\x44\x5f\x57\x45\102\110\x4f\x4f\x4b\47\x2c\134\163\x2a\x2e\x2a\x5c\x29\73\x2f", "\144\145\146\x69\156\x65\50\47\x4c\x49\103\105\x4e\123\105\137\103\122\x45\101\124\105\104\137\127\105\102\110\117\117\113\x27\54\40\47" . $_POST["\x6c\x69\x63\145\156\163\145\x5f\167\145\142\x68\x6f\x6f\x6b"] . "\x27\51\x3b", $newConfigContent9); $newConfigContent11 = preg_replace("\57\144\x65\146\x69\156\145\x5c\50\47\x50\122\117\x44\x55\x43\124\137\103\x52\105\x41\x54\x45\x44\137\127\105\102\110\x4f\117\x4b\x27\x2c\134\163\52\56\x2a\x5c\51\73\57", "\144\145\146\151\156\145\x28\47\x50\122\117\x44\x55\x43\124\137\103\x52\x45\x41\124\x45\x44\137\x57\105\x42\x48\117\117\113\47\54\40\x27" . $_POST["\x70\x72\157\x64\165\143\x74\x5f\x77\x65\x62\x68\x6f\157\x6b"] . "\x27\x29\73", $newConfigContent10); $newConfigContent12 = preg_replace("\57\144\145\146\151\x6e\145\x5c\x28\47\111\116\x53\124\101\x4c\x4c\137\115\x4f\x44\x45\x27\54\134\x73\x2a\56\x2a\x5c\x29\x3b\x2f", "\x64\x65\146\151\x6e\x65\x28\x27\111\x4e\x53\x54\101\x4c\114\x5f\x4d\x4f\x44\105\47\54\x20\x30\51\73", $newConfigContent11); file_put_contents($filename, $newConfigContent12); echo json_encode(array("\163\x75\143\143\145\x73\x73" => 1, "\x6d\145\x73\163\x61\x67\145" => "\x53\165\x63\143\x65\x73\x73\x21")); return; } else { echo json_encode(array("\x73\x75\143\x63\145\x73\163" => 2, "\155\145\x73\x73\x61\x67\145" => "\124\x68\145\x20\x70\x65\x72\155\x69\x73\x73\x69\x6f\156\x20\150\x61\x73\x20\156\x6f\164\x20\142\145\145\x6e\40\x61\x70\160\x6c\151\x65\144\40\x74\157\x20\x74\x68\145\40\146\x69\x6c\x65\x20\x22\143\157\156\146\x69\x67\x2e\x70\150\160\42\40\x50\x6c\x65\141\x73\145\40\151\x6d\x70\154\x65\155\145\156\164\x20\x74\x68\145\x20\160\x65\x72\155\x69\163\x73\151\157\x6e\40\42\x37\x37\x37\x22\40\164\x6f\40\143\157\x6e\164\x69\x6e\x75\145\x2e", "\x6b\x65\x79" => $data["\153\x65\171"], "\x69\144" => $data["\151\144"])); return; } } goto gh0tc; zB1jX: if ($_POST["\162\145\163\165\x6c\164"] == "\143\x68\x61\x72\164\x5f\x6c\x69\143\x65\156\x73\x65\137\141\143\x63\x65\160\x74\x65\144\x5f\x62\171\137\165\163\145\162") { getDBConnection(); $currentYear = date("\131"); $license = isset($_POST["\143\150\141\x72\164\126\141\x6c\x75\x65"]) ? htmlspecialchars($_POST["\143\x68\x61\x72\164\126\141\x6c\165\x65"], ENT_QUOTES, "\x55\x54\106\55\70") : null; if ($license !== null) { $chartData = $connx->prepare("\12\x9\x9\x9\123\x45\114\x45\103\x54\40\104\x41\124\x45\x5f\x46\x4f\x52\x4d\x41\124\50\163\151\x6e\x63\145\x2c\x20\47{$currentYear}\55\45\x6d\47\51\40\x41\x53\40\x6d\157\x6e\164\x68\x2c\40\123\x55\x4d\x28\166\x61\x6c\x75\x65\x29\x20\x41\x53\x20\164\x6f\164\141\154\x5f\x76\x61\x6c\165\145\12\x9\x9\x9\106\122\117\x4d\40\x60{$dbb_logs}\x60\xa\11\11\11\x57\x48\105\x52\105\x20\x74\x79\160\x65\x20\x3d\40\x27\162\x65\x71\165\145\163\x74\x27\x20\x41\x4e\104\40\165\163\145\162\40\x3d\x20\x3f\40\x41\x4e\x44\40\x59\105\x41\x52\50\x73\151\x6e\x63\x65\x29\40\x3d\40\x3f\x20\12\x9\11\11\11\101\x4e\x44\x20\x73\164\x61\x74\165\163\x20\75\40\x27\61\47\xa\11\11\x9\107\122\117\x55\x50\40\102\x59\40\155\x6f\156\x74\x68\12\11\11\11\x4f\x52\x44\105\x52\x20\102\x59\40\x6d\157\156\164\150\12\x9\x9"); $chartData->execute(array($license, $currentYear)); $acceptedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $chartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["\155\157\x6e\164\x68"], 5)); $acceptedData[$month - 1] = $row["\164\157\x74\x61\x6c\x5f\166\x61\x6c\165\145"]; } $deniedChartData = $connx->prepare("\12\x9\x9\x9\123\105\x4c\x45\103\x54\x20\104\101\124\x45\137\x46\117\122\x4d\x41\x54\x28\163\151\x6e\x63\x65\x2c\x20\47{$currentYear}\55\x25\155\x27\51\40\x41\123\x20\155\x6f\156\164\150\x2c\40\x53\125\x4d\x28\166\x61\x6c\x75\145\x29\40\x41\x53\40\164\157\x74\x61\154\144\x5f\166\x61\154\165\145\xa\x9\x9\x9\x46\x52\x4f\115\40\x60{$dbb_logs}\x60\xa\11\11\11\x57\110\105\x52\x45\40\164\x79\160\145\x20\x3d\40\47\x72\x65\161\x75\x65\x73\164\47\x20\101\116\x44\x20\165\163\145\162\x20\x3d\x20\77\x20\x41\x4e\x44\x20\131\x45\x41\x52\50\x73\151\x6e\143\x65\x29\40\75\x20\x3f\40\12\x9\11\11\x9\x41\116\x44\40\x73\x74\141\164\x75\163\40\x3d\40\x27\60\x27\12\11\11\11\x47\122\117\125\120\x20\x42\131\40\x6d\157\x6e\164\150\xa\x9\x9\11\117\x52\104\x45\x52\40\x42\x59\x20\x6d\157\156\x74\150\12\11\11"); $deniedChartData->execute(array($license, $currentYear)); $deniedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $deniedChartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["\x6d\x6f\156\164\150"], 5)); $deniedData[$month - 1] = $row["\x74\157\164\141\x6c\144\137\x76\141\x6c\165\145"]; } header("\x43\157\156\164\145\156\164\55\x54\x79\160\145\x3a\40\x61\x70\x70\x6c\x69\143\x61\x74\151\157\156\x2f\x6a\x73\157\156"); echo json_encode(array("\x61\x63\x63\145\160\x74\x65\144\x44\141\164\x61" => $acceptedData, "\144\x65\156\x69\145\x64\x44\141\x74\141" => $deniedData)); closeDBConnection(); } else { echo "\105\162\162\157\162\x3a\40\106\x61\154\x74\x61\x20\x65\154\40\160\141\x72\xc3\xa1\155\145\x74\x72\x6f\40\x27\143\x68\141\162\x74\x56\141\154\x75\x65\x27\x2e"; } } goto jMsUu; zenPG: if ($_POST["\162\145\163\x75\154\164"] == "\x65\144\x69\x74\x5f\x61\143\x63\157\165\156\x74") { getDBConnection(); $user = $_POST["\x75\x73\x65\162\151\144"]; $username = $_POST["\165\x73\145\162\x5f\x6e\141\155\x65"]; $password = $_POST["\160\x61\x73\163\167\x6f\162\144"]; $email = $_POST["\x65\155\x61\151\154\x5f\x6e\x65\x77"]; if (!sessions($_COOKIE["\x64\x62\x62\137\164\x6f\153\145\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\160\145" => lang($messages, "\163\145\163\x73\x69\157\156", "\141\x6c\145\162\164", "\x65\x72\162\157\162"), "\164\x69\x74\x6c\x65" => lang($messages, "\163\x65\163\163\x69\x6f\156", "\141\x6c\145\x72\x74", "\164\151\164\x6c\x65"), "\x73\x75\x62\x74\x69\x74\154\145" => lang($messages, "\x73\145\x73\x73\151\x6f\x6e", "\x61\x6c\145\x72\x74", "\163\165\x62\x74\x69\164\x6c\145"))); return; } if (!has("\x64\x62\x62\56\x61\144\155\151\156\56\x75\x73\145\162\x2e\x65\x64\x69\164")) { echo json_encode(array("\164\x79\160\145" => lang($messages, "\x65\162\x72\157\162", "\x77\151\164\150\x6f\165\x74\137\160\x65\162\x6d\151\163\x73\151\x6f\156", "\x74\x79\160\145"), "\x74\x69\164\154\x65" => lang($messages, "\x65\x72\x72\x6f\162", "\x77\x69\164\x68\x6f\165\164\137\x70\x65\162\x6d\x69\163\163\x69\157\x6e", "\x74\x69\164\154\x65"), "\163\165\142\x74\151\x74\154\145" => lang($messages, "\x65\162\162\x6f\x72", "\x77\x69\x74\150\157\165\x74\x5f\160\x65\162\155\x69\163\163\151\x6f\x6e", "\x73\165\x62\164\151\164\x6c\145"))); return; } $userSQL = $connx->prepare("\123\105\114\105\x43\124\40\52\40\x46\x52\117\115\x20\x60{$dbb_user}\140\x20\127\x48\x45\x52\105\40\x60\x69\144\140\40\x3d\40\77\x3b"); $userSQL->execute(array($user)); $user = $userSQL->fetch(PDO::FETCH_ASSOC); if ($userSQL->RowCount() > 0) { $username = empty($username) ? $user["\165\x73\145\x72\156\x61\155\x65"] : $username; $password = empty($password) ? $user["\x70\141\x73\163\x77\x6f\162\144"] : md5($password); $email = empty($email) ? $user["\x65\155\x61\151\154"] : $email; $updateSQL = $connx->prepare("\x55\120\104\x41\x54\105\40\x60{$dbb_user}\x60\x20\123\105\x54\x20\x60\x75\x73\145\x72\156\141\155\145\x60\x20\75\x20\x3f\x2c\40\x60\160\141\163\x73\167\x6f\x72\144\x60\40\x3d\40\77\x2c\40\x60\x65\x6d\141\151\x6c\x60\40\75\40\77\40\x57\x48\x45\122\x45\x20\140{$dbb_user}\x60\x2e\140\151\144\140\40\75\x20\77\73"); $updateSQL->execute(array($username, $password, $email, $user["\151\x64"])); echo json_encode(array("\164\x79\160\x65" => "\x73\165\143\x63\x65\x73\163", "\x74\x69\x74\154\x65" => lang($messages, "\x75\163\145\162", "\145\x64\x69\x74", "\x61\x6c\x65\x72\164", "\164\151\x74\x6c\145"), "\163\x75\x62\164\151\164\x6c\x65" => lang($messages, "\x75\163\x65\162", "\x65\144\x69\164", "\141\x6c\x65\x72\x74", "\x73\165\x62\164\151\164\x6c\x65"))); closeDBConnection(); return; } } goto RvDri; L61LV: require_once "\x2e\x2e\57\x66\165\x6e\x63\164\x69\157\156\x2e\160\150\160"; goto Q4b7k; JAVQ1: if ($_POST["\x72\x65\163\x75\154\x74"] == "\x63\162\145\141\164\145\x5f\141\144\144\157\x6e\x73\137\x67\x69\146\x74") { getDBConnection(); $code = $_POST["\143\157\x64\x65"]; $elementsData = json_decode($_POST["\143\165\x73\164\157\155\137\x61\144\x64\x6f\x6e\163"], true); $custom_addons = array(); foreach ($elementsData as $id => $data) { $addonName = $data["\x61\144\144\157\x6e\x4e\141\x6d\x65"]; $custom_addons[] = $addonName; } $addons_list = implode("\x23", $custom_addons); if (!sessions($_COOKIE["\144\x62\142\x5f\164\157\153\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\x70\145" => lang($messages, "\163\145\163\163\151\157\x6e", "\x61\x6c\145\x72\x74", "\x65\162\x72\x6f\162"), "\x74\x69\x74\x6c\145" => lang($messages, "\163\x65\x73\x73\x69\157\x6e", "\141\x6c\145\162\x74", "\x74\151\x74\154\145"), "\163\165\x62\x74\151\x74\154\145" => lang($messages, "\x73\145\163\x73\151\x6f\156", "\141\x6c\145\162\164", "\x73\x75\x62\164\151\x74\x6c\145"))); return; } if (!has("\x64\x62\142\56\x61\x64\x6d\x69\156\56\143\x6f\x64\145\x2e\x63\x72\x65\141\164\x65\56\141\x64\144\x6f\156\163")) { echo json_encode(array("\x74\x79\x70\145" => lang($messages, "\145\162\162\157\x72", "\167\x69\164\x68\157\x75\x74\x5f\160\145\x72\155\151\x73\x73\x69\x6f\x6e", "\x74\x79\160\x65"), "\x74\151\164\154\145" => lang($messages, "\x65\162\162\157\x72", "\167\x69\164\150\x6f\x75\x74\x5f\x70\x65\x72\x6d\x69\163\x73\151\157\156", "\164\151\x74\154\x65"), "\x73\165\x62\x74\151\164\154\145" => lang($messages, "\x65\x72\162\157\x72", "\167\151\x74\x68\157\165\x74\x5f\160\x65\x72\x6d\x69\x73\x73\151\157\156", "\163\x75\x62\x74\151\164\x6c\145"))); return; } if (empty($code) or empty($addons_list)) { echo json_encode(array("\x74\x79\160\145" => lang($messages, "\x65\x72\162\x6f\162", "\x65\155\x70\x74\171", "\164\171\x70\x65"), "\x74\151\x74\154\x65" => lang($messages, "\x65\x72\162\x6f\162", "\145\155\160\x74\171", "\x74\x69\164\x6c\x65"), "\x73\x75\142\164\x69\164\154\x65" => lang($messages, "\x65\162\162\157\162", "\x65\x6d\160\164\x79", "\163\165\x62\x74\151\164\154\x65"))); return; } try { $eraseSQL = $connx->prepare("\x49\116\123\105\x52\x54\40\111\116\124\117\x20\140\x64\x62\142\x5f\x63\157\144\x65\x60\x28\x60\x74\171\x70\145\x60\x2c\40\140\x63\157\x64\x65\x60\54\x20\140\141\x64\x64\x6f\x6e\x73\x60\54\x20\140\x73\x74\x61\x74\x75\163\x60\51\x20\12\11\11\x56\x41\114\x55\105\x53\x20\50\47\141\144\x64\x6f\x6e\163\x27\x2c\40\x3f\x2c\40\77\54\40\62\51\73"); $eraseSQL->execute(array($code, $addons_list)); echo json_encode(array("\x74\171\x70\145" => lang($messages, "\x6c\151\143\145\x6e\163\145", "\141\x6c\x65\x72\164", "\145\x72\141\163\x65", "\x74\x79\x70\x65"), "\164\151\164\x6c\145" => lang($messages, "\154\151\143\x65\x6e\163\145", "\141\154\145\162\x74", "\x65\162\x61\163\x65", "\x74\x69\164\x6c\145"), "\x73\165\x62\164\x69\x74\154\x65" => lang($messages, "\x6c\x69\x63\145\x6e\x73\145", "\x61\x6c\145\x72\x74", "\x65\x72\141\x73\145", "\x73\x75\142\x74\x69\164\154\x65"), "\151\144" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\164\x79\x70\145" => lang($messages, "\x65\x72\162\157\x72", "\145\155\x70\x74\171", "\164\171\160\145"), "\164\151\x74\154\145" => lang($messages, "\145\x72\162\x6f\x72", "\145\x6d\160\164\x79", "\x74\151\164\x6c\x65"), "\x73\x75\x62\x74\x69\x74\x6c\x65" => lang($messages, "\145\162\162\x6f\162", "\x65\155\x70\x74\x79", "\163\165\x62\164\151\x74\x6c\145"))); closeDBConnection(); return; } } goto rqOMM; jGOos: if ($_POST["\x72\145\x73\165\x6c\x74"] == "\x72\x65\163\x65\x74\137\154\x6f\147\163\137\153\x65\x79\x5f\x6c\x69\143\145\156\163\x65") { getDBConnection(); $dataid = $_POST["\x6c\x69\x63\145\x6e\x73\x65"]; if (!sessions($_COOKIE["\x64\x62\142\x5f\x74\157\x6b\x65\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\x70\x65" => lang($messages, "\x73\145\163\163\x69\x6f\x6e", "\141\154\x65\x72\x74", "\145\x72\x72\157\x72"), "\164\151\164\154\145" => lang($messages, "\x73\145\163\x73\x69\157\x6e", "\x61\x6c\x65\162\x74", "\164\x69\164\x6c\145"), "\x73\165\142\x74\151\x74\x6c\x65" => lang($messages, "\x73\x65\163\163\151\157\x6e", "\141\x6c\x65\x72\164", "\x73\165\142\x74\151\x74\154\145"))); return; } if (!has("\x64\x62\x62\56\141\144\155\x69\156\56\x6c\151\143\145\x6e\x73\x65\56\x72\x65\x73\145\x74\154\x6f\147\x73")) { echo json_encode(array("\164\171\x70\145" => lang($messages, "\145\x72\162\157\162", "\167\x69\x74\x68\x6f\165\x74\x5f\160\x65\x72\x6d\151\163\x73\x69\x6f\x6e", "\164\x79\x70\145"), "\x74\151\164\x6c\145" => lang($messages, "\145\x72\x72\157\162", "\167\151\164\150\157\x75\164\137\160\145\x72\155\x69\x73\x73\x69\157\156", "\x74\151\x74\154\145"), "\x73\x75\142\x74\151\164\x6c\145" => lang($messages, "\x65\x72\162\x6f\x72", "\167\x69\164\x68\157\165\x74\x5f\x70\x65\x72\x6d\151\163\x73\x69\157\156", "\x73\x75\x62\164\x69\164\154\145"))); return; } if (empty($dataid)) { echo json_encode(array("\164\x79\160\x65" => lang($messages, "\145\x72\x72\157\x72", "\x65\x6d\x70\x74\171", "\164\171\160\145"), "\164\x69\164\x6c\x65" => lang($messages, "\145\162\x72\157\x72", "\x65\155\160\164\x79", "\x74\x69\164\x6c\x65"), "\163\165\142\164\151\164\154\145" => lang($messages, "\x65\162\x72\157\x72", "\x65\155\160\x74\171", "\x73\165\x62\164\x69\x74\x6c\145"))); return; } $verifySQL = $connx->prepare("\x53\105\x4c\105\x43\124\x20\52\x20\x46\x52\x4f\x4d\x20\x60{$dbb_license}\x60\40\x57\110\105\122\105\40\140\x69\144\x60\40\75\x20\77\x3b"); $verifySQL->execute(array($dataid)); if ($verifySQL->RowCount() > 0) { $verify = $verifySQL->fetch(PDO::FETCH_ASSOC); $updateSQL = $connx->prepare("\x44\105\x4c\x45\x54\x45\x20\106\x52\117\x4d\40\140{$dbb_logs}\x60\x20\x57\110\x45\122\x45\x20\140\x74\171\160\145\140\x20\x3d\x20\47\162\x65\161\x75\145\163\x74\x27\x20\101\x4e\x44\40\x60\x6c\x69\x63\x65\x6e\163\x65\140\x20\75\x20\x3f\73"); $updateSQL->execute(array($verify["\151\144"])); echo json_encode(array("\x74\171\x70\x65" => "\x73\165\x63\x63\145\x73\x73", "\x74\151\164\x6c\x65" => "\x43\x6f\x6d\x70\154\x65\164\145\40\162\x65\x73\x65\164\x20\157\x66\40\x4c\157\x67\163\x21", "\x73\x75\x62\x74\151\164\154\x65" => '')); closeDBConnection(); return; } else { echo json_encode(array("\164\x79\x70\x65" => "\145\162\x72\157\162", "\x74\x69\x74\154\145" => "\x4f\150\x68\150", "\x73\x75\142\x74\151\x74\x6c\x65" => "\124\150\x69\x73\40\x6c\x69\x63\145\x6e\x73\145\40\x64\x6f\x65\x73\40\156\157\x74\40\145\170\x69\x73\x74\41")); closeDBConnection(); return; } } goto GDs1A; RyO7w: if ($_POST["\x72\x65\163\x75\154\164"] == "\143\x6c\x6f\163\145\x6c\157\147\x6f\165\x74") { getDBConnection(); $tokenSQL = $connx->prepare("\x53\105\114\x45\x43\124\40\52\40\106\x52\x4f\115\x20\x60{$dbb_token}\x60\40\x57\x48\105\122\105\x20\x60\164\x6f\153\x65\156\x60\40\x3d\x20\77\x3b"); $tokenSQL->execute(array($_COOKIE["\x64\142\142\137\x74\157\x6b\145\156"])); $token = $tokenSQL->fetch(PDO::FETCH_ASSOC); if ($tokenSQL->RowCount() > 0) { $deletetokenSQL = $connx->prepare("\104\105\x4c\x45\124\x45\40\106\122\x4f\115\x20\140{$dbb_token}\140\40\x57\110\105\122\x45\40\x60{$dbb_token}\140\x2e\x60\x69\x64\140\40\x3d\40\77\x3b"); $deletetokenSQL->execute(array($token["\x69\144"])); } setcookie("\144\142\x62\137\165\x73\x65\x72", "\60", time(), "\57"); setcookie("\x64\x62\142\137\164\157\153\x65\x6e", "\60", time(), "\x2f"); setcookie("\144\x62\x62\x5f\165\163\145\162\137\x70\x61\163\x73\x77\157\x72\144", "\60", time(), "\x2f"); deleteOldTokens(); session_destroy(); echo json_encode(array("\x74\x79\x70\x65" => "\163\x75\143\x63\x65\163\163", "\164\x69\x74\x6c\x65" => "\123\x65\163\163\x69\157\156\x20\143\154\x6f\163\x65\144\41", "\163\165\x62\x74\x69\x74\154\145" => '')); closeDBConnection(); return; } goto j9plX; WQzvx: if ($_POST["\162\145\163\165\154\164"] == "\x6d\157\144\x69\x66\x69\145\144\137\x67\x72\x6f\x75\160\x5f\151\156\x66\157") { getDBConnection(); $group_id = $_POST["\147\162\x6f\165\160\137\151\x64"]; $group_name = $_POST["\147\162\157\165\x70\137\156\x61\x6d\x65"]; $group_color = $_POST["\x67\x72\x6f\165\160\137\x63\x6f\x6c\x6f\x72"]; $default = $_POST["\147\x72\x6f\x75\160\137\x64\x65\146\x61\x75\154\x74"] ? "\61" : "\60"; if (!has("\x64\142\142\56\x61\144\x6d\151\x6e\56\147\162\157\x75\160\56\145\x64\x69\164")) { echo json_encode(array("\164\x79\x70\x65" => lang($messages, "\145\162\x72\157\162", "\x77\151\164\x68\157\165\x74\137\160\145\x72\155\151\x73\x73\151\157\x6e", "\x74\171\160\145"), "\x74\x69\164\x6c\x65" => lang($messages, "\x65\x72\x72\157\x72", "\167\151\164\150\157\x75\164\137\x70\x65\x72\x6d\151\163\163\151\x6f\x6e", "\x74\151\164\154\145"), "\163\x75\142\x74\x69\x74\x6c\145" => lang($messages, "\145\162\162\157\x72", "\x77\151\164\150\x6f\165\164\137\160\145\162\155\x69\163\163\151\x6f\156", "\x73\x75\142\x74\x69\164\x6c\x65"))); return; } if (empty($group_id) or empty($group_name) or empty($group_color)) { echo json_encode(array("\x74\x79\160\145" => "\x65\162\162\157\162", "\164\151\164\x6c\x65" => "\105\155\160\164\x79\x20\x66\x69\x65\154\x64\163\56", "\163\165\142\164\x69\x74\x6c\x65" => '')); return; } $infoGroupSQL = $connx->prepare("\123\105\x4c\x45\x43\124\40\52\40\x46\x52\117\x4d\x20\140{$dbb_group}\140\x20\127\x48\105\122\x45\x20\140\151\144\140\40\x3d\x20\77\73"); $infoGroupSQL->execute(array($group_id)); $info = $infoGroupSQL->fetch(PDO::FETCH_ASSOC); if ($info["\x64\145\146\x61\x75\154\x74"] and !$default) { $default = 1; $subtitle = "\124\x68\145\40\155\x6f\x64\x69\146\x69\x63\141\x74\x69\157\x6e\40\x77\141\163\40\143\x6f\x72\x72\145\143\x74\x21\40\x42\165\x74\40\x74\150\x65\x20\x64\145\146\141\x75\154\164\x20\162\x61\x6e\x67\145\x20\x68\x61\x73\40\156\157\164\40\x62\x65\145\x6e\40\143\x68\x61\x6e\147\x65\x64\x2c\40\120\x75\164\40\x69\164\40\x74\157\x20\141\x6e\157\164\x68\145\162\40\147\162\x6f\x75\160\56"; } else { if ($default) { $editAllSQL = $connx->prepare("\x55\x50\104\x41\x54\105\x20\x60{$dbb_group}\x60\x20\x53\105\x54\40\x60\x64\145\146\x61\165\154\x74\140\40\x3d\x20\x27\60\x27\73"); $editAllSQL->execute(); } $subtitle = "\123\165\x63\x63\x65\x73\x73\x66\x75\x6c\x20\155\157\x64\x69\x66\151\143\141\x74\151\157\x6e\x21"; } $editSQL = $connx->prepare("\125\120\104\x41\124\x45\40\x60{$dbb_group}\140\40\x53\x45\x54\x20\x60\x6e\x61\x6d\145\140\75\40\77\54\140\x64\145\146\141\x75\x6c\x74\140\75\40\77\x2c\140\x63\157\x6c\157\x72\140\75\40\77\x20\x57\110\x45\122\105\40\x60\x69\x64\140\x20\75\x20\77"); $editSQL->execute(array($group_name, $default, $group_color, $group_id)); echo json_encode(array("\x74\171\x70\x65" => "\x73\x75\x63\x63\145\x73\163", "\x74\151\164\x6c\x65" => "\x45\x64\151\x74\145\144\x20\164\150\x65\40\107\x72\157\x75\160\56", "\x73\165\142\164\x69\164\x6c\x65" => $subtitle)); closeDBConnection(); return; } goto vRhKo; KJz0m: if ($_POST["\162\x65\163\165\154\x74"] == "\x63\x68\141\156\147\145\x5f\x6c\141\156\x67") { $dataid = $_POST["\x64\x61\x74\141\137\x69\144"]; $_SESSION["\154\141\x6e\147"] = $dataid; setcookie("\x6c\x61\x6e\x67", $dataid, time() + 86400 * 30, "\57"); echo json_encode(array("\x74\x79\160\145" => "\x73\165\143\143\145\x73\x73")); return; } goto RoTqX; mpl2c: session_start(); goto xdw6T; GDs1A: if ($_POST["\x72\x65\163\x75\x6c\164"] == "\x72\x65\143\x6c\141\151\x6d\137\x6d\171\137\x67\x69\146\164\x5f\x61\x64\x64\x6f\x6e\163") { getDBConnection(); $license = $_POST["\x6c\151\143\145\x6e\163\x65"]; $code = $_POST["\143\x6f\144\x65"]; if (!sessions($_COOKIE["\144\142\142\x5f\164\157\153\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\160\x65" => lang($messages, "\x73\145\163\163\151\157\156", "\141\x6c\145\x72\x74", "\x65\x72\162\157\x72"), "\164\x69\x74\x6c\145" => lang($messages, "\163\x65\x73\163\x69\157\156", "\x61\154\x65\x72\164", "\x74\x69\x74\x6c\x65"), "\163\x75\x62\x74\151\x74\x6c\145" => lang($messages, "\163\145\x73\x73\x69\x6f\x6e", "\141\154\x65\162\164", "\x73\x75\142\x74\151\x74\154\x65"))); return; } if (empty($license) or empty($code)) { echo json_encode(array("\x74\x79\x70\145" => lang($messages, "\x65\162\x72\157\162", "\x65\x6d\x70\x74\171", "\x74\x79\160\145"), "\164\151\x74\154\x65" => lang($messages, "\145\x72\162\x6f\162", "\x65\x6d\160\x74\171", "\x74\151\x74\154\145"), "\163\165\x62\x74\151\x74\154\x65" => lang($messages, "\145\x72\x72\x6f\162", "\x65\155\160\x74\171", "\163\165\142\x74\x69\x74\154\145"))); return; } $verifyCodeSQL = $connx->prepare("\x53\x45\114\x45\103\x54\x20\52\x20\x46\x52\117\x4d\40\140{$dbb_code}\140\40\x57\110\x45\x52\x45\40\140\143\157\x64\x65\140\40\75\40\77\73"); $verifyCodeSQL->execute(array($code)); if ($verifyCodeSQL->RowCount() > 0) { $code = $verifyCodeSQL->fetch(PDO::FETCH_ASSOC); if ($code["\164\171\160\145"] == "\x61\x64\144\x6f\156\x73") { if ($code["\x73\164\x61\x74\165\163"] != 2) { echo json_encode(array("\164\171\x70\x65" => "\x65\162\162\x6f\162", "\164\151\x74\154\x65" => "\x4f\x68\150\x68\x2c\x20\106\x61\x69\154\x65\144\41", "\163\x75\x62\164\151\x74\154\145" => "\124\x68\145\x20\x63\x6f\x64\x65\40\111\x20\151\x6e\x73\145\x72\x74\145\x64\40\144\x6f\145\x73\x20\156\157\x74\x20\145\170\151\163\164\56")); closeDBConnection(); return; } $verifySQL = $connx->prepare("\x53\x45\114\x45\103\x54\x20\52\x20\x46\122\117\115\x20\x60{$dbb_license}\140\40\127\x48\105\x52\105\40\140\151\x64\x60\40\75\x20\x3f\73"); $verifySQL->execute(array($license)); if ($verifySQL->RowCount() > 0) { $verify = $verifySQL->fetch(PDO::FETCH_ASSOC); $updateSQL = $connx->prepare("\125\120\104\x41\124\x45\x20\x60{$dbb_license}\x60\40\123\x45\x54\x20\140\x63\165\163\164\x6f\155\137\141\144\x64\157\156\163\x60\75\40\77\x20\x57\110\x45\122\x45\x20\x60\x69\144\140\40\75\x20\x3f\x3b"); $updateSQL->execute(array($code["\x61\144\x64\157\156\163"], $license)); $updateSQL2 = $connx->prepare("\x55\120\104\101\124\105\40\140{$dbb_code}\140\40\x53\x45\x54\x20\x60\163\164\x61\164\x75\163\140\75\x20\47\x31\47\54\x20\140\x75\x73\145\140\40\75\x20\77\40\x57\110\x45\122\x45\x20\x60\x69\x64\x60\x20\x3d\x20\77\x3b"); $updateSQL2->execute(array($_SESSION["\x64\142\x62\137\x75\163\x65\x72"]["\x69\x64"], $code["\151\x64"])); echo json_encode(array("\164\171\160\x65" => "\163\x75\x63\143\x65\x73\163", "\x74\x69\x74\154\x65" => "\103\x6f\155\160\154\x65\x74\x65\x20\x72\145\144\x65\145\x6d\41", "\163\165\142\164\151\164\x6c\x65" => '')); closeDBConnection(); return; } else { echo json_encode(array("\164\x79\160\145" => "\x65\162\x72\x6f\162", "\x74\x69\x74\x6c\x65" => "\x4f\x68\x68\x68", "\163\165\142\164\x69\x74\x6c\x65" => "\124\150\151\x73\x20\154\x69\143\145\156\163\145\40\144\157\x65\163\40\x6e\x6f\x74\x20\145\170\x69\x73\x74\41")); closeDBConnection(); return; } } else { echo json_encode(array("\164\x79\160\145" => "\x65\x72\162\157\162", "\x74\151\164\154\145" => "\x4f\x68\150\150\54\x20\106\141\151\154\145\x64\x21", "\x73\165\142\164\151\164\154\x65" => "\x54\x68\x65\x20\143\x6f\144\x65\x20\111\x20\x69\156\x73\x65\x72\164\x65\x64\40\144\157\145\x73\x20\156\x6f\x74\x20\145\170\x69\163\164\x2e")); closeDBConnection(); return; } } else { echo json_encode(array("\x74\x79\x70\145" => "\x65\162\162\x6f\162", "\x74\x69\x74\x6c\145" => "\x4f\x68\x68\150\54\x20\106\141\151\154\145\x64\x21", "\163\x75\142\164\151\164\x6c\145" => "\124\150\145\x20\143\157\144\145\x20\x49\40\x69\156\x73\x65\162\164\x65\x64\40\144\x6f\x65\x73\40\x6e\x6f\164\x20\x65\170\151\x73\x74\x2e")); closeDBConnection(); return; } } goto S84NI; Ai6Fh: if ($_POST["\x72\145\163\x75\154\164"] == "\165\x70\144\141\x74\x65\x5f\x70\162\x6f\x64\165\x63\x74") { $new_version_number = $_POST["\156\145\167\x5f\166\x65\x72\x73\x69\157\x6e\137\x6e\165\155\142\145\x72"]; $new_title = empty($_POST["\x6e\145\167\x5f\x74\x69\164\154\x65"]) ? NULL : $_POST["\156\x65\167\137\164\x69\164\x6c\145"]; $new_message = $_POST["\x6e\145\x77\137\x6d\x65\163\163\x61\147\145"]; $new_message_hidden = $_POST["\x6e\145\167\137\x6d\x65\163\163\141\x67\145\x5f\x68\151\144\x64\145\x6e"]; $product = $_POST["\x70\x72\x6f\144\x75\x63\x74"]; $new_content_filename = $_FILES["\156\x65\167\137\143\157\x6e\164\x65\x6e\x74"]["\156\141\155\x65"]; $new_content_temp_file = $_FILES["\156\x65\x77\137\x63\x6f\156\x74\145\x6e\x74"]["\x74\155\x70\x5f\156\x61\155\x65"]; if (!sessions($_COOKIE["\144\x62\142\x5f\164\157\x6b\x65\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\160\145" => lang($messages, "\163\145\163\163\x69\x6f\156", "\x61\154\x65\162\164", "\145\x72\162\157\162"), "\x74\151\164\154\145" => lang($messages, "\163\x65\x73\163\151\157\x6e", "\x61\154\x65\162\x74", "\164\x69\164\x6c\x65"), "\163\165\142\164\x69\164\154\x65" => lang($messages, "\163\145\x73\163\151\157\x6e", "\x61\x6c\x65\162\x74", "\163\x75\142\x74\x69\164\154\x65"))); return; } if (!has("\x64\142\142\56\x61\x64\x6d\151\x6e\x2e\160\x72\157\144\x75\x63\x74\56\x75\160\144\x61\x74\145")) { echo json_encode(array("\164\171\160\x65" => lang($messages, "\x65\162\162\x6f\162", "\x77\x69\164\150\157\x75\164\x5f\160\x65\x72\155\151\163\x73\151\x6f\156", "\164\x79\160\x65"), "\x74\x69\x74\154\x65" => lang($messages, "\x65\x72\x72\157\162", "\x77\x69\x74\x68\x6f\165\164\x5f\160\x65\x72\x6d\151\x73\x73\x69\157\156", "\164\x69\x74\154\145"), "\x73\x75\142\x74\x69\164\x6c\145" => lang($messages, "\145\162\x72\x6f\x72", "\167\x69\x74\x68\157\165\164\x5f\160\145\162\x6d\x69\x73\163\151\157\156", "\x73\x75\x62\164\151\x74\154\145"))); return; } if (empty($new_version_number) or empty($product)) { echo json_encode(array("\x74\x79\x70\x65" => lang($messages, "\x65\162\x72\x6f\x72", "\145\x6d\x70\164\x79", "\x74\x79\160\x65"), "\164\151\x74\x6c\145" => lang($messages, "\x65\x72\x72\x6f\162", "\145\x6d\160\164\171", "\x74\x69\164\x6c\x65"), "\x73\165\142\x74\151\164\x6c\145" => lang($messages, "\x65\x72\x72\157\162", "\x65\x6d\x70\164\171", "\163\x75\x62\164\x69\x74\x6c\145"))); return; } try { $productSQL = $connx->prepare("\x53\105\x4c\105\103\x54\x20\52\x20\x46\x52\x4f\115\40\140{$dbb_product}\140\40\x57\110\x45\122\105\x20\140\x69\144\140\40\75\x20\x3f\73"); $productSQL->execute(array($product)); if ($productSQL->RowCount() > 0) { $product = $productSQL->fetch(PDO::FETCH_ASSOC); $insertSQLs = $connx->prepare("\x49\116\x53\105\x52\x54\x20\x49\x4e\124\x4f\40\140{$dbb_product_update}\140\50\x60\x75\163\x65\x72\x60\x2c\x20\x60\x70\x72\x6f\x64\165\143\164\x60\x2c\x20\x60\x76\x65\162\x73\151\157\x6e\x60\x2c\x20\x60\164\x69\x74\154\145\x60\x2c\40\x60\144\x65\163\143\162\x69\160\x74\x69\x6f\156\140\x2c\x20\x60\x66\x69\x6c\x65\x60\x29\x20\xa\x9\x9\x9\x56\101\114\x55\x45\123\x20\50\x3f\54\x20\77\x2c\40\x3f\x2c\40\x3f\x2c\x20\x3f\x2c\40\77\51\x3b"); $insertSQLs->execute(array($_SESSION["\x64\x62\142\137\x75\x73\x65\162"]["\x69\x64"], $product["\151\144"], $new_version_number, $new_title, $new_message_hidden, $new_content_filename)); move_uploaded_file($new_content_temp_file, __DIR__ . "\57\56\x2e\57\x70\x61\x72\x65\x6e\x74\x2f\165\160\154\x6f\x61\144\57" . $new_content_filename); echo json_encode(array("\x74\x79\x70\x65" => lang($messages, "\160\162\157\144\165\x63\x74", "\x63\x6f\156\x74\x65\156\x74", "\x61\154\145\162\x74", "\x75\x70\144\x61\164\x65\x64\137\160\x72\x6f\144\x75\143\x74", "\x74\x79\160\145"), "\164\x69\x74\154\x65" => lang($messages, "\x70\162\x6f\144\165\x63\x74", "\143\157\156\x74\145\156\x74", "\141\154\145\162\x74", "\x75\160\x64\x61\164\145\x64\x5f\x70\x72\157\144\165\143\164", "\164\151\x74\x6c\x65"), "\x73\165\142\164\151\x74\154\x65" => lang($messages, "\160\x72\157\144\x75\x63\164", "\x63\157\x6e\164\x65\x6e\164", "\141\x6c\x65\x72\164", "\x75\160\x64\141\164\x65\144\x5f\x70\162\x6f\144\165\143\164", "\163\x75\142\x74\x69\164\x6c\145"), "\155\145\x73\163\x61\x67\x65" => $new_message_hidden)); return; } else { echo json_encode(array("\x74\x79\x70\x65" => lang($messages, "\x70\x72\157\x64\x75\x63\x74", "\x63\157\x6e\164\x65\156\164", "\141\154\x65\162\164", "\x64\157\145\163\137\156\x6f\164\x5f\x65\x78\x69\x73\164", "\x74\x79\x70\x65"), "\164\x69\164\154\145" => lang($messages, "\160\x72\157\x64\165\143\x74", "\143\x6f\156\164\x65\156\164", "\141\x6c\145\162\x74", "\144\157\x65\x73\137\x6e\157\x74\x5f\x65\170\x69\163\x74", "\164\151\x74\154\x65"), "\163\x75\142\x74\x69\x74\154\x65" => lang($messages, "\x70\162\157\144\x75\143\x74", "\x63\x6f\x6e\x74\x65\156\x74", "\x61\154\145\x72\x74", "\x64\x6f\x65\163\x5f\x6e\x6f\x74\x5f\x65\x78\x69\x73\164", "\163\165\142\164\151\x74\154\x65"))); closeDBConnection(); return; } } catch (Exception $e) { echo json_encode(array("\164\x79\x70\x65" => lang($messages, "\145\162\162\x6f\x72", "\x65\155\x70\x74\171", "\164\x79\x70\x65"), "\x74\151\164\x6c\145" => lang($messages, "\145\162\162\x6f\x72", "\145\x6d\x70\164\x79", "\164\151\164\154\x65"), "\x73\165\142\164\x69\164\x6c\145" => lang($messages, "\145\x72\x72\x6f\x72", "\x65\x6d\x70\x74\171", "\163\165\142\164\151\164\154\145"))); closeDBConnection(); return; } } goto cMwPt; yUlHI: if ($_POST["\x72\145\163\x75\x6c\x74"] == "\x63\x6f\156\x66\151\x67\x5f\x64\x61\164\141\x62\141\163\145") { $filename = __DIR__ . "\x2f\56\x2e\57\x63\157\x6e\146\x69\x67\x2e\160\x68\160"; $type = $_POST["\x74\x79\x70\145"]; $hosting = $_POST["\x68\157\163\x74\x69\x6e\x67"]; if ($type == "\x4d\x59\123\x51\x4c") { $port = 3306; } else { if ($type == "\115\117\116\107\117\104\x42") { $port = 27017; } else { if ($type == "\x52\x45\104\111\x53") { $port = 6379; } else { $port = 3306; } } } $database = $_POST["\144\x61\x74\x61\142\141\x73\x65"]; $username = $_POST["\165\x73\x65\162\156\141\x6d\x65"]; $password = $_POST["\x70\x61\163\163\167\x6f\162\x64"]; try { $connx = new PDO("\155\x79\x73\x71\x6c\x3a\x68\157\x73\x74\x3d" . $hosting . "\x3b\160\x6f\x72\164\75" . $port . "\73\144\x62\x6e\x61\155\145\x3d" . $database, $username, $password); $connx->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $database_valid = 1; } catch (PDOException $e) { $database_valid = 0; } if (!$database_valid) { echo json_encode(array("\163\x75\143\x63\145\163\163" => 2, "\x6d\145\x73\163\141\x67\145" => "\x54\x68\145\x20\144\x61\x74\x61\142\141\x73\145\x20\x69\163\x20\156\x6f\x74\x20\x77\157\162\x6b\151\156\x67\40\x63\157\162\x72\x65\x63\164\154\x79\x2c\40\x65\151\164\150\145\x72\40\144\165\145\x20\x74\157\x20\151\156\143\x6f\162\162\145\143\x74\x20\144\x61\x74\141\x20\157\162\x20\x6e\x6f\x74\x20\x77\x6f\x72\153\151\x6e\x67\56")); return; } $permissions = fileperms($filename); $ownerWritable = ($permissions & 128) !== 0; $groupWritable = ($permissions & 16) !== 0; $otherWritable = ($permissions & 2) !== 0; if ($ownerWritable and $groupWritable and $otherWritable) { $configContent = file_get_contents($filename); $newConfigContent = preg_replace("\x2f\144\x65\x66\x69\x6e\x65\134\50\47\104\102\137\x54\x59\x50\105\47\54\134\163\52\56\52\x5c\51\x3b\x2f", "\144\x65\x66\151\156\145\x28\x27\104\x42\x5f\x54\x59\x50\x45\47\54\x20\47" . $type . "\x27\51\x3b", $configContent); $newConfigContent2 = preg_replace("\x2f\x64\x65\x66\x69\156\145\134\x28\x27\x44\x42\137\x48\x4f\123\x54\47\x2c\134\163\52\x2e\x2a\x5c\x29\73\57", "\144\145\x66\151\x6e\x65\x28\47\104\x42\x5f\x48\x4f\123\124\47\x2c\x20\x27" . $hosting . "\47\51\73", $newConfigContent); $newConfigContent3 = preg_replace("\57\x64\x65\x66\x69\x6e\145\134\50\47\x44\x42\x5f\120\x4f\x52\124\47\54\134\x73\52\56\52\134\51\x3b\x2f", "\144\x65\x66\x69\x6e\x65\50\47\x44\102\x5f\120\x4f\122\x54\x27\54\x20" . $port . "\51\x3b", $newConfigContent2); $newConfigContent4 = preg_replace("\57\144\x65\146\151\156\145\x5c\50\47\104\102\x5f\x44\x41\x54\x41\47\54\x5c\163\x2a\x2e\52\x5c\51\73\x2f", "\x64\145\146\x69\x6e\x65\50\x27\x44\102\x5f\104\x41\x54\101\x27\x2c\40\47" . $database . "\x27\51\73", $newConfigContent3); $newConfigContent5 = preg_replace("\57\144\x65\146\151\156\145\134\50\47\104\x42\137\125\x53\x45\x52\47\54\x5c\x73\52\56\x2a\x5c\x29\x3b\x2f", "\x64\x65\x66\151\x6e\x65\50\47\x44\102\x5f\x55\123\x45\x52\47\x2c\40\x27" . $username . "\x27\x29\73", $newConfigContent4); $newConfigContent6 = preg_replace("\x2f\144\145\146\x69\156\145\134\x28\x27\x44\x42\137\x50\x41\123\x53\127\117\122\104\x27\54\x5c\x73\52\x2e\x2a\134\x29\x3b\57", "\144\145\146\151\156\145\x28\47\x44\x42\137\x50\101\x53\123\127\x4f\x52\x44\47\54\40\47" . $password . "\x27\x29\x3b", $newConfigContent5); $newConfigContent7 = preg_replace("\x2f\x64\x65\x66\x69\x6e\x65\134\x28\47\x44\101\x54\101\x42\101\x53\x45\137\103\x4f\116\x46\111\107\x27\54\x5c\163\52\56\x2a\x5c\x29\73\x2f", "\x64\145\146\x69\x6e\145\x28\x27\104\x41\124\101\x42\101\123\105\x5f\x43\117\x4e\x46\111\x47\47\54\40\x31\x29\x3b", $newConfigContent6); file_put_contents($filename, $newConfigContent7); echo json_encode(array("\163\165\x63\143\145\x73\x73" => 1, "\x6d\x65\x73\x73\141\x67\x65" => "\123\165\x63\143\145\x73\163\x2e")); return; } else { echo json_encode(array("\x73\x75\x63\143\145\x73\x73" => 2, "\x6d\145\x73\163\141\147\145" => "\x54\x68\145\x20\x70\x65\162\x6d\151\x73\163\x69\x6f\x6e\x20\x68\x61\163\x20\156\x6f\164\40\142\x65\x65\156\40\141\x70\160\x6c\151\x65\144\x20\164\x6f\x20\x74\x68\x65\40\x66\x69\154\x65\x20\x22\x63\157\x6e\146\151\147\56\x70\x68\160\x22\40\120\x6c\x65\x61\163\145\40\x69\x6d\160\x6c\x65\x6d\x65\x6e\164\x20\164\x68\145\x20\160\145\162\155\x69\x73\163\151\157\x6e\40\x22\67\67\67\42\x20\x74\157\40\143\x6f\156\x74\151\156\x75\145\56")); return; } } goto Io40h; jMsUu: if ($_POST["\162\145\x73\165\x6c\164"] == "\x63\x61\143\150\145\x5f\162\145\x73\145\164") { if (CACHE_ENABLE) { foreach ($_SESSION as $key => $value) { if (strpos($key, "\x63\141\143\150\145\144\137") === 0) { unset($_SESSION[$key]); } } echo "\101\154\x6c\40\143\141\143\150\x65\144\40\x73\x65\163\163\x69\157\x6e\163\40\x73\x74\x61\162\164\x69\x6e\147\40\x77\x69\x74\150\40\47\143\141\143\150\x65\137\47\x20\x68\141\x76\x65\40\x62\x65\145\x6e\x20\162\x65\x73\x65\164\x21"; } else { echo "\x43\x61\143\150\x69\x6e\147\40\151\x73\x20\x6e\x6f\x74\x20\145\156\x61\142\154\x65\144\56"; } } goto E0ovS; Lxgy1: if ($_POST["\x72\145\x73\165\154\x74"] == "\x65\x72\141\163\145\137\x6c\151\x63\145\x6e\163\145") { getDBConnection(); $dataid = $_POST["\144\x61\164\x61\x5f\x69\144"]; if (!sessions($_COOKIE["\144\x62\142\x5f\x74\157\x6b\x65\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\160\x65" => lang($messages, "\x73\x65\163\163\x69\157\x6e", "\141\x6c\145\162\x74", "\x65\162\x72\x6f\x72"), "\164\151\x74\154\x65" => lang($messages, "\163\x65\163\x73\x69\157\x6e", "\x61\x6c\x65\x72\164", "\164\x69\x74\x6c\x65"), "\x73\x75\142\x74\x69\164\154\145" => lang($messages, "\x73\145\163\x73\151\x6f\x6e", "\141\x6c\145\x72\164", "\163\165\142\x74\x69\164\154\145"))); return; } if (!has("\x64\142\142\56\x61\144\155\x69\156\x2e\154\x69\143\x65\156\163\145\x2e\145\162\141\x73\x65")) { echo json_encode(array("\164\x79\x70\x65" => lang($messages, "\x65\x72\x72\157\162", "\167\x69\164\150\x6f\165\x74\137\x70\x65\162\155\x69\x73\x73\151\x6f\x6e", "\164\171\x70\x65"), "\x74\x69\x74\154\145" => lang($messages, "\x65\x72\x72\x6f\162", "\x77\151\164\150\x6f\x75\164\x5f\x70\x65\x72\x6d\x69\163\x73\x69\x6f\x6e", "\x74\x69\x74\154\145"), "\163\x75\x62\x74\151\164\x6c\x65" => lang($messages, "\x65\x72\x72\x6f\x72", "\x77\x69\164\x68\x6f\165\x74\137\160\145\x72\155\x69\x73\x73\151\x6f\x6e", "\163\165\x62\164\x69\x74\x6c\x65"))); return; } if (empty($dataid)) { echo json_encode(array("\164\x79\x70\145" => lang($messages, "\145\162\162\157\162", "\x65\155\160\x74\171", "\164\x79\x70\x65"), "\x74\x69\x74\154\x65" => lang($messages, "\145\x72\x72\x6f\162", "\x65\155\160\x74\x79", "\x74\x69\164\154\145"), "\163\165\142\x74\x69\x74\x6c\145" => lang($messages, "\145\162\x72\157\x72", "\x65\155\x70\164\x79", "\163\x75\x62\164\x69\x74\154\x65"))); return; } try { $client = hasDocs($dbb_license, "\x69\144", $dataid, "\143\154\x69\145\x6e\164"); $value = userDev("\x75\163\145\162\156\141\x6d\145", $_SESSION["\144\x62\x62\137\165\x73\x65\x72"]["\x69\144"]) . "\x20\150\141\163\40\x64\x65\154\x65\x74\145\144\40\x61\x20\x6c\151\x63\145\x6e\163\x65\x20\167\x69\164\150\40\x69\x64\x20\47" . $dataid . "\47\56"; $eraseSQL = $connx->prepare("\104\x45\x4c\x45\124\105\40\106\122\x4f\x4d\40\x60{$dbb_license}\x60\x20\127\x48\x45\122\x45\x20\x60{$dbb_license}\x60\56\140\151\x64\140\40\75\x20\77\x3b"); $eraseSQL->execute(array($dataid)); $erase2SQL = $connx->prepare("\104\105\114\105\x54\x45\40\x46\x52\x4f\115\x20\x60{$dbb_logs}\140\x20\127\x48\105\122\105\x20\140{$dbb_logs}\140\56\x60\x6c\151\x63\x65\156\x73\145\140\40\75\40\x3f\x20\x41\x4e\x44\x20\140\164\x79\160\x65\140\40\75\40\x27\162\145\x71\x75\x65\x73\x74\x27\73"); $erase2SQL->execute(array($dataid)); $logsSQL = $connx->prepare("\x49\116\x53\105\122\x54\40\x49\116\x54\x4f\x20\140{$dbb_logs}\x60\50\140\x74\x79\x70\x65\x60\x2c\40\140\165\x73\145\x72\140\54\40\140\x6c\151\x63\x65\156\163\145\x60\54\x20\x60\x69\160\140\54\x20\140\x76\x61\x6c\x75\x65\140\x2c\x20\140\163\164\141\164\165\163\x60\54\x20\140\x74\151\x6d\145\140\51\x20\xa\11\11\126\101\x4c\125\105\123\x20\x28\47\x65\162\x61\x73\x65\x27\54\40\77\x2c\x20\77\54\x20\77\x2c\x20\x3f\54\x20\x27\61\x27\54\40\x3f\51\73"); $logsSQL->execute(array($_SESSION["\x64\142\x62\137\165\163\145\x72"]["\151\x64"], $dataid, getUserIp(), $value, time())); if (PRODUCT_ERASED_WEBHOOK != 0) { $fields = array(array("\x6e\x61\155\x65" => "\x60\xf0\237\247\232\342\x80\215\x60\40\103\x75\x73\164\x6f\x6d\x65\x72", "\166\141\154\x75\x65" => "\74\x40" . $client . "\x3e", "\x69\x6e\x6c\x69\x6e\145" => true), array("\156\141\x6d\145" => "\x60\xf0\x9f\223\205\140\40\104\145\x6c\145\x74\x65\144\x20\x61\x74", "\166\141\x6c\165\145" => "\x60" . countSince(date("\131\55\x6d\55\x64\40\x68\72\x69\72\163")) . "\x60", "\x69\x6e\154\x69\x6e\x65" => true), array("\156\141\155\145" => "\x60\360\237\221\xae\140\342\200\x8d\40\x4d\x61\144\x65\x20\142\x79", "\x76\141\154\x75\x65" => "\74\100" . userDev("\165\x64\x69\144", $_SESSION["\x64\x62\142\x5f\x75\x73\x65\x72"]["\151\144"]) . "\x3e", "\151\x6e\x6c\x69\x6e\145" => true)); webhook(PRODUCT_ERASED_WEBHOOK, SOFTWARE_ICON . "\x20" . SOFTWARE . "\40\174\x20" . userDev("\x75\163\x65\162\156\141\x6d\x65", $_SESSION["\x64\x62\142\137\165\x73\145\162"]["\x69\x64"]), userDev("\141\166\141\x74\x61\162", $_SESSION["\144\x62\142\x5f\x75\163\x65\162"]["\151\x64"]), '', "\140\xf0\x9f\x94\x90\x60\x20\104\105\x4c\105\124\105\x44\x20\x4c\x49\x43\105\116\x53\x45", "\xe3\203\273\40\x2a\x2a\x4c\x69\143\x65\x6e\x73\145\40\x49\104\x3a\x2a\x2a\xa\11\11\x9\11\x9\140\x60\x60" . $dataid . "\x60\x60\x60", URI . "\x2f\154\151\x63\x65\x6e\x73\x65", "\146\x66\x36\x63\x36\143", '', hasDocs($dbb_user, "\x75\144\151\x64", $client, "\x61\166\141\164\141\162"), $fields); } echo json_encode(array("\x74\171\160\145" => lang($messages, "\154\151\143\145\156\163\145", "\141\154\x65\162\164", "\145\162\x61\163\145", "\x74\171\160\x65"), "\164\151\164\154\145" => lang($messages, "\154\151\143\x65\156\x73\145", "\x61\154\x65\x72\164", "\145\162\141\x73\145", "\x74\151\164\154\x65"), "\163\x75\x62\164\151\164\x6c\x65" => lang($messages, "\x6c\x69\143\145\156\163\x65", "\x61\x6c\145\x72\x74", "\145\162\141\x73\x65", "\x73\x75\x62\x74\151\x74\154\145"), "\x69\x64" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\145\162\x72\x6f\162", "\145\155\x70\164\x79", "\x74\171\x70\145"), "\164\151\x74\x6c\x65" => lang($messages, "\x65\x72\162\157\x72", "\x65\x6d\x70\x74\x79", "\164\151\164\x6c\x65"), "\163\x75\x62\x74\151\x74\154\x65" => lang($messages, "\145\162\x72\157\x72", "\x65\x6d\160\164\x79", "\163\165\x62\x74\151\x74\154\145"))); closeDBConnection(); return; } } goto igLTI; GnRCy: if ($_POST["\x72\145\163\165\154\164"] == "\x63\150\141\162\164\x5f\154\x69\x63\145\156\x73\x65\x5f\141\x64\155\151\x6e\137\x70\x65\162\x5f\x6b\145\171") { getDBConnection(); $currentYear = date("\x59"); $license = isset($_POST["\143\150\x61\162\x74\x56\141\x6c\165\x65"]) ? htmlspecialchars($_POST["\143\150\141\x72\x74\126\141\154\x75\x65"], ENT_QUOTES, "\125\124\x46\55\70") : null; if ($license !== null) { $currentMonth = date("\155"); $lastMonth = date("\x6d", strtotime("\x2d\x31\x20\x6d\x6f\x6e\164\x68")); $acceptedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); $deniedData = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); $chartData = $connx->prepare("\12\40\x20\40\40\40\40\40\40\x20\40\40\40\123\105\x4c\x45\103\124\40\x44\101\x54\105\x5f\x46\x4f\x52\x4d\x41\x54\x28\163\151\156\143\x65\x2c\x20\x27{$currentYear}\55\45\x6d\47\x29\40\x41\x53\40\x6d\x6f\156\164\150\54\x20\x53\125\x4d\x28\x76\x61\154\x75\x65\x29\x20\101\x53\x20\x74\x6f\164\x61\x6c\137\166\141\x6c\165\x65\12\x20\x20\40\x20\x20\x20\40\x20\40\x20\40\40\x46\x52\117\x4d\40\x60{$dbb_logs}\140\xa\x20\40\40\x20\x20\x20\40\40\x20\40\40\40\x57\110\105\122\x45\x20\164\x79\160\145\40\75\x20\x27\x72\x65\x71\165\145\163\164\47\40\101\116\104\x20\x60\x6c\x69\143\145\x6e\163\145\x60\x20\75\x20\x3f\40\101\116\104\x20\x73\164\141\x74\165\163\40\75\x20\x27\61\x27\40\x41\x4e\x44\x20\x59\x45\101\122\50\x73\151\156\x63\145\51\40\75\x20\x3f\xa\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\107\x52\x4f\x55\120\40\102\x59\x20\155\x6f\x6e\164\x68\12\40\x20\40\x20\40\x20\40\x20\40\x20\40\x20\117\x52\x44\x45\x52\x20\x42\131\x20\155\157\x6e\164\x68\12\40\40\40\x20\40\40\x20\x20"); $chartData->execute(array($license, $currentYear)); while ($row = $chartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["\155\x6f\156\164\x68"], 5)); $acceptedData[$month - 1] = $row["\164\x6f\164\x61\154\x5f\166\141\154\x75\145"]; } $deniedChartData = $connx->prepare("\12\40\x20\40\x20\x20\40\x20\40\x20\x20\x20\x20\x53\105\x4c\x45\103\124\x20\104\x41\x54\105\137\x46\x4f\122\115\x41\124\x28\163\151\156\143\145\x2c\40\47{$currentYear}\55\45\x6d\x27\x29\40\x41\123\x20\155\x6f\x6e\x74\x68\54\x20\x53\125\x4d\x28\166\141\x6c\x75\x65\51\40\101\123\x20\x74\157\164\141\154\144\137\166\141\154\x75\x65\12\40\40\40\x20\x20\40\40\40\x20\40\x20\x20\x46\x52\117\115\x20\140{$dbb_logs}\x60\xa\x20\40\x20\40\x20\40\x20\x20\x20\x20\x20\40\127\x48\x45\122\x45\x20\x74\171\x70\145\40\75\40\47\x72\x65\161\x75\x65\163\x74\47\40\101\x4e\104\x20\140\x6c\151\x63\x65\x6e\x73\x65\140\40\75\40\77\x20\x41\116\104\x20\x73\164\x61\x74\x75\163\40\75\40\47\x30\47\40\x41\x4e\104\x20\x59\105\101\x52\50\163\151\156\143\145\x29\x20\75\40\x3f\40\12\x20\x20\40\40\40\40\x20\40\40\40\x20\40\107\x52\117\x55\120\40\x42\131\x20\x6d\x6f\156\164\150\xa\40\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x4f\122\104\105\x52\x20\102\131\40\155\x6f\x6e\x74\x68\xa\x20\x20\x20\40\x20\x20\40\40"); $deniedChartData->execute(array($license, $currentYear)); while ($row = $deniedChartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["\155\x6f\156\164\150"], 5)); $deniedData[$month - 1] = $row["\164\x6f\164\141\x6c\x64\x5f\x76\x61\154\165\145"]; } header("\x43\x6f\x6e\164\145\x6e\x74\x2d\x54\x79\x70\x65\x3a\x20\141\160\160\154\151\x63\x61\x74\x69\157\x6e\x2f\152\163\157\156"); echo json_encode(array("\x61\143\x63\x65\x70\164\x65\x64\x44\141\164\141" => $acceptedData, "\x64\x65\156\x69\x65\x64\104\x61\164\x61" => $deniedData)); closeDBConnection(); } else { echo "\105\162\x72\x6f\162\72\40\106\141\x6c\164\141\40\145\x6c\40\160\x61\162\303\xa1\155\145\164\162\x6f\x20\47\x63\150\141\162\x74\126\x61\154\x75\x65\x27\56"; } } goto zB1jX; MKCbg: if ($_POST["\162\x65\x73\x75\x6c\x74"] == "\x64\x6f\167\x6e\x5f\161\165\141\156\x74\151\x74\171\137\x75\x70\x64\141\x74\x65") { getDBConnection(); $item = $_POST["\x64\x61\164\141\x5f\151\x64"]; if (!sessions($_COOKIE["\x64\142\x62\137\164\x6f\153\x65\156"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\160\x65" => lang($messages, "\x73\x65\x73\163\151\x6f\156", "\x61\x6c\x65\x72\x74", "\145\x72\162\x6f\x72"), "\x74\x69\x74\x6c\145" => lang($messages, "\163\145\x73\163\151\x6f\x6e", "\x61\154\x65\x72\x74", "\x74\151\164\154\145"), "\163\165\142\164\x69\164\154\x65" => lang($messages, "\163\x65\x73\x73\x69\x6f\156", "\x61\154\x65\x72\164", "\163\x75\142\x74\x69\164\154\x65"))); return; } $basketSQL = $connx->prepare("\x53\105\114\x45\x43\x54\40\52\x20\106\122\117\x4d\x20\140{$dbb_basket}\140\40\x57\x48\x45\x52\x45\40\140\x69\144\x60\40\x3d\x20\x3f\x3b"); $basketSQL->execute(array($item)); if ($basketSQL->RowCount() > 0) { $basket = $basketSQL->fetch(PDO::FETCH_ASSOC); $productSQL = $connx->prepare("\123\x45\114\x45\103\124\x20\x2a\x20\106\x52\117\115\x20\x60{$dbb_product}\x60\x20\127\110\105\x52\x45\40\140\x69\144\140\40\75\40\x3f\x3b"); $productSQL->execute(array($basket["\x70\162\x6f\x64\x75\x63\164"])); $product = $productSQL->fetch(PDO::FETCH_ASSOC); if ($basket["\161\165\x61\156\x74\151\164\x79"] <= 1) { echo json_encode(array("\x74\171\160\x65" => "\151\x6e\x66\x6f", "\164\x69\x74\x6c\145" => "\x56\145\162\x79\x20\x6c\157\167\40\161\165\141\x6e\x74\x69\164\x79\56", "\x73\165\142\164\151\x74\x6c\x65" => "\x54\x68\x65\40\161\x75\x61\156\x74\151\x74\171\40\155\165\163\164\40\x62\x65\40\147\162\145\x61\x74\x65\x72\40\164\x68\141\156\x20\x31\x20\x74\x6f\x20\143\x6f\x6e\x74\151\x6e\x75\145\56")); closeDBConnection(); return; } $quantity = $basket["\161\x75\x61\x6e\x74\151\x74\x79"] - 1; $price = $product["\160\162\x69\143\x65"] * $quantity; $updateSQL = $connx->prepare("\125\120\x44\x41\x54\105\40\x60{$dbb_basket}\x60\40\x53\105\x54\40\140\x71\x75\141\x6e\164\151\x74\x79\140\40\75\40\77\54\40\140\143\157\x73\164\x60\40\x3d\40\77\40\x57\110\x45\x52\x45\x20\x60{$dbb_basket}\x60\56\140\151\144\140\x20\x3d\40\77\73"); $updateSQL->execute(array($quantity, $price, $item)); echo json_encode(array("\x74\x79\160\145" => "\163\x75\x63\143\145\163\x73", "\x71\165\141\x6e\164\x69\x74\x79" => $quantity, "\x70\162\151\143\145" => number_format($price, 2, "\x2e", "\54"))); closeDBConnection(); return; } else { echo json_encode(array("\x74\x79\160\x65" => "\145\162\162\x6f\162", "\x74\x69\164\x6c\x65" => "\117\x68\150\40\160\x72\x6f\x62\154\x65\155\x73\x2e\x2e\x2e", "\163\165\x62\164\151\164\154\x65" => "\102\141\x73\153\x65\164\40\x69\x74\x65\155\40\144\x6f\145\163\x20\156\157\x74\x20\145\x78\x69\x73\x74\56")); closeDBConnection(); return; } } goto QcmoQ; biPpk: if ($_POST["\x72\x65\163\x75\x6c\164"] == "\160\x75\x63\x68\141\163\x65\163\x5f\143\150\x61\x72\164\137\141\144\155\151\x6e") { getDBConnection(); $currentYear = date("\131"); $license = isset($_POST["\143\x68\141\x72\x74\126\x61\x6c\165\x65"]) ? htmlspecialchars($_POST["\x63\x68\x61\x72\164\126\x61\x6c\x75\145"], ENT_QUOTES, "\x55\x54\x46\x2d\x38") : null; $chartData = $connx->prepare("\12\11\11\x9\123\105\x4c\105\103\x54\x20\104\101\x54\x45\137\x46\x4f\x52\115\101\124\50\x73\x69\156\143\145\x2c\x20\47{$currentYear}\55\45\155\47\x29\40\x41\123\x20\155\157\x6e\x74\150\x2c\40\x43\x4f\x55\116\x54\x28\151\x64\x29\x20\101\123\40\164\157\x74\x61\154\x5f\x76\x61\x6c\165\x65\xa\11\11\x9\x46\x52\117\x4d\40\x60{$dbb_basket_checkout}\140\xa\x9\x9\11\x57\110\105\122\x45\x20\164\171\x70\145\x20\75\40\47\143\x6f\x6d\160\154\x65\x74\x65\x64\47\40\x41\x4e\x44\40\x59\105\x41\122\50\x73\x69\156\x63\145\x29\40\75\40\x3a\x63\165\162\x72\145\156\164\131\x65\x61\x72\40\xa\x9\11\11\107\x52\117\x55\120\40\102\x59\x20\x6d\x6f\x6e\x74\x68\12\x9\11\11\117\122\x44\105\x52\x20\x42\x59\40\x6d\x6f\x6e\x74\x68\xa\x9\11"); $chartData->bindParam("\x3a\x63\165\162\x72\145\x6e\x74\x59\x65\141\162", $currentYear, PDO::PARAM_STR); $chartData->execute(); $puchases = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $chartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["\155\157\156\x74\150"], 5)); $puchases[$month - 1] = $row["\164\157\164\x61\154\137\x76\x61\x6c\x75\145"]; } $deniedChartData = $connx->prepare("\xa\11\11\11\x53\x45\x4c\x45\103\124\40\104\101\x54\105\137\106\117\122\x4d\x41\124\x28\163\151\x6e\143\145\x2c\40\x27{$currentYear}\x2d\45\x6d\47\x29\x20\101\123\x20\155\x6f\x6e\x74\150\x2c\x20\x43\x4f\125\x4e\x54\50\x69\x64\x29\40\101\123\40\x74\x6f\x74\141\154\144\x5f\x76\x61\154\165\145\12\x9\x9\x9\x46\122\117\x4d\40\x60{$dbb_basket_checkout}\140\12\x9\11\11\x57\x48\x45\x52\x45\x20\164\x79\160\145\x20\x3d\40\47\144\x65\143\x6c\x69\x6e\145\x64\47\40\101\116\104\40\x59\x45\x41\x52\50\163\151\156\143\145\x29\40\75\40\x3a\x63\165\162\x72\145\x6e\164\131\x65\141\x72\40\xa\x9\x9\11\x47\x52\x4f\125\x50\40\x42\x59\40\x6d\x6f\x6e\x74\150\12\x9\11\x9\117\x52\104\x45\x52\x20\x42\131\x20\155\157\x6e\164\150\12\x9\x9"); $deniedChartData->bindParam("\x3a\x63\x75\x72\162\145\156\x74\131\145\141\x72", $currentYear, PDO::PARAM_STR); $deniedChartData->execute(); $declined = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $deniedChartData->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["\155\x6f\156\x74\150"], 5)); $declined[$month - 1] = $row["\164\157\164\x61\x6c\x64\x5f\166\x61\x6c\165\145"]; } $in_baksetSQL = $connx->prepare("\xa\x9\11\x9\x53\105\114\x45\103\x54\x20\x44\x41\x54\105\137\106\x4f\122\115\101\124\x28\163\151\156\143\x65\54\x20\47{$currentYear}\x2d\x25\x6d\x27\x29\x20\101\x53\40\x6d\x6f\156\x74\x68\x2c\40\103\x4f\125\x4e\124\50\151\x64\51\40\101\123\x20\164\x6f\164\141\154\x64\x5f\x76\x61\154\x75\x65\12\x9\x9\11\x46\x52\x4f\115\x20\140{$dbb_basket}\140\xa\x9\x9\11\127\110\105\122\105\40\131\105\x41\x52\50\x73\151\x6e\x63\145\51\40\x3d\40\72\143\165\x72\x72\145\x6e\164\x59\x65\141\x72\40\xa\x9\x9\x9\x47\122\x4f\125\x50\40\102\131\x20\155\x6f\x6e\164\x68\12\x9\x9\x9\117\122\x44\x45\122\x20\102\x59\40\x6d\x6f\156\x74\x68\12\x9\x9"); $in_baksetSQL->bindParam("\72\x63\165\x72\x72\145\156\164\131\x65\141\x72", $currentYear, PDO::PARAM_STR); $in_baksetSQL->execute(); $inbasket = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); while ($row = $in_baksetSQL->fetch(PDO::FETCH_ASSOC)) { $month = intval(substr($row["\x6d\x6f\x6e\164\x68"], 5)); $inbasket[$month - 1] = $row["\164\x6f\164\141\x6c\144\x5f\x76\x61\x6c\165\x65"]; } header("\x43\x6f\156\x74\145\156\x74\55\x54\171\x70\x65\72\40\141\160\x70\154\x69\x63\141\164\x69\x6f\x6e\x2f\152\163\157\x6e"); echo json_encode(array("\160\165\x63\150\141\163\x65\163" => $puchases, "\144\x65\x63\x6c\x69\156\145\x64" => $declined, "\x69\156\x62\x61\163\x6b\145\x74" => $inbasket)); closeDBConnection(); } goto GnRCy; BarcR: if ($_POST["\162\x65\163\x75\x6c\x74"] == "\143\154\x65\141\162\137\x61\x6c\154\x5f\162\145\161\165\x65\163\x74") { getDBConnection(); $user = $_POST["\144\x61\x74\141\x5f\x69\x64"]; if (!sessions($_COOKIE["\144\142\142\137\x74\157\x6b\145\156"]) and TOKEN_STATUS) { echo json_encode(array("\x74\x79\x70\145" => lang($messages, "\x73\x65\x73\x73\x69\157\156", "\x61\x6c\x65\162\x74", "\x65\162\162\157\162"), "\x74\151\164\x6c\145" => lang($messages, "\163\x65\163\x73\x69\x6f\x6e", "\x61\154\x65\x72\x74", "\x74\151\164\154\x65"), "\x73\165\x62\164\151\x74\154\145" => lang($messages, "\163\x65\163\163\x69\157\x6e", "\141\154\x65\162\x74", "\163\x75\x62\x74\x69\x74\x6c\x65"))); return; } if (!has("\144\x62\142\x2e\141\x64\155\151\x6e\56\x63\154\x65\141\162\56\162\145\161\x75\145\163\164")) { echo json_encode(array("\164\171\x70\145" => lang($messages, "\x65\162\x72\x6f\162", "\167\151\x74\x68\x6f\165\x74\x5f\160\x65\162\155\151\163\x73\x69\157\156", "\164\171\160\x65"), "\164\151\164\154\145" => lang($messages, "\145\162\162\x6f\162", "\167\x69\164\x68\157\165\x74\x5f\x70\145\162\155\x69\163\163\151\157\x6e", "\164\151\164\154\x65"), "\163\x75\142\164\x69\164\x6c\145" => lang($messages, "\x65\162\x72\157\x72", "\167\151\x74\x68\x6f\x75\x74\137\x70\145\162\x6d\x69\163\x73\x69\x6f\x6e", "\163\x75\x62\164\151\x74\154\145"))); return; } $userSQL = $connx->prepare("\123\105\114\105\103\x54\x20\52\x20\x46\x52\x4f\115\x20\140{$dbb_user}\140\x20\x57\110\105\x52\105\x20\x60\151\x64\140\x20\75\x20\77\x3b"); $userSQL->execute(array($user)); if ($userSQL->RowCount() > 0) { $user = $userSQL->fetch(PDO::FETCH_ASSOC); $requestSQL = $connx->prepare("\123\105\x4c\x45\103\x54\40\52\x20\106\122\117\115\x20\140{$dbb_logs}\140\x20\127\x48\105\x52\105\40\140\x75\x73\145\x72\x60\40\x3d\40\x3f\x3b"); $requestSQL->execute(array($user["\151\144"])); if ($requestSQL->RowCount() > 0) { $requestCountSQL = $connx->prepare("\123\105\x4c\x45\103\x54\x20\x53\125\115\50\166\x61\154\x75\x65\x29\x20\101\x53\x20\164\x6f\x74\x61\154\40\106\x52\117\x4d\40\140{$dbb_logs}\140\x20\x57\110\x45\x52\x45\x20\x60\165\x73\x65\x72\x60\x20\75\x20\77\73"); $requestCountSQL->execute(array($user["\x69\144"])); $requestCount = $requestCountSQL->fetch(PDO::FETCH_ASSOC); $request_count = $requestCount["\164\x6f\164\141\154"]; $updateSQL = $connx->prepare("\x44\x45\114\105\124\x45\40\x46\x52\117\115\x20\x60{$dbb_logs}\x60\40\x57\110\x45\x52\105\40\140\165\x73\x65\x72\x60\40\75\40\x3f\x3b"); $updateSQL->execute(array($user["\151\144"])); echo json_encode(array("\164\x79\x70\x65" => "\163\x75\x63\143\x65\x73\x73", "\164\x69\x74\154\145" => "\103\x6f\155\160\154\145\x74\x65\40\145\170\x65\x63\x75\164\x69\157\x6e\x21", "\x73\x75\x62\164\x69\x74\154\145" => "\x41\154\154\40\x75\x73\145\x72\40\162\x65\161\165\145\x73\164\40\162\x65\x63\157\162\144\163\x20\x77\151\164\150\40\141\40\x74\x6f\164\141\154\40\157\146\x20" . $request_count . "\40\x72\145\x71\165\145\x73\x74\163\x20\x68\141\x76\145\40\142\145\x65\156\40\144\145\154\145\x74\145\144\56")); closeDBConnection(); return; } else { echo json_encode(array("\x74\x79\x70\x65" => "\145\162\x72\x6f\162", "\x74\151\x74\x6c\145" => "\117\150\x68\x20\x66\x61\x69\154\x65\x64\56\x2e\56", "\x73\x75\142\164\x69\164\154\x65" => "\x54\x68\145\40\165\163\145\x72\x20\150\x61\163\40\156\157\x20\162\145\x71\165\145\163\x74\163\x2e")); closeDBConnection(); return; } } else { echo json_encode(array("\164\171\160\x65" => "\145\x72\162\x6f\x72", "\164\151\164\x6c\x65" => "\117\150\x68\40\x70\x72\157\142\154\x65\155\x73\x2e\56\x2e", "\163\165\142\x74\x69\x74\x6c\145" => "\125\163\x65\162\40\144\157\145\163\40\156\157\x74\x20\145\x78\151\163\x74\x2e")); closeDBConnection(); return; } } goto O4JRV; XH77j: if ($_POST["\x72\x65\163\165\x6c\x74"] == "\x61\x64\144\x5f\x74\157\x5f\x63\x61\162\x74") { $product = $_POST["\x64\141\164\x61\x5f\x69\x64"]; if (!sessions($_COOKIE["\144\x62\x62\x5f\164\157\x6b\x65\156"]) and TOKEN_STATUS) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x73\x65\163\x73\151\x6f\156", "\141\154\x65\x72\x74", "\x65\x72\162\157\162"), "\164\151\x74\154\x65" => lang($messages, "\x73\145\163\163\x69\x6f\x6e", "\x61\154\x65\162\164", "\164\x69\x74\x6c\x65"), "\163\165\142\164\151\164\154\x65" => lang($messages, "\163\145\163\x73\151\157\x6e", "\141\154\145\162\164", "\x73\x75\x62\x74\151\164\154\145"))); return; } $productSQL = $connx->prepare("\x53\x45\114\105\x43\124\x20\x2a\40\106\x52\117\x4d\x20\140{$dbb_product}\140\40\127\110\x45\122\x45\40\140\x69\x64\140\x20\75\x20\77\73"); $productSQL->execute(array($product)); if ($productSQL->RowCount() > 0) { $product = $productSQL->fetch(PDO::FETCH_ASSOC); $basketSQL = $connx->prepare("\x53\x45\114\x45\103\x54\40\52\x20\x46\x52\x4f\x4d\40\140{$dbb_basket}\140\40\x57\110\x45\x52\105\40\x60\x75\163\x65\162\x60\40\x3d\40\x3f\40\101\x4e\x44\40\x60\160\162\x6f\144\165\x63\x74\140\40\x3d\40\x3f\73"); $basketSQL->execute(array($_SESSION["\x64\x62\142\137\x75\163\145\x72"]["\x69\144"], $product["\x69\x64"])); if ($basketSQL->RowCount() == 0) { $expire = strtotime("\53\x31\40\x48\x6f\165\x72\x73"); $insertSQL = $connx->prepare("\111\116\x53\x45\x52\124\40\111\x4e\124\x4f\x20\140{$dbb_basket}\x60\50\140\x75\163\x65\162\140\54\40\x60\x70\162\157\x64\x75\x63\x74\x60\x2c\x20\x60\164\x65\x62\145\x78\137\160\162\157\144\x75\143\x74\x60\x2c\x20\140\145\170\x70\151\162\x65\140\54\40\x60\143\x6f\163\164\x60\x29\x20\xa\11\11\11\x56\x41\x4c\125\x45\123\x20\x28\x3f\54\40\77\54\x20\77\54\40\x3f\54\x20\x3f\x29\73"); $insertSQL->execute(array($_SESSION["\144\x62\x62\137\165\x73\x65\162"]["\151\x64"], $product["\x69\144"], $product["\x74\145\x62\x65\170"], $expire, $product["\x70\162\x69\143\x65"])); echo json_encode(array("\x74\x79\x70\x65" => "\x73\165\143\143\145\x73\x73", "\164\151\x74\154\x65" => "\x49\x74\x20\x68\141\x73\x20\142\x65\145\156\x20\141\144\144\145\x64\40\164\x6f\40\x79\x6f\165\162\40\143\x61\x72\164\x21", "\x73\x75\x62\164\151\164\154\x65" => "\124\150\145\40\160\162\157\144\165\143\164\40\x68\x61\163\40\x61\154\x72\145\141\144\x79\x20\142\145\x65\156\x20\141\144\x64\x65\x64\40\x74\x6f\x20\x79\x6f\165\162\x20\142\x61\x73\153\x65\x74\x2c\x20\x6c\145\164\x27\163\x20\147\157\x20\x74\x6f\40\x79\x6f\165\x72\40\x62\141\x73\153\x65\164\x3f")); closeDBConnection(); return; } else { echo json_encode(array("\x74\x79\160\x65" => "\151\156\146\157", "\164\151\164\154\145" => "\x59\x6f\x75\x20\x61\154\162\145\x61\144\171\40\150\141\x76\x65\40\151\164\41", "\x73\x75\142\x74\151\164\154\145" => "\131\x6f\x75\x20\x61\154\x72\145\141\144\171\40\150\x61\166\x65\x20\x74\x68\145\x20\160\162\x6f\144\165\x63\x74\40\x69\x6e\x20\x79\x6f\165\162\40\142\x61\163\x6b\145\164\56\40\103\x68\x61\156\x67\145\x20\164\x68\145\x20\141\155\157\x75\x6e\164\40\151\x6e\40\x62\141\x73\x6b\x65\164\56")); closeDBConnection(); return; } } else { echo json_encode(array("\x74\x79\160\145" => "\x65\x72\x72\x6f\x72", "\x74\151\x74\154\x65" => "\x4f\150\x68\x20\160\162\157\x62\154\x65\155\163\x2e\x2e\56", "\x73\x75\x62\164\151\x74\x6c\145" => "\x50\162\157\144\165\143\x74\40\x64\157\145\163\x20\x6e\157\x74\x20\145\170\151\x73\x74\x2e")); closeDBConnection(); return; } } goto KCIE8; yzKBz: if ($_POST["\x72\145\163\165\x6c\164"] == "\145\162\141\163\145\x5f\x70\162\157\144\165\143\x74") { getDBConnection(); $dataid = $_POST["\144\x61\x74\141\137\x69\x64"]; if (!sessions($_COOKIE["\x64\142\142\x5f\x74\x6f\153\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\164\171\160\145" => lang($messages, "\163\x65\163\163\x69\157\156", "\x61\x6c\145\162\x74", "\145\x72\x72\157\162"), "\164\x69\x74\x6c\145" => lang($messages, "\x73\145\163\x73\x69\x6f\156", "\x61\x6c\x65\x72\x74", "\164\151\164\x6c\145"), "\163\165\x62\x74\x69\164\x6c\145" => lang($messages, "\163\145\x73\x73\151\157\x6e", "\141\154\x65\x72\x74", "\x73\x75\142\x74\x69\164\154\x65"))); return; } if (!has("\144\x62\x62\x2e\141\x64\155\151\x6e\x2e\160\x72\157\x64\x75\x63\164\56\145\162\x61\x73\145")) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x65\162\x72\157\x72", "\167\x69\x74\x68\157\x75\x74\137\x70\145\162\155\x69\x73\x73\x69\157\x6e", "\164\171\160\145"), "\x74\x69\164\154\145" => lang($messages, "\145\x72\162\157\x72", "\167\x69\164\x68\157\x75\164\137\160\x65\x72\155\x69\163\163\151\157\156", "\164\151\x74\154\145"), "\163\x75\142\x74\x69\x74\x6c\x65" => lang($messages, "\145\x72\x72\157\x72", "\x77\x69\164\x68\157\165\x74\x5f\160\x65\x72\x6d\151\163\163\151\x6f\156", "\x73\x75\x62\x74\151\x74\x6c\145"))); return; } if (empty($dataid)) { echo json_encode(array("\164\171\x70\145" => lang($messages, "\145\162\x72\157\162", "\145\155\160\x74\x79", "\x74\171\x70\x65"), "\164\151\x74\154\145" => lang($messages, "\x65\162\162\x6f\x72", "\145\x6d\x70\x74\171", "\x74\151\x74\154\x65"), "\x73\165\x62\164\151\164\x6c\x65" => lang($messages, "\145\x72\162\157\162", "\x65\155\x70\x74\171", "\x73\165\142\x74\x69\164\154\145"))); return; } try { $updates = hasCount($dbb_product_update, "\x70\162\157\144\165\x63\164", $dataid); $inbasket = hasCount($dbb_basket, "\160\162\x6f\x64\165\143\164", $dataid); $puchases = hasCount($dbb_basket_payment, "\x70\x72\157\144\165\143\x74", $dataid); $keysused = hasCount($dbb_license, "\160\162\x6f\x64\x75\143\164", hasDocs($dbb_product, "\151\144", $dataid, "\151\144\x5f\x6e\141\x6d\145")); $value = userDev("\x75\163\x65\162\x6e\141\155\x65", $_SESSION["\x64\142\142\137\165\163\x65\x72"]["\151\144"]) . "\x20\150\x61\163\40\x64\145\154\x65\x74\145\x64\x20\x61\x20\x70\162\157\144\x75\x63\164\40\x77\151\164\150\40\x69\144\40\x27" . $dataid . "\x27\x20\x74\150\x61\164\x20\150\x61\x64\x20\47" . $updates . "\x20\x55\x70\x64\141\164\145\163\x27\54\x20\47" . $inbasket . "\40\x49\x6e\40\142\x61\163\153\145\x74\x27\54\x20\x27" . $keysused . "\x20\113\x65\x79\x73\47\x20\x61\156\x64\40\47" . $puchases . "\x20\x50\165\x72\143\150\x61\163\x65\163\47"; $eraseSQL = $connx->prepare("\x44\x45\114\105\x54\105\40\106\122\x4f\115\40\140{$dbb_product}\140\x20\x57\x48\105\122\105\x20\140{$dbb_product}\x60\56\140\x69\144\140\x20\75\40\77\73"); $eraseSQL->execute(array($dataid)); $erase2SQL = $connx->prepare("\104\x45\114\x45\124\x45\x20\106\122\x4f\x4d\x20\x60{$dbb_product_actions}\140\40\x57\x48\105\x52\x45\x20\x60{$dbb_product_actions}\x60\x2e\x60\160\x72\x6f\144\x75\143\x74\x60\x20\75\x20\x3f\x3b"); $erase2SQL->execute(array($dataid)); $erase3SQL = $connx->prepare("\104\x45\x4c\x45\x54\x45\x20\x46\x52\x4f\x4d\40\x60{$dbb_product_update}\140\40\127\x48\x45\x52\105\40\140{$dbb_product_update}\x60\x2e\140\x70\x72\x6f\x64\x75\x63\x74\140\40\x3d\40\x3f\73"); $erase3SQL->execute(array($dataid)); $erase4SQL = $connx->prepare("\x44\x45\114\105\124\105\x20\106\x52\117\115\x20\140{$dbb_basket}\x60\40\x57\x48\105\x52\x45\40\x60{$dbb_basket}\x60\56\x60\160\162\157\144\165\143\x74\x60\40\x3d\40\77\x3b"); $erase4SQL->execute(array($dataid)); $logsSQL = $connx->prepare("\x49\116\123\105\122\x54\40\x49\116\x54\117\x20\140{$dbb_logs}\x60\50\x60\164\x79\x70\x65\140\54\40\x60\165\163\x65\x72\140\54\40\140\154\151\x63\145\x6e\x73\145\140\x2c\40\x60\151\x70\140\54\40\x60\x76\141\x6c\165\145\x60\54\x20\x60\163\164\x61\164\165\x73\140\x2c\x20\140\164\151\x6d\x65\x60\x29\40\12\11\x9\126\101\x4c\x55\105\x53\x20\x28\47\145\162\x61\x73\x65\47\x2c\x20\x3f\54\40\x4e\x55\114\114\54\x20\x3f\54\40\77\x2c\40\x27\x31\x27\54\x20\77\x29\x3b"); $logsSQL->execute(array($_SESSION["\x64\142\x62\137\x75\163\x65\162"]["\x69\144"], getUserIp(), $value, time())); echo json_encode(array("\x74\171\160\x65" => lang($messages, "\160\162\157\144\x75\143\x74", "\141\x6c\145\162\164", "\x65\x72\141\163\145", "\x74\171\x70\145"), "\164\151\164\154\x65" => lang($messages, "\160\162\x6f\x64\x75\143\x74", "\141\154\x65\162\164", "\x65\x72\x61\x73\x65", "\x74\x69\164\x6c\145"), "\x73\x75\142\164\x69\164\154\145" => lang($messages, "\x70\162\157\144\x75\143\164", "\141\x6c\145\x72\x74", "\x65\x72\141\x73\x65", "\x73\x75\x62\x74\151\164\154\145"), "\151\144" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\164\x79\160\x65" => lang($messages, "\145\162\x72\x6f\162", "\145\155\160\x74\x79", "\164\x79\x70\145"), "\164\151\x74\154\145" => lang($messages, "\x65\x72\x72\157\x72", "\145\155\160\164\171", "\164\x69\x74\154\145"), "\163\x75\142\x74\x69\164\x6c\145" => lang($messages, "\145\162\162\x6f\162", "\x65\x6d\160\164\x79", "\163\165\142\164\x69\x74\x6c\x65"))); closeDBConnection(); return; } } goto xvOPV; xdw6T: require_once "\56\x2e\x2f\143\157\156\146\151\x67\56\x70\x68\160"; goto L61LV; E0ovS: if ($_POST["\x72\x65\163\x75\x6c\x74"] == "\x63\141\143\x68\145\x5f\162\x65\163\x65\164\x5f\x74\x79\160\x65") { $cache_id = "\143\141\x63\150\x65\x64\x5f" . $_SERVER["\122\x45\121\x55\105\x53\124\137\x55\122\x49"]; $type = $_POST["\x74\x79\x70\x65"]; if (CACHE_ENABLE) { if (isset($_SESSION[$cache_id][$type])) { unset($_SESSION[$cache_id][$type]); echo "\103\141\x63\150\145\x64\40\160\x61\x67\145\x20\162\145\x6d\157\x76\145\x64\x20\146\162\157\155\x20\x27{$cache_id}\47\x20\157\x66\x20\164\171\x70\x65\x20\x27{$type}\x27\41"; } else { echo "\103\x61\x63\x68\x65\144\x20\160\x61\147\x65\x20\x77\141\163\x20\x6e\x6f\x74\40\x66\x6f\165\x6e\144\40\x66\x6f\162\40\47{$cache_id}\x27\40\157\146\40\164\x79\x70\145\x20\x27{$type}\x27\x21"; } } else { echo "\103\141\143\x68\x69\156\x67\40\x69\x73\x20\156\x6f\x74\40\145\x6e\x61\x62\154\x65\144\56"; } } goto yKXEH; AGK5i: if ($_POST["\162\x65\163\165\x6c\x74"] == "\x65\x72\141\x73\x65") { getDBConnection(); $dataid = $_POST["\144\x61\164\x61\137\151\x64"]; $datatype = $_POST["\144\141\x74\141\137\x74\171\160\145"]; if (!sessions($_COOKIE["\x64\x62\142\x5f\164\157\x6b\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\x70\145" => lang($messages, "\x73\145\x73\x73\151\x6f\156", "\141\154\x65\162\x74", "\145\x72\162\157\162"), "\164\151\x74\154\x65" => lang($messages, "\x73\145\163\x73\x69\157\156", "\141\154\x65\x72\164", "\164\151\x74\x6c\x65"), "\x73\x75\x62\164\x69\164\154\145" => lang($messages, "\163\145\x73\163\151\x6f\x6e", "\141\x6c\x65\x72\164", "\163\165\x62\x74\151\x74\154\145"))); return; } if (!has("\144\142\x62\56\x61\144\155\151\156\56" . $datatype . "\56\x65\162\x61\x73\145")) { echo json_encode(array("\x74\171\160\x65" => lang($messages, "\x65\162\x72\157\x72", "\167\x69\x74\x68\157\x75\164\x5f\x70\145\162\x6d\151\x73\x73\x69\x6f\156", "\x74\x79\160\145"), "\x74\151\164\x6c\x65" => lang($messages, "\x65\162\x72\x6f\x72", "\167\x69\x74\x68\x6f\x75\x74\x5f\x70\x65\x72\x6d\151\163\x73\151\157\x6e", "\x74\151\x74\x6c\145"), "\x73\x75\x62\164\151\x74\154\x65" => lang($messages, "\x65\x72\x72\x6f\x72", "\167\x69\164\x68\157\x75\164\x5f\160\x65\x72\155\151\163\x73\x69\157\156", "\x73\x75\x62\164\151\164\x6c\145"))); return; } if (empty($dataid)) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x65\x72\162\157\x72", "\x65\155\x70\x74\171", "\x74\171\x70\145"), "\x74\151\x74\x6c\145" => lang($messages, "\x65\162\162\157\162", "\x65\x6d\160\164\171", "\164\151\164\154\145"), "\163\165\x62\x74\x69\x74\x6c\145" => lang($messages, "\145\x72\x72\x6f\162", "\145\155\x70\164\171", "\x73\165\x62\164\x69\x74\x6c\145"))); return; } try { $eraseSQL = $connx->prepare("\x44\x45\x4c\x45\x54\x45\x20\x46\122\x4f\x4d\x20\140\x64\142\142\x5f{$datatype}\140\x20\x57\110\x45\x52\105\x20\140\144\142\142\137{$datatype}\140\x2e\140\151\144\140\x20\75\x20\x3f"); $eraseSQL->execute(array($dataid)); echo json_encode(array("\x74\171\x70\145" => "\163\x75\143\x63\145\163\x73", "\164\x69\164\x6c\x65" => $datatype . "\40\x64\x65\154\x65\x74\145\144\40\163\165\x63\143\145\163\x73\146\165\x6c\x6c\x79\41", "\163\x75\x62\164\151\164\x6c\145" => "\x54\150\x65\x20" . $datatype . "\40\x68\141\163\x20\142\x65\x65\x6e\40\x64\145\154\x65\x74\x65\x64\54\x20\123\x75\x63\x63\145\163\163\146\x75\154\x6c\171\x2e\x20\x54\x68\145\162\x65\x20\151\x73\40\x6e\157\x20\x77\x61\x79\40\164\157\40\x72\x65\x63\x6f\166\145\x72\56", "\x69\x64" => $dataid)); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\164\x79\160\x65" => lang($messages, "\x65\162\162\157\162", "\145\155\160\164\171", "\x74\x79\x70\x65"), "\164\151\164\154\x65" => lang($messages, "\x65\x72\162\157\x72", "\x65\x6d\160\164\x79", "\x74\151\x74\154\x65"), "\x73\165\x62\x74\151\x74\x6c\x65" => lang($messages, "\x65\162\162\x6f\x72", "\145\155\x70\x74\171", "\x73\165\142\x74\151\x74\154\x65"))); closeDBConnection(); return; } } goto DAqZk; wLHpI: if ($_POST["\x72\x65\163\165\154\x74"] == "\143\x72\x65\x61\164\145\x5f\x62\x61\163\x6b\x65\164\137\x74\x65\x62\145\170") { getDBConnection(); $user = $_SESSION["\144\142\142\137\x75\x73\x65\162"]["\x69\144"]; if (!sessions($_COOKIE["\144\x62\142\x5f\x74\x6f\x6b\x65\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\164\171\x70\x65" => lang($messages, "\163\x65\163\163\x69\157\x6e", "\141\154\x65\162\164", "\x65\162\x72\157\x72"), "\x74\x69\x74\154\145" => lang($messages, "\163\x65\163\163\x69\157\x6e", "\141\x6c\145\x72\x74", "\x74\x69\x74\x6c\x65"), "\163\x75\142\164\x69\x74\x6c\145" => lang($messages, "\x73\145\163\163\151\157\x6e", "\x61\154\x65\x72\164", "\163\x75\142\x74\151\164\154\x65"))); return; } require_once "\x2e\x2e\x2f\x70\141\162\x65\156\x74\x2f\x74\x65\x62\145\170\x2f\141\160\151\56\x70\x68\160"; $ip_address = getUserIp(); $custom_data = array("\165\x73\145\x72\137\151\144" => $user, "\x69\x70\x5f\141\144\x64\162\145\x73\163" => $ip_address); $complete_auto_redirect = TEBEX_PAYMENT_RETURN; $basketUrl = URI . "\x2f\142\x61\163\153\145\164"; $basketSQL = $connx->prepare("\x53\105\114\x45\x43\x54\40\52\x20\x46\x52\117\x4d\40\x60{$dbb_basket}\140\x20\127\x48\x45\122\x45\40\140\165\x73\x65\162\140\x20\x3d\x20\x3f\x3b"); $basketSQL->execute(array($user)); if ($basketSQL->RowCount() > 0) { $basket = $basketSQL->fetch(PDO::FETCH_ASSOC); SetWebstoreIdentifier(TEBEX_PUBLIC_KEY); $createBasketResponse = CreateBasket($basketUrl, $basketUrl, $custom_data, $complete_auto_redirect); if (isset($createBasketResponse["\x64\141\164\x61"]["\x69\x64\145\156\x74"])) { $_SESSION["\142\x61\163\153\145\x74\x5f\151\144"] = $createBasketResponse["\144\x61\x74\141"]["\151\144\145\x6e\164"]; $basketIdent = $createBasketResponse["\x64\141\x74\x61"]["\151\x64\145\156\164"]; $authUrlResponse = GetBasketAuthURL($basketIdent, $basketUrl); if (isset($authUrlResponse[0]["\165\162\x6c"])) { echo json_encode(array("\x74\x79\x70\x65" => "\163\165\x63\x63\145\163\163", "\x72\x65\x64\151\x72\x72\145\143\164" => $authUrlResponse[0]["\x75\162\154"])); closeDBConnection(); return; } else { echo json_encode(array("\164\x79\x70\145" => "\x65\162\x72\x6f\162", "\x74\x69\x74\x6c\145" => "\x4f\x68\150\x20\x70\162\x6f\142\x6c\145\x6d\163\56\56\56", "\163\x75\142\164\x69\x74\154\145" => "\x46\141\x74\141\154\x20\160\162\x6f\142\154\x65\x6d\163\x20\150\x61\x76\x65\40\157\x63\x63\165\x72\162\x65\144\56")); closeDBConnection(); return; } } else { echo json_encode(array("\x74\x79\160\x65" => "\145\162\162\x6f\x72", "\164\151\164\x6c\145" => "\117\150\150\40\x70\x72\157\x62\154\x65\155\x73\56\56\56", "\163\165\142\164\151\164\154\145" => "\106\x61\164\x61\x6c\x20\160\x72\x6f\142\x6c\x65\x6d\163\40\150\x61\166\x65\40\x6f\143\143\165\x72\x72\145\144\x2e")); closeDBConnection(); return; } } else { echo json_encode(array("\x74\171\160\x65" => "\145\162\x72\x6f\162", "\x74\x69\164\154\x65" => "\117\150\x68\x20\160\x72\x6f\x62\x6c\145\x6d\x73\56\56\56", "\x73\x75\142\x74\x69\164\x6c\145" => "\131\157\x75\40\x64\157\x20\x6e\157\164\x20\150\x61\x76\x65\40\141\x6e\171\x20\x69\164\145\x6d\x73\x20\x61\x64\x64\x65\144\x20\x74\x6f\40\171\x6f\x75\x72\x20\143\x61\162\x74\56")); closeDBConnection(); return; } } goto shIpQ; Io40h: if ($_POST["\x72\145\x73\x75\154\164"] == "\165\x70\144\141\164\145\x43\x6f\x6e\x66\151\147") { $filename = __DIR__ . "\57\56\56\x2f\x63\x6f\x6e\146\151\x67\56\x70\150\160"; $permissions = fileperms($filename); $ownerWritable = ($permissions & 128) !== 0; $groupWritable = ($permissions & 16) !== 0; $otherWritable = ($permissions & 2) !== 0; if ($ownerWritable and $groupWritable and $otherWritable) { $configContent = file_get_contents($filename); $newConfigContent = preg_replace("\57\144\x65\146\151\156\x65\134\50\x27\x55\x52\111\47\x2c\x5c\x73\52\x2e\x2a\134\51\x3b\57", "\x64\x65\x66\151\x6e\145\x28\47\125\122\111\47\x2c\40\47" . $_POST["\x75\x72\154"] . "\47\x29\x3b", $configContent); file_put_contents($filename, $newConfigContent); echo json_encode(array("\163\x75\x63\143\145\163\x73" => 1, "\x6d\145\x73\x73\x61\147\145" => "\123\165\x63\143\145\x73\x73\x21")); return; } else { echo json_encode(array("\163\165\143\x63\145\163\163" => 2, "\155\145\x73\163\x61\147\145" => "\124\150\145\x20\160\145\162\155\151\163\x73\151\x6f\156\x20\x68\x61\x73\x20\x6e\x6f\164\x20\x62\x65\145\x6e\40\x61\160\160\154\x69\145\144\40\x74\157\40\164\x68\x65\x20\x66\x69\154\x65\40\42\143\x6f\156\146\x69\x67\x2e\x70\x68\x70\42\40\120\154\145\x61\x73\145\40\151\155\x70\x6c\x65\x6d\x65\156\x74\x20\164\150\145\40\160\x65\162\155\151\x73\x73\x69\157\x6e\x20\x22\67\67\x37\x22\40\x74\157\40\x63\x6f\156\x74\151\156\165\x65\x2e", "\x6b\145\x79" => $data["\x6b\x65\171"], "\151\144" => $data["\151\144"])); return; } } goto vPmPS; BFaGU: if ($_POST["\162\x65\163\165\x6c\164"] == "\x63\154\157\x6e\120\x72\157\144\x75\143\164") { getDBConnection(); $data_id = $_POST["\144\x61\164\141\137\x69\144"]; if (!sessions($_COOKIE["\x64\142\142\137\x74\x6f\153\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x73\145\x73\163\151\157\156", "\x61\154\x65\x72\x74", "\145\x72\x72\x6f\x72"), "\x74\x69\x74\154\x65" => lang($messages, "\x73\x65\x73\163\x69\157\156", "\x61\x6c\145\x72\x74", "\164\x69\x74\x6c\145"), "\x73\165\142\x74\x69\164\154\x65" => lang($messages, "\163\145\163\x73\151\x6f\156", "\x61\x6c\x65\162\164", "\163\x75\142\x74\x69\x74\154\145"))); return; } if (!has("\144\x62\142\56\x61\144\x6d\151\156\x2e\160\162\157\x64\x75\143\164\x2e\143\154\x6f\x6e\x65")) { echo json_encode(array("\x74\x79\x70\145" => lang($messages, "\x65\162\162\x6f\162", "\167\151\x74\x68\157\x75\164\x5f\x70\145\x72\155\151\x73\163\x69\157\x6e", "\164\171\160\145"), "\164\151\164\x6c\x65" => lang($messages, "\145\162\162\x6f\162", "\167\151\164\150\157\165\164\137\x70\x65\162\x6d\x69\x73\x73\x69\157\x6e", "\164\x69\x74\154\x65"), "\x73\165\142\x74\151\x74\154\145" => lang($messages, "\145\162\162\157\162", "\x77\x69\164\150\x6f\165\x74\137\x70\x65\x72\155\x69\163\163\151\x6f\156", "\163\165\x62\164\x69\164\x6c\x65"))); return; } if (empty($data_id)) { echo json_encode(array("\164\171\x70\145" => lang($messages, "\x65\162\x72\x6f\162", "\x65\x6d\x70\164\x79", "\x74\x79\x70\145"), "\164\151\x74\x6c\x65" => lang($messages, "\145\162\x72\x6f\x72", "\x65\155\160\164\171", "\x74\x69\164\154\x65"), "\x73\x75\x62\164\151\164\x6c\x65" => lang($messages, "\145\162\x72\157\x72", "\x65\155\x70\164\x79", "\x73\x75\142\164\151\164\x6c\145"))); return; } try { $productSQL = $connx->prepare("\123\105\x4c\x45\x43\x54\x20\52\40\106\x52\117\x4d\40\x60{$dbb_product}\x60\40\x57\x48\105\122\105\40\x60\x69\144\x60\40\75\40\77\73"); $productSQL->execute(array($data_id)); if ($productSQL->RowCount() > 0) { $product = $productSQL->fetch(PDO::FETCH_ASSOC); $insertSQL = $connx->prepare("\111\116\123\105\122\x54\x20\111\x4e\124\x4f\x20\x60{$dbb_product}\x60\50\140\151\x63\x6f\x6e\137\142\147\x60\x2c\40\x60\151\143\x6f\x6e\x5f\x74\x79\160\x65\140\54\40\140\151\143\157\156\x60\54\x20\x60\151\144\x5f\156\141\155\145\140\x2c\x20\140\x6e\x61\x6d\x65\140\54\x20\x60\144\x65\163\x63\x72\x69\x70\164\151\x6f\156\140\54\x20\140\x76\x65\x72\x73\151\157\x6e\x60\54\40\140\x73\x74\x61\x74\165\163\x60\x29\x20\12\x9\11\x9\126\101\114\125\x45\x53\x20\50\x3f\54\40\x3f\54\x20\x3f\54\x20\77\x2c\40\x3f\54\x20\77\x2c\x20\77\x2c\40\x27\x31\47\x29\73"); $insertSQL->execute(array($product["\151\x63\157\156\137\x62\x67"], $product["\151\x63\x6f\x6e\137\164\171\160\145"], $product["\x69\143\x6f\156"], $product["\x69\144\137\156\141\155\145"], $product["\x6e\141\155\145"], $product["\144\x65\x73\x63\162\151\160\x74\151\157\156"], $product["\166\145\x72\163\x69\x6f\156"])); $product_id = $connx->lastInsertId(); if (TEBEX_PAYMENT) { $productActionsSQL = $connx->prepare("\x53\x45\114\x45\103\x54\40\x2a\40\x46\x52\x4f\x4d\x20\140{$dbb_product_actions}\140\40\x57\110\x45\x52\105\x20\x60\x70\162\x6f\x64\x75\x63\164\140\40\75\x20\x3f\73"); $productActionsSQL->execute(array($data_id)); $productActions = $productActionsSQL->fetch(PDO::FETCH_ASSOC); $insertSQLs = $connx->prepare("\111\x4e\123\105\x52\x54\40\x49\116\x54\117\40\x60{$dbb_product_actions}\x60\50\x60\160\x72\157\x64\x75\x63\x74\x60\54\x20\140\144\141\x74\x61\x60\51\40\xa\x9\x9\x9\x9\126\101\114\x55\105\x53\x20\x28\77\x2c\x20\77\51\x3b"); $insertSQLs->execute(array($product_id, $productActions["\144\x61\164\x61"])); } echo json_encode(array("\164\171\160\145" => lang($messages, "\160\x72\157\x64\x75\x63\x74", "\143\x6f\x6e\164\145\156\164", "\x61\154\x65\162\x74", "\143\154\x6f\x6e\x65\x64\x5f\x70\x72\157\x64\x75\x63\164", "\164\x79\160\x65"), "\x74\151\164\x6c\145" => lang($messages, "\160\162\x6f\144\x75\143\x74", "\143\x6f\x6e\x74\145\156\164", "\x61\x6c\145\162\x74", "\143\154\157\x6e\145\144\137\160\162\x6f\x64\x75\143\164", "\164\151\164\154\x65"), "\163\x75\142\164\x69\164\154\145" => lang($messages, "\x70\162\x6f\144\165\143\164", "\143\x6f\x6e\x74\145\156\x74", "\x61\x6c\x65\162\x74", "\x63\154\x6f\156\145\144\137\x70\x72\x6f\144\x75\x63\x74", "\x73\165\x62\164\x69\x74\x6c\x65"), "\x69\x64" => $product_id)); closeDBConnection(); return; } else { echo json_encode(array("\x74\171\160\x65" => lang($messages, "\x70\162\x6f\x64\165\x63\x74", "\x63\157\x6e\x74\145\156\164", "\141\x6c\x65\x72\164", "\x64\157\145\x73\x5f\156\x6f\x74\x5f\x65\170\151\163\x74", "\164\171\x70\x65"), "\164\151\164\x6c\x65" => lang($messages, "\160\x72\157\144\x75\x63\164", "\x63\x6f\156\164\x65\156\164", "\141\x6c\x65\x72\x74", "\144\x6f\145\163\137\156\x6f\x74\x5f\145\170\x69\x73\164", "\164\x69\x74\x6c\x65"), "\163\x75\142\164\x69\164\154\145" => lang($messages, "\x70\x72\157\144\165\x63\x74", "\x63\157\156\164\x65\x6e\x74", "\141\154\x65\x72\x74", "\x64\x6f\145\163\x5f\x6e\x6f\x74\x5f\x65\170\151\163\164", "\x73\165\x62\164\x69\x74\x6c\x65"))); closeDBConnection(); return; } } catch (Exception $e) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x65\162\162\x6f\162", "\x65\x6d\160\164\171", "\164\171\160\x65"), "\164\x69\164\154\145" => lang($messages, "\145\x72\x72\x6f\x72", "\145\x6d\160\164\171", "\x74\x69\164\154\145"), "\x73\x75\x62\x74\151\x74\154\x65" => lang($messages, "\145\162\162\x6f\x72", "\145\x6d\160\164\171", "\163\165\142\164\151\x74\154\x65"))); closeDBConnection(); return; } } goto Ai6Fh; O4JRV: if ($_POST["\x72\x65\x73\x75\154\164"] == "\x74\x6f\164\141\x6c\137\x70\162\151\143\145\137\x69\x6e\x5f\142\x61\x73\x6b\145\x74") { getDBConnection(); $basketSQL = $connx->prepare("\123\x45\x4c\x45\103\x54\40\52\40\106\x52\117\x4d\40\x60{$dbb_basket}\140\40\127\110\105\x52\105\x20\x60\x75\x73\x65\x72\140\40\75\40\77\x3b"); $basketSQL->execute(array($_SESSION["\x64\x62\x62\137\x75\x73\145\162"]["\151\144"])); $totalPrice = 0; while ($basket = $basketSQL->fetch(PDO::FETCH_ASSOC)) { $productId = $basket["\x70\x72\157\x64\165\143\164"]; $productSQL = $connx->prepare("\123\105\x4c\x45\103\x54\40\140\x70\x72\x69\x63\x65\x60\40\x46\x52\x4f\x4d\x20\x60{$dbb_product}\140\x20\x57\x48\x45\x52\105\40\x60\x69\x64\x60\x20\x3d\40\77\x3b"); $productSQL->execute(array($productId)); $product = $productSQL->fetch(PDO::FETCH_ASSOC); $totalPrice += $product["\160\x72\151\x63\145"] * $basket["\161\x75\141\x6e\164\151\164\x79"]; } echo number_format($totalPrice, 2, "\x2e", "\54"); closeDBConnection(); } goto wLHpI; S84NI: if ($_POST["\162\145\163\x75\x6c\x74"] == "\162\145\x63\x6c\x61\x69\155\137\155\171\137\147\151\146\x74\137\x6c\151\143\x65\x6e\x73\x65") { getDBConnection(); $code = $_POST["\143\157\x64\145"]; if (!sessions($_COOKIE["\x64\x62\142\137\164\157\153\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\160\145" => lang($messages, "\163\145\163\x73\151\x6f\x6e", "\x61\154\145\162\164", "\145\x72\162\157\162"), "\164\151\x74\154\145" => lang($messages, "\163\x65\163\163\x69\x6f\x6e", "\x61\154\x65\162\164", "\164\x69\164\154\x65"), "\x73\x75\142\x74\151\164\154\145" => lang($messages, "\x73\145\x73\x73\x69\x6f\156", "\141\x6c\145\x72\164", "\x73\165\142\164\x69\164\x6c\x65"))); return; } if (empty($code)) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\x65\x72\x72\x6f\x72", "\x65\155\160\x74\x79", "\164\171\x70\x65"), "\164\x69\x74\x6c\x65" => lang($messages, "\x65\x72\162\157\162", "\145\155\x70\164\x79", "\x74\x69\164\154\x65"), "\163\165\142\x74\x69\x74\x6c\x65" => lang($messages, "\x65\162\x72\157\162", "\145\x6d\160\164\x79", "\163\165\x62\x74\x69\x74\x6c\x65"))); return; } $verifyCodeSQL = $connx->prepare("\x53\105\x4c\105\103\x54\x20\52\40\x46\x52\117\x4d\40\140{$dbb_code}\140\40\127\110\x45\x52\105\40\x60\x63\157\144\x65\140\x20\x3d\x20\77\x3b"); $verifyCodeSQL->execute(array($code)); if ($verifyCodeSQL->RowCount() > 0) { $code = $verifyCodeSQL->fetch(PDO::FETCH_ASSOC); if ($code["\164\171\x70\x65"] == "\x6c\151\x63\145\156\163\145") { if ($code["\x73\164\141\x74\x75\x73"] != 2) { echo json_encode(array("\164\171\160\x65" => "\x65\162\x72\157\162", "\x74\151\164\154\x65" => "\117\150\x68\x68\x2c\40\106\x61\151\x6c\x65\x64\x21", "\x73\165\x62\x74\x69\x74\154\x65" => "\124\x68\x65\x20\x63\157\144\x65\40\x49\x20\x69\x6e\x73\x65\x72\164\x65\x64\x20\144\x6f\x65\x73\40\156\157\x74\x20\x65\170\x69\163\164\x2e")); closeDBConnection(); return; } $addons = explode("\56", $code["\x61\144\144\157\x6e\163"]); $expire = explode("\x23", $addons[2]); $expire = strtotime("\x2b" . $expire[0] . "\40" . $expire[1]); $reason = "\103\154\141\151\155\x65\x64\x20\x62\171\40" . $_SESSION["\144\x62\x62\x5f\165\x73\x65\162"]["\151\144"]; $client = userDev("\165\x64\151\144", $_SESSION["\144\142\x62\137\x75\x73\145\x72"]["\x69\x64"]); $status = 1; $custom_addons = empty($addons[4]) ? NULL : $addons[4]; $new_key = randomCodes(5) . "\55" . randomCodes(5) . "\x2d" . randomCodes(5) . "\55" . randomCodes(5) . "\55" . randomCodes(5); $insetSQL = $connx->prepare("\111\116\x53\x45\122\x54\40\x49\x4e\124\x4f\x20\140{$dbb_license}\x60\x28\140\143\x6c\x69\145\156\164\x60\x2c\x20\x60\x6b\145\171\x60\x2c\40\x60\x70\162\x6f\x64\165\x63\164\x60\54\x20\140\145\x78\x70\x69\162\x65\140\54\x20\x60\x73\x74\x61\x74\165\163\x60\x2c\x20\x60\141\x64\x64\157\x6e\163\x60\x2c\40\x60\x63\x75\x73\x74\x6f\155\137\141\x64\144\x6f\x6e\163\x60\54\x20\x60\x72\145\141\x73\x6f\x6e\140\51\40\xa\11\11\11\x56\101\114\x55\x45\x53\40\50\x3f\54\x20\x3f\54\40\x3f\54\x20\x3f\54\x20\77\54\40\x3f\54\40\77\x2c\x20\77\x29\x3b"); $insetSQL->execute(array($client, $new_key, $addons[0], $expire, $status, $addons[3], $custom_addons, $reason)); $updateSQL2 = $connx->prepare("\x55\x50\x44\x41\124\105\40\140{$dbb_code}\x60\40\x53\x45\x54\x20\x60\163\164\x61\164\x75\163\x60\75\40\47\61\47\x2c\40\140\x75\x73\x65\140\40\75\40\77\x20\127\110\x45\x52\x45\x20\x60\x69\x64\140\40\75\40\77\73"); $updateSQL2->execute(array($_SESSION["\x64\142\x62\137\x75\163\x65\x72"]["\x69\x64"], $code["\x69\x64"])); echo json_encode(array("\164\x79\x70\145" => "\163\165\x63\x63\145\x73\x73", "\164\x69\164\x6c\145" => "\x43\157\x6d\160\154\145\164\x65\40\162\x65\144\x65\x65\155\41", "\x73\165\x62\164\151\164\154\145" => '')); closeDBConnection(); return; } else { echo json_encode(array("\164\x79\160\145" => "\145\162\162\157\162", "\164\x69\164\154\x65" => "\117\x68\x68\x68\54\40\x46\141\151\x6c\x65\144\41", "\163\165\x62\x74\x69\164\154\145" => "\x54\150\145\40\143\x6f\x64\x65\40\111\40\x69\156\163\x65\162\164\145\x64\40\x64\x6f\145\x73\x20\156\157\x74\x20\145\170\x69\163\164\56")); closeDBConnection(); return; } } else { echo json_encode(array("\x74\171\x70\145" => "\145\x72\x72\157\x72", "\164\151\x74\x6c\x65" => "\x4f\x68\150\x68\54\x20\106\x61\151\154\145\x64\41", "\163\165\x62\x74\151\x74\154\x65" => "\124\150\x65\x20\x63\x6f\144\145\40\111\40\x69\x6e\x73\145\162\x74\x65\x64\x20\x64\157\x65\x73\x20\x6e\x6f\164\x20\x65\x78\151\163\x74\56")); closeDBConnection(); return; } } goto n29UC; DgQ5O: if ($_POST["\162\145\x73\x75\x6c\164"] == "\166\x65\162\151\x66\x79\137\x64\141\164\141\x62\x61\x73\x65") { $type = $_POST["\164\x79\x70\x65"]; $hosting = $_POST["\150\157\x73\164\151\156\x67"]; if ($type == "\115\131\123\x51\114") { $port = 3306; } else { if ($type == "\x4d\x4f\116\107\x4f\104\102") { $port = 27017; } else { if ($type == "\x52\x45\104\111\123") { $port = 6379; } else { $port = 3306; } } } $database = $_POST["\144\141\164\x61\142\x61\163\x65"]; $username = $_POST["\x75\163\x65\x72\x6e\x61\x6d\145"]; $password = $_POST["\160\x61\163\163\167\157\x72\144"]; try { $connx = new PDO("\x6d\171\x73\x71\154\72\x68\157\x73\x74\x3d" . $hosting . "\x3b\160\x6f\x72\164\75" . $port . "\x3b\x64\x62\156\141\x6d\145\x3d" . $database, $username, $password); $connx->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $database_valid = 1; } catch (PDOException $e) { $database_valid = "\124\150\x65\40\144\x61\x74\x61\142\141\163\145\40\x69\163\x20\156\157\x74\x20\167\157\x72\x6b\151\x6e\x67\x20\x63\x6f\x72\162\145\x63\x74\x6c\171\54\x20\145\151\164\x68\145\x72\40\x64\x75\x65\40\164\x6f\x20\x69\x6e\143\157\162\x72\x65\143\x74\x20\144\141\x74\141\x20\157\x72\40\x6e\157\x74\40\x77\x6f\x72\153\151\156\147\x2e"; } echo $database_valid; } goto yUlHI; soRa3: if ($_POST["\162\x65\163\x75\154\x74"] == "\x6d\157\x64\x69\146\x69\x65\144\125\x73\145\x72\x47\x72\x6f\x75\x70") { getDBConnection(); $dataid = $_POST["\144\141\164\x61\137\x69\x64"]; $datauser = $_POST["\144\x61\164\141\137\x75\x73\145\162"]; $datatype = $_POST["\144\141\164\141\x5f\164\171\160\145"]; if (!sessions($_COOKIE["\x64\x62\x62\137\x74\x6f\x6b\145\x6e"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\160\x65" => lang($messages, "\x73\x65\163\163\x69\x6f\156", "\141\154\145\x72\164", "\x65\x72\162\157\162"), "\x74\x69\x74\154\145" => lang($messages, "\x73\x65\163\163\x69\157\156", "\141\154\145\x72\164", "\164\x69\x74\154\145"), "\163\165\x62\x74\151\x74\x6c\145" => lang($messages, "\163\145\163\x73\151\157\156", "\141\x6c\145\162\164", "\x73\165\x62\164\151\164\x6c\145"))); return; } if (!has("\x64\142\142\56\x61\144\155\x69\x6e\x2e\147\162\x6f\x75\x70\x2e\x67\x69\x76\145")) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\145\162\162\x6f\x72", "\167\151\x74\x68\x6f\x75\164\x5f\160\x65\x72\x6d\151\163\x73\151\x6f\156", "\x74\171\x70\145"), "\164\x69\x74\154\145" => lang($messages, "\145\x72\x72\x6f\x72", "\x77\151\164\150\157\165\x74\137\160\x65\x72\155\x69\163\163\x69\157\x6e", "\164\151\x74\x6c\145"), "\163\x75\142\x74\x69\164\154\145" => lang($messages, "\145\x72\x72\157\162", "\167\151\x74\x68\157\x75\164\x5f\x70\x65\162\155\x69\163\163\151\x6f\x6e", "\x73\165\x62\x74\x69\x74\x6c\x65"))); return; } if (empty($dataid)) { echo json_encode(array("\x74\x79\160\x65" => lang($messages, "\145\x72\162\157\x72", "\145\155\160\164\x79", "\x74\x79\160\145"), "\164\151\x74\154\145" => lang($messages, "\145\162\x72\x6f\x72", "\145\155\160\x74\171", "\164\151\x74\154\145"), "\163\165\x62\x74\x69\164\154\145" => lang($messages, "\x65\162\x72\x6f\162", "\x65\x6d\x70\x74\x79", "\x73\x75\x62\164\151\164\154\145"))); return; } try { $groupUserSQL = $connx->prepare("\x53\x45\114\105\x43\x54\40\52\40\106\x52\117\x4d\x20\140{$dbb_group_user}\140\x20\x57\110\x45\122\105\40\x60\x75\x73\145\162\140\x20\75\40\x3f\x3b"); $groupUserSQL->execute(array($datauser)); $groupUser = $groupUserSQL->fetch(PDO::FETCH_ASSOC); if ($datatype) { if ($groupUser["\147\x72\x6f\165\x70"] != $dataid) { $insertSQL = $connx->prepare("\111\116\123\105\122\124\40\111\x4e\124\117\x20\140{$dbb_group_user}\x60\50\x60\151\x64\140\54\40\x60\x67\x72\x6f\x75\160\x60\x2c\x20\x60\165\x73\x65\x72\x60\54\x20\140\163\x69\156\143\145\140\x29\40\x56\x41\114\x55\x45\123\40\50\116\125\x4c\114\54\40\77\54\40\77\x2c\40\x43\x55\122\122\105\116\x54\x5f\x54\x49\115\x45\123\x54\101\x4d\x50\x29\73"); $insertSQL->execute(array($dataid, $datauser)); } else { $deleteSQL = $connx->prepare("\104\x45\x4c\105\124\x45\40\106\x52\117\115\40\140{$dbb_group_user}\140\40\x57\x48\105\122\105\40\140\147\162\157\165\160\140\x20\75\40\x3f\x20\x41\x4e\x44\40\140\165\x73\x65\x72\140\40\x3d\x20\77\73"); $deleteSQL->execute(array($dataid, $datauser)); $insertSQL = $connx->prepare("\x49\116\x53\x45\122\124\x20\x49\116\124\x4f\x20\140{$dbb_group_user}\140\x28\140\151\144\x60\x2c\40\140\x67\162\x6f\165\x70\140\x2c\x20\140\x75\x73\145\x72\140\x2c\x20\140\x73\151\x6e\x63\145\140\51\x20\x56\x41\114\x55\x45\123\x20\x28\x4e\125\x4c\x4c\54\x20\77\x2c\40\77\x2c\x20\103\x55\122\x52\x45\116\x54\x5f\x54\x49\115\x45\x53\x54\101\x4d\x50\51\73"); $insertSQL->execute(array($dataid, $datauser)); } } else { $deleteSQL = $connx->prepare("\x44\105\114\105\x54\x45\x20\106\122\x4f\x4d\x20\140{$dbb_group_user}\140\x20\x57\x48\105\x52\105\x20\140\147\x72\x6f\x75\x70\x60\40\75\40\x3f\40\101\116\104\x20\x60\165\163\145\162\140\x20\75\40\77\73"); $deleteSQL->execute(array($dataid, $datauser)); } echo json_encode(array("\x74\x79\160\145" => "\x73\165\x63\143\x65\x73\163", "\164\151\x74\x6c\x65" => "\103\x6f\162\x72\145\143\x74\154\x79\41", "\163\x75\142\x74\x69\x74\x6c\x65" => '')); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\164\x79\x70\145" => lang($messages, "\x65\x72\162\x6f\x72", "\x65\155\160\164\171", "\164\171\x70\x65"), "\164\x69\x74\154\145" => lang($messages, "\x65\x72\x72\157\162", "\145\155\160\164\x79", "\164\151\164\x6c\145"), "\163\x75\x62\x74\x69\164\154\x65" => lang($messages, "\x65\x72\162\157\162", "\x65\155\160\x74\x79", "\163\x75\x62\164\151\164\x6c\x65"))); closeDBConnection(); return; } } goto ER_ej; rJMTT: if ($_POST["\x72\x65\x73\x75\x6c\164"] == "\153\x65\x79\163\x5f\163\x74\x61\x74\165\163") { getDBConnection(); $user = userDev("\x75\144\x69\144", $_SESSION["\x64\142\142\x5f\165\163\x65\x72"]["\151\144"]); $type = $_POST["\x74\x79\x70\x65"]; if (!sessions($_COOKIE["\x64\x62\x62\137\x74\x6f\153\145\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\160\145" => lang($messages, "\x73\145\x73\163\x69\x6f\x6e", "\141\x6c\145\x72\164", "\x65\162\x72\157\x72"), "\x74\151\x74\154\x65" => lang($messages, "\x73\x65\x73\x73\151\157\x6e", "\141\x6c\x65\x72\164", "\x74\x69\x74\154\145"), "\x73\x75\142\164\151\164\154\145" => lang($messages, "\x73\x65\x73\163\x69\157\156", "\x61\x6c\145\162\x74", "\163\165\142\164\151\x74\x6c\x65"))); return; } $calculateSQL = $connx->prepare("\x53\x45\x4c\x45\103\x54\40\x43\x4f\125\116\x54\50\x69\144\x29\40\101\x53\40\143\157\x75\156\x74\40\106\122\x4f\115\40\140{$dbb_license}\x60\x20\127\x48\x45\x52\x45\x20\140\143\154\x69\x65\x6e\x74\140\x20\75\x20\77\x20\101\116\x44\x20\140\x73\164\141\164\x75\163\140\x20\75\x20\77\73"); $calculateSQL->execute(array($user, $type)); $verify = $calculateSQL->fetch(PDO::FETCH_ASSOC); echo number_format($verify["\x63\x6f\x75\x6e\164"], 0, "\x2c", "\x2e"); } goto tO6Ae; YzqfW: if ($_POST["\162\x65\x73\165\154\164"] == "\x65\162\141\x73\145\137\x70\x65\x72\x6d") { getDBConnection(); $dataid = $_POST["\x64\x61\164\141\x69\144"]; $experm = $_POST["\x65\x78\160\x65\162\155"]; if (!sessions($_COOKIE["\144\142\142\137\164\x6f\153\x65\156"]) and TOKEN_STATUS) { echo json_encode(array("\x74\171\x70\x65" => lang($messages, "\x73\x65\163\x73\x69\157\x6e", "\x61\x6c\x65\162\164", "\145\x72\x72\157\x72"), "\x74\151\164\x6c\145" => lang($messages, "\x73\145\163\163\151\x6f\x6e", "\x61\x6c\145\x72\164", "\x74\151\164\x6c\x65"), "\x73\x75\142\x74\151\164\x6c\145" => lang($messages, "\x73\145\x73\163\151\x6f\x6e", "\x61\x6c\x65\162\164", "\x73\165\x62\x74\x69\x74\x6c\145"))); return; } if (!has("\144\x62\142\56\141\144\155\151\x6e\56\147\x72\157\165\160\x2e\160\145\162\155\151\163\163\151\157\x6e\x2e\145\162\141\163\145")) { echo json_encode(array("\x74\x79\x70\x65" => lang($messages, "\x65\x72\x72\x6f\162", "\167\151\164\x68\x6f\165\x74\x5f\160\x65\162\x6d\151\x73\x73\151\x6f\x6e", "\x74\171\160\145"), "\164\x69\x74\x6c\145" => lang($messages, "\x65\162\162\157\162", "\167\x69\x74\x68\x6f\x75\164\x5f\160\x65\x72\x6d\151\163\x73\x69\157\x6e", "\164\151\x74\x6c\x65"), "\163\x75\142\164\x69\x74\x6c\x65" => lang($messages, "\x65\162\x72\x6f\x72", "\x77\151\164\x68\157\x75\x74\137\x70\x65\x72\155\151\163\163\151\157\x6e", "\163\x75\x62\x74\151\x74\x6c\x65"))); return; } if (empty($dataid)) { echo json_encode(array("\164\171\160\145" => lang($messages, "\145\162\x72\x6f\x72", "\145\x6d\x70\164\171", "\164\171\x70\x65"), "\x74\x69\x74\x6c\145" => lang($messages, "\x65\162\162\x6f\x72", "\145\155\x70\x74\x79", "\164\151\164\154\145"), "\x73\x75\142\164\151\164\x6c\x65" => lang($messages, "\x65\x72\x72\157\162", "\145\x6d\160\x74\x79", "\x73\x75\142\x74\151\164\154\145"))); return; } try { $value = userDev("\165\163\x65\x72\156\x61\x6d\145", $_SESSION["\x64\x62\142\x5f\x75\x73\145\162"]["\151\144"]) . "\x20\150\x61\163\40\x64\145\154\x65\164\x65\144\40\141\x20\160\145\x72\x6d\x69\x73\163\151\x6f\156\x20\x27" . $experm . "\x27\56"; $deleteSQL = $connx->prepare("\x44\x45\114\105\x54\105\40\106\x52\117\115\40\140{$dbb_group_permission}\140\40\127\110\105\x52\x45\x20\140\x69\x64\x60\x20\75\x20\77\x3b"); $deleteSQL->execute(array($dataid)); $logsSQL = $connx->prepare("\111\x4e\123\x45\x52\124\x20\111\x4e\x54\117\x20\140{$dbb_logs}\140\x28\140\164\x79\160\145\140\x2c\x20\x60\165\163\x65\x72\140\x2c\40\140\154\151\x63\x65\156\163\145\x60\x2c\x20\140\x69\160\140\54\40\140\x76\x61\154\165\x65\140\x2c\x20\140\x73\164\x61\x74\165\x73\140\54\40\x60\x74\151\155\x65\140\51\40\xa\x9\11\x56\x41\114\125\105\123\40\50\x27\x65\x72\141\163\145\47\x2c\40\77\x2c\40\x4e\x55\x4c\x4c\54\40\x3f\x2c\x20\77\54\40\x27\61\47\54\40\77\51\73"); $logsSQL->execute(array($_SESSION["\144\142\142\137\165\163\x65\162"]["\x69\144"], getUserIp(), $value, time())); echo json_encode(array("\164\x79\x70\x65" => "\163\x75\143\x63\145\163\163", "\x74\x69\164\x6c\145" => "\x43\157\162\x72\x65\143\164\154\171\x21", "\163\165\x62\x74\x69\164\154\x65" => '')); closeDBConnection(); return; } catch (Exception $e) { echo json_encode(array("\x74\171\160\x65" => lang($messages, "\x65\162\x72\157\162", "\145\155\x70\x74\x79", "\164\171\160\145"), "\x74\151\164\x6c\x65" => lang($messages, "\x65\x72\162\157\x72", "\145\155\x70\x74\171", "\x74\x69\x74\154\145"), "\x73\x75\142\x74\x69\x74\x6c\x65" => lang($messages, "\x65\162\162\x6f\162", "\145\155\x70\164\171", "\163\165\142\164\151\x74\x6c\x65"))); closeDBConnection(); return; } } goto lWiMe; ruy48: if ($_POST["\162\145\163\165\154\x74"] == "\165\160\x5f\161\x75\141\x6e\x74\151\164\x79\137\x75\x70\144\141\164\x65") { getDBConnection(); $item = $_POST["\144\x61\x74\x61\137\x69\x64"]; if (!sessions($_COOKIE["\x64\x62\x62\x5f\164\x6f\x6b\x65\156"]) and TOKEN_STATUS) { echo json_encode(array("\164\x79\x70\x65" => lang($messages, "\x73\145\x73\163\151\x6f\x6e", "\141\154\x65\162\x74", "\145\162\162\x6f\x72"), "\164\x69\164\154\x65" => lang($messages, "\x73\145\163\163\x69\x6f\x6e", "\141\154\145\162\x74", "\x74\x69\164\154\145"), "\163\165\142\164\x69\164\x6c\145" => lang($messages, "\163\145\x73\163\151\x6f\156", "\x61\x6c\145\x72\164", "\x73\x75\142\164\151\164\154\145"))); return; } $basketSQL = $connx->prepare("\123\x45\x4c\105\103\x54\40\x2a\40\x46\x52\x4f\x4d\40\x60{$dbb_basket}\140\x20\x57\110\105\122\x45\x20\140\x69\144\x60\x20\75\x20\x3f\x3b"); $basketSQL->execute(array($item)); if ($basketSQL->RowCount() > 0) { $basket = $basketSQL->fetch(PDO::FETCH_ASSOC); $productSQL = $connx->prepare("\123\x45\x4c\105\103\124\x20\x2a\x20\106\122\117\115\40\x60{$dbb_product}\140\x20\x57\x48\x45\x52\x45\40\x60\x69\x64\140\40\x3d\40\77\x3b"); $productSQL->execute(array($basket["\x70\162\157\144\165\143\x74"])); $product = $productSQL->fetch(PDO::FETCH_ASSOC); if ($basket["\x71\165\141\156\164\x69\164\x79"] == 99) { echo json_encode(array("\x74\171\x70\145" => "\151\x6e\146\x6f", "\x74\151\164\x6c\145" => "\x51\165\141\x6e\164\x69\164\x79\40\114\x69\x6d\151\x74\x2e", "\x73\x75\142\164\151\x74\154\145" => "\131\x6f\165\x20\150\x61\166\145\40\162\145\141\143\x68\145\144\x20\x74\150\145\x20\x71\x75\x61\x6e\x74\151\164\171\x20\154\x69\155\x69\164\x20\x70\x65\162\x20\151\x74\x65\x6d\x2e")); closeDBConnection(); return; } $quantity = $basket["\x71\165\141\156\164\151\x74\x79"] + 1; $price = $product["\160\x72\x69\x63\145"] * $quantity; $updateSQL = $connx->prepare("\x55\x50\104\x41\x54\105\40\x60{$dbb_basket}\x60\40\x53\x45\124\x20\x60\x71\165\x61\156\164\x69\164\171\140\40\75\40\77\x2c\x20\140\143\x6f\x73\x74\140\x20\75\40\x3f\x20\127\x48\105\x52\105\40\x60{$dbb_basket}\140\x2e\140\x69\144\x60\40\75\40\x3f\73"); $updateSQL->execute(array($quantity, $price, $item)); echo json_encode(array("\x74\x79\x70\x65" => "\x73\x75\143\143\x65\x73\163", "\x71\165\x61\x6e\x74\x69\x74\171" => $quantity, "\x70\162\x69\143\145" => number_format($price, 2, "\56", "\x2c"))); closeDBConnection(); return; } else { echo json_encode(array("\x74\171\x70\x65" => "\x65\x72\x72\x6f\x72", "\x74\151\x74\x6c\145" => "\x4f\150\x68\40\x70\162\x6f\142\154\145\155\163\x2e\x2e\x2e", "\163\x75\142\x74\151\x74\x6c\x65" => "\x42\141\x73\x6b\145\164\40\x69\164\145\x6d\x20\x64\157\145\x73\x20\156\x6f\x74\x20\145\x78\x69\163\x74\x2e")); closeDBConnection(); return; } } goto MKCbg; oX0kY: if ($_POST["\162\x65\163\x75\154\x74"] == "\165\x70\154\157\141\x64\123\x51\114\106\x69\154\145\x73") { if (DB_TYPE == "\115\x4f\x4e\x47\117\104\x42") { echo json_encode(array("\163\165\143\x63\x65\163\x73" => 1)); return; } $connx = new PDO("\155\171\163\161\x6c\72\x68\x6f\x73\x74\75" . DB_HOST . "\73\160\x6f\x72\x74\x3d" . DB_PORT . "\73\x64\142\x6e\141\x6d\x65\x3d" . DB_DATA, DB_USER, DB_PASSWORD); try { $insertionSQL = $connx->prepare("\104\105\123\103\122\x49\x42\x45\x20\x60\x64\142\142\137\142\141\x73\153\145\x74\x60"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\x43\x52\105\101\x54\105\40\x54\101\102\x4c\x45\40\x60\144\142\142\137\x62\x61\x73\x6b\145\164\x60\40\50\xa\40\x20\x60\x69\144\x60\40\151\156\164\x20\116\x4f\x54\40\116\125\114\x4c\54\12\40\x20\140\165\x73\x65\162\x60\x20\151\156\164\x20\x4e\117\124\40\116\125\114\x4c\54\12\x20\40\140\160\162\157\x64\x75\x63\x74\140\x20\151\156\164\40\x4e\117\x54\40\116\125\114\x4c\x2c\12\x20\40\140\164\145\x62\145\x78\137\160\x72\157\144\x75\143\x74\140\x20\166\141\x72\143\x68\141\162\50\63\x32\51\40\116\117\124\40\x4e\x55\114\114\x2c\12\40\x20\x60\x71\165\x61\x6e\164\x69\164\x79\140\x20\x69\x6e\x74\x20\x4e\117\x54\x20\x4e\125\114\x4c\x20\104\x45\x46\101\x55\114\x54\40\47\x31\47\54\xa\x20\40\x60\145\170\160\151\162\x65\140\40\142\x69\147\151\156\x74\40\x44\105\106\101\125\x4c\124\x20\116\125\x4c\114\54\xa\40\x20\x60\143\157\x73\164\x60\40\x76\141\x72\x63\150\141\x72\x28\63\62\x29\x20\104\105\106\101\125\x4c\x54\40\116\125\x4c\114\x2c\xa\40\40\x60\x73\x69\156\x63\145\x60\40\x64\141\x74\x65\x74\x69\155\x65\40\x4e\117\x54\x20\x4e\x55\x4c\114\x20\104\x45\x46\101\125\114\x54\x20\x43\x55\122\122\x45\x4e\x54\x5f\x54\x49\115\105\123\124\x41\115\120\54\xa\x9\x9\120\x52\x49\x4d\x41\x52\x59\40\113\x45\x59\x20\50\140\x69\144\140\x29\x29\xa\x9\11\x45\x4e\107\111\116\x45\40\75\x20\x49\156\x6e\x6f\x44\102\xa\11\11\104\105\x46\101\x55\x4c\124\x20\x43\110\x41\x52\101\x43\124\x45\122\40\123\x45\x54\x20\x3d\40\165\x74\x66\x38"; $connx->exec($insertionList); $connx->exec("\x41\x4c\124\x45\122\x20\124\101\x42\114\x45\x20\x60\144\142\x62\x5f\x62\141\163\x6b\x65\164\140\40\115\117\x44\111\106\x59\x20\x60\x69\144\140\40\x69\x6e\164\x28\61\61\x29\40\x4e\x4f\124\40\x4e\x55\x4c\114\40\x41\125\x54\117\x5f\111\x4e\103\122\105\x4d\x45\x4e\124\73"); } try { $insertionSQL = $connx->prepare("\x44\105\123\x43\122\x49\102\x45\40\140\144\142\x62\137\x62\x61\x73\153\145\x74\137\x63\x68\145\x63\x6b\157\165\164\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\x43\x52\x45\x41\124\x45\x20\124\x41\102\x4c\x45\40\140\x64\142\x62\137\x62\141\163\153\145\164\x5f\x63\150\145\143\153\157\165\x74\140\40\x28\xa\40\x20\x60\x69\144\140\40\x69\156\x74\x20\x4e\117\124\40\116\x55\x4c\x4c\54\xa\40\x20\140\165\163\x65\x72\x60\x20\x69\x6e\164\x20\x4e\117\124\40\x4e\x55\114\x4c\54\12\x20\x20\x60\164\x79\x70\145\x60\40\x76\141\x72\143\x68\141\x72\x28\x33\x32\x29\40\x44\x45\x46\x41\125\114\124\40\x4e\125\x4c\114\54\12\40\x20\140\x74\162\x61\156\x73\141\x63\x74\x69\x6f\x6e\137\x69\144\x60\40\166\x61\x72\143\150\x61\162\x28\x33\62\x29\40\x4e\x4f\x54\40\x4e\125\x4c\114\54\xa\40\x20\140\x70\141\171\x6d\145\156\164\x5f\155\145\164\150\x6f\144\x60\40\166\141\x72\x63\x68\141\x72\50\x31\62\x38\x29\40\x4e\x4f\124\x20\x4e\x55\x4c\x4c\54\xa\40\x20\140\x70\x72\x69\143\145\140\40\166\141\x72\x63\150\141\162\x28\x33\x32\51\40\x44\105\x46\x41\125\114\x54\x20\x4e\125\x4c\x4c\54\12\40\x20\140\x73\164\141\164\x75\163\140\x20\x69\156\164\40\x4e\117\x54\x20\x4e\125\114\x4c\x20\x44\x45\106\x41\x55\114\x54\x20\47\x30\47\x2c\12\x20\x20\x60\x64\x61\164\141\140\x20\164\145\170\x74\x20\116\x4f\x54\40\116\x55\114\114\54\12\40\40\x60\x73\x69\x6e\143\x65\x60\x20\x64\141\x74\x65\x74\x69\155\x65\x20\116\117\x54\40\116\125\114\114\x20\x44\105\106\101\125\x4c\124\40\103\x55\x52\x52\105\x4e\124\x5f\x54\111\x4d\105\x53\124\x41\115\120\54\12\11\x9\x50\122\111\115\101\x52\x59\40\113\105\x59\x20\50\140\151\x64\140\x29\51\xa\x9\11\x45\116\107\x49\116\x45\x20\x3d\40\x49\x6e\156\x6f\x44\102\xa\x9\x9\104\x45\x46\101\x55\x4c\x54\40\103\x48\x41\x52\101\x43\124\x45\x52\40\123\105\x54\40\75\40\165\x74\x66\70"; $connx->exec($insertionList); $connx->exec("\x41\x4c\x54\105\122\40\124\101\x42\114\105\40\140\144\142\142\x5f\142\141\163\x6b\x65\x74\x5f\143\x68\x65\143\153\x6f\x75\164\140\40\115\117\104\x49\x46\x59\x20\x60\x69\x64\x60\40\151\x6e\x74\x28\61\61\x29\40\x4e\117\124\x20\116\x55\x4c\x4c\x20\x41\125\124\x4f\x5f\x49\x4e\x43\122\x45\x4d\105\116\x54\73"); } try { $insertionSQL = $connx->prepare("\104\105\123\103\x52\111\x42\x45\x20\x60\144\142\x62\x5f\142\141\163\x6b\145\x74\137\160\x61\x79\155\x65\156\164\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\103\122\x45\x41\124\x45\40\124\101\102\114\x45\x20\x60\x64\142\142\x5f\x62\x61\163\153\x65\x74\x5f\160\141\x79\x6d\x65\156\164\140\40\50\12\x20\40\140\151\x64\140\x20\x69\156\x74\40\116\117\x54\x20\x4e\x55\x4c\x4c\54\xa\x20\40\x60\160\162\x6f\x64\x75\x63\164\x60\x20\151\x6e\164\40\x4e\x4f\x54\x20\x4e\125\x4c\x4c\x2c\12\x20\x20\140\165\163\x65\162\x60\40\151\156\x74\x20\x4e\117\x54\x20\x4e\x55\x4c\114\x2c\12\x20\x20\x60\164\162\141\156\163\x61\143\164\x69\157\156\x5f\x69\x64\140\40\x76\141\x72\143\x68\141\162\50\x36\x34\51\x20\116\117\124\40\116\x55\x4c\114\x2c\xa\x20\40\140\x70\x72\157\x64\x75\x63\164\x5f\x69\144\140\x20\x76\x61\x72\143\x68\x61\x72\x28\x36\64\x29\40\116\117\124\40\116\x55\x4c\x4c\x2c\12\x20\x20\140\x71\x75\x61\x6e\x74\151\164\171\x60\x20\x76\141\162\x63\150\x61\162\50\63\62\x29\x20\x4e\x4f\124\x20\116\x55\114\114\54\12\40\40\x60\142\x5f\160\x72\x69\143\x65\140\x20\166\x61\162\143\x68\141\162\50\x33\62\51\x20\x4e\117\124\40\x4e\125\114\x4c\x2c\12\x20\40\x60\160\x5f\x70\x72\151\143\145\x60\40\166\x61\x72\143\150\x61\162\50\63\x32\x29\x20\x4e\x4f\124\x20\x4e\x55\x4c\114\x2c\12\x20\x20\x60\x63\165\x72\162\145\x6e\x63\171\x60\40\166\141\x72\x63\150\141\x72\x28\x38\51\40\116\x4f\x54\40\116\x55\x4c\114\54\xa\40\40\x60\163\151\x6e\x63\x65\140\40\x64\x61\x74\x65\x74\151\155\145\x20\x4e\117\x54\40\x4e\125\114\x4c\40\104\105\x46\101\x55\x4c\x54\x20\103\125\x52\122\x45\x4e\124\137\124\111\x4d\x45\x53\x54\101\x4d\120\x2c\12\x9\11\120\x52\111\x4d\101\122\131\40\113\x45\x59\x20\x28\x60\x69\x64\140\x29\51\xa\x9\x9\105\116\x47\111\116\105\x20\75\x20\x49\156\x6e\x6f\x44\x42\12\x9\x9\x44\x45\x46\x41\125\114\124\x20\103\x48\x41\x52\101\x43\x54\x45\122\x20\123\x45\x54\x20\x3d\40\165\164\x66\70"; $connx->exec($insertionList); $connx->exec("\101\x4c\x54\x45\x52\x20\124\x41\x42\114\x45\40\x60\144\142\142\137\x62\141\x73\153\145\x74\x5f\160\141\x79\x6d\x65\156\164\140\40\x4d\x4f\x44\x49\106\x59\x20\140\151\144\140\x20\151\x6e\164\x28\x31\x31\x29\40\x4e\x4f\124\x20\116\125\x4c\114\x20\101\x55\124\117\x5f\111\116\x43\122\105\115\105\x4e\124\73"); } try { $insertionSQL = $connx->prepare("\x44\x45\123\x43\x52\111\x42\x45\40\140\144\x62\x62\137\x63\157\x64\x65\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\x43\122\105\101\124\x45\40\x54\x41\102\114\105\40\140\x64\x62\142\137\x63\157\x64\145\140\x20\x28\xa\40\40\140\x69\144\140\x20\151\x6e\164\40\x4e\x4f\124\40\x4e\125\114\x4c\x2c\xa\40\40\140\164\171\x70\x65\x60\x20\166\x61\x72\x63\x68\x61\162\50\63\62\x29\x20\116\x4f\x54\40\116\x55\x4c\x4c\54\xa\40\x20\140\x63\x6f\x64\x65\140\x20\x76\x61\162\143\x68\x61\x72\x28\63\62\x29\40\x4e\117\124\x20\x4e\125\x4c\114\x2c\xa\40\40\140\141\144\x64\157\156\163\x60\x20\164\145\x78\164\40\103\x48\x41\x52\101\103\x54\x45\122\x20\x53\105\x54\x20\x75\164\146\70\155\142\x34\x2c\xa\40\40\x60\x73\164\x61\x74\x75\x73\140\40\151\156\x74\40\116\x4f\x54\x20\x4e\x55\114\x4c\x20\104\x45\106\x41\x55\114\124\x20\x27\x31\x27\x2c\xa\40\x20\x60\165\163\145\x60\x20\x69\x6e\x74\40\x44\105\x46\x41\125\x4c\124\x20\116\x55\x4c\114\x2c\xa\x20\40\x60\x73\x69\156\143\x65\x60\40\x64\141\164\x65\164\151\x6d\145\40\x4e\x4f\x54\x20\x4e\125\114\x4c\40\x44\105\106\101\x55\114\124\x20\103\x55\x52\x52\105\x4e\124\137\x54\111\115\x45\x53\x54\101\115\x50\x2c\xa\x9\x9\x50\122\111\x4d\x41\x52\131\40\x4b\x45\131\x20\50\140\x69\x64\140\51\51\12\x9\11\105\116\x47\x49\116\105\40\75\x20\x49\x6e\156\x6f\104\x42\12\x9\11\x44\105\x46\101\x55\x4c\124\x20\x43\x48\x41\122\x41\103\x54\105\x52\x20\123\x45\x54\40\x3d\x20\x75\164\146\70"; $connx->exec($insertionList); $connx->exec("\x41\114\x54\105\x52\40\x54\101\x42\114\105\x20\x60\144\x62\142\137\143\x6f\144\145\140\x20\115\x4f\104\111\106\x59\x20\140\x69\x64\140\40\151\x6e\164\x28\x31\61\51\40\116\x4f\x54\40\x4e\125\114\114\40\x41\125\x54\117\x5f\111\116\103\x52\x45\x4d\x45\x4e\124\73"); } try { $insertionSQL = $connx->prepare("\104\105\123\x43\x52\x49\102\105\40\x60\x64\142\142\x5f\144\157\167\156\154\x6f\141\x64\x60"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\x43\122\105\101\124\x45\x20\124\x41\102\114\105\40\x60\144\142\142\137\144\x6f\167\156\154\157\141\144\140\x20\x28\12\40\40\140\x69\144\x60\40\x69\x6e\x74\x20\x4e\x4f\124\x20\x4e\125\x4c\x4c\54\xa\40\40\140\x75\163\x65\162\x60\x20\151\156\x74\x20\x4e\x4f\x54\40\116\125\x4c\x4c\54\xa\x20\40\x60\146\151\x6c\145\140\40\x74\x65\170\164\40\116\x4f\124\40\116\x55\114\x4c\x2c\12\x20\x20\140\x63\157\144\x65\x60\x20\x76\141\162\143\x68\141\162\50\x34\70\x29\x20\104\x45\x46\x41\125\x4c\x54\x20\x4e\125\114\x4c\54\xa\40\x20\x60\163\x69\156\143\x65\140\x20\144\141\x74\x65\164\151\155\145\x20\x4e\117\x54\x20\116\125\114\114\40\x44\105\106\x41\125\114\x54\40\x43\125\x52\x52\105\116\x54\137\124\x49\115\105\123\x54\x41\115\x50\54\xa\11\11\120\x52\x49\115\x41\x52\x59\x20\113\x45\x59\40\x28\140\151\144\140\x29\51\xa\x9\11\x45\x4e\x47\x49\x4e\105\40\x3d\x20\111\x6e\156\157\x44\x42\12\11\x9\x44\x45\106\101\125\114\124\40\103\x48\101\x52\101\103\124\x45\122\40\123\x45\x54\x20\x3d\40\x75\x74\x66\x38"; $connx->exec($insertionList); $connx->exec("\x41\114\124\105\122\x20\124\101\102\114\105\x20\x60\x64\x62\x62\x5f\144\157\167\x6e\x6c\157\x61\x64\x60\x20\115\117\104\111\106\x59\40\140\x69\144\140\x20\x69\156\164\50\61\x31\51\40\116\117\x54\x20\x4e\125\114\x4c\x20\101\x55\124\117\x5f\111\116\103\x52\105\x4d\x45\116\x54\x3b"); } try { $insertionSQL = $connx->prepare("\104\105\123\103\x52\x49\x42\x45\40\x60\144\142\x62\137\147\x72\157\x75\x70\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\x43\122\x45\x41\124\x45\x20\x54\101\x42\x4c\105\x20\140\x64\142\x62\137\147\x72\157\165\160\140\x20\50\12\40\x20\140\151\x64\x60\x20\x69\156\164\40\x4e\x4f\x54\x20\116\x55\x4c\114\x2c\12\x20\40\x60\x6e\141\155\145\x60\40\166\141\x72\x63\150\141\162\x28\66\x34\x29\x20\x4e\117\124\40\x4e\125\114\114\54\12\x20\40\x60\144\145\x66\141\x75\x6c\164\x60\40\151\156\x74\40\116\117\x54\40\x4e\125\114\x4c\x20\x44\105\x46\101\x55\114\124\40\x27\x30\x27\x2c\xa\x20\40\140\143\157\154\x6f\x72\140\40\x76\x61\x72\x63\x68\x61\162\x28\x33\62\x29\x20\103\x48\x41\x52\101\x43\x54\x45\x52\x20\123\105\124\x20\165\164\146\70\155\x62\64\x20\116\117\x54\40\x4e\125\114\x4c\40\x44\x45\x46\x41\125\114\x54\40\x27\x23\x63\x30\70\64\70\64\47\54\12\x20\40\x60\x70\157\163\151\164\151\157\156\140\x20\151\156\x74\40\x4e\x4f\124\x20\x4e\x55\x4c\x4c\40\104\x45\106\x41\125\x4c\124\x20\x27\x31\x27\x2c\xa\x20\40\x60\x73\151\x6e\x63\x65\x60\x20\144\x61\164\145\164\x69\x6d\145\x20\x4e\x4f\124\x20\x4e\x55\x4c\114\40\104\x45\x46\101\125\114\x54\x20\x43\x55\122\122\x45\x4e\x54\137\x54\x49\115\x45\x53\124\x41\x4d\120\54\12\11\x9\120\x52\111\x4d\101\122\x59\x20\x4b\x45\131\x20\50\x60\151\x64\x60\x29\51\xa\11\11\x45\x4e\x47\111\x4e\105\x20\x3d\40\111\156\156\x6f\x44\x42\12\x9\x9\x44\x45\106\x41\x55\x4c\124\x20\103\x48\x41\x52\x41\x43\x54\x45\x52\x20\x53\x45\124\40\75\40\x75\x74\x66\x38"; $connx->exec($insertionList); $connx->exec("\x41\114\124\x45\x52\40\x54\101\102\114\x45\40\x60\x64\x62\x62\x5f\147\162\157\165\x70\x60\x20\115\x4f\104\x49\106\131\40\140\x69\x64\x60\x20\151\156\x74\50\x31\x31\51\x20\116\117\x54\40\x4e\x55\x4c\114\40\x41\x55\124\117\137\x49\116\x43\x52\x45\115\x45\116\124\73"); $connx->exec("\x49\116\x53\105\122\124\x20\x49\116\124\x4f\x20\x60\x64\x62\142\137\x67\x72\157\x75\160\x60\x20\x28\140\x69\144\140\x2c\x20\x60\156\141\155\x65\x60\54\x20\x60\144\x65\146\141\165\154\164\x60\54\40\x60\143\x6f\154\x6f\162\x60\x2c\40\140\x70\x6f\x73\x69\164\x69\157\156\140\54\x20\140\163\151\x6e\x63\145\x60\51\40\x56\101\114\x55\105\123\xa\x28\x31\x2c\x20\47\115\x65\x6d\142\145\162\x27\x2c\x20\61\x2c\x20\47\x23\x30\x32\70\60\x30\x30\x27\x2c\x20\x31\x2c\40\47\62\60\62\64\x2d\60\x31\55\x33\x31\40\x30\x34\x3a\62\x36\x3a\x35\x39\47\51\x2c\xa\x28\62\54\40\x27\102\117\x54\47\x2c\40\60\x2c\40\47\x23\143\x30\70\x34\x38\64\47\x2c\40\62\54\x20\47\62\x30\62\64\55\x30\61\x2d\x33\61\40\x30\x35\x3a\x32\x36\72\x35\71\x27\x29\54\12\50\x33\54\x20\x27\101\144\155\x69\156\x27\x2c\40\x30\x2c\x20\47\x23\143\x37\64\144\66\65\x27\54\40\63\54\x20\x27\x32\x30\62\64\55\x30\x31\x2d\63\x31\40\x30\x38\72\63\x34\72\x31\64\47\51\54\xa\x28\x34\54\40\47\103\x75\x73\x74\157\x6d\x65\162\x27\54\40\60\x2c\40\x27\x23\65\67\x62\66\146\146\x27\x2c\x20\x36\x2c\x20\x27\62\x30\62\64\55\60\61\55\63\x31\40\x31\60\72\60\60\72\65\71\x27\x29\54\12\50\x35\54\x20\x27\104\x65\166\145\x6c\157\x70\145\x72\x27\x2c\x20\60\54\40\x27\x23\x66\x66\67\x35\67\x35\47\54\40\x35\x2c\x20\x27\x32\60\x32\64\x2d\x30\61\55\x33\61\40\61\x31\72\60\x30\72\65\x39\47\x29\x2c\12\x28\66\54\x20\47\117\x77\156\x65\x72\x27\54\x20\60\54\40\47\43\142\70\x34\62\x34\x32\x27\x2c\40\x34\54\x20\47\62\60\62\x34\55\60\62\55\x30\x36\40\x30\x32\x3a\x35\65\x3a\x34\x31\47\x29\73"); } try { $insertionSQL = $connx->prepare("\104\105\123\x43\122\111\x42\105\x20\x60\144\142\x62\137\147\162\157\165\x70\x5f\160\145\x72\x6d\151\x73\163\151\157\x6e\x60"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\103\x52\105\101\124\105\x20\x54\101\x42\114\105\40\140\144\x62\x62\137\x67\x72\157\165\x70\137\160\145\x72\155\151\x73\163\151\x6f\x6e\x60\40\50\12\40\40\140\x69\x64\x60\40\x69\x6e\164\40\116\117\124\x20\x4e\125\114\114\54\12\40\40\140\147\162\157\165\160\140\x20\151\x6e\x74\x20\116\x4f\124\x20\x4e\125\x4c\114\54\12\40\40\x60\x70\x65\162\155\151\x73\x73\151\157\156\x60\40\164\145\x78\x74\40\116\117\x54\40\116\125\114\114\54\xa\40\x20\140\x73\x69\x6e\143\145\140\40\144\141\x74\x65\x74\x69\x6d\x65\40\x4e\x4f\124\40\x4e\x55\x4c\x4c\x20\104\x45\x46\x41\x55\x4c\124\x20\103\125\122\x52\x45\x4e\x54\x5f\124\111\115\x45\x53\x54\x41\x4d\x50\x2c\xa\11\x9\120\122\111\115\101\122\x59\x20\x4b\105\131\x20\x28\140\151\x64\x60\51\x29\12\x9\x9\x45\x4e\107\x49\116\105\x20\x3d\x20\111\156\156\157\x44\102\12\x9\x9\x44\x45\106\101\x55\x4c\124\x20\103\110\x41\x52\x41\103\124\105\x52\40\123\105\124\40\x3d\x20\x75\164\146\70"; $connx->exec($insertionList); $connx->exec("\x41\x4c\124\105\x52\x20\124\101\x42\x4c\105\x20\x60\x64\142\142\137\147\162\157\165\x70\x5f\160\145\x72\x6d\x69\x73\163\x69\157\156\x60\x20\115\x4f\x44\111\x46\x59\x20\x60\151\144\140\40\151\156\164\50\61\61\x29\40\116\x4f\124\40\116\x55\114\114\x20\101\125\x54\x4f\137\x49\116\103\x52\105\115\x45\116\x54\73"); $connx->exec("\x49\116\x53\105\122\124\40\x49\116\124\x4f\x20\x60\x64\142\x62\137\x67\162\157\x75\x70\x5f\x70\145\x72\x6d\151\163\163\x69\157\156\140\x20\50\140\x69\x64\140\54\40\x60\147\x72\157\165\x70\140\54\40\140\x70\x65\162\x6d\x69\163\x73\151\157\x6e\140\54\x20\x60\x73\151\x6e\x63\x65\140\51\x20\x56\101\114\x55\105\x53\xa\50\x31\x2c\x20\x34\54\x20\47\x64\142\x62\56\141\144\155\x69\156\x2e\154\x69\143\x65\x6e\163\x65\x27\x2c\40\x27\x32\60\x32\x34\x2d\60\62\x2d\x30\63\40\x31\x32\x3a\x35\61\x3a\x35\70\x27\x29\x2c\12\50\62\54\x20\64\54\x20\x27\144\x62\142\x2e\x61\144\155\x69\x6e\x2e\154\x69\143\x65\156\x73\x65\56\x63\x72\x65\141\x74\x65\x27\x2c\x20\47\x32\x30\62\x34\55\x30\62\x2d\x30\x33\x20\x31\62\x3a\x35\x31\x3a\x35\x38\47\51\x2c\12\x28\63\x2c\x20\x34\54\40\x27\x64\142\142\56\141\144\x6d\x69\x6e\x2e\x6c\151\x63\x65\x6e\163\145\x2e\145\x64\151\x74\x27\x2c\40\47\x32\x30\62\x34\55\x30\x32\x2d\x30\x33\x20\61\x32\x3a\x35\x32\72\x32\64\x27\x29\54\12\50\x34\x2c\x20\64\x2c\40\47\x64\x62\x62\x2e\x61\x64\155\x69\156\x2e\x6c\151\143\145\156\163\x65\x2e\145\162\x61\163\x65\47\54\40\47\62\x30\x32\64\55\60\62\55\x30\x33\40\x31\x32\x3a\65\x32\72\x32\x34\47\x29\x2c\xa\50\65\54\x20\x34\54\40\x27\144\142\142\56\141\144\x6d\151\x6e\56\x6c\151\143\145\x6e\x73\x65\x2e\x63\154\x6f\x6e\145\x27\54\x20\x27\62\x30\x32\64\x2d\x30\x32\55\60\x33\40\61\62\72\65\x31\72\65\70\47\x29\54\xa\x28\66\54\x20\x34\x2c\x20\x27\144\142\142\56\141\x64\155\151\x6e\x2e\154\x69\x63\145\x6e\x73\x65\x2e\162\x65\147\x65\156\145\162\141\164\145\47\x2c\x20\x27\x32\x30\62\64\x2d\x30\62\x2d\x30\63\40\x31\x32\72\65\x31\72\x35\70\x27\51\54\xa\50\x37\x2c\x20\x34\54\x20\x27\144\142\142\x2e\141\144\x6d\151\x6e\56\154\151\x63\145\x6e\163\x65\x2e\x72\145\163\x65\x74\x6c\x6f\x67\163\47\54\x20\47\62\60\x32\64\x2d\60\x32\x2d\60\x33\x20\x31\62\72\65\x32\72\x32\64\x27\x29\x2c\12\50\x38\x2c\x20\x34\x2c\40\47\144\x62\142\56\x61\x64\155\x69\x6e\x2e\154\151\143\x65\x6e\163\x65\56\x72\145\163\145\x74\151\160\163\47\54\40\x27\x32\60\x32\x34\55\x30\x32\55\x30\63\40\x31\62\x3a\65\x32\x3a\62\64\47\51\54\xa\x28\x39\54\x20\x34\54\40\47\x64\x62\142\x2e\141\x64\155\151\156\56\154\x69\x63\x65\156\x73\145\56\x6f\164\x68\x65\162\x27\54\40\47\62\x30\62\x34\55\60\62\55\60\63\x20\x31\x32\72\65\62\72\x32\64\47\51\54\12\50\61\60\x2c\40\64\x2c\x20\47\144\x62\x62\x2e\x6c\151\x63\x65\156\163\x65\47\54\40\x27\x32\x30\62\64\x2d\x30\62\x2d\x30\63\40\61\62\72\65\x32\x3a\62\64\47\x29\x2c\xa\50\61\x31\x2c\x20\x34\54\x20\47\144\142\142\56\x64\x61\163\150\142\157\x61\x72\x64\x27\54\x20\47\62\x30\x32\x34\55\x30\62\x2d\60\x33\40\61\x32\x3a\65\x32\72\x32\x34\47\51\54\xa\x28\61\62\x2c\x20\x34\x2c\40\x27\144\x62\142\x2e\x61\144\155\x69\156\56\165\x73\145\162\x27\54\40\47\62\x30\x32\64\55\x30\x32\55\60\63\40\61\x32\x3a\x35\x32\72\62\64\47\x29\54\xa\50\61\63\54\40\x34\54\x20\x27\x64\x62\x62\56\141\144\x6d\x69\x6e\x2e\165\163\145\x72\x2e\145\144\151\x74\x27\x2c\x20\x27\x32\60\x32\64\55\x30\x32\x2d\60\63\x20\61\62\72\65\62\72\x32\64\47\51\54\12\x28\61\64\x2c\x20\64\54\40\x27\x64\x62\142\x2e\x61\144\x6d\x69\x6e\x2e\x75\163\x65\x72\56\x65\x72\x61\x73\145\47\54\40\x27\62\60\62\64\55\60\x32\55\60\x33\40\61\62\x3a\65\62\72\x32\64\x27\51\x2c\12\50\x31\x35\54\40\x34\x2c\40\x27\144\x62\142\56\x61\144\x6d\x69\x6e\56\165\x73\x65\162\x2e\147\162\157\165\160\x27\x2c\40\x27\62\x30\62\64\55\x30\x32\x2d\60\x33\x20\61\62\72\x35\x32\x3a\x32\64\x27\x29\54\xa\x28\x31\x36\x2c\x20\x34\x2c\x20\x27\x64\142\142\x2e\x61\x64\x6d\151\x6e\x2e\x70\162\157\x64\x75\143\164\x27\54\x20\x27\62\x30\62\x34\x2d\60\x32\55\60\63\x20\61\62\x3a\x35\x32\72\x32\x34\47\x29\x3b"); $connx->exec("\111\116\123\x45\x52\x54\40\111\x4e\124\x4f\40\x60\x64\x62\x62\x5f\x67\x72\x6f\x75\160\137\160\145\162\155\151\163\163\x69\x6f\156\x60\40\x28\140\151\x64\x60\54\x20\x60\147\x72\157\x75\160\x60\x2c\40\140\160\x65\162\x6d\151\163\163\151\x6f\x6e\140\54\40\x60\x73\151\x6e\143\145\x60\51\40\x56\x41\114\x55\105\123\12\50\x31\x37\x2c\40\x34\54\x20\x27\x64\x62\142\x2e\x61\144\155\x69\x6e\x2e\160\162\x6f\x64\x75\x63\x74\56\145\144\151\x74\47\54\x20\47\62\x30\62\64\x2d\60\62\x2d\x30\x33\x20\x31\62\72\65\x32\x3a\62\64\47\51\x2c\xa\50\x31\x38\54\x20\x34\x2c\x20\x27\144\x62\142\x2e\141\144\x6d\x69\156\56\160\x72\x6f\x64\x75\x63\x74\56\143\154\x6f\x6e\x65\x27\x2c\x20\x27\x32\60\62\64\55\x30\62\55\60\63\40\61\x32\x3a\x35\62\x3a\x32\x34\47\51\x2c\xa\x28\x31\71\54\x20\64\54\40\x27\144\142\x62\x2e\141\x64\155\151\156\56\160\162\157\144\165\143\164\x2e\x65\x72\141\163\145\47\x2c\x20\47\62\60\x32\64\55\x30\62\x2d\60\63\x20\x31\x32\x3a\65\62\x3a\62\x34\x27\x29\x2c\12\x28\x32\x30\x2c\x20\64\54\40\x27\x64\142\142\x2e\x61\x64\x6d\151\x6e\x2e\x67\x72\157\x75\x70\47\54\40\x27\x32\60\62\x34\55\x30\62\55\x30\x33\40\x31\62\72\x35\x32\x3a\62\x34\47\x29\54\12\x28\x32\x31\x2c\40\x34\54\40\x27\x64\x62\142\56\x61\x64\155\x69\156\x2e\147\x72\157\165\160\x2e\x65\144\151\164\47\x2c\x20\x27\62\x30\x32\64\x2d\60\x32\x2d\60\63\x20\x31\62\72\65\62\72\x32\64\x27\x29\x2c\12\x28\x32\x32\54\x20\x34\x2c\40\47\144\x62\x62\x2e\141\x64\155\x69\156\56\x67\x72\x6f\x75\160\x2e\145\x72\x61\x73\x65\47\54\x20\47\x32\60\62\x34\x2d\x30\x32\55\60\x33\40\x31\62\x3a\65\x32\72\x32\x34\47\x29\x2c\12\50\x32\x33\54\x20\64\x2c\x20\47\x64\x62\142\x2e\141\144\x6d\151\x6e\x2e\x67\x72\x6f\x75\160\x2e\x6d\x6f\x76\x65\47\54\x20\47\62\60\x32\64\55\60\62\x2d\x30\x33\40\x31\62\x3a\x35\x32\x3a\x32\x34\47\x29\x2c\xa\50\x32\64\54\40\64\x2c\x20\x27\x64\x62\142\x2e\141\144\x6d\x69\x6e\56\x63\x6f\144\145\x27\54\40\x27\62\x30\62\x34\55\60\62\55\x30\63\x20\61\62\72\x35\x32\x3a\x32\64\x27\x29\54\12\50\62\x35\54\40\64\54\40\47\x64\142\142\56\x61\144\x6d\151\156\56\143\x6f\144\145\x2e\145\144\x69\x74\x27\54\x20\47\62\x30\62\x34\x2d\60\x32\55\60\x33\x20\61\x32\72\x35\62\x3a\x32\64\x27\51\x2c\xa\50\62\x36\54\40\x34\x2c\x20\x27\x64\x62\x62\56\141\x64\155\x69\156\56\x63\157\x64\145\x2e\145\x72\141\x73\145\47\x2c\x20\47\62\60\x32\64\x2d\60\62\55\60\x33\40\61\x32\72\65\x32\72\x32\x34\47\x29\x2c\12\x28\62\x37\54\40\64\54\x20\x27\144\142\142\x2e\141\x64\x6d\x69\156\x2e\141\x62\x6f\165\164\x27\x2c\40\x27\62\60\x32\64\x2d\60\x32\x2d\60\63\x20\x31\62\72\65\x32\72\x32\x34\47\x29\x2c\xa\x28\62\x38\54\40\x34\54\x20\47\x64\x62\142\56\x61\144\155\151\156\56\x70\162\x6f\144\x75\x63\x74\x2e\x63\162\x65\x61\x74\145\x27\54\x20\47\x32\x30\62\64\x2d\60\x32\55\60\63\x20\61\x32\72\65\62\72\x32\64\47\51\x2c\xa\x28\x32\x39\54\40\64\x2c\40\x27\x64\x62\x62\56\141\x64\155\x69\x6e\56\x67\x72\157\165\160\56\x63\162\x65\x61\164\145\47\x2c\x20\47\62\x30\62\64\55\60\62\55\60\63\x20\x31\62\72\65\x32\72\x32\x34\x27\51\54\12\x28\x33\60\x2c\40\64\54\40\x27\144\x62\142\x2e\x61\144\x6d\151\x6e\x2e\143\157\x64\x65\x2e\x63\x72\x65\x61\x74\x65\x27\54\x20\47\62\60\x32\x34\55\60\x32\55\x30\x33\x20\x31\x32\x3a\x35\x32\72\x32\x34\47\x29\x2c\xa\x28\63\61\54\x20\64\54\x20\47\144\x62\142\56\141\x64\155\151\x6e\56\147\162\157\x75\160\x2e\x70\x65\162\155\151\163\x73\151\x6f\156\56\x65\x64\x69\164\x27\x2c\40\47\62\60\x32\64\55\60\62\x2d\60\x36\x20\x32\60\x3a\x34\70\72\x33\63\x27\x29\x2c\12\50\x33\62\54\x20\x34\x2c\40\x27\x64\142\142\56\141\x64\155\x69\156\x2e\x67\162\x6f\x75\160\x2e\x67\x69\x76\145\47\x2c\x20\47\62\60\x32\64\x2d\60\62\55\x30\x36\x20\x32\60\x3a\x35\61\x3a\65\70\x27\51\x2c\xa\50\63\63\x2c\40\x34\x2c\x20\x27\144\x62\142\56\141\x64\x6d\x69\156\56\x63\x6c\x65\141\162\56\x72\x65\x71\165\x65\x73\164\47\54\40\x27\62\60\x32\x34\x2d\60\x32\x2d\60\66\40\62\60\72\x35\65\x3a\63\63\x27\x29\54\12\50\x33\x34\x2c\x20\64\x2c\40\47\144\x62\142\x2e\141\x64\155\151\156\56\143\x6c\145\141\x72\x2e\144\x65\166\151\x63\x65\x73\x27\x2c\40\47\x32\60\62\x34\55\x30\62\x2d\60\63\40\62\60\x3a\65\67\x3a\65\x38\47\x29\x2c\12\50\x33\x35\x2c\x20\x34\54\40\47\x64\x62\x62\56\141\x64\155\x69\156\x2e\x70\x72\157\x64\x75\x63\164\x2e\165\160\x64\x61\164\x65\47\54\40\47\x32\x30\x32\64\55\60\62\x2d\60\67\40\62\x31\x3a\65\67\x3a\65\70\x27\51\x2c\12\x28\63\66\54\x20\x31\54\40\x27\x64\x62\x62\x2e\x6c\151\143\x65\156\x73\145\x27\54\x20\x27\x32\x30\62\x34\x2d\60\x32\x2d\60\67\40\62\61\x3a\65\x37\x3a\65\x38\x27\51\54\xa\50\x33\x38\54\x20\64\54\40\47\144\x62\x62\x2e\144\x6f\167\x6e\x6c\x6f\141\x64\47\54\40\x27\x32\60\x32\64\x2d\x30\62\x2d\x30\63\40\61\x32\72\65\x32\x3a\62\x34\47\x29\x2c\xa\50\x33\x39\x2c\40\x34\x2c\x20\47\x64\x62\142\x2e\x64\x6f\167\156\154\x6f\x61\x64\56\157\164\150\x65\162\47\54\40\47\62\60\x32\x34\x2d\60\62\55\x30\63\x20\61\62\72\x35\x32\x3a\x32\64\x27\x29\54\xa\50\64\60\x2c\40\x34\x2c\x20\x27\144\x62\142\56\141\144\x6d\x69\156\56\x67\162\157\165\x70\56\165\x73\x65\x72\x2e\145\x72\141\x73\145\47\x2c\40\47\x32\60\x32\x34\55\60\x32\x2d\x31\67\x20\61\x31\x3a\x34\x39\72\x30\x32\x27\51\54\xa\x28\64\x31\x2c\40\x34\x2c\40\47\x64\142\142\56\141\144\x6d\x69\156\56\147\x72\157\165\160\56\x75\x73\145\x72\x2e\x65\x64\x69\x74\47\x2c\x20\x27\x32\60\x32\64\55\60\x32\x2d\x31\x37\40\61\61\72\x34\71\72\60\62\x27\x29\x2c\12\50\x34\62\54\40\64\x2c\40\x27\x64\x62\142\56\x61\x64\155\x69\x6e\x2e\147\162\157\x75\160\56\160\x65\162\x6d\151\163\163\151\x6f\156\x2e\x65\x72\141\163\x65\x27\54\x20\x27\x32\x30\x32\64\55\x30\62\x2d\x31\67\40\x31\61\72\x34\71\x3a\61\67\47\x29\54\12\50\64\63\54\x20\x34\54\40\x27\144\x62\x62\x2e\141\x64\155\x69\156\56\x67\x72\157\165\x70\x2e\x70\x65\162\x6d\151\x73\163\x69\x6f\x6e\x2e\x61\x64\144\47\54\x20\x27\62\x30\62\64\55\x30\62\55\x32\x31\x20\x30\x38\x3a\x32\x39\72\x31\66\x27\51\x2c\xa\x28\x34\x34\x2c\x20\x34\x2c\x20\x27\144\x62\142\x2e\x61\x64\155\151\156\56\165\x73\x65\x72\x2e\x65\x64\x69\164\x27\54\x20\x27\x32\x30\62\64\x2d\60\62\55\x32\61\x20\61\64\x3a\62\64\x3a\x30\71\x27\51\54\xa\x28\64\65\54\x20\64\54\x20\47\x64\142\x62\x2e\141\144\x6d\x69\156\x2e\147\x72\157\165\x70\x2e\165\x73\145\162\56\x61\144\144\x27\x2c\40\x27\x32\x30\62\x34\x2d\x30\62\55\x32\x32\x20\x31\63\72\61\71\x3a\61\61\47\51\54\xa\50\x34\66\54\x20\64\x2c\x20\47\x64\x62\x62\x2e\141\144\x6d\x69\156\x2e\143\x6f\x64\145\x2e\143\x72\145\x61\x74\x65\56\x61\x64\144\x6f\156\x73\x27\x2c\x20\47\62\60\x32\64\55\60\62\55\x32\x33\40\61\63\72\65\60\72\x31\71\47\51\54\xa\50\x34\67\54\40\64\54\x20\47\144\142\142\x2e\141\x64\155\x69\x6e\56\x63\157\144\x65\x2e\x63\x72\145\141\x74\x65\56\x6c\151\x63\x65\x6e\x73\x65\47\54\x20\47\x32\x30\62\64\55\60\x32\55\x32\63\40\x31\63\72\x35\x30\x3a\62\60\x27\x29\54\xa\50\x34\70\54\x20\x34\x2c\40\x27\144\142\x62\56\141\144\x6d\x69\156\56\143\157\144\x65\56\143\162\145\x61\x74\x65\56\x72\x65\x71\x75\x65\x73\x74\x27\x2c\40\x27\x32\x30\62\64\55\x30\62\x2d\x32\x34\40\62\60\72\61\60\x3a\x30\70\47\x29\x3b"); } try { $insertionSQL = $connx->prepare("\x44\105\x53\x43\122\111\102\x45\x20\x60\144\x62\x62\137\147\x72\x6f\165\x70\137\165\x73\145\162\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\103\x52\105\101\124\105\40\x54\x41\x42\114\x45\40\x60\x64\142\x62\137\x67\x72\157\165\160\137\165\x73\145\162\x60\x20\x28\12\40\40\140\x69\x64\140\40\x69\x6e\164\40\116\x4f\x54\40\116\125\x4c\114\x2c\12\40\x20\x60\147\162\157\x75\x70\140\40\151\156\x74\40\x4e\117\124\40\116\125\114\114\x2c\12\x20\x20\x60\165\163\x65\162\x60\40\x69\156\164\x20\116\x4f\124\x20\116\x55\x4c\114\54\xa\x20\40\x60\163\x69\x6e\143\145\x60\x20\144\141\x74\x65\164\x69\155\x65\40\x44\x45\106\101\x55\x4c\x54\x20\103\x55\x52\122\x45\116\x54\x5f\124\111\x4d\x45\123\124\101\x4d\120\x2c\12\x9\11\x50\122\x49\x4d\101\x52\131\x20\113\105\x59\x20\50\140\151\144\x60\x29\x29\xa\x9\x9\x45\x4e\107\x49\116\x45\x20\x3d\x20\x49\156\x6e\157\x44\102\12\x9\11\104\105\x46\x41\x55\114\x54\40\x43\110\x41\122\x41\x43\x54\105\122\x20\123\105\x54\x20\x3d\x20\x75\164\146\x38"; $connx->exec($insertionList); $connx->exec("\x41\x4c\124\105\x52\40\124\101\x42\x4c\x45\x20\140\x64\142\142\137\147\162\x6f\165\x70\x5f\x75\x73\145\162\140\x20\115\x4f\x44\x49\x46\131\40\140\151\x64\x60\x20\x69\x6e\x74\x28\x31\61\x29\40\116\x4f\x54\40\x4e\x55\114\114\40\x41\125\124\x4f\x5f\111\116\103\x52\x45\x4d\x45\116\124\73"); $connx->exec("\111\116\123\x45\x52\124\40\x49\x4e\124\x4f\40\x60\x64\x62\x62\137\x67\x72\x6f\x75\x70\x5f\165\163\145\162\140\40\50\140\151\144\140\54\40\140\x67\x72\x6f\165\160\x60\x2c\40\x60\165\x73\x65\162\x60\54\40\x60\163\x69\x6e\143\145\140\51\x20\x56\x41\114\125\x45\40\x28\x31\54\40\x34\54\40\61\54\x20\47\62\60\62\64\55\60\62\55\x30\x32\40\x30\x38\72\64\70\x3a\65\64\47\51\x3b"); $connx->exec("\x49\116\123\105\x52\124\x20\x49\116\x54\x4f\40\140\144\142\142\x5f\x67\x72\x6f\x75\160\137\x75\163\145\x72\x60\x20\x28\140\x69\x64\x60\54\x20\x60\x67\x72\x6f\165\x70\x60\x2c\x20\140\x75\x73\x65\x72\x60\x2c\40\x60\x73\x69\156\143\x65\140\x29\40\x56\101\x4c\x55\x45\x20\50\62\x2c\40\64\x2c\x20\x32\x2c\x20\x43\x55\122\x52\x45\x4e\x54\137\x54\111\115\x45\x53\124\x41\115\120\51\73"); } try { $insertionSQL = $connx->prepare("\104\105\123\103\x52\111\102\105\40\140\x64\142\142\137\x68\x69\163\x74\x6f\x72\171\137\151\x70\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\x43\x52\x45\101\124\105\40\124\x41\x42\114\105\x20\x60\144\142\142\137\x68\151\163\164\157\162\x79\137\151\160\x60\40\x28\12\40\x20\140\x69\144\x60\40\x69\x6e\164\x20\x4e\x4f\x54\x20\x4e\x55\114\x4c\54\12\40\40\x60\165\x73\145\162\x60\40\x69\x6e\164\40\x4e\x4f\x54\x20\x4e\125\x4c\x4c\x2c\xa\x20\40\x60\151\x70\x60\40\164\145\x78\x74\x20\116\117\x54\40\x4e\125\114\114\x2c\xa\x20\40\x60\x63\157\165\156\x74\x72\171\x60\40\x76\141\x72\143\x68\x61\x72\50\x38\x29\x20\x4e\x4f\x54\x20\x4e\x55\x4c\114\54\12\40\x20\x60\x74\157\153\145\156\x60\x20\x76\141\x72\x63\150\141\162\x28\x34\x38\51\40\x44\x45\x46\101\125\x4c\x54\x20\116\x55\114\x4c\54\12\x20\40\x60\x73\164\141\x74\165\163\140\40\x69\156\x74\40\116\117\x54\x20\116\125\114\114\40\x44\x45\x46\x41\x55\x4c\124\x20\x27\x31\x27\54\12\x20\40\140\x73\151\156\x63\145\x60\x20\144\141\x74\x65\x74\151\x6d\x65\40\x4e\117\x54\40\116\x55\114\114\40\x44\105\106\101\125\x4c\x54\40\x43\x55\x52\x52\105\116\124\x5f\x54\x49\115\x45\123\x54\101\115\x50\x2c\xa\11\11\120\x52\x49\x4d\101\122\x59\x20\x4b\x45\131\x20\x28\140\x69\144\x60\x29\51\xa\x9\x9\105\x4e\107\111\116\x45\40\x3d\40\x49\x6e\x6e\x6f\104\x42\xa\11\x9\104\x45\106\x41\x55\114\124\x20\103\x48\x41\x52\x41\103\x54\105\122\x20\123\x45\124\40\x3d\x20\x75\164\x66\x38"; $connx->exec($insertionList); $connx->exec("\101\x4c\124\105\122\40\x54\x41\x42\114\x45\40\x60\x64\x62\142\x5f\150\x69\x73\164\x6f\162\x79\137\x69\160\140\40\x4d\x4f\x44\111\x46\131\x20\140\151\144\x60\40\x69\156\164\x28\x31\61\x29\x20\116\117\x54\40\x4e\x55\114\x4c\40\101\125\124\117\x5f\x49\x4e\x43\x52\x45\x4d\x45\x4e\124\x3b"); } try { $insertionSQL = $connx->prepare("\104\x45\x53\103\122\111\102\x45\x20\x60\x64\142\142\137\x6c\x69\x63\145\156\163\x65\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\103\x52\105\101\x54\105\40\x54\x41\102\x4c\x45\40\x60\144\x62\x62\137\x6c\x69\143\145\156\163\145\140\x20\50\xa\x20\40\140\151\144\x60\x20\x69\x6e\164\x20\x4e\117\124\40\x4e\125\x4c\114\x2c\12\40\x20\140\x63\x6c\x69\145\x6e\x74\x60\x20\164\x65\170\164\x20\x4e\117\124\40\x4e\125\x4c\114\x2c\12\40\x20\x60\x6b\145\171\140\40\x74\145\170\164\x20\x4e\117\x54\40\116\x55\114\114\54\12\x20\x20\x60\x70\162\157\144\x75\143\x74\140\40\164\145\x78\x74\40\116\x4f\x54\40\x4e\125\114\x4c\x2c\xa\x20\x20\x60\145\x78\160\151\162\x65\140\40\142\151\x67\151\x6e\164\40\116\117\124\x20\x4e\x55\x4c\x4c\54\xa\40\x20\140\x69\x70\140\x20\164\145\170\x74\40\103\x48\101\x52\x41\103\124\105\122\x20\x53\x45\124\x20\x75\164\x66\70\x6d\142\x34\54\xa\40\40\x60\x61\143\x74\x69\166\x69\164\171\x60\40\x74\x65\x78\164\x20\103\x48\x41\x52\x41\103\x54\x45\122\40\123\105\124\40\165\x74\x66\x38\x6d\x62\64\54\xa\x20\40\140\163\164\x61\x74\165\163\x60\x20\151\156\x74\x20\x4e\117\124\40\116\x55\x4c\114\40\104\105\x46\101\x55\x4c\124\40\x27\61\x27\54\xa\40\x20\x60\x61\144\x64\157\x6e\163\x60\x20\x76\x61\162\143\150\141\162\50\x33\62\51\x20\x43\110\101\122\x41\x43\124\105\x52\x20\123\105\x54\40\x75\164\x66\70\155\142\64\40\x4e\x4f\124\40\x4e\x55\x4c\x4c\x20\x44\105\106\101\x55\114\124\x20\47\65\43\x31\x23\61\x23\61\x23\x30\x23\x30\x23\x30\x23\60\47\54\xa\x20\x20\x60\x63\165\163\x74\157\x6d\x5f\x61\144\x64\157\x6e\x73\x60\x20\x74\x65\x78\x74\54\12\40\x20\x60\162\x65\141\163\157\156\x60\x20\x74\145\x78\164\54\xa\40\x20\140\163\151\x6e\143\x65\x60\x20\144\x61\x74\145\x74\x69\155\x65\40\x4e\117\x54\x20\116\125\114\x4c\x20\104\x45\x46\101\x55\114\x54\x20\103\125\x52\122\105\116\x54\137\x54\x49\115\105\123\124\x41\115\120\54\xa\11\11\x50\x52\x49\x4d\x41\122\x59\x20\113\105\x59\40\50\140\x69\144\x60\x29\51\12\x9\11\x45\116\x47\111\x4e\105\40\x3d\x20\x49\156\156\157\104\x42\xa\11\11\x44\105\x46\101\x55\114\x54\x20\x43\110\101\x52\101\x43\x54\105\x52\40\123\x45\x54\40\75\40\165\x74\146\x38"; $connx->exec($insertionList); $connx->exec("\101\114\124\105\x52\40\124\101\102\x4c\x45\x20\140\144\142\x62\137\x6c\x69\143\x65\156\x73\x65\x60\40\115\117\x44\111\106\x59\40\140\x69\144\x60\x20\x69\156\164\x28\61\x31\51\40\x4e\x4f\x54\x20\x4e\x55\x4c\x4c\x20\101\125\124\117\137\111\116\103\x52\105\115\x45\116\x54\x3b"); } try { $insertionSQL = $connx->prepare("\104\105\123\103\122\111\102\x45\x20\x60\144\x62\x62\x5f\154\157\x67\163\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\103\x52\105\101\124\x45\40\124\x41\x42\114\105\40\140\x64\x62\142\x5f\x6c\x6f\x67\163\140\40\x28\12\40\x20\140\x69\144\x60\40\151\156\164\40\116\117\x54\40\x4e\x55\x4c\x4c\x2c\xa\40\x20\140\x74\x79\x70\x65\140\40\166\x61\x72\143\x68\141\x72\x28\x36\x34\51\40\x4e\x4f\124\40\x4e\125\x4c\x4c\54\12\40\x20\140\165\163\x65\x72\x60\40\x76\x61\x72\143\150\x61\x72\x28\61\62\70\51\40\x43\110\101\x52\x41\x43\x54\105\122\x20\x53\105\x54\40\165\164\146\x38\x6d\142\x34\x20\104\105\106\x41\125\x4c\x54\40\x4e\x55\x4c\114\54\xa\40\40\x60\x6c\x69\x63\x65\156\x73\145\140\40\166\x61\x72\143\150\141\x72\x28\x32\x35\x36\x29\x20\103\110\x41\x52\101\x43\x54\x45\x52\40\123\x45\124\x20\x75\x74\146\70\155\x62\x34\x20\104\x45\x46\x41\x55\x4c\124\x20\x4e\x55\x4c\114\54\xa\x20\40\x60\151\160\x60\40\164\145\170\164\x2c\xa\40\40\140\166\141\x6c\165\145\140\40\x74\145\x78\x74\40\103\110\101\122\101\x43\124\x45\x52\x20\x53\105\124\x20\165\x74\x66\x38\155\142\64\x2c\12\40\x20\140\x73\x74\x61\x74\165\x73\140\40\x76\x61\x72\143\150\141\162\x28\x33\62\51\x20\116\x4f\x54\x20\x4e\125\x4c\114\x2c\12\40\x20\x60\x74\x69\x6d\x65\x60\40\142\151\x67\x69\156\164\x20\x44\x45\x46\101\x55\114\x54\x20\x4e\125\114\x4c\54\xa\40\x20\x60\145\x78\x70\151\x72\145\x60\x20\142\x69\x67\151\x6e\x74\40\104\105\x46\101\x55\x4c\124\40\116\x55\114\114\54\12\x20\x20\x60\163\151\x6e\x63\x65\x60\40\x64\x61\x74\145\x74\151\155\145\x20\116\117\124\x20\116\x55\114\114\40\104\x45\106\x41\125\114\124\40\103\125\122\x52\x45\116\124\137\124\111\x4d\105\123\124\101\115\120\x2c\12\11\11\120\x52\111\115\101\x52\x59\40\x4b\x45\131\x20\x28\x60\x69\x64\140\51\x29\xa\x9\11\x45\116\107\111\116\x45\x20\75\40\111\x6e\x6e\x6f\104\x42\xa\x9\11\x44\x45\x46\101\125\114\124\40\x43\x48\x41\x52\101\x43\124\x45\x52\40\x53\x45\124\40\75\x20\165\164\x66\70"; $connx->exec($insertionList); $connx->exec("\101\x4c\124\105\x52\x20\124\x41\102\x4c\105\40\x60\x64\x62\x62\x5f\154\157\147\163\x60\40\115\x4f\x44\111\x46\x59\40\140\x69\144\140\40\151\156\164\x28\61\61\x29\40\x4e\x4f\124\40\116\125\114\114\x20\x41\125\x54\117\x5f\111\x4e\x43\x52\105\115\105\116\x54\73"); } try { $insertionSQL = $connx->prepare("\104\105\x53\x43\x52\111\102\105\x20\x60\x64\142\x62\x5f\160\162\x6f\x64\165\143\x74\x60"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\x43\122\105\101\x54\x45\40\124\101\x42\x4c\x45\40\140\x64\x62\142\x5f\160\162\157\x64\165\x63\x74\x60\x20\x28\12\x20\40\140\151\144\140\x20\x69\x6e\x74\40\116\117\x54\x20\x4e\125\x4c\114\x2c\12\x20\x20\x60\151\x63\x6f\156\x5f\x62\x67\140\40\x76\x61\162\143\x68\x61\162\50\x36\64\x29\40\x4e\x4f\x54\x20\x4e\x55\x4c\x4c\x20\104\x45\106\x41\125\114\124\40\x27\151\x63\x6f\x6e\55\142\x6c\x75\145\55\163\x75\x61\x76\145\55\164\x65\170\x74\47\54\12\40\x20\x60\151\x63\157\156\x5f\x74\171\160\x65\x60\40\x69\156\x74\40\116\117\124\x20\x4e\x55\114\114\40\104\105\106\x41\125\x4c\124\x20\47\60\47\x2c\12\x20\x20\140\x69\143\x6f\x6e\x60\40\x74\145\170\164\x2c\xa\40\x20\x60\151\144\137\x6e\141\x6d\x65\140\x20\x74\x65\x78\x74\x2c\12\40\x20\x60\156\141\x6d\145\x60\x20\166\x61\162\143\150\141\162\50\61\x32\x38\x29\40\x4e\x4f\x54\x20\116\x55\114\114\54\xa\40\40\x60\x64\x65\x73\x63\162\x69\x70\x74\151\157\x6e\140\40\164\x65\170\164\x20\x43\110\x41\122\x41\x43\124\x45\122\x20\123\x45\124\x20\x75\x74\x66\70\155\142\x34\54\xa\40\40\x60\160\x72\151\143\145\140\x20\166\x61\x72\x63\x68\x61\x72\50\63\x32\x29\40\116\x4f\124\x20\116\x55\114\x4c\x20\104\x45\x46\x41\x55\114\x54\x20\x27\60\47\x2c\12\x20\x20\140\166\x65\162\163\x69\x6f\156\140\x20\166\x61\162\143\150\141\x72\x28\63\x32\x29\40\x4e\x4f\x54\40\116\x55\114\x4c\40\104\x45\x46\101\x55\x4c\x54\40\47\x31\56\60\x27\x2c\12\x20\40\x60\x73\x74\x61\164\x75\163\x60\x20\151\x6e\164\40\x4e\x4f\x54\x20\x4e\125\114\114\40\104\105\106\101\125\114\124\x20\x27\61\x27\54\xa\40\40\140\164\145\x62\145\x78\140\x20\x76\141\162\143\x68\141\x72\x28\x33\62\x29\x20\x44\x45\106\x41\125\114\x54\x20\x4e\125\x4c\114\x2c\12\x20\x20\140\163\151\x6e\143\x65\140\40\x64\141\x74\145\164\x69\x6d\145\40\116\117\x54\40\x4e\x55\114\114\x20\x44\x45\x46\101\125\x4c\124\40\x43\125\x52\122\105\116\124\x5f\124\111\x4d\x45\123\x54\x41\115\120\x2c\12\11\x9\x50\122\x49\x4d\101\122\x59\x20\x4b\x45\131\40\50\140\151\144\x60\x29\51\12\x9\x9\105\x4e\x47\111\x4e\x45\40\75\x20\x49\x6e\156\x6f\104\x42\12\x9\11\x44\105\106\101\125\114\124\40\x43\110\x41\x52\x41\103\x54\x45\x52\x20\x53\x45\124\40\x3d\40\165\x74\146\70"; $connx->exec($insertionList); $connx->exec("\x41\114\124\x45\122\40\x54\x41\x42\114\x45\40\x60\x64\x62\x62\x5f\160\162\157\x64\x75\x63\164\140\40\115\117\104\x49\x46\x59\40\x60\x69\x64\x60\40\x69\156\x74\50\x31\61\51\40\x4e\x4f\124\x20\116\x55\x4c\114\40\101\125\x54\117\x5f\x49\116\103\x52\x45\x4d\x45\116\x54\x3b"); } try { $insertionSQL = $connx->prepare("\x44\105\123\x43\122\111\x42\105\40\140\x64\x62\x62\x5f\x70\162\157\144\165\x63\x74\137\x61\x63\x74\x69\157\156\163\x60"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\x43\122\105\x41\124\105\x20\x54\x41\102\x4c\x45\x20\x60\144\x62\142\x5f\x70\162\157\x64\x75\x63\x74\137\141\143\x74\151\x6f\156\x73\x60\40\x28\12\x20\40\140\x69\144\140\x20\151\156\x74\x20\x4e\x4f\x54\x20\116\x55\x4c\x4c\x2c\12\x20\x20\140\x70\x72\157\144\165\x63\164\140\40\151\156\164\x20\116\x4f\x54\x20\x4e\x55\114\114\x2c\12\40\40\x60\x64\141\x74\x61\x60\40\164\x65\x78\164\x20\116\x4f\124\40\116\x55\114\114\x2c\12\40\x20\140\x73\151\156\143\145\x60\x20\144\141\x74\x65\164\x69\155\x65\x20\x4e\117\x54\40\x4e\125\x4c\x4c\x20\x44\105\106\101\125\x4c\x54\40\103\125\122\x52\105\x4e\x54\137\x54\111\115\x45\123\x54\101\x4d\x50\54\12\x9\x9\120\x52\x49\x4d\x41\x52\x59\x20\113\105\x59\x20\x28\x60\x69\144\140\51\51\xa\11\11\105\116\x47\x49\116\x45\x20\x3d\x20\x49\x6e\156\x6f\104\102\xa\x9\x9\x44\x45\x46\x41\125\x4c\124\x20\x43\110\101\122\x41\x43\x54\105\x52\40\123\105\x54\x20\75\x20\x75\x74\146\70"; $connx->exec($insertionList); $connx->exec("\x41\x4c\x54\105\122\40\124\101\102\x4c\x45\x20\x60\144\x62\x62\137\160\162\157\x64\x75\143\164\x5f\141\x63\164\151\157\156\163\x60\x20\115\117\x44\x49\x46\131\x20\x60\151\144\140\x20\151\x6e\x74\50\x31\x31\51\40\116\117\124\40\116\x55\114\114\40\x41\x55\x54\x4f\137\x49\x4e\103\x52\105\115\x45\116\124\x3b"); } try { $insertionSQL = $connx->prepare("\x44\105\x53\x43\122\111\x42\x45\x20\140\144\142\142\x5f\x70\x72\157\x64\x75\143\164\137\x75\160\144\141\x74\145\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\x43\122\x45\101\x54\105\40\124\x41\x42\114\105\40\x60\x64\x62\142\x5f\160\x72\157\x64\x75\x63\164\x5f\165\x70\x64\141\164\145\140\x20\x28\12\x20\40\140\151\144\140\40\x69\x6e\164\40\x4e\117\124\40\x4e\x55\x4c\x4c\x2c\xa\x20\x20\140\x75\163\x65\x72\x60\x20\151\156\164\40\116\117\x54\x20\116\125\114\114\54\12\x20\40\x60\160\162\x6f\144\x75\143\x74\140\40\x69\x6e\x74\40\116\x4f\124\40\x4e\x55\114\114\54\12\x20\40\140\x76\145\x72\x73\x69\x6f\156\x60\40\x76\x61\x72\143\150\x61\162\x28\x33\62\51\x20\x4e\117\124\40\116\125\x4c\114\x20\x44\105\106\x41\x55\x4c\x54\x20\47\61\x2e\x30\x27\54\12\x20\x20\140\x74\x69\x74\x6c\x65\x60\40\166\141\162\143\150\141\162\50\x31\x32\x38\x29\40\104\105\x46\101\125\114\x54\x20\116\x55\x4c\114\x2c\12\40\x20\140\x64\145\163\x63\x72\x69\x70\164\x69\x6f\x6e\x60\x20\164\145\x78\164\54\12\x20\x20\x60\146\151\x6c\x65\x60\40\x74\x65\x78\x74\54\xa\40\40\x60\x73\151\x6e\x63\145\x60\x20\x64\x61\x74\x65\x74\151\x6d\x65\40\x4e\117\x54\40\x4e\125\x4c\114\40\104\105\106\101\125\x4c\x54\40\103\125\122\122\x45\x4e\124\x5f\x54\x49\115\x45\123\124\x41\115\120\54\xa\x9\x9\120\x52\111\115\x41\122\131\x20\x4b\105\131\40\x28\x60\151\144\140\x29\x29\xa\x9\11\105\x4e\x47\111\x4e\105\40\75\x20\111\156\156\x6f\x44\x42\12\x9\11\x44\105\x46\x41\125\x4c\x54\x20\103\x48\x41\122\x41\103\x54\x45\122\40\x53\105\124\40\x3d\40\165\x74\x66\70"; $connx->exec($insertionList); $connx->exec("\x41\x4c\124\105\122\40\x54\101\x42\114\x45\40\x60\x64\142\x62\x5f\160\x72\157\x64\x75\x63\164\137\x75\160\144\x61\x74\x65\x60\40\115\x4f\104\x49\106\x59\x20\x60\x69\x64\140\x20\x69\156\164\50\61\x31\51\x20\116\x4f\x54\x20\x4e\125\114\x4c\x20\x41\125\124\x4f\137\111\116\x43\x52\105\115\105\116\124\x3b"); } try { $insertionSQL = $connx->prepare("\104\105\123\x43\122\111\102\105\x20\x60\144\142\142\x5f\164\x6f\x6b\145\x6e\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\x43\x52\105\x41\x54\105\x20\124\x41\x42\114\x45\x20\x60\144\x62\x62\137\164\157\153\145\x6e\140\40\x28\xa\40\x20\x60\x69\x64\140\40\x69\x6e\x74\40\x4e\117\x54\x20\116\125\114\114\x2c\12\x20\40\x60\165\x73\x65\x72\140\x20\151\156\x74\x20\x4e\x4f\124\x20\x4e\x55\114\x4c\54\xa\40\x20\140\151\160\x60\x20\x74\x65\170\x74\x20\116\117\x54\40\x4e\125\114\114\x2c\12\40\x20\140\x63\157\x75\x6e\164\x72\171\x60\x20\x76\141\162\x63\150\141\x72\50\70\51\x20\x44\105\106\x41\125\114\x54\x20\116\x55\114\114\x2c\12\40\x20\140\x74\157\153\145\156\140\40\166\141\x72\x63\x68\141\x72\50\x36\64\x29\40\116\x4f\x54\x20\116\125\x4c\x4c\x2c\12\x20\x20\x60\x61\143\x74\151\x76\x69\x74\171\x60\x20\166\x61\162\143\150\x61\x72\50\x33\62\x29\x20\104\x45\x46\101\125\x4c\124\x20\x4e\x55\114\x4c\x2c\xa\x20\40\140\x73\x74\x61\x74\165\x73\x60\x20\x69\156\x74\x20\116\117\124\x20\116\x55\x4c\x4c\x20\104\x45\x46\x41\x55\x4c\124\x20\x27\61\47\x2c\xa\x20\40\140\163\151\156\143\x65\x60\x20\x64\x61\164\x65\x74\151\x6d\x65\x20\x4e\117\x54\x20\x4e\125\x4c\114\x20\104\x45\106\x41\125\x4c\124\x20\103\125\x52\x52\105\116\x54\137\x54\111\115\105\x53\x54\101\x4d\x50\x2c\12\11\x9\120\122\x49\x4d\x41\x52\131\x20\x4b\x45\x59\40\x28\x60\x69\144\x60\x29\51\xa\11\11\105\116\x47\111\116\105\x20\x3d\x20\111\156\156\157\104\102\xa\x9\x9\104\105\106\101\x55\x4c\x54\x20\103\110\101\122\101\x43\124\105\122\40\x53\x45\x54\40\75\x20\x75\164\x66\70"; $connx->exec($insertionList); $connx->exec("\x41\114\x54\x45\122\40\x54\101\x42\114\105\40\x60\x64\142\x62\137\164\x6f\153\x65\156\x60\40\115\x4f\104\111\x46\x59\x20\140\x69\x64\x60\40\151\156\x74\50\61\61\51\x20\x4e\x4f\x54\x20\116\x55\114\114\x20\x41\125\124\117\137\x49\116\x43\x52\105\115\105\x4e\124\x3b"); } try { $insertionSQL = $connx->prepare("\104\x45\123\103\122\x49\x42\105\40\x60\144\x62\142\137\165\x73\x65\162\140"); $insertionSQL->execute(); } catch (PDOException $e) { $insertionList = "\103\x52\105\101\124\105\40\124\x41\x42\114\x45\x20\x60\x64\142\x62\x5f\x75\163\145\x72\140\x20\x28\xa\40\40\x60\x69\144\140\x20\151\x6e\x74\40\x4e\x4f\124\x20\116\x55\114\114\54\12\x20\x20\140\x75\x73\145\x72\x6e\x61\x6d\x65\x60\40\x74\x65\x78\164\40\x4e\x4f\x54\40\x4e\125\114\114\54\12\40\40\140\x70\141\x73\163\167\x6f\162\x64\140\x20\164\145\x78\x74\x20\x4e\x4f\x54\40\x4e\x55\114\x4c\x2c\12\x20\x20\140\x65\x6d\x61\x69\x6c\140\40\164\145\x78\x74\x20\103\110\x41\122\101\x43\124\105\x52\x20\x53\105\x54\40\165\164\x66\x38\x6d\142\x34\x20\x4e\x4f\124\x20\116\125\114\114\x2c\xa\40\40\140\x75\x64\x69\x64\140\40\166\x61\162\x63\150\x61\x72\50\x32\x30\x29\40\x4e\x4f\x54\40\x4e\125\114\x4c\54\12\40\x20\140\x61\166\x61\x74\141\162\x60\40\164\145\170\164\40\116\x4f\x54\x20\116\x55\x4c\114\54\12\x20\x20\x60\x73\145\143\x72\145\164\x5f\153\145\171\140\x20\166\x61\162\143\150\x61\162\50\x33\x32\x29\40\104\x45\106\x41\x55\x4c\x54\40\x4e\125\114\114\54\12\x20\40\x60\x6c\141\163\164\x5f\164\x6f\153\x65\156\140\x20\x76\141\162\x63\150\x61\162\x28\x34\70\51\x20\x44\x45\x46\x41\x55\114\124\40\x4e\125\x4c\114\x2c\xa\40\x20\140\x74\157\153\x65\x6e\x60\x20\x74\x65\170\x74\x2c\xa\40\40\140\x73\151\x6e\143\x65\140\x20\x64\141\x74\x65\x74\151\155\145\x20\x4e\117\124\x20\x4e\x55\114\x4c\x20\104\105\106\101\x55\x4c\x54\40\x43\125\x52\122\105\x4e\124\x5f\124\x49\115\x45\x53\x54\101\x4d\120\54\12\11\11\x50\x52\111\x4d\x41\122\x59\x20\x4b\x45\x59\x20\x28\x60\x69\x64\x60\51\51\xa\11\x9\105\x4e\107\111\x4e\x45\40\x3d\40\111\156\156\157\104\102\12\x9\x9\x44\105\x46\101\x55\x4c\x54\x20\103\110\101\x52\x41\103\x54\x45\122\x20\x53\x45\x54\x20\75\40\165\164\146\x38"; $connx->exec($insertionList); $connx->exec("\101\x4c\x54\x45\x52\40\124\x41\x42\114\x45\40\140\x64\x62\x62\137\165\x73\x65\162\140\40\115\117\x44\x49\106\x59\x20\140\x69\x64\140\40\x69\156\x74\50\61\x31\51\40\x4e\117\124\x20\x4e\125\114\114\40\101\x55\124\117\137\x49\x4e\103\x52\x45\x4d\x45\x4e\x54\x3b"); $connx->exec("\x49\x4e\x53\105\122\x54\x20\111\x4e\124\x4f\x20\140\144\x62\x62\137\165\x73\145\x72\x60\40\x28\x60\x69\144\x60\x2c\40\140\165\163\x65\162\x6e\x61\x6d\x65\x60\54\40\x60\160\x61\163\163\x77\157\x72\x64\x60\x2c\x20\140\x65\x6d\141\151\x6c\x60\x2c\40\140\x75\144\151\x64\x60\x2c\40\140\x61\166\141\164\141\x72\140\x2c\40\x60\x73\x65\143\162\145\164\137\153\145\x79\x60\54\40\140\x6c\x61\x73\x74\x5f\164\x6f\x6b\145\x6e\140\54\40\x60\164\157\x6b\x65\x6e\x60\54\40\140\x73\151\x6e\x63\145\140\x29\40\x56\x41\x4c\x55\x45\123\40\50\61\x2c\x20\x27\126\165\x68\x70\47\54\40\47\x30\x34\x64\145\x62\x61\143\146\141\141\x36\142\70\63\x37\66\141\143\144\x34\x62\62\x32\63\141\x64\146\x39\x65\67\x36\x61\47\54\40\47\x6a\165\x61\156\x6d\x70\141\x6e\151\172\172\151\156\157\x40\147\155\x61\x69\154\56\x63\x6f\x6d\47\x2c\40\47\66\62\x33\63\60\70\x33\64\63\65\70\x32\x31\63\60\61\x38\x37\x27\x2c\x20\47\150\164\164\x70\x73\x3a\57\x2f\143\x64\156\56\x64\x69\163\143\x6f\x72\x64\x61\x70\x70\56\143\x6f\155\x2f\141\x76\141\164\x61\162\x73\57\66\62\x33\63\60\70\63\x34\x33\65\70\62\x31\x33\60\61\x38\67\57\145\143\143\61\x38\x35\x35\146\x63\x33\x63\x65\x66\x64\x39\x34\71\x37\x64\144\x33\143\x37\145\66\70\141\65\145\145\143\141\56\x70\x6e\147\x27\54\x20\47\117\71\x52\x4b\x68\127\x65\130\147\x6f\x33\x67\147\155\113\141\160\154\x32\x71\x34\146\x4c\x55\162\x42\117\123\114\x46\x5a\x6c\x27\54\40\x27\170\67\126\150\x45\x72\71\x6e\132\122\142\56\x33\111\60\x70\102\71\x36\x46\x54\x32\63\124\115\x75\x46\102\x6f\x7a\x56\x72\x27\x2c\40\47\x4d\x6f\155\153\x4f\107\153\171\x73\x57\x5a\x6a\115\117\x68\x49\x71\103\172\142\x48\x52\x38\114\162\x68\115\x66\162\x38\47\54\40\47\x32\x30\x32\x34\55\x30\x31\55\x32\x39\40\61\x35\x3a\62\71\72\x34\62\x27\x29\73"); } } goto pijGY; VDL2l: if ($_POST["\162\x65\163\165\x6c\164"] == "\166\145\162\x69\x66\171\120\145\x72\155\151\x73\x73\x69\157\156\163") { $filename = "\56\x2e\x2f\143\x6f\x6e\x66\151\147\x2e\x70\x68\160"; $filename2 = "\x2e\x2e\57\x70\141\x72\145\156\x74\x2f\x75\x70\x6c\x6f\141\144"; $filename3 = "\x2e\56\57\160\x61\x72\x65\156\x74\x2f\164\145\x62\145\x78\137\x70\141\171\155\145\x6e\x74\x73"; $permissions = fileperms($filename); $ownerWritable = ($permissions & 128) !== 0; $groupWritable = ($permissions & 16) !== 0; $otherWritable = ($permissions & 2) !== 0; if ($ownerWritable and $groupWritable and $otherWritable) { $config_perm = 1; } else { $config_perm = 0; } $permissions2 = fileperms($filename2); $ownerWritable2 = ($permissions2 & 128) !== 0; $groupWritable2 = ($permissions2 & 16) !== 0; $otherWritable2 = ($permissions2 & 2) !== 0; if ($ownerWritable2 and $groupWritable2 and $otherWritable2) { $parentupload_perm = 1; } else { $parentupload_perm = 0; } $permissions3 = fileperms($filename3); $ownerWritable3 = ($permissions2 & 128) !== 0; $groupWritable3 = ($permissions2 & 16) !== 0; $otherWritable3 = ($permissions2 & 2) !== 0; if ($ownerWritable3 and $groupWritable3 and $otherWritable3) { $tebex_perm = 1; } else { $tebex_perm = 0; } echo json_encode(array("\143\157\156\x66\151\147" => $config_perm, "\160\141\x72\145\x6e\164\137\x75\160\154\x6f\141\144" => $parentupload_perm, "\164\145\x62\x65\x78\x5f\x70\141\x79\x6d\145\156\x74\x73" => $tebex_perm)); return; } goto DgQ5O; GSU65: ?>

Function Calls

None

Variables

None

Stats

MD5 92fed61f7e30c67fce12f62777b0081b
Eval Count 0
Decode Time 169 ms