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 jdfDN; xTNQX: ini_set("\144\151\163\x70\x6c\141\171\137\145\x72\162\157\162\1..

Decoded Output download

<?php 
 goto jdfDN; xTNQX: ini_set("display_errors", "On"); goto bcHhe; wc5jQ: function createTable($mysqlServer, $dbName, $tableName, $fields) { $mysql = connectDatabase($mysqlServer, $dbName); $columnsString = ''; foreach ($fields as $field) { $columnsString .= mysqli_real_escape_string($mysql, $field) . ", "; } $columnsString = rtrim($columnsString, ", "); $sql = "CREATE TABLE IF NOT EXISTS {$tableName} ({$columnsString}) DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci"; $query = mysqli_query($mysql, $sql); if (!$query && developerIP()) { echo mysqli_error($mysql); } mysqli_close($mysql); } goto gK7l0; q_wtJ: function strtoupper_($arg) { $replacePairs = array("\xc4\xb1" => "I", "i" => "\xc4\260", "\xc3\xbc" => "\xc3\x9c", "\xc4\237" => "\xc4\236", "\303\247" => "\xc3\x87", "\xc3\266" => "\303\226", "\305\237" => "\xc5\x9e"); $arg = strtr($arg, $replacePairs); $arg = mb_strtoupper($arg); return $arg; } goto qliB8; K1xdE: $mainMysqlDatabase = "yazirtaksi"; goto vvKPQ; cP68u: $srcPathAdmin = array("header" => array("js" => array("jquery" => "src/libs/jquery/jquery-3.7.1.min.js"), "css" => array("datatables" => "src/libs/datatables/dataTables.min.css", "perfect-scrollbar" => "src/libs/perfect-scrollbar/perfect-scrollbar.min.css", "quill" => "src/libs/quill/quill.snow.min.css", "select2" => "src/libs/select2/select2.min.css", "sweetalert" => "src/libs/sweetalert/sweetalert2.min.css", "tagify" => "src/libs/tagify/tagify.min.css", "stylecss" => "src/style.min.css", "toastr" => "src/libs/toastr/toastr.min.css")), "footer" => array("js" => array("pooper" => "src/libs/bootstrap/popper.min.js", "bootstrap" => "src/libs/bootstrap/bootstrap.min.js", "datatables" => "src/libs/datatables/dataTables.min.js", "inputmask" => "src/libs/inputmask/jquery.inputmask.min.js", "perfect-scrollbar" => "src/libs/perfect-scrollbar/perfect-scrollbar.min.js", "quill" => "src/libs/quill/quill.min.js", "select2" => "src/libs/select2/select2.min.js", "sweetalert" => "src/libs/sweetalert/sweetalert2.all.min.js", "tagify" => "src/libs/tagify/tagify.min.js", "tagify.polyfills" => "src/libs/tagify/tagify.polyfills.min.js", "toastr" => "src/libs/toastr/toastr.min.js", "waves" => "src/libs/waves/waves.js", "sidebar" => "src/sidebar.js", "mainjs" => "src/main.js"))); goto yc_AR; vvKPQ: date_default_timezone_set("Europe/Istanbul"); goto xTNQX; jdfDN: $mainMysqlServer = array("host" => "localhost", "user" => "ihsan", "pass" => "test"); goto K1xdE; ynEgA: function isDatabaseTableExists($mysqlServer, $dbName, $tableName) { $mysql = connectDatabase($mysqlServer, $dbName); $sql = "SHOW TABLES LIKE '{$tableName}'"; $result = mysqli_query($mysql, $sql); $return = mysqli_num_rows($result) > 0; mysqli_close($mysql); return $return; } goto pc8sl; yc_AR: $adminPages = array("/" => array("name" => "Ana Sayfa", "link" => "/", "icon" => "fas fa-home", "title" => "/", "description" => '', "order" => 1), "ayarlar" => array("name" => "Ayarlar", "link" => false, "icon" => "mdi mdi-settings", "title" => "Ayarlar", "description" => '', "order" => 2, "children" => array("general-settings.php" => array("name" => "Genel Ayarlar", "link" => "general-settings", "icon" => "mdi mdi-folder", "title" => "Genel Ayarlar", "description" => "qwewqe", "parent" => "ayarlar"), "social-media.php" => array("name" => "Sosyal Medya Ayarlar\xc4\261", "link" => "social-media", "icon" => "mdi mdi-account-settings-variant", "title" => "Sosyal Medya Ayarlar\xc4\261", "description" => "ewqeqwe", "parent" => "ayarlar"))), "cars" => array("name" => "Ara\xc3\xa7lar", "link" => false, "icon" => "fas fa-car", "title" => "Ayarlar", "description" => '', "order" => 7, "children" => array("cars.php" => array("name" => "Ara\xc3\xa7 Listesi", "link" => "cars", "icon" => "fas fa-list", "title" => "Genel Ayarlar", "description" => "qwewqe", "parent" => "slider"), "car-process.php" => array("name" => "Ara\xc3\xa7 Ekle", "link" => "car-process", "icon" => "fas fa-plus", "title" => "Sosyal Medya Ayarlar\304\261", "description" => "ewqeqwe", "parent" => "slider"))), "drivers" => array("name" => "\xc5\236of\xc3\xb6rler", "link" => false, "icon" => "mdi mdi-human", "title" => "Ayarlar", "description" => '', "order" => 6, "children" => array("drivers.php" => array("name" => "\305\236of\303\266r Listesi", "link" => "drivers", "icon" => "fas fa-list", "title" => "Genel Ayarlar", "description" => "qwewqe", "parent" => "slider"), "driver-process.php" => array("name" => "\305\236of\303\xb6r Ekle", "link" => "driver-process", "icon" => "fas fa-plus", "title" => "Sosyal Medya Ayarlar\xc4\261", "description" => "ewqeqwe", "parent" => "slider"))), "pages" => array("name" => "Sayfa Y\303\266netimi", "link" => false, "icon" => "far fa-folder", "title" => "Ayarlar", "description" => '', "order" => 3, "children" => array("pages.php" => array("name" => "Sayfa Listesi", "link" => "pages", "icon" => "mdi mdi-folder", "title" => "Genel Ayarlar", "description" => "qwewqe", "parent" => "slider.php"), "page-process.php" => array("name" => "Sayfa Ekle", "link" => "page-process", "icon" => "mdi mdi-folder-plus", "title" => "Sosyal Medya Ayarlar\304\261", "description" => "ewqeqwe", "parent" => "ayarlar.php"))), "services" => array("name" => "Hizmetler", "link" => false, "icon" => "mdi mdi-file-outline", "title" => "Ayarlar", "description" => '', "order" => 5, "children" => array("services.php" => array("name" => "Hizmet Listesi", "link" => "services", "icon" => "mdi mdi-file", "title" => "Genel Ayarlar", "description" => "qwewqe", "parent" => "slider"), "service-process.php" => array("name" => "Hizmet Ekle", "link" => "service-process", "icon" => "mdi mdi-file-check", "title" => "Sosyal Medya Ayarlar\xc4\xb1", "description" => "ewqeqwe", "parent" => "slider"))), "sliders" => array("name" => "Slider Y\xc3\266netimi", "link" => false, "icon" => "mdi mdi-bookmark-outline", "title" => "Ayarlar", "description" => '', "order" => 4, "children" => array("sliders.php" => array("name" => "Slider Listesi", "link" => "sliders", "icon" => "mdi mdi-bookmark", "title" => "Genel Ayarlar", "description" => "qwewqe", "parent" => "slider"), "slider-process.php" => array("name" => "Slider Ekle", "link" => "slider-process", "icon" => "mdi mdi-bookmark-plus", "title" => "Sosyal Medya Ayarlar\xc4\xb1", "description" => "ewqeqwe", "parent" => "slider"))), "users" => array("name" => "Y\xc3\xb6netici Y\xc3\xb6netimi", "link" => false, "icon" => "mdi mdi-account", "title" => "Ayarlar", "description" => '', "order" => 8, "children" => array("users.php" => array("name" => "Y\xc3\xb6netici Listesi", "link" => "users", "icon" => "mdi mdi-account-circle", "title" => "Y\303\266netici Listesi", "description" => "qwewqe", "parent" => "slider"), "user-process.php" => array("name" => "Y\xc3\xb6netici Ekle", "link" => "user-process", "icon" => "mdi mdi-account-plus", "title" => "Y\xc3\266netici Ayarlar\xc4\261", "description" => "ewqeqwe", "parent" => "users")))); goto IqtlS; SxNO8: function human2byte($value) { $matches = array(); preg_match("/^\s*(-*[0-9,\.]+)\s*([kmgt]?)b?\s*$/i", $value, $matches); $bytes = (double) $matches[1]; $unit = strtoupper($matches[2]); switch ($unit) { case "K": $bytes *= 1024; break; case "M": $bytes *= pow(1024, 2); break; case "G": $bytes *= pow(1024, 3); break; case "T": $bytes *= pow(1024, 4); break; } return $bytes; } goto yDgIH; VBTht: function connectDatabase($mysqlServer, $db = null) { $mysql = mysqli_connect($mysqlServer["host"], $mysqlServer["user"], $mysqlServer["pass"], $db); mysqli_query($mysql, "SET NAMES UTF8"); mysqli_query($mysql, "SET CHARACTER SET utf8"); mysqli_query($mysql, "SET COLLATION_CONNECTION = 'utf8_general_ci'"); if (!$mysql && developerIP()) { die("Connection Error - > " . mysqli_connect_error()); } if (!$mysql && !developerIP()) { die("Connection Error, please contact with administrator."); } return $mysql; } goto DD28W; qliB8: function strtolower_($arg) { $replacePairs = array("\303\x87" => "\303\xa7", "\304\x9e" => "\xc4\x9f", "I" => "\xc4\261", "\304\xb0" => "i", "\xc3\226" => "\xc3\266", "\xc3\234" => "\xc3\274", "\xc5\x9e" => "\xc5\237"); $arg = strtr($arg, $replacePairs); $arg = mb_strtolower($arg); return $arg; } goto oFc19; fWNPE: function byte2human($bytes, $ucfirst = false, $decimal = 2) { $units = array("B", "KB", "MB", "GB", "TB"); $unitIndex = 0; while ($bytes >= 1024 && $unitIndex < count($units) - 1) { $bytes /= 1024; $unitIndex++; } $formattedBytes = number_format($bytes, $decimal); $unit = $units[$unitIndex]; return $formattedBytes . ($ucfirst ? ucfirst(strtolower($unit)) : $unit); } goto SxNO8; w3XVK: function adminUrl($url = false) { if ($url == "/") { return URL . "/admin"; } if ($url === false) { return URL . "/admin/"; } return URL . "/admin/" . $url; } goto cP68u; oX_5r: function dbRecordFind($mysqlServer, $dbName, $tableName, $selectedColumns = "*", $returnMultipleRows = false, $where = false, $searchField = '', $searchValue = '', $additionalSqlCommand = '') { $mysql = connectDatabase($mysqlServer, $dbName); if (is_array($selectedColumns)) { $columnsString = ''; foreach ($selectedColumns as $selectedColumn) { $columnsString .= mysqli_real_escape_string($mysql, $selectedColumn) . ", "; } $columnsString = rtrim($columnsString, ", "); $selectedColumns = "`" . $columnsString . "`"; unset($columnsString); } else { if ($selectedColumns == null || $selectedColumns == "*") { $selectedColumns = "*"; } else { $selectedColumns = "`" . mysqli_real_escape_string($mysql, $selectedColumns) . "`"; } } $sql = "SELECT {$selectedColumns} FROM `{$tableName}`"; if ($where == true) { $sql .= "  WHERE `{$searchField}` = '{$searchValue}'"; } if (!empty($additionalSqlCommand)) { $sql .= " {$additionalSqlCommand}"; } $query = mysqli_query($mysql, $sql); if ($query) { $resultArray = array(); if ($returnMultipleRows == true) { while ($row = mysqli_fetch_assoc($query)) { $resultArray[] = $row; } } else { $resultArray = mysqli_fetch_assoc($query); } $return = array("status" => true, "data" => $resultArray); } else { $return = array("status" => false, "errorMessage" => mysqli_errno($mysql) . " - " . mysqli_error($mysql)); } mysqli_close($mysql); return $return; } goto gCelY; bcHhe: function developerIP() { $arrDevIp = array("185.152.126.76"); return in_array($_SERVER["REMOTE_ADDR"], $arrDevIp); } goto xydFM; pc8sl: function isVariableInTableExist($mysqlServer, $dbName, $tableName) { $mysql = connectDatabase($mysqlServer, $dbName); $sql = "SELECT COUNT(*) as count FROM {$tableName}"; $query = mysqli_query($mysql, $sql); if ($query) { $row = mysqli_fetch_assoc($query); $count = $row["count"]; if ($count > 0) { $return = true; } else { $return = false; } mysqli_close($mysql); return $return; } } goto xZEkW; MLJvN: function uploadImage($inputName) { $allowedFormats = array("image/jpeg", "image/png", "image/jpg"); $maxFileSize = "10MB"; $imgPath = __DIR__ . "/../uploads/img/"; if (!isset($_FILES[$inputName])) { return array("status" => false, "message" => "Dosya bulunamad\304\xb1"); } if (isset($_FILES[$inputName]["error"]) && $_FILES[$inputName]["error"] == 1) { return array("status" => false, "message" => "Hata olu\xc5\237tu"); } $file = $_FILES[$inputName]; if (!in_array($file["type"], $allowedFormats)) { return array("status" => false, "message" => "Bu uzant\304\261da dosya y\303\xbcklenmez"); } if ($file["size"] > human2byte($maxFileSize)) { return array("status" => false, "message" => "Boyut A\305\x9f\304\261ld\304\xb1"); } if (!is_dir($imgPath)) { if (!mkdir($imgPath, 511, true)) { return array("status" => false, "message" => "Klas\303\266r hatas\304\xb1"); } } $fileName = explode(".", $file["name"])[0] . "_" . time(); $fileType = explode("/", $file["type"])[1]; $uploadedImage = $imgPath . $fileName . "." . $fileType; if (!move_uploaded_file($file["tmp_name"], $uploadedImage)) { return array("status" => false, "message" => "Hata meydana geldi"); } else { return array("status" => true, "path" => "uploads/img/" . $fileName . "." . $fileType); } } goto Uarpl; MKGam: function sidebarMenu() { global $adminPages; $currentPage = basename($_SERVER["PHP_SELF"]); $menu = ''; foreach ($adminPages as $mainPage => $pageData) { $menu .= "<li class="sidebar-item">"; if (isset($pageData["children"])) { $menu .= "<a class="sidebar-link has-arrow waves-effect waves-dark" href="javascript:void(0)" aria-expanded="false">"; $menu .= "<i class="" . $pageData["icon"] . ""></i>"; $menu .= "<span class="hide-menu">" . $pageData["name"] . "</span></a>"; $menu .= "<ul aria-expanded="false" class="collapse first-level">"; foreach ($pageData["children"] as $childPage => $childData) { $menu .= "<li class="sidebar-item">"; if ($currentPage == $childPage) { $menu .= "<a href="" . adminUrl($childData["link"]) . "" class="sidebar-link active">"; } else { $menu .= "<a href="" . adminUrl($childData["link"]) . "" class="sidebar-link">"; } $menu .= "<i class="" . $childData["icon"] . ""></i>"; $menu .= "<span class="hide-menu">" . $childData["name"] . "</span></a></li>"; } $menu .= "</ul>"; } else { $menu .= "<a class="sidebar-link waves-effect waves-dark" href="" . adminUrl($pageData["link"]) . "">"; $menu .= "<i class="" . $pageData["icon"] . ""></i>"; $menu .= "<span class="hide-menu">" . $pageData["name"] . "</span></a>"; } $menu .= "</li>"; } $menu .= "<div class="dropdown-divider"></div><li class="sidebar-item text-center"><a class="sidebar-link waves-effect waves-dark sidebar-link" href="" . siteUrl() . "" target="_blank"><i class="mdi mdi-arrow-top-right"></i> Siteye Git</a></li>\xa\x9<li class="sidebar-item"> <a class="sidebar-link waves-effect waves-dark sidebar-link" href="" . adminUrl("logout") . "" aria-expanded="false"><i class="fa fa-power-off"></i><span class="hide-menu">\303\x87\304\261k\xc4\xb1\xc5\237 Yap</span></a></li>"; return $menu; } goto MLJvN; yDgIH: function removeCharForPhone($string, $charactersToRemove = "()") { $result = preg_replace("/[^A-Za-z0-9]/", '', $string); return $result; } goto VBTht; gK7l0: function isDatabaseExists($mysqlServer, $dbName) { $mysql = connectDatabase($mysqlServer); $sql = "SELECT SCHEMA_NAME FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME = '{$dbName}'"; $result = mysqli_query($mysql, $sql); $return = mysqli_num_rows($result) > 0; mysqli_close($mysql); return $return; } goto ynEgA; Uarpl: function deleteImage($path) { if (mb_strpos($path, "..")) { return array("status" => false, "message" => "Hatal\304\261 \304\260\305\x9flem # 1"); } $fileType = pathinfo("../" . $path, PATHINFO_EXTENSION); $allowedFormats = array("jpg", "png", "jpeg"); if (!in_array($fileType, $allowedFormats)) { return array("status" => false, "message" => "Bu dosya silinemez"); } $imageFull = "../" . $path; unlink($imageFull); return array("status" => true, "message" => "Dosya silindi"); } goto pzBr2; oFc19: function seflink($arg) { $specialChars = array("\304\236", "\xc3\x9c", "\305\x9e", "\xc4\260", "\303\226", "\xc3\207", "\304\x9f", "\303\274", "\xc5\237", "\304\261", "\303\xb6", "\303\xa7"); $replaceChars = array("G", "U", "S", "I", "O", "C", "g", "u", "s", "i", "o", "c"); $arg = preg_replace("/[^0-9a-zA-Z\303\x84z\303\x9c\305\x9e\xc4\260\303\226\303\x87\304\x9f\303\xbc\xc5\x9f\xc4\xb1\303\266\xc3\247]/", " ", $arg); $arg = str_replace($specialChars, $replaceChars, $arg); $arg = preg_replace("/\s+/", " ", $arg); $arg = str_replace(" ", "-", trim($arg)); $arg = strtolower($arg); return $arg; } goto CAELK; g8tjf: function dbRecordInsert($mysqlServer, $dbName, $tableName, $data, $additionalSqlCommand = '') { if (!is_array($data)) { return array("status" => false, "errorMessage" => "Yap\304\xb1sal Hata"); } $mysql = connectDatabase($mysqlServer, $dbName); foreach ($data as $k => $v) { if (is_string($v)) { $data[$k] = mysqli_real_escape_string($mysql, $v); } } $arrKeys = implode(",", array_keys($data)); $arrValues = "'" . implode("', '", array_values($data)) . "'"; $query = mysqli_query($mysql, "INSERT INTO `{$tableName}` ({$arrKeys}) VALUES ({$arrValues});" . $additionalSqlCommand); if ($query) { $return = array("status" => true); } else { $return = array("status" => false, "errorMessage" => mysqli_errno($mysql) . " - " . mysqli_error($mysql)); } mysqli_close($mysql); return $return; } goto sgllW; Y_eUF: function dbRecordDelete($mysqlServer, $dbName, $tableName, $searchField, $searchValue) { $mysql = connectDatabase($mysqlServer, $dbName); $sql = "DELETE FROM `{$tableName}` WHERE `{$searchField}` = '{$searchValue}'"; $query = mysqli_query($mysql, $sql); if ($query) { $return = array("status" => true); } else { $return = array("status" => false, "errorMessage" => mysqli_errno($mysql) . " - " . mysqli_error($mysql)); } mysqli_close($mysql); return $return; } goto oX_5r; cgw5Y: function validateEmail($email) { return preg_match("/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/", $email); } goto mufnV; xZEkW: function getLastAutoIncrementValue($mysqlServer, $dbName, $tableName) { $mysql = connectDatabase($mysqlServer); $sql = "SELECT AUTO_INCREMENT FROM information_schema.TABLES WHERE TABLE_SCHEMA = '{$dbName}' AND TABLE_NAME = '{$tableName}'"; $query = mysqli_query($mysql, $sql); if ($query) { $row = mysqli_fetch_assoc($query); $autoIncrementValue = $row["AUTO_INCREMENT"]; $return = $autoIncrementValue; } else { $return = false; } mysqli_close($mysql); return $return; } goto g8tjf; CAELK: function strtolower_seo($arg) { $arg = trim(strtolower_($arg)); $replacePairs = array(" " => "-", "." => '', "/" => '', "\xc3\274" => "u", "\304\237" => "g", "\xc4\261" => "i", "\xc5\x9f" => "s", "\303\247" => "c", "\xc3\xb6" => "o"); $arg = strtr($arg, $replacePairs); return $arg; } goto cgw5Y; mufnV: function validatePhoneNumber($phoneNumber) { $phoneNumber = preg_replace("/\D/", '', $phoneNumber); if (substr($phoneNumber, 0, 1) !== "0") { $phoneNumber = "0" . $phoneNumber; } return preg_match("/^0(5[0-6]{1}[0-9]{1})[0-9]{3}[0-9]{2}[0-9]{2}$/", $phoneNumber); } goto C09I1; NQPrG: function breadcrumb() { global $adminPages; $currentPage = basename($_SERVER["PHP_SELF"]); $breadcrumb = "<div class="page-breadcrumb"><div class="row"><div class="col-12 d-flex no-block align-items-center"><h4 class="page-title">" . currentPageData()["name"] . "</h4><div class="ml-auto text-right"><nav aria-label="breadcrumb">"; $breadcrumb .= "<ol class="breadcrumb"><li class="breadcrumb-item"><a href="" . adminUrl("admin") . "">Ana Sayfa</a></li>"; foreach ($adminPages as $mainPage => $pageData) { if ($currentPage == $mainPage) { $breadcrumb .= "<li class="breadcrumb-item active" aria-current="page">" . $pageData["name"] . "</li>"; break; } else { if (isset($pageData["children"])) { foreach ($pageData["children"] as $childPage => $childData) { if ($currentPage == $childPage) { $breadcrumb .= "<li class="breadcrumb-item"><a " . ($pageData["link"] != false ? "href="" . $pageData["link"] . """ : '') . ">" . $pageData["name"] . "</a></li>"; $breadcrumb .= "<li class="breadcrumb-item active" aria-current="page">" . $childData["name"] . "</li>"; break 2; } } } } } $breadcrumb .= "</ol>"; $breadcrumb .= "</nav></div></div></div></div>"; return $breadcrumb; } goto MKGam; IqtlS: function currentPageData() { global $adminPages; $currentPage = basename($_SERVER["PHP_SELF"]); foreach ($adminPages as $mainPage => $pageData) { if ($currentPage == $mainPage) { return $pageData; } else { if (isset($pageData["children"])) { foreach ($pageData["children"] as $childPage => $childData) { if ($currentPage == $childPage) { return $childData; } } } } } return false; } goto NQPrG; pzBr2: function ucwords_($arg) { $result = ''; $words = explode(" ", $arg); foreach ($words as $wordPlain) { $firstChar = mb_substr($wordPlain, 0, 1, "UTF-8"); $others = mb_substr($wordPlain, 1, mb_strlen($wordPlain, "UTF-8") - 1, "UTF-8"); $firstChar = strtoupper_($firstChar); $others = strtolower_($others); $result .= $firstChar . $others . " "; } $final = trim($result); return $final; } goto q_wtJ; xydFM: if (isset($_SERVER["SERVER_NAME"])) { define("URL", "https://" . $_SERVER["SERVER_NAME"]); } else { define("URL", "https://ihsan.red"); } goto BZ_J1; C09I1: function validateName($name) { return preg_match("/^[a-zA-Z\304\x9f\303\274\xc5\x9f\xc4\261\303\xb6\303\247\xc4\x9e\303\x9c\xc5\x9e\304\xb0\303\226\303\x87]+$/u", $name); } goto fWNPE; DD28W: function createDatabase($mysqlServer, $dbName) { $mysql = connectDatabase($mysqlServer); $sql = "CREATE DATABASE {$dbName} CHARACTER SET utf8 COLLATE utf8_general_ci"; $query = mysqli_query($mysql, $sql); if (!$query && developerIP()) { echo mysqli_error($mysql); } mysqli_close($mysql); } goto wc5jQ; sgllW: function dbRecordUpdate($mysqlServer, $dbName, $tableName, $data, $where = false, $searchField = '', $searchValue = '') { if (!is_array($data)) { return array("status" => false, "errorMessage" => "Yap\304\261sal Hata"); } $mysql = connectDatabase($mysqlServer, $dbName); $updateData = ''; foreach ($data as $k => $v) { if (is_string($v)) { $v = mysqli_real_escape_string($mysql, $v); } $updateData .= "`{$k}` = '{$v}', "; } $updateData = rtrim($updateData, ", "); $sql = "UPDATE `{$tableName}` SET {$updateData}"; if ($where == true) { $sql .= "  WHERE `{$searchField}` = '{$searchValue}'"; } $query = mysqli_query($mysql, $sql); if ($query) { $return = array("status" => true); } else { $return = array("status" => false, "errorMessage" => mysqli_errno($mysql) . " - " . mysqli_error($mysql)); } mysqli_close($mysql); return $return; } goto Y_eUF; BZ_J1: function siteUrl($url = false) { if ($url == "/") { return URL; } if ($url === false) { return URL . "/"; } return URL . "/" . $url; } goto w3XVK; gCelY: ?>

Did this file decode correctly?

Original Code

<?php
 goto jdfDN; xTNQX: ini_set("\144\151\163\x70\x6c\141\171\137\145\x72\162\157\162\163", "\117\x6e"); goto bcHhe; wc5jQ: function createTable($mysqlServer, $dbName, $tableName, $fields) { $mysql = connectDatabase($mysqlServer, $dbName); $columnsString = ''; foreach ($fields as $field) { $columnsString .= mysqli_real_escape_string($mysql, $field) . "\x2c\x20"; } $columnsString = rtrim($columnsString, "\54\40"); $sql = "\x43\x52\x45\x41\x54\105\40\x54\x41\102\x4c\105\x20\111\x46\40\x4e\x4f\124\x20\105\x58\x49\x53\x54\x53\40{$tableName}\40\x28{$columnsString}\x29\40\104\x45\106\x41\125\x4c\x54\x20\x43\x48\x41\122\123\x45\124\75\165\164\146\x38\40\x43\x4f\114\x4c\101\x54\x45\75\165\x74\x66\70\137\147\x65\156\x65\x72\141\x6c\x5f\x63\x69"; $query = mysqli_query($mysql, $sql); if (!$query && developerIP()) { echo mysqli_error($mysql); } mysqli_close($mysql); } goto gK7l0; q_wtJ: function strtoupper_($arg) { $replacePairs = array("\xc4\xb1" => "\111", "\x69" => "\xc4\260", "\xc3\xbc" => "\xc3\x9c", "\xc4\237" => "\xc4\236", "\303\247" => "\xc3\x87", "\xc3\266" => "\303\226", "\305\237" => "\xc5\x9e"); $arg = strtr($arg, $replacePairs); $arg = mb_strtoupper($arg); return $arg; } goto qliB8; K1xdE: $mainMysqlDatabase = "\x79\x61\172\151\x72\164\x61\x6b\x73\151"; goto vvKPQ; cP68u: $srcPathAdmin = array("\150\x65\x61\x64\145\x72" => array("\152\163" => array("\x6a\161\x75\x65\162\x79" => "\x73\162\x63\57\154\151\x62\x73\57\x6a\161\165\x65\x72\x79\57\152\x71\165\145\162\x79\x2d\x33\x2e\67\x2e\x31\56\x6d\x69\156\56\152\x73"), "\x63\163\163" => array("\x64\x61\164\x61\x74\x61\142\x6c\145\163" => "\x73\162\x63\57\154\151\x62\x73\x2f\x64\141\164\141\x74\x61\142\x6c\145\x73\57\144\x61\x74\141\124\x61\x62\154\x65\163\56\x6d\x69\x6e\56\x63\x73\x73", "\160\x65\162\146\145\143\164\x2d\x73\143\162\157\154\x6c\142\x61\x72" => "\x73\162\143\x2f\x6c\x69\x62\163\x2f\x70\145\162\x66\x65\143\x74\55\163\143\162\157\154\154\x62\x61\162\57\160\145\x72\x66\x65\143\164\x2d\163\143\x72\x6f\154\x6c\142\141\x72\56\x6d\151\x6e\56\x63\x73\x73", "\x71\x75\x69\154\154" => "\x73\162\x63\57\154\x69\x62\x73\x2f\x71\x75\x69\x6c\x6c\57\161\x75\151\154\154\56\x73\156\x6f\x77\56\155\x69\156\56\x63\163\163", "\x73\x65\x6c\145\x63\x74\x32" => "\x73\162\143\57\x6c\151\142\163\57\163\145\154\x65\143\164\62\57\x73\x65\x6c\x65\x63\x74\x32\x2e\x6d\x69\156\x2e\x63\163\163", "\163\x77\x65\x65\164\141\x6c\x65\162\x74" => "\163\162\143\57\154\x69\x62\x73\57\x73\x77\x65\x65\x74\141\154\x65\162\164\57\x73\167\x65\145\164\141\154\x65\x72\x74\x32\56\x6d\x69\x6e\x2e\x63\x73\x73", "\164\141\x67\x69\x66\x79" => "\163\162\x63\x2f\x6c\x69\142\x73\57\164\x61\x67\x69\146\171\x2f\x74\141\147\151\146\x79\x2e\x6d\151\156\x2e\143\163\x73", "\x73\x74\x79\x6c\x65\x63\x73\163" => "\x73\x72\x63\x2f\x73\x74\171\x6c\x65\x2e\x6d\151\156\56\x63\163\163", "\164\157\x61\163\x74\162" => "\163\162\143\x2f\x6c\x69\142\x73\57\x74\x6f\x61\163\164\x72\57\x74\157\x61\x73\x74\162\56\155\x69\x6e\56\x63\x73\x73")), "\146\157\x6f\164\x65\162" => array("\152\163" => array("\160\x6f\157\x70\145\x72" => "\163\x72\x63\x2f\x6c\151\x62\163\57\x62\x6f\157\164\x73\x74\162\141\x70\57\x70\x6f\160\160\x65\x72\x2e\155\x69\x6e\x2e\x6a\x73", "\142\x6f\x6f\x74\x73\164\162\141\x70" => "\x73\x72\143\x2f\x6c\x69\142\163\57\x62\157\x6f\x74\x73\x74\x72\141\160\x2f\142\x6f\x6f\164\163\x74\162\141\160\56\x6d\x69\x6e\x2e\152\x73", "\x64\x61\164\141\x74\x61\x62\154\145\x73" => "\163\162\143\x2f\x6c\151\x62\163\x2f\x64\x61\x74\x61\x74\x61\x62\154\145\163\x2f\144\141\x74\141\x54\141\x62\x6c\x65\163\x2e\155\151\156\x2e\x6a\163", "\x69\x6e\160\x75\164\x6d\x61\x73\153" => "\x73\162\x63\57\154\151\x62\x73\x2f\151\x6e\160\x75\x74\x6d\x61\163\x6b\x2f\152\161\x75\x65\x72\x79\x2e\x69\156\x70\x75\164\155\141\163\153\56\x6d\x69\x6e\56\x6a\x73", "\160\x65\x72\x66\145\143\164\55\163\143\x72\x6f\154\154\142\141\x72" => "\163\x72\x63\57\154\x69\142\x73\57\x70\145\162\146\x65\x63\164\55\x73\x63\x72\157\154\x6c\x62\141\162\x2f\160\145\x72\146\145\143\164\55\x73\x63\x72\157\154\154\142\x61\162\x2e\155\151\156\x2e\152\163", "\161\165\x69\154\x6c" => "\x73\x72\x63\x2f\154\151\142\163\57\x71\x75\x69\154\154\x2f\161\165\x69\x6c\x6c\x2e\155\x69\x6e\x2e\x6a\x73", "\163\x65\154\x65\143\164\x32" => "\163\162\x63\57\x6c\x69\x62\163\x2f\163\x65\154\145\143\164\x32\x2f\163\x65\154\x65\143\x74\62\x2e\155\x69\156\56\x6a\x73", "\163\x77\x65\x65\164\x61\154\145\162\164" => "\x73\162\143\x2f\x6c\151\142\x73\57\163\x77\145\x65\164\x61\154\x65\162\164\57\163\x77\x65\145\x74\x61\x6c\x65\x72\x74\62\56\x61\x6c\154\x2e\155\151\x6e\56\152\x73", "\x74\141\147\x69\x66\171" => "\x73\162\x63\x2f\x6c\x69\142\163\x2f\164\x61\x67\151\146\171\x2f\164\141\x67\x69\x66\x79\x2e\155\151\x6e\56\152\163", "\164\x61\x67\151\x66\x79\56\x70\157\154\171\146\x69\x6c\x6c\163" => "\163\x72\x63\57\154\151\x62\x73\57\164\141\x67\x69\146\171\x2f\164\141\x67\x69\x66\171\56\160\x6f\154\x79\x66\x69\154\x6c\x73\x2e\155\151\156\x2e\152\163", "\164\x6f\141\x73\x74\162" => "\163\162\x63\57\154\151\x62\x73\57\x74\x6f\x61\163\164\x72\x2f\x74\157\141\x73\x74\x72\56\x6d\x69\x6e\x2e\x6a\x73", "\x77\141\166\145\x73" => "\x73\162\x63\57\x6c\151\142\163\57\x77\x61\x76\145\x73\x2f\x77\x61\x76\x65\x73\56\x6a\x73", "\x73\x69\144\x65\142\141\x72" => "\163\x72\143\x2f\x73\x69\x64\145\142\x61\162\x2e\152\x73", "\155\141\x69\x6e\x6a\163" => "\x73\162\143\57\155\141\x69\156\x2e\152\163"))); goto yc_AR; vvKPQ: date_default_timezone_set("\x45\165\x72\x6f\160\145\57\111\163\164\x61\156\x62\165\x6c"); goto xTNQX; jdfDN: $mainMysqlServer = array("\150\157\x73\x74" => "\154\x6f\x63\141\154\x68\x6f\163\x74", "\165\163\145\x72" => "\151\x68\163\141\x6e", "\160\141\163\x73" => "\x74\x65\163\x74"); goto K1xdE; ynEgA: function isDatabaseTableExists($mysqlServer, $dbName, $tableName) { $mysql = connectDatabase($mysqlServer, $dbName); $sql = "\x53\110\x4f\x57\40\124\x41\x42\114\105\123\40\x4c\111\x4b\x45\40\47{$tableName}\x27"; $result = mysqli_query($mysql, $sql); $return = mysqli_num_rows($result) > 0; mysqli_close($mysql); return $return; } goto pc8sl; yc_AR: $adminPages = array("\57" => array("\156\141\x6d\145" => "\101\x6e\141\40\123\x61\x79\146\x61", "\x6c\x69\156\153" => "\x2f", "\151\143\157\x6e" => "\146\x61\163\40\x66\141\55\150\x6f\x6d\x65", "\164\151\164\154\x65" => "\x2f", "\x64\145\163\x63\x72\x69\160\164\151\x6f\x6e" => '', "\157\162\x64\x65\x72" => 1), "\141\x79\141\x72\154\x61\x72" => array("\x6e\141\x6d\x65" => "\x41\x79\141\162\154\x61\162", "\x6c\151\156\153" => false, "\x69\x63\157\x6e" => "\x6d\144\x69\x20\x6d\x64\151\55\163\145\x74\x74\x69\x6e\147\x73", "\x74\x69\x74\154\x65" => "\101\x79\141\162\x6c\x61\162", "\x64\145\x73\143\162\x69\x70\164\151\x6f\x6e" => '', "\157\162\x64\145\162" => 2, "\143\x68\151\x6c\144\x72\145\156" => array("\x67\145\156\x65\162\x61\x6c\55\x73\x65\x74\164\151\x6e\147\163\x2e\160\150\x70" => array("\156\x61\155\145" => "\107\145\156\x65\154\40\x41\x79\x61\162\154\x61\x72", "\x6c\x69\156\153" => "\147\x65\156\145\x72\141\x6c\55\x73\145\x74\x74\x69\x6e\147\163", "\151\143\157\x6e" => "\x6d\x64\x69\x20\x6d\x64\151\x2d\x66\157\x6c\x64\x65\162", "\164\x69\164\x6c\145" => "\107\x65\x6e\145\x6c\40\101\171\x61\162\154\x61\162", "\144\145\x73\143\x72\x69\160\x74\151\157\x6e" => "\161\x77\x65\167\161\x65", "\160\x61\x72\145\156\x74" => "\141\171\x61\162\x6c\x61\162"), "\163\157\x63\151\141\x6c\55\x6d\x65\144\x69\x61\56\x70\150\160" => array("\156\x61\x6d\145" => "\x53\x6f\x73\171\x61\154\x20\115\145\x64\x79\141\x20\x41\x79\141\x72\x6c\x61\162\xc4\261", "\154\x69\x6e\x6b" => "\x73\157\x63\x69\141\x6c\x2d\x6d\x65\x64\x69\x61", "\151\x63\x6f\156" => "\155\144\x69\40\155\144\151\x2d\141\x63\x63\157\x75\156\164\x2d\x73\145\164\x74\151\x6e\147\163\55\x76\x61\162\x69\x61\156\164", "\164\151\164\x6c\145" => "\x53\157\x73\x79\141\x6c\40\115\145\144\171\141\x20\x41\x79\141\x72\x6c\x61\162\xc4\261", "\x64\x65\163\x63\162\x69\160\164\x69\157\x6e" => "\145\167\161\x65\161\x77\x65", "\160\141\162\x65\156\x74" => "\141\171\141\x72\154\x61\x72"))), "\143\141\x72\163" => array("\156\x61\155\145" => "\x41\162\x61\xc3\xa7\x6c\141\162", "\154\151\156\x6b" => false, "\x69\143\157\x6e" => "\x66\141\x73\40\146\x61\55\x63\141\162", "\x74\151\164\x6c\145" => "\101\171\141\162\x6c\x61\162", "\144\145\x73\x63\162\151\160\x74\151\157\x6e" => '', "\x6f\162\x64\x65\x72" => 7, "\x63\x68\x69\154\144\162\x65\156" => array("\143\x61\162\x73\56\160\x68\x70" => array("\x6e\x61\x6d\145" => "\101\162\x61\xc3\xa7\x20\x4c\151\163\x74\145\163\151", "\154\151\x6e\153" => "\143\141\162\x73", "\151\x63\157\156" => "\x66\x61\163\40\x66\141\55\154\x69\x73\x74", "\164\x69\164\x6c\145" => "\107\145\156\x65\x6c\x20\x41\x79\141\x72\x6c\x61\x72", "\144\x65\163\x63\x72\151\x70\x74\x69\x6f\156" => "\x71\x77\145\x77\x71\x65", "\160\141\162\x65\x6e\164" => "\163\x6c\x69\144\x65\162"), "\x63\141\x72\55\160\x72\157\x63\145\x73\163\56\160\x68\x70" => array("\156\141\155\x65" => "\x41\x72\x61\xc3\xa7\40\x45\x6b\154\x65", "\154\x69\x6e\x6b" => "\143\x61\162\55\x70\162\x6f\143\145\x73\x73", "\x69\x63\x6f\x6e" => "\x66\x61\x73\40\x66\x61\55\x70\154\x75\163", "\164\x69\164\154\x65" => "\123\x6f\163\171\141\x6c\40\115\x65\x64\171\x61\x20\101\x79\141\x72\154\141\x72\304\261", "\144\145\163\x63\162\x69\x70\164\151\x6f\x6e" => "\x65\167\161\x65\x71\x77\145", "\160\x61\162\x65\156\164" => "\163\154\x69\x64\145\162"))), "\x64\162\151\166\145\x72\163" => array("\156\x61\x6d\145" => "\xc5\236\x6f\x66\xc3\xb6\x72\154\145\162", "\x6c\x69\156\x6b" => false, "\151\143\x6f\156" => "\155\144\151\x20\x6d\x64\151\55\x68\165\155\141\x6e", "\x74\151\x74\154\145" => "\x41\171\x61\x72\154\141\x72", "\144\145\x73\143\x72\x69\x70\164\x69\x6f\156" => '', "\x6f\x72\144\x65\162" => 6, "\143\150\151\154\144\x72\145\x6e" => array("\144\x72\151\x76\x65\x72\163\x2e\160\x68\x70" => array("\x6e\141\x6d\145" => "\305\236\x6f\146\303\266\x72\40\x4c\151\163\x74\145\x73\151", "\x6c\x69\156\x6b" => "\144\162\151\x76\x65\162\163", "\x69\x63\x6f\x6e" => "\x66\x61\x73\40\146\x61\55\x6c\151\163\164", "\164\x69\x74\154\145" => "\x47\x65\x6e\x65\154\40\x41\x79\141\x72\x6c\x61\162", "\144\145\163\x63\x72\151\x70\164\151\157\156" => "\x71\167\x65\167\x71\x65", "\160\141\162\145\156\164" => "\x73\154\151\144\145\162"), "\144\162\151\x76\x65\x72\x2d\160\x72\x6f\x63\145\163\x73\x2e\x70\150\160" => array("\x6e\x61\155\x65" => "\305\236\x6f\146\303\xb6\x72\40\105\153\x6c\x65", "\x6c\x69\156\x6b" => "\x64\x72\151\x76\145\x72\55\x70\162\x6f\143\x65\163\x73", "\x69\x63\157\x6e" => "\x66\141\x73\x20\x66\141\55\x70\x6c\x75\x73", "\x74\151\x74\154\x65" => "\123\x6f\163\171\x61\154\40\x4d\x65\144\x79\141\40\x41\x79\141\x72\154\x61\x72\xc4\261", "\x64\145\x73\x63\162\x69\x70\x74\x69\157\156" => "\145\167\161\145\x71\167\145", "\160\x61\162\x65\x6e\x74" => "\163\154\x69\144\145\162"))), "\x70\141\x67\x65\163" => array("\156\x61\x6d\x65" => "\x53\141\x79\146\x61\x20\131\303\266\x6e\145\x74\x69\155\151", "\x6c\x69\x6e\x6b" => false, "\x69\x63\x6f\x6e" => "\x66\x61\162\x20\146\141\55\146\157\154\144\145\162", "\164\x69\x74\x6c\145" => "\x41\171\x61\162\154\141\x72", "\x64\x65\163\x63\162\x69\160\164\151\x6f\x6e" => '', "\157\162\x64\145\x72" => 3, "\143\x68\151\x6c\144\162\x65\156" => array("\x70\x61\x67\145\163\56\160\x68\x70" => array("\x6e\x61\155\145" => "\123\141\x79\x66\141\x20\x4c\151\x73\x74\145\163\151", "\x6c\x69\x6e\153" => "\x70\141\147\x65\x73", "\x69\143\157\156" => "\155\x64\151\x20\155\144\151\55\x66\157\154\x64\x65\x72", "\164\151\x74\x6c\x65" => "\107\x65\x6e\145\x6c\x20\101\171\141\x72\x6c\141\162", "\x64\x65\163\143\x72\x69\160\164\x69\x6f\156" => "\x71\x77\145\x77\x71\x65", "\160\141\x72\x65\156\x74" => "\x73\154\x69\x64\x65\x72\x2e\160\x68\160"), "\x70\x61\x67\x65\x2d\x70\x72\157\x63\145\x73\x73\x2e\x70\x68\x70" => array("\156\x61\x6d\145" => "\x53\141\x79\146\x61\x20\105\153\x6c\x65", "\x6c\151\x6e\x6b" => "\x70\141\x67\x65\x2d\x70\x72\x6f\x63\145\x73\x73", "\151\143\157\x6e" => "\x6d\144\151\x20\155\144\151\55\146\157\x6c\x64\x65\162\55\160\x6c\x75\x73", "\x74\x69\x74\x6c\x65" => "\123\x6f\163\171\141\x6c\40\115\x65\x64\x79\141\40\101\171\141\x72\154\141\x72\304\261", "\144\145\163\143\x72\x69\x70\164\151\x6f\x6e" => "\145\167\161\145\x71\x77\145", "\160\x61\162\x65\156\164" => "\x61\x79\x61\x72\154\141\x72\x2e\x70\150\160"))), "\163\x65\162\166\151\x63\145\x73" => array("\x6e\141\x6d\145" => "\110\x69\x7a\155\x65\164\154\145\162", "\x6c\151\x6e\153" => false, "\x69\x63\157\x6e" => "\155\144\151\40\155\x64\x69\55\x66\151\154\145\x2d\x6f\165\x74\154\x69\156\145", "\164\151\164\154\145" => "\101\171\x61\162\154\141\162", "\x64\x65\163\143\x72\x69\160\x74\151\x6f\x6e" => '', "\157\x72\144\145\x72" => 5, "\143\x68\x69\154\x64\x72\x65\156" => array("\163\x65\162\166\x69\143\x65\163\x2e\x70\x68\x70" => array("\x6e\x61\155\145" => "\x48\x69\x7a\155\x65\164\x20\114\x69\x73\164\145\163\151", "\154\x69\x6e\x6b" => "\163\x65\162\166\x69\x63\x65\163", "\x69\143\157\156" => "\x6d\144\151\40\x6d\144\x69\55\146\x69\154\x65", "\x74\x69\164\154\145" => "\x47\145\156\x65\x6c\40\x41\171\x61\x72\x6c\x61\x72", "\144\x65\x73\143\162\151\160\164\151\157\156" => "\161\167\145\x77\x71\145", "\x70\x61\x72\145\156\164" => "\163\x6c\151\144\145\x72"), "\163\x65\162\x76\x69\143\x65\55\x70\x72\157\143\145\x73\x73\x2e\160\x68\x70" => array("\156\141\155\x65" => "\110\x69\x7a\x6d\145\x74\x20\105\153\154\145", "\154\151\x6e\153" => "\163\145\162\x76\x69\x63\145\55\160\162\x6f\143\145\163\163", "\x69\x63\157\x6e" => "\155\144\x69\40\x6d\x64\x69\x2d\146\x69\154\x65\55\143\x68\145\143\153", "\x74\x69\164\x6c\145" => "\123\157\163\171\141\x6c\40\115\x65\x64\x79\141\x20\x41\x79\141\x72\x6c\141\162\xc4\xb1", "\144\x65\163\143\x72\x69\160\164\x69\x6f\x6e" => "\x65\167\161\x65\x71\x77\x65", "\160\141\x72\x65\156\164" => "\163\x6c\x69\x64\145\x72"))), "\163\x6c\151\144\x65\x72\x73" => array("\156\x61\155\145" => "\x53\154\x69\144\x65\162\x20\131\xc3\266\x6e\145\x74\151\155\151", "\154\151\x6e\x6b" => false, "\151\143\x6f\156" => "\155\144\151\x20\155\x64\x69\55\x62\157\x6f\x6b\155\x61\x72\153\x2d\157\x75\164\154\x69\x6e\x65", "\x74\151\x74\154\x65" => "\x41\x79\141\162\x6c\x61\x72", "\x64\x65\x73\x63\x72\151\160\164\x69\x6f\156" => '', "\x6f\162\x64\x65\x72" => 4, "\x63\x68\x69\154\144\162\145\x6e" => array("\x73\154\x69\144\x65\162\x73\x2e\160\150\160" => array("\x6e\x61\155\x65" => "\123\154\x69\144\x65\x72\x20\x4c\x69\163\x74\x65\x73\151", "\154\151\156\153" => "\x73\x6c\151\x64\145\162\x73", "\151\143\157\156" => "\155\x64\x69\40\x6d\144\151\55\x62\x6f\x6f\153\155\x61\x72\x6b", "\164\151\164\x6c\145" => "\x47\145\x6e\x65\x6c\40\x41\171\x61\162\154\x61\162", "\144\x65\163\x63\x72\151\160\x74\151\x6f\x6e" => "\x71\167\145\167\x71\145", "\x70\x61\162\x65\156\164" => "\163\x6c\x69\144\x65\162"), "\163\154\151\144\145\x72\x2d\x70\162\157\143\x65\163\x73\x2e\160\x68\160" => array("\156\141\x6d\x65" => "\123\154\151\x64\x65\162\40\105\x6b\x6c\x65", "\154\x69\156\x6b" => "\x73\154\151\x64\x65\x72\55\x70\162\x6f\x63\x65\x73\x73", "\x69\143\x6f\156" => "\x6d\144\x69\x20\x6d\x64\151\x2d\x62\157\x6f\x6b\x6d\x61\162\153\x2d\160\154\165\x73", "\164\151\x74\154\145" => "\123\157\x73\171\x61\x6c\x20\x4d\145\144\171\141\x20\101\171\141\x72\x6c\141\162\xc4\xb1", "\x64\x65\163\143\162\151\x70\x74\151\x6f\156" => "\145\167\x71\145\161\167\145", "\160\141\x72\x65\156\x74" => "\163\154\x69\144\x65\x72"))), "\x75\x73\x65\x72\x73" => array("\156\x61\155\x65" => "\131\xc3\xb6\x6e\145\x74\151\x63\151\x20\131\xc3\xb6\156\145\x74\x69\155\151", "\x6c\x69\x6e\153" => false, "\151\143\x6f\x6e" => "\x6d\144\151\x20\155\144\x69\55\x61\x63\143\157\x75\156\164", "\x74\x69\164\x6c\145" => "\x41\171\x61\162\x6c\141\x72", "\144\x65\163\x63\x72\151\160\164\151\x6f\156" => '', "\157\162\x64\145\162" => 8, "\x63\150\151\154\144\x72\145\x6e" => array("\165\x73\145\162\163\56\160\x68\x70" => array("\x6e\x61\155\145" => "\131\xc3\xb6\156\145\x74\151\x63\151\40\114\x69\x73\x74\145\x73\x69", "\x6c\x69\x6e\x6b" => "\x75\163\x65\x72\x73", "\x69\x63\157\x6e" => "\x6d\x64\151\x20\x6d\144\151\x2d\x61\143\143\157\x75\x6e\x74\x2d\x63\151\162\143\x6c\x65", "\x74\151\164\154\145" => "\x59\303\266\x6e\145\x74\151\x63\151\x20\114\x69\x73\164\145\x73\151", "\144\145\x73\x63\x72\x69\160\x74\x69\x6f\x6e" => "\x71\167\145\167\161\145", "\x70\x61\x72\x65\156\x74" => "\x73\x6c\151\x64\145\x72"), "\x75\x73\145\162\x2d\160\162\x6f\x63\145\x73\163\x2e\x70\150\160" => array("\156\x61\x6d\x65" => "\131\xc3\xb6\x6e\x65\164\151\x63\151\x20\105\153\154\x65", "\154\x69\156\x6b" => "\x75\x73\x65\x72\x2d\160\x72\157\x63\x65\x73\x73", "\x69\143\157\x6e" => "\155\144\x69\40\155\x64\151\55\141\143\143\157\165\156\x74\x2d\160\x6c\x75\x73", "\164\x69\x74\x6c\145" => "\131\xc3\266\156\x65\164\x69\x63\151\x20\101\171\141\x72\x6c\141\x72\xc4\261", "\144\145\x73\143\162\151\160\x74\151\x6f\x6e" => "\145\x77\161\x65\161\167\x65", "\x70\141\162\145\156\x74" => "\x75\x73\x65\162\x73")))); goto IqtlS; SxNO8: function human2byte($value) { $matches = array(); preg_match("\57\136\x5c\163\x2a\50\x2d\52\x5b\x30\x2d\x39\x2c\x5c\x2e\135\53\x29\x5c\163\52\50\133\153\x6d\x67\164\x5d\x3f\x29\x62\77\134\163\x2a\x24\x2f\x69", $value, $matches); $bytes = (double) $matches[1]; $unit = strtoupper($matches[2]); switch ($unit) { case "\113": $bytes *= 1024; break; case "\115": $bytes *= pow(1024, 2); break; case "\107": $bytes *= pow(1024, 3); break; case "\124": $bytes *= pow(1024, 4); break; } return $bytes; } goto yDgIH; VBTht: function connectDatabase($mysqlServer, $db = null) { $mysql = mysqli_connect($mysqlServer["\150\x6f\x73\x74"], $mysqlServer["\165\163\x65\x72"], $mysqlServer["\160\x61\x73\x73"], $db); mysqli_query($mysql, "\x53\105\124\x20\x4e\x41\x4d\x45\x53\40\125\124\106\70"); mysqli_query($mysql, "\x53\x45\124\x20\103\110\x41\122\101\x43\x54\105\122\40\123\x45\x54\40\165\x74\146\x38"); mysqli_query($mysql, "\x53\105\x54\x20\103\117\114\x4c\x41\124\111\x4f\116\137\103\x4f\x4e\116\x45\103\x54\x49\117\116\40\x3d\x20\47\x75\164\146\70\x5f\147\145\156\145\x72\x61\x6c\137\143\x69\47"); if (!$mysql && developerIP()) { die("\103\x6f\x6e\156\x65\x63\164\x69\x6f\x6e\40\105\x72\162\x6f\x72\40\55\40\76\x20" . mysqli_connect_error()); } if (!$mysql && !developerIP()) { die("\x43\x6f\156\156\x65\143\x74\x69\x6f\x6e\40\x45\x72\162\157\162\x2c\x20\160\x6c\x65\x61\163\145\40\143\x6f\x6e\x74\141\x63\164\40\167\151\x74\150\x20\x61\x64\x6d\151\156\151\x73\164\162\141\164\157\x72\x2e"); } return $mysql; } goto DD28W; qliB8: function strtolower_($arg) { $replacePairs = array("\303\x87" => "\303\xa7", "\304\x9e" => "\xc4\x9f", "\111" => "\xc4\261", "\304\xb0" => "\151", "\xc3\226" => "\xc3\266", "\xc3\234" => "\xc3\274", "\xc5\x9e" => "\xc5\237"); $arg = strtr($arg, $replacePairs); $arg = mb_strtolower($arg); return $arg; } goto oFc19; fWNPE: function byte2human($bytes, $ucfirst = false, $decimal = 2) { $units = array("\x42", "\x4b\x42", "\x4d\x42", "\107\x42", "\x54\x42"); $unitIndex = 0; while ($bytes >= 1024 && $unitIndex < count($units) - 1) { $bytes /= 1024; $unitIndex++; } $formattedBytes = number_format($bytes, $decimal); $unit = $units[$unitIndex]; return $formattedBytes . ($ucfirst ? ucfirst(strtolower($unit)) : $unit); } goto SxNO8; w3XVK: function adminUrl($url = false) { if ($url == "\x2f") { return URL . "\x2f\x61\x64\155\x69\x6e"; } if ($url === false) { return URL . "\x2f\x61\x64\155\x69\x6e\57"; } return URL . "\57\x61\144\x6d\x69\x6e\57" . $url; } goto cP68u; oX_5r: function dbRecordFind($mysqlServer, $dbName, $tableName, $selectedColumns = "\52", $returnMultipleRows = false, $where = false, $searchField = '', $searchValue = '', $additionalSqlCommand = '') { $mysql = connectDatabase($mysqlServer, $dbName); if (is_array($selectedColumns)) { $columnsString = ''; foreach ($selectedColumns as $selectedColumn) { $columnsString .= mysqli_real_escape_string($mysql, $selectedColumn) . "\x2c\40"; } $columnsString = rtrim($columnsString, "\x2c\40"); $selectedColumns = "\140" . $columnsString . "\140"; unset($columnsString); } else { if ($selectedColumns == null || $selectedColumns == "\x2a") { $selectedColumns = "\52"; } else { $selectedColumns = "\x60" . mysqli_real_escape_string($mysql, $selectedColumns) . "\140"; } } $sql = "\123\105\x4c\105\x43\x54\x20{$selectedColumns}\40\x46\x52\117\115\40\140{$tableName}\140"; if ($where == true) { $sql .= "\40\x20\127\110\105\x52\105\40\140{$searchField}\x60\40\x3d\40\x27{$searchValue}\x27"; } if (!empty($additionalSqlCommand)) { $sql .= "\40{$additionalSqlCommand}"; } $query = mysqli_query($mysql, $sql); if ($query) { $resultArray = array(); if ($returnMultipleRows == true) { while ($row = mysqli_fetch_assoc($query)) { $resultArray[] = $row; } } else { $resultArray = mysqli_fetch_assoc($query); } $return = array("\x73\x74\141\164\x75\x73" => true, "\144\x61\164\x61" => $resultArray); } else { $return = array("\163\164\x61\164\165\163" => false, "\x65\162\x72\x6f\x72\x4d\145\x73\x73\141\147\x65" => mysqli_errno($mysql) . "\x20\55\40" . mysqli_error($mysql)); } mysqli_close($mysql); return $return; } goto gCelY; bcHhe: function developerIP() { $arrDevIp = array("\x31\x38\65\x2e\61\65\x32\56\x31\62\x36\56\67\66"); return in_array($_SERVER["\x52\x45\115\x4f\x54\105\137\x41\104\104\x52"], $arrDevIp); } goto xydFM; pc8sl: function isVariableInTableExist($mysqlServer, $dbName, $tableName) { $mysql = connectDatabase($mysqlServer, $dbName); $sql = "\123\x45\114\105\x43\124\40\103\x4f\x55\116\124\x28\x2a\51\x20\141\x73\40\x63\x6f\165\156\164\x20\x46\122\x4f\115\40{$tableName}"; $query = mysqli_query($mysql, $sql); if ($query) { $row = mysqli_fetch_assoc($query); $count = $row["\x63\157\165\156\164"]; if ($count > 0) { $return = true; } else { $return = false; } mysqli_close($mysql); return $return; } } goto xZEkW; MLJvN: function uploadImage($inputName) { $allowedFormats = array("\151\x6d\x61\x67\145\x2f\x6a\x70\x65\x67", "\x69\155\x61\147\x65\x2f\160\156\x67", "\x69\x6d\x61\x67\145\57\x6a\160\147"); $maxFileSize = "\x31\x30\115\102"; $imgPath = __DIR__ . "\57\x2e\x2e\x2f\165\160\x6c\x6f\x61\144\x73\57\151\155\x67\x2f"; if (!isset($_FILES[$inputName])) { return array("\163\x74\141\164\165\163" => false, "\x6d\145\x73\x73\x61\147\x65" => "\104\x6f\163\171\x61\x20\142\x75\154\x75\x6e\x61\155\x61\x64\304\xb1"); } if (isset($_FILES[$inputName]["\145\x72\x72\157\x72"]) && $_FILES[$inputName]["\145\x72\162\x6f\162"] == 1) { return array("\163\x74\141\x74\165\x73" => false, "\x6d\x65\163\x73\x61\x67\x65" => "\110\x61\x74\141\40\157\x6c\165\xc5\237\x74\165"); } $file = $_FILES[$inputName]; if (!in_array($file["\x74\171\160\x65"], $allowedFormats)) { return array("\163\x74\141\x74\x75\163" => false, "\x6d\x65\163\x73\141\x67\x65" => "\102\165\40\165\x7a\x61\x6e\x74\304\261\144\141\x20\144\x6f\x73\171\141\40\x79\303\xbc\x6b\x6c\x65\x6e\155\x65\x7a"); } if ($file["\163\x69\172\x65"] > human2byte($maxFileSize)) { return array("\x73\164\141\x74\165\163" => false, "\155\145\x73\163\141\147\145" => "\x42\157\x79\165\x74\x20\x41\305\x9f\304\261\154\144\304\xb1"); } if (!is_dir($imgPath)) { if (!mkdir($imgPath, 511, true)) { return array("\x73\x74\x61\164\x75\163" => false, "\155\x65\163\x73\x61\x67\145" => "\113\x6c\x61\x73\303\266\162\x20\x68\x61\x74\141\163\304\xb1"); } } $fileName = explode("\56", $file["\156\141\155\145"])[0] . "\137" . time(); $fileType = explode("\x2f", $file["\164\171\160\145"])[1]; $uploadedImage = $imgPath . $fileName . "\x2e" . $fileType; if (!move_uploaded_file($file["\164\x6d\x70\x5f\x6e\141\155\145"], $uploadedImage)) { return array("\163\164\x61\164\x75\163" => false, "\155\145\163\x73\141\x67\x65" => "\x48\x61\164\x61\40\155\x65\171\144\141\x6e\141\40\x67\145\154\x64\151"); } else { return array("\163\164\x61\164\165\x73" => true, "\160\141\164\150" => "\165\160\154\157\x61\144\163\57\x69\155\147\57" . $fileName . "\x2e" . $fileType); } } goto Uarpl; MKGam: function sidebarMenu() { global $adminPages; $currentPage = basename($_SERVER["\120\x48\120\x5f\123\105\114\x46"]); $menu = ''; foreach ($adminPages as $mainPage => $pageData) { $menu .= "\x3c\154\151\40\x63\154\x61\163\163\x3d\x22\163\151\144\145\142\141\162\x2d\x69\x74\x65\x6d\x22\76"; if (isset($pageData["\143\x68\151\154\144\162\145\x6e"])) { $menu .= "\x3c\x61\x20\143\x6c\141\x73\163\75\42\163\x69\x64\145\142\x61\x72\55\x6c\151\x6e\x6b\x20\x68\141\163\x2d\x61\162\162\x6f\167\x20\x77\141\x76\145\x73\x2d\x65\x66\146\x65\x63\x74\x20\167\141\166\145\x73\55\144\x61\x72\x6b\42\x20\x68\x72\145\146\75\42\152\141\x76\141\x73\143\162\x69\160\164\x3a\x76\157\x69\x64\50\60\x29\42\40\141\x72\x69\x61\x2d\x65\170\x70\141\156\x64\145\x64\75\x22\x66\141\154\x73\x65\42\x3e"; $menu .= "\x3c\x69\x20\x63\x6c\x61\163\x73\75\x22" . $pageData["\151\143\x6f\156"] . "\42\x3e\74\57\151\76"; $menu .= "\x3c\163\160\x61\156\40\x63\x6c\141\163\163\x3d\42\150\x69\144\x65\x2d\x6d\x65\156\x75\42\x3e" . $pageData["\156\x61\155\145"] . "\74\x2f\163\160\141\x6e\x3e\74\57\141\76"; $menu .= "\x3c\x75\154\40\141\x72\151\141\x2d\145\170\160\x61\156\144\145\x64\75\42\146\141\154\163\145\42\40\143\x6c\141\163\163\75\x22\143\x6f\x6c\x6c\x61\160\x73\x65\x20\146\x69\x72\x73\x74\55\154\145\x76\145\x6c\x22\76"; foreach ($pageData["\143\150\x69\154\x64\x72\145\156"] as $childPage => $childData) { $menu .= "\x3c\154\151\40\x63\154\x61\x73\163\75\x22\163\151\144\145\x62\x61\x72\x2d\151\164\x65\x6d\42\76"; if ($currentPage == $childPage) { $menu .= "\x3c\141\x20\x68\x72\145\x66\75\x22" . adminUrl($childData["\154\151\156\x6b"]) . "\42\x20\143\154\141\163\x73\75\x22\163\x69\x64\x65\x62\141\x72\55\154\151\156\x6b\x20\x61\143\x74\x69\x76\145\42\x3e"; } else { $menu .= "\x3c\141\x20\x68\x72\145\146\x3d\42" . adminUrl($childData["\154\151\x6e\153"]) . "\42\40\x63\x6c\141\x73\x73\75\42\163\x69\x64\x65\142\x61\x72\x2d\154\151\156\x6b\42\76"; } $menu .= "\x3c\151\x20\143\x6c\141\x73\163\x3d\x22" . $childData["\151\143\x6f\x6e"] . "\42\76\x3c\57\151\x3e"; $menu .= "\74\163\x70\x61\x6e\x20\143\154\141\163\x73\x3d\x22\x68\151\x64\x65\x2d\x6d\145\156\x75\42\x3e" . $childData["\156\x61\155\145"] . "\x3c\57\163\160\141\x6e\76\74\57\x61\x3e\x3c\57\x6c\151\x3e"; } $menu .= "\x3c\x2f\165\x6c\x3e"; } else { $menu .= "\x3c\141\x20\143\154\x61\163\163\75\42\x73\151\144\x65\142\141\162\55\154\151\x6e\x6b\x20\x77\141\x76\x65\163\55\145\146\146\145\143\164\x20\167\141\x76\145\163\55\144\141\162\x6b\42\x20\150\162\x65\x66\75\x22" . adminUrl($pageData["\154\x69\156\x6b"]) . "\x22\76"; $menu .= "\x3c\x69\x20\x63\x6c\x61\x73\163\75\x22" . $pageData["\151\x63\x6f\x6e"] . "\42\76\x3c\57\151\x3e"; $menu .= "\74\163\160\x61\156\40\143\x6c\141\163\163\x3d\42\x68\151\x64\x65\55\x6d\145\156\x75\42\76" . $pageData["\x6e\141\155\x65"] . "\74\57\163\160\x61\156\76\74\x2f\x61\76"; } $menu .= "\x3c\57\x6c\151\76"; } $menu .= "\74\x64\x69\x76\40\143\154\x61\163\x73\75\42\144\x72\157\160\x64\x6f\x77\156\x2d\144\x69\x76\x69\x64\145\162\42\76\74\57\144\151\166\x3e\74\154\151\40\x63\x6c\x61\x73\x73\x3d\42\x73\x69\x64\145\142\141\162\x2d\x69\164\145\x6d\x20\x74\145\x78\164\x2d\143\145\x6e\164\x65\162\42\76\x3c\x61\40\x63\x6c\x61\x73\x73\x3d\x22\163\151\144\x65\x62\141\x72\x2d\154\x69\x6e\153\x20\x77\x61\166\145\163\55\x65\x66\146\x65\x63\x74\40\x77\x61\166\x65\x73\55\144\x61\162\x6b\x20\x73\151\144\145\x62\x61\162\x2d\x6c\x69\156\153\x22\40\x68\x72\145\146\75\42" . siteUrl() . "\42\40\164\x61\x72\x67\145\x74\x3d\x22\137\x62\x6c\141\x6e\153\42\76\x3c\151\x20\x63\154\141\163\163\x3d\42\x6d\144\151\x20\155\144\x69\55\141\x72\162\157\x77\x2d\164\x6f\160\x2d\x72\x69\x67\x68\164\x22\x3e\74\x2f\151\x3e\x20\x53\x69\x74\x65\x79\145\x20\x47\151\164\74\57\x61\x3e\74\57\x6c\151\x3e\xa\x9\x3c\154\151\40\x63\x6c\x61\x73\x73\75\x22\x73\x69\x64\x65\142\x61\x72\x2d\x69\x74\x65\x6d\42\76\40\x3c\x61\40\143\154\141\163\x73\x3d\42\163\x69\x64\x65\x62\141\x72\x2d\154\151\156\x6b\x20\x77\x61\x76\145\163\x2d\145\146\146\145\143\x74\40\167\x61\166\145\163\x2d\x64\x61\162\x6b\x20\x73\151\144\145\x62\141\x72\x2d\154\x69\156\x6b\x22\40\150\162\x65\146\75\42" . adminUrl("\154\x6f\147\157\165\164") . "\x22\40\x61\162\151\141\x2d\145\x78\160\141\x6e\144\x65\x64\x3d\42\146\141\154\x73\145\42\76\x3c\x69\40\143\x6c\141\163\163\75\42\x66\x61\x20\x66\x61\55\x70\x6f\x77\x65\x72\x2d\157\146\x66\x22\x3e\x3c\57\151\76\74\163\160\x61\156\40\x63\x6c\141\163\163\75\42\x68\x69\x64\145\55\155\145\156\165\x22\x3e\303\x87\304\261\x6b\xc4\xb1\xc5\237\x20\131\x61\160\74\57\x73\160\141\156\76\x3c\57\x61\x3e\x3c\x2f\154\151\76"; return $menu; } goto MLJvN; yDgIH: function removeCharForPhone($string, $charactersToRemove = "\x28\x29") { $result = preg_replace("\x2f\x5b\x5e\x41\55\x5a\x61\55\172\60\x2d\x39\135\57", '', $string); return $result; } goto VBTht; gK7l0: function isDatabaseExists($mysqlServer, $dbName) { $mysql = connectDatabase($mysqlServer); $sql = "\x53\105\114\x45\x43\124\x20\x53\103\x48\x45\x4d\x41\137\116\101\x4d\x45\40\106\x52\117\x4d\x20\111\116\106\117\x52\x4d\x41\124\x49\x4f\x4e\137\123\x43\110\105\115\101\56\123\x43\x48\x45\115\101\124\101\40\127\110\x45\x52\105\x20\123\x43\110\105\115\x41\x5f\116\101\x4d\x45\40\x3d\x20\47{$dbName}\47"; $result = mysqli_query($mysql, $sql); $return = mysqli_num_rows($result) > 0; mysqli_close($mysql); return $return; } goto ynEgA; Uarpl: function deleteImage($path) { if (mb_strpos($path, "\56\56")) { return array("\x73\164\141\164\x75\x73" => false, "\x6d\145\163\163\x61\x67\x65" => "\x48\141\164\141\154\304\261\40\304\260\305\x9f\x6c\145\155\x20\x23\40\x31"); } $fileType = pathinfo("\x2e\56\x2f" . $path, PATHINFO_EXTENSION); $allowedFormats = array("\152\160\x67", "\x70\156\147", "\152\x70\x65\x67"); if (!in_array($fileType, $allowedFormats)) { return array("\163\x74\x61\x74\x75\x73" => false, "\x6d\x65\x73\x73\x61\x67\x65" => "\x42\165\x20\144\157\x73\x79\141\x20\163\x69\154\151\156\x65\155\145\x7a"); } $imageFull = "\56\x2e\x2f" . $path; unlink($imageFull); return array("\x73\164\x61\164\165\x73" => true, "\x6d\x65\163\163\141\147\x65" => "\x44\x6f\163\x79\x61\x20\163\x69\154\x69\156\x64\x69"); } goto pzBr2; oFc19: function seflink($arg) { $specialChars = array("\304\236", "\xc3\x9c", "\305\x9e", "\xc4\260", "\303\226", "\xc3\207", "\304\x9f", "\303\274", "\xc5\237", "\304\261", "\303\xb6", "\303\xa7"); $replaceChars = array("\x47", "\x55", "\x53", "\111", "\x4f", "\x43", "\147", "\165", "\163", "\151", "\x6f", "\x63"); $arg = preg_replace("\57\x5b\x5e\x30\x2d\x39\x61\x2d\172\x41\55\x5a\303\x84\172\303\x9c\305\x9e\xc4\260\303\226\303\x87\304\x9f\303\xbc\xc5\x9f\xc4\xb1\303\266\xc3\247\x5d\x2f", "\x20", $arg); $arg = str_replace($specialChars, $replaceChars, $arg); $arg = preg_replace("\57\134\x73\x2b\x2f", "\40", $arg); $arg = str_replace("\x20", "\55", trim($arg)); $arg = strtolower($arg); return $arg; } goto CAELK; g8tjf: function dbRecordInsert($mysqlServer, $dbName, $tableName, $data, $additionalSqlCommand = '') { if (!is_array($data)) { return array("\x73\x74\x61\164\165\x73" => false, "\x65\x72\162\x6f\162\115\145\163\163\141\x67\x65" => "\131\x61\x70\304\xb1\163\x61\154\40\110\141\x74\x61"); } $mysql = connectDatabase($mysqlServer, $dbName); foreach ($data as $k => $v) { if (is_string($v)) { $data[$k] = mysqli_real_escape_string($mysql, $v); } } $arrKeys = implode("\54", array_keys($data)); $arrValues = "\47" . implode("\47\54\x20\47", array_values($data)) . "\47"; $query = mysqli_query($mysql, "\111\x4e\x53\105\122\x54\x20\111\x4e\x54\117\x20\140{$tableName}\140\40\x28{$arrKeys}\x29\40\x56\101\x4c\x55\x45\123\40\x28{$arrValues}\51\73" . $additionalSqlCommand); if ($query) { $return = array("\x73\164\x61\x74\165\163" => true); } else { $return = array("\163\164\x61\x74\x75\163" => false, "\x65\x72\162\x6f\162\115\x65\x73\163\141\x67\145" => mysqli_errno($mysql) . "\40\x2d\x20" . mysqli_error($mysql)); } mysqli_close($mysql); return $return; } goto sgllW; Y_eUF: function dbRecordDelete($mysqlServer, $dbName, $tableName, $searchField, $searchValue) { $mysql = connectDatabase($mysqlServer, $dbName); $sql = "\104\105\114\x45\x54\105\40\106\x52\117\x4d\40\x60{$tableName}\x60\40\x57\110\x45\122\x45\40\x60{$searchField}\140\x20\x3d\40\x27{$searchValue}\47"; $query = mysqli_query($mysql, $sql); if ($query) { $return = array("\163\x74\141\164\x75\163" => true); } else { $return = array("\x73\x74\141\x74\x75\x73" => false, "\145\x72\x72\x6f\x72\x4d\x65\163\x73\141\147\145" => mysqli_errno($mysql) . "\40\x2d\40" . mysqli_error($mysql)); } mysqli_close($mysql); return $return; } goto oX_5r; cgw5Y: function validateEmail($email) { return preg_match("\57\x5e\x5b\x61\x2d\172\x41\55\x5a\60\x2d\71\x2e\137\x2d\x5d\x2b\x40\x5b\141\55\x7a\x41\55\x5a\60\x2d\71\56\55\135\x2b\x5c\56\x5b\x61\x2d\172\x41\x2d\132\x5d\x7b\62\x2c\x34\175\x24\57", $email); } goto mufnV; xZEkW: function getLastAutoIncrementValue($mysqlServer, $dbName, $tableName) { $mysql = connectDatabase($mysqlServer); $sql = "\123\x45\114\105\x43\124\x20\101\125\x54\x4f\137\x49\x4e\103\122\105\115\105\x4e\124\40\106\122\x4f\115\40\x69\x6e\x66\x6f\x72\155\141\164\151\157\x6e\137\163\x63\x68\145\x6d\141\56\124\x41\x42\114\105\x53\x20\x57\x48\105\x52\x45\x20\124\x41\x42\x4c\105\137\123\x43\x48\x45\x4d\101\x20\75\x20\x27{$dbName}\47\x20\101\116\104\x20\x54\101\x42\114\x45\137\116\x41\115\105\40\x3d\x20\47{$tableName}\47"; $query = mysqli_query($mysql, $sql); if ($query) { $row = mysqli_fetch_assoc($query); $autoIncrementValue = $row["\101\x55\x54\x4f\x5f\x49\x4e\x43\x52\x45\x4d\105\116\x54"]; $return = $autoIncrementValue; } else { $return = false; } mysqli_close($mysql); return $return; } goto g8tjf; CAELK: function strtolower_seo($arg) { $arg = trim(strtolower_($arg)); $replacePairs = array("\x20" => "\x2d", "\x2e" => '', "\57" => '', "\xc3\274" => "\165", "\304\237" => "\x67", "\xc4\261" => "\x69", "\xc5\x9f" => "\x73", "\303\247" => "\x63", "\xc3\xb6" => "\157"); $arg = strtr($arg, $replacePairs); return $arg; } goto cgw5Y; mufnV: function validatePhoneNumber($phoneNumber) { $phoneNumber = preg_replace("\57\x5c\x44\57", '', $phoneNumber); if (substr($phoneNumber, 0, 1) !== "\x30") { $phoneNumber = "\60" . $phoneNumber; } return preg_match("\57\x5e\60\x28\x35\133\x30\x2d\66\135\x7b\61\x7d\x5b\x30\55\x39\x5d\173\61\x7d\x29\133\x30\55\x39\135\173\63\175\133\60\55\x39\135\x7b\62\x7d\x5b\60\x2d\x39\x5d\x7b\x32\x7d\x24\57", $phoneNumber); } goto C09I1; NQPrG: function breadcrumb() { global $adminPages; $currentPage = basename($_SERVER["\120\110\x50\x5f\123\105\114\106"]); $breadcrumb = "\74\144\x69\x76\40\143\x6c\x61\163\x73\75\x22\160\141\147\x65\x2d\142\x72\145\x61\144\143\162\x75\x6d\x62\x22\76\74\x64\x69\x76\40\x63\154\x61\x73\163\x3d\42\162\x6f\167\x22\76\x3c\144\151\166\x20\143\154\x61\163\163\75\42\x63\157\154\55\61\62\x20\x64\x2d\x66\154\145\170\40\x6e\157\55\142\x6c\x6f\x63\153\40\x61\154\x69\147\x6e\x2d\151\x74\145\155\163\55\x63\145\x6e\x74\145\x72\x22\76\x3c\x68\64\x20\143\154\141\x73\163\75\42\x70\x61\x67\x65\55\x74\151\x74\154\145\42\x3e" . currentPageData()["\156\141\155\145"] . "\x3c\x2f\150\64\76\74\x64\151\x76\40\x63\154\141\163\163\75\x22\x6d\154\55\x61\x75\164\x6f\x20\164\145\x78\164\x2d\162\151\x67\x68\164\42\x3e\x3c\x6e\x61\166\x20\x61\x72\x69\x61\x2d\x6c\141\x62\x65\154\75\x22\x62\x72\145\x61\144\143\162\165\x6d\x62\x22\x3e"; $breadcrumb .= "\x3c\x6f\154\40\x63\x6c\141\163\x73\x3d\x22\x62\x72\145\x61\x64\143\162\x75\155\142\42\x3e\x3c\x6c\x69\40\x63\x6c\x61\163\x73\75\x22\x62\x72\145\141\144\143\162\x75\155\x62\55\x69\x74\x65\155\x22\76\x3c\x61\x20\150\162\145\146\x3d\42" . adminUrl("\x61\x64\155\x69\156") . "\x22\x3e\101\x6e\x61\40\x53\x61\x79\146\x61\74\57\x61\76\x3c\x2f\154\x69\x3e"; foreach ($adminPages as $mainPage => $pageData) { if ($currentPage == $mainPage) { $breadcrumb .= "\x3c\x6c\151\40\x63\x6c\141\x73\x73\x3d\42\x62\x72\145\x61\144\x63\162\165\x6d\142\x2d\x69\x74\145\155\x20\x61\143\164\151\x76\x65\42\40\141\162\151\x61\55\143\165\x72\x72\145\156\x74\x3d\x22\160\141\x67\145\42\x3e" . $pageData["\x6e\141\155\145"] . "\x3c\57\154\x69\x3e"; break; } else { if (isset($pageData["\143\x68\151\154\144\162\x65\x6e"])) { foreach ($pageData["\143\150\151\154\x64\162\145\156"] as $childPage => $childData) { if ($currentPage == $childPage) { $breadcrumb .= "\74\154\151\x20\x63\x6c\x61\163\163\75\42\142\x72\145\141\x64\143\162\165\x6d\142\x2d\151\164\145\155\x22\76\x3c\x61\x20" . ($pageData["\154\151\x6e\x6b"] != false ? "\x68\162\145\x66\75\42" . $pageData["\x6c\x69\x6e\153"] . "\42" : '') . "\76" . $pageData["\x6e\x61\155\145"] . "\x3c\x2f\141\76\x3c\57\x6c\151\76"; $breadcrumb .= "\x3c\x6c\x69\40\143\154\141\163\x73\75\x22\x62\x72\145\141\144\x63\x72\165\155\142\55\x69\x74\x65\155\x20\x61\x63\164\x69\166\x65\42\40\141\162\151\x61\x2d\143\165\x72\162\x65\x6e\164\x3d\42\x70\141\147\x65\42\76" . $childData["\156\141\155\x65"] . "\74\57\x6c\x69\x3e"; break 2; } } } } } $breadcrumb .= "\x3c\x2f\x6f\154\x3e"; $breadcrumb .= "\74\57\x6e\x61\166\76\74\57\x64\151\x76\x3e\x3c\57\144\x69\166\x3e\74\x2f\144\151\166\x3e\74\57\144\x69\166\76"; return $breadcrumb; } goto MKGam; IqtlS: function currentPageData() { global $adminPages; $currentPage = basename($_SERVER["\x50\x48\x50\137\x53\x45\x4c\106"]); foreach ($adminPages as $mainPage => $pageData) { if ($currentPage == $mainPage) { return $pageData; } else { if (isset($pageData["\x63\x68\x69\x6c\x64\x72\145\x6e"])) { foreach ($pageData["\x63\x68\x69\x6c\144\162\145\156"] as $childPage => $childData) { if ($currentPage == $childPage) { return $childData; } } } } } return false; } goto NQPrG; pzBr2: function ucwords_($arg) { $result = ''; $words = explode("\40", $arg); foreach ($words as $wordPlain) { $firstChar = mb_substr($wordPlain, 0, 1, "\125\124\x46\55\x38"); $others = mb_substr($wordPlain, 1, mb_strlen($wordPlain, "\x55\124\x46\55\70") - 1, "\125\x54\106\55\70"); $firstChar = strtoupper_($firstChar); $others = strtolower_($others); $result .= $firstChar . $others . "\40"; } $final = trim($result); return $final; } goto q_wtJ; xydFM: if (isset($_SERVER["\x53\x45\x52\126\x45\x52\x5f\x4e\101\115\105"])) { define("\x55\122\x4c", "\150\164\164\x70\163\72\57\x2f" . $_SERVER["\x53\105\122\126\x45\122\x5f\116\101\115\x45"]); } else { define("\x55\122\x4c", "\x68\x74\164\160\x73\72\57\x2f\x69\x68\163\x61\x6e\56\162\145\x64"); } goto BZ_J1; C09I1: function validateName($name) { return preg_match("\57\x5e\133\x61\55\172\101\55\132\304\x9f\303\274\xc5\x9f\xc4\261\303\xb6\303\247\xc4\x9e\303\x9c\xc5\x9e\304\xb0\303\226\303\x87\135\53\x24\x2f\x75", $name); } goto fWNPE; DD28W: function createDatabase($mysqlServer, $dbName) { $mysql = connectDatabase($mysqlServer); $sql = "\x43\122\105\101\x54\105\x20\x44\x41\x54\x41\102\101\x53\105\40{$dbName}\40\103\110\101\x52\x41\x43\124\105\x52\x20\x53\105\124\x20\165\164\146\70\x20\x43\117\x4c\114\101\124\x45\x20\x75\x74\146\70\137\147\145\x6e\x65\162\141\154\137\143\x69"; $query = mysqli_query($mysql, $sql); if (!$query && developerIP()) { echo mysqli_error($mysql); } mysqli_close($mysql); } goto wc5jQ; sgllW: function dbRecordUpdate($mysqlServer, $dbName, $tableName, $data, $where = false, $searchField = '', $searchValue = '') { if (!is_array($data)) { return array("\x73\x74\x61\x74\165\x73" => false, "\x65\x72\x72\157\162\x4d\x65\x73\x73\x61\147\145" => "\x59\x61\160\304\261\x73\141\x6c\x20\x48\141\164\141"); } $mysql = connectDatabase($mysqlServer, $dbName); $updateData = ''; foreach ($data as $k => $v) { if (is_string($v)) { $v = mysqli_real_escape_string($mysql, $v); } $updateData .= "\x60{$k}\x60\40\75\40\47{$v}\x27\54\40"; } $updateData = rtrim($updateData, "\x2c\40"); $sql = "\x55\x50\104\101\124\x45\x20\x60{$tableName}\x60\x20\x53\105\x54\x20{$updateData}"; if ($where == true) { $sql .= "\40\40\x57\110\105\122\x45\40\140{$searchField}\140\x20\75\x20\x27{$searchValue}\47"; } $query = mysqli_query($mysql, $sql); if ($query) { $return = array("\x73\x74\x61\164\x75\x73" => true); } else { $return = array("\163\x74\x61\x74\x75\x73" => false, "\x65\162\x72\x6f\x72\x4d\x65\163\x73\x61\x67\145" => mysqli_errno($mysql) . "\x20\x2d\40" . mysqli_error($mysql)); } mysqli_close($mysql); return $return; } goto Y_eUF; BZ_J1: function siteUrl($url = false) { if ($url == "\x2f") { return URL; } if ($url === false) { return URL . "\x2f"; } return URL . "\57" . $url; } goto w3XVK; gCelY: ?>

Function Calls

None

Variables

None

Stats

MD5 038d66caebd44c4147e766b31730ccbf
Eval Count 0
Decode Time 100 ms