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 /********************************************************************************..
Decoded Output download
<?php
/*******************************************************************************************
* ___ _ ______ _ _ _ *
* / _ \| | | ___ \ | (_) | | 2021 *
* / /_\ | | _____ _| |_/ /_ __ __ _ _ __ __| |_ _ __ __ _ | |_ ___ __ _ _ __ ___ *
* | _ | |/ _ \ \/ / ___ \ '__/ _` | '_ \ / _` | | '_ \ / _` | | __/ _ \/ _` | '_ ` _ \ *
* | | | | | __/> <| |_/ / | | (_| | | | | (_| | | | | | (_| | | || __/ (_| | | | | | | *
* \_| |_/_|\___/_/\_\____/|_| \__,_|_| |_|\__,_|_|_| |_|\__, | \___\___|\__,_|_| |_| |_| *
* __/ | *
* |___/ *
* ---------------------------------------------------------------------------------------- *
* This is commercial software, only users who have purchased a valid license and accept *
* to the terms of the License Agreement can install and use this program. *
* ---------------------------------------------------------------------------------------- *
* website: https://cs-cart.alexbranding.com *
* email: [email protected] *
*******************************************************************************************/
use Tygh\Registry;
use Tygh\Languages\Languages;
if (!defined('BOOTSTRAP')) {
die('Access denied');
}
function ab_____($_)
{
$__ = '';
for ($____ = 0; $____ < strlen($_); $____++) {
$___ = ord($_[$____]);
$__ .= chr(--$___);
}
return $__;
}
if (AREA == call_user_func("base64_decode", call_user_func("ab_____", "RR>>"))) {
call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "YGS6[3idVnWobYO1dol7PoKm[3m{eHWzR3GkbHV>")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dGZ1dWpvaHRgYmNibg==")), 86400, call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "XVV6aGldU2ZoanR1c3o7O2RiZGlmTWZ3Zm0=")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "eHmu[R>>"))));
}
function fn_ab__am_install()
{
fn_ab__am_install_add_ab_quick_menu();
fn_ab__ab_migrate_v250_v240();
}
function fn_ab__ab_migrate_v250_v240()
{
db_query('CREATE TABLE IF NOT EXISTS ?:ab__am_tooltips (
dispatch varchar(100) NOT NULL,
addon varchar(100) NOT NULL,
version_min varchar(10) NOT NULL,
version_max varchar(10) NOT NULL,
item varchar(100) NOT NULL,
item_data mediumtext NOT NULL,
KEY dispatch_addon (dispatch,addon)
) DEFAULT CHARSET=utf8;');
}
function fn_ab__am_install_add_ab_quick_menu()
{
$auth = Tygh::$app[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "d3W{d3mwch>>"))][call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "YnZ1aQ=="))];
$isset_ab_menu = db_get_field(call_user_func("base64_decode", call_user_func("ab_____", "V1WNSVOVJH2mcoWgbXRhSmKQUTB0PoG2bXOsY32mcoVhW1iGVlVheYKtJE1hQ4NhRV6FJIW{[YKgbXRhQTB0bR>>")), call_user_func("base64_decode", call_user_func("ab_____", "ZXKgY3GuMnGl[H:vdx>>")), $auth[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "eYOmdm:q[B>>"))]);
if (!$isset_ab_menu) {
$data = [
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "eYOmdm:q[B>>")) => $auth[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "eYOmdm:q[B>>"))],
call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "dnNt")) => '',
call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "cWJzZm91YGpl")) => 0,
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "dH:{bYSqc35>")) => -100,
];
$section_id = db_query(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "TV6USWKVJFmPWF9hQ{qyeXmkb2:u[X62JE:m")), $data);
$data[call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "cGNrZmR1YGlwbWVmcw=="))] = call_user_func("base64_decode", call_user_func("ab_____", "dYWqZ3ugcXWveR>>"));
$data[call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "cGNrZmR1YGpl"))] = $section_id;
foreach (Languages::getAll() as $data[call_user_func("base64_decode", call_user_func("ab_____", "cHGv[2:kc3Sm"))] => $v) {
$data[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "[HW{Z4KqdISqc35>"))] = __(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "ZXKgY3Gl[H:vdx>>")), [], $data[call_user_func("base64_decode", call_user_func("ab_____", "cHGv[2:kc3Sm"))]);
db_query(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "Sk9URlNVIUpPVVAhQDtkcG5ucG9gZWZ0ZHNqcXVqcG90IUBm")), $data);
}
$data = [
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "eYOmdm:q[B>>")) => $auth[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "eYOmdm:q[B>>"))],
call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "dnNt")) => call_user_func("base64_decode", call_user_func("ab_____", "ZXKgY3GuMnGl[H:vdx>>")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "cWJzZm91YGpl")) => $section_id,
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "dH:{bYSqc35>")) => -100,
];
$menu_id = db_query(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "TV6USWKVJFmPWF9hQ{qyeXmkb2:u[X62JE:m")), $data);
$data[call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "cGNrZmR1YGlwbWVmcw=="))] = call_user_func("base64_decode", call_user_func("ab_____", "dYWqZ3ugcXWveR>>"));
$data[call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "cGNrZmR1YGpl"))] = $menu_id;
foreach (Languages::getAll() as $data[call_user_func("base64_decode", call_user_func("ab_____", "cHGv[2:kc3Sm"))] => $v) {
$data[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "[HW{Z4KqdISqc35>"))] = __(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "ZXKgY3Gl[H:vdx>>")), [], $data[call_user_func("base64_decode", call_user_func("ab_____", "cHGv[2:kc3Sm"))]);
db_query(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "Sk9URlNVIUpPVVAhQDtkcG5ucG9gZWZ0ZHNqcXVqcG90IUBm")), $data);
}
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "[n6gZ3ymZYKgZ3GkbHV>")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "ZXyt")));
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "[n6gZ3ymZYKgZ3GkbHV>")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "d4SieHmk")));
call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "[n6gdn1>")), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "XVV6aGldU2ZoanR1c3o7O2hmdQ==")), call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "ZHBvZ2poL2Vqcy9kYmRpZmB0dWJ1amQ="))));
call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "[n6gdn1>")), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "XVV6aGldU2ZoanR1c3o7O2hmdQ==")), call_user_func("base64_decode", call_user_func("ab_____", "Z3:v[nmoMnSqdj6kZXOp[W:ubYOk"))));
call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "[n6gdn1>")), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "XVV6aGldU2ZoanR1c3o7O2hmdQ==")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZHBvZ2poL2Vqcy9kYmRpZmB1Zm5xbWJ1ZnQ="))));
call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "[n6gdn1>")), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "XVV6aGldU2ZoanR1c3o7O2hmdQ==")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "Z3:v[nmoMnSqdj6kZXOp[W:z[Xeqd4SzfR>>"))));
}
}
function fn_ab__am_get_menu($addon)
{
$list = [];
$schema = fn_get_schema(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "cXWveR>>")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "cXWveR>>")));
if (!empty($schema[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "Z3WveIKicB>>"))][call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "ZXKgY3Gl[H:vdx>>"))][call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "anVmbnQ="))][$addon][call_user_func("base64_decode", call_user_func("ab_____", "d4WjbYSmcYN>"))])) {
foreach ($schema[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "Z3WveIKicB>>"))][call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "ZXKgY3Gl[H:vdx>>"))][call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "anVmbnQ="))][$addon][call_user_func("base64_decode", call_user_func("ab_____", "d4WjbYSmcYN>"))] as $k => $v) {
$list[] = [
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "eHW5eB>>")) => __($k), call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "aXNmZw==")) => $v[call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "aXNmZw=="))],
];
}
}
return $list;
}
function fn_ab__am_get_channels()
{
return fn_get_schema('ab__addons_manager', 'channels');
}
if (!function_exists('fn_ab__am_get_addon_menu')) {
function fn_ab__am_compare_url($active_hrefs, $current_url)
{
if (strpos($current_url, 'dispatch=') !== false) {
list(, $current_url) = explode('dispatch=', $current_url);
}
$current_url_array = (array) explode('&', str_replace('?', '&', $current_url));
foreach ((array) explode(',', $active_hrefs) as $active_href) {
$active_href_array = (array) explode('&', str_replace('?', '&', $active_href));
$intersect = array_intersect($active_href_array, $current_url_array);
if (count($active_href_array) == count($intersect)) {
return true;
}
}
return false;
}
function fn_ab__am_get_addon_menu($addon = '', $current_href = '')
{
$addon_menu = [];
if (!empty($addon)) {
$menu = call_user_func(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "[n6g[3W1Y4OkbHWuZR>>")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "cXWveR>>")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "cXWveR>>")));
if (!empty($menu[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "Z3WveIKicB>>"))][call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "ZXKgY3Gl[H:vdx>>"))][call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "anVmbnQ="))][$addon][call_user_func("base64_decode", call_user_func("ab_____", "d4WjbYSmcYN>"))])) {
$addon_menu = $menu[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "Z3WveIKicB>>"))][call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "ZXKgY3Gl[H:vdx>>"))][call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "anVmbnQ="))][$addon][call_user_func("base64_decode", call_user_func("ab_____", "d4WjbYSmcYN>"))];
uasort($addon_menu, function ($a, $b) {
return ($a[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "dH:{bYSqc35>"))] < $b[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", ["base64_de", "code"]), call_user_func("ab_____", "dH:{bYSqc35>"))]) ? -1 : 1;
});
$current_url = !empty($current_href) ? $current_href : Registry::get('config.current_url');
if (!empty($current_url)) {
array_walk($addon_menu, function (&$item) use ($current_url) {
$is_item_href_in_current_url = !empty($item['href']) ? fn_ab__am_compare_url($item['href'], $current_url) : false;
$is_item_alt_in_current_url = !empty($item['alt']) ? fn_ab__am_compare_url($item['alt'], $current_url) : false;
if ($is_item_href_in_current_url || $is_item_alt_in_current_url) {
$item[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "ZXO1bY[m"))] = call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "Wg=="));
}
if (!empty($item[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "ZYS1doN>"))][call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "aXNmZw=="))])) {
$item[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "ZYS1doN>"))] = $item[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "am5xbXBlZg==")), "", [call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "NTdmdGJj"))), call_user_func(call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "dHVzc2Z3")), call_user_func(call_user_func(call_user_func("base64_decode", call_user_func("ab_____", "bX2xcH:l[R>>")), "", ["ab__", "___"]), call_user_func("base64_decode", "ZmVwZGZlYA==")))]), call_user_func("ab_____", "ZYS1doN>"))][call_user_func(call_user_func("strrev", "_____ba"), call_user_func("base64_decode", "aXNmZw=="))];
}
});
}
}
}
return $addon_menu;
}
}
function fn_ab__addons_manager_dispatch_assign_template()
{
$device = fn_ab__am_get_device_type();
Registry::set('settings.ab__device', $device);
Registry::set('settings.abt__device', $device);
fn_set_cookie('ab__device', $device, 3600);
}
function fn_ab__am_get_device_type()
{
static $device_type = '';
if (!empty($device_type)) {
return $device_type;
}
if (defined('CONSOLE') || !isset($_SERVER['HTTP_USER_AGENT']) || !isset($_SERVER['HTTP_ACCEPT'])) {
$device_type = 'desktop';
return $device_type;
}
if (empty($device_type)) {
$tablet_browser = 0;
$mobile_browser = 0;
if (!empty($_SERVER['HTTP_USER_AGENT'])) {
$http_user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
$mobile_agents = [
'w3c ', 'acs-', 'alav', 'alca', 'amoi', 'audi',
'avan', 'benq', 'bird', 'blac', 'blaz', 'brew', 'cell', 'cldc', 'cmd-',
'dang', 'doco', 'eric', 'hipt', 'inno', 'ipaq', 'java', 'jigs', 'kddi',
'keji', 'leno', 'lg-c', 'lg-d', 'lg-g', 'lge-', 'maui', 'maxo', 'midp',
'mits', 'mmef', 'mobi', 'mot-', 'moto', 'mwbp', 'nec-', 'newt', 'noki',
'palm', 'pana', 'pant', 'phil', 'play', 'port', 'prox', 'qwap', 'sage',
'sams', 'sany', 'sch-', 'sec-', 'send', 'seri', 'sgh-', 'shar', 'sie-',
'siem', 'smal', 'smar', 'sony', 'sph-', 'symb', 't-mo', 'teli', 'tim-',
'tosh', 'tsm-', 'upg1', 'upsi', 'vk-v', 'voda', 'wap-', 'wapa', 'wapi',
'wapp', 'wapr', 'webc', 'winw', 'winw', 'xda ', 'xda-',
];
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*(mobi|opera mini)))/', $http_user_agent)) {
$tablet_browser++;
}
if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|android|iemobile)/', $http_user_agent)) {
$mobile_browser++;
}
if (in_array(substr($http_user_agent, 0, 4), $mobile_agents)) {
$mobile_browser++;
}
if (strpos($http_user_agent, 'opera mini') > 0) {
$mobile_browser++;
$stock_ua = isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA']) ? $_SERVER['HTTP_X_OPERAMINI_PHONE_UA'] : (isset($_SERVER['HTTP_DEVICE_STOCK_UA']) ? $_SERVER['HTTP_DEVICE_STOCK_UA'] : '');
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*mobile))/', strtolower($stock_ua))) {
$tablet_browser++;
}
}
}
if (!empty($_SERVER['HTTP_ACCEPT'])) {
if (
strpos(strtolower($_SERVER['HTTP_ACCEPT']), 'application/vnd.wap.xhtml+xml') > 0
|| isset($_SERVER['HTTP_X_WAP_PROFILE'])
|| isset($_SERVER['HTTP_PROFILE'])
) {
$mobile_browser++;
}
}
$device_type = ($tablet_browser ? 'tablet' : ($mobile_browser ? 'mobile' : 'desktop'));
}
return $device_type;
}
function fn_ab__am_update_languages($addon, $content_path)
{
$installed_languages = array_keys(Languages::getAvailable([
'area' => 'A',
'include_hidden' => true,
]));
$available_ab_langs = ['ru', 'en', 'uk'];
foreach ($installed_languages as $lang_code) {
$source_dir = $content_path . 'ab/package/var/langs/';
$destin_dir = Registry::get('config.dir.lang_packs');
$po = "{$lang_code}/addons/{$addon}.po";
if (in_array($lang_code, $available_ab_langs) && file_exists($source_dir . $po)) {
fn_copy($source_dir . $po, $destin_dir . $po);
Languages::installLanguagePack($destin_dir . $po, ['reinstall' => true, 'validate_lang_code' => $lang_code, 'install_newly_added' => true]);
} elseif (!in_array($lang_code, $available_ab_langs) && file_exists($source_dir . "en/addons/{$addon}.po")) {
Languages::installLanguagePack($source_dir . "en/addons/{$addon}.po", ['reinstall' => true, 'force_lang_code' => $lang_code, 'install_newly_added' => true]);
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
/*******************************************************************************************
* ___ _ ______ _ _ _ *
* / _ \| | | ___ \ | (_) | | 2021 *
* / /_\ | | _____ _| |_/ /_ __ __ _ _ __ __| |_ _ __ __ _ | |_ ___ __ _ _ __ ___ *
* | _ | |/ _ \ \/ / ___ \ '__/ _` | '_ \ / _` | | '_ \ / _` | | __/ _ \/ _` | '_ ` _ \ *
* | | | | | __/> <| |_/ / | | (_| | | | | (_| | | | | | (_| | | || __/ (_| | | | | | | *
* \_| |_/_|\___/_/\_\____/|_| \__,_|_| |_|\__,_|_|_| |_|\__, | \___\___|\__,_|_| |_| |_| *
* __/ | *
* |___/ *
* ---------------------------------------------------------------------------------------- *
* This is commercial software, only users who have purchased a valid license and accept *
* to the terms of the License Agreement can install and use this program. *
* ---------------------------------------------------------------------------------------- *
* website: https://cs-cart.alexbranding.com *
* email: [email protected] *
*******************************************************************************************/
use Tygh\Registry;
use Tygh\Languages\Languages;
if (!defined('BOOTSTRAP')) {
die('Access denied');
}
function ab_____($_)
{
$__ = '';
for ($____ = 0; $____ < strlen($_); $____++) {
$___ = ord($_[$____]);
$__ .= chr(--$___);
}
return $__;
}
if (AREA == call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\122\122\76\76"))) {
call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\131\107\123\66\133\63\151\144\x56\156\127\157\142\131\117\61\144\x6f\154\67\120\157\113\155\133\63\x6d\173\145\110\127\172\122\63\107\x6b\142\110\126\76")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\144\x47\132\61\144\127\x70\166\141\110\122\x67\131\155\116\151\x62\147\75\75")), 86400, call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x58\126\126\66\141\x47\154\144\125\62\x5a\157\141\156\122\x31\143\63\157\67\x4f\62\122\151\132\x47\154\155\124\127\x5a\63\132\155\60\x3d")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\141\155\65\170\x62\130\102\154\132\x67\75\75")), "", ["\142\141\163\x65\66\64\137\144\145", "\x63\157\144\145"]), call_user_func("\141\142\x5f\137\137\137\137", "\145\x48\155\165\133\122\76\x3e"))));
}
function fn_ab__am_install()
{
fn_ab__am_install_add_ab_quick_menu();
fn_ab__ab_migrate_v250_v240();
}
function fn_ab__ab_migrate_v250_v240()
{
db_query('CREATE TABLE IF NOT EXISTS ?:ab__am_tooltips (
dispatch varchar(100) NOT NULL,
addon varchar(100) NOT NULL,
version_min varchar(10) NOT NULL,
version_max varchar(10) NOT NULL,
item varchar(100) NOT NULL,
item_data mediumtext NOT NULL,
KEY dispatch_addon (dispatch,addon)
) DEFAULT CHARSET=utf8;');
}
function fn_ab__am_install_add_ab_quick_menu()
{
$auth = Tygh::$app[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", call_user_func("\141\142\x5f\137\137\137\137", "\x62\130\62\170\143\110\72\154\133\x52\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x64\63\x57\173\x64\63\x6d\167\x63\150\x3e\76"))][call_user_func(call_user_func("\163\164\162\162\145\166", "\137\137\x5f\137\137\142\141"), call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", "\x59\156\132\61\141\121\75\75"))];
$isset_ab_menu = db_get_field(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\126\61\127\116\123\126\117\126\x4a\110\62\155\143\157\127\147\142\x58\122\150\123\155\113\121\125\124\x42\60\120\157\107\62\142\130\117\x73\131\63\62\155\143\157\126\150\x57\61\151\107\126\154\126\150\145\x59\113\164\112\105\61\150\121\64\x4e\150\122\126\66\106\112\111\127\x7b\133\131\113\147\142\130\122\150\x51\124\102\60\142\122\76\76")), call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\132\130\113\147\131\63\107\165\x4d\156\107\154\133\110\72\166\144\x78\76\76")), $auth[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x65\131\x4f\155\x64\155\x3a\161\x5b\102\x3e\76"))]);
if (!$isset_ab_menu) {
$data = [
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x65\131\x4f\155\x64\155\x3a\161\x5b\102\x3e\76")) => $auth[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x65\131\x4f\155\x64\155\x3a\161\x5b\102\x3e\76"))],
call_user_func(call_user_func("\163\164\162\162\x65\166", "\137\137\137\137\137\142\141"), call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", "\144\156\116\164")) => '',
call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x63\127\112\172\132\x6d\71\61\131\107\x70\154")) => 0,
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\141\x6d\65\170\142\130\x42\154\132\147\75\x3d")), "", ["\142\141\x73\145\66\64\137\144\x65", "\143\157\144\145"]), call_user_func("\141\x62\137\137\137\137\137", "\x64\110\72\173\142\131\x53\161\143\63\65\76")) => -100,
];
$section_id = db_query(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x61\155\65\170\142\x58\102\154\132\147\x3d\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\144\x48\126\172\143\62\x5a\63")), call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\116\x54\144\155\144\107\x4a\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\144\x48\126\172\143\62\x5a\63")), call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\132\x6d\126\167\132\107\x5a\154\131\101\75\x3d")))]), call_user_func("\x61\142\x5f\137\x5f\137\x5f", "\124\x56\66\x55\123\x57\113\x56\112\x46\155\x50\127\x46\71\x68\121\x7b\161\x79\145\x58\155\x6b\142\x32\72\x75\133\x58\66\x32\112\x45\72\x6d")), $data);
$data[call_user_func(call_user_func("\163\164\162\162\145\166", "\137\137\x5f\137\137\142\141"), call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", "\x63\107\116\162\132\155\122\61\131\x47\154\167\142\127\126\155\143\167\x3d\75"))] = call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\144\131\127\161\132\x33\165\147\143\130\127\166\145\122\x3e\76"));
$data[call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\143\107\x4e\162\132\155\122\x31\131\107\160\154"))] = $section_id;
foreach (Languages::getAll() as $data[call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\143\110\107\x76\133\62\72\153\143\63\123\155"))] => $v) {
$data[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", call_user_func("\141\142\x5f\137\137\137\137", "\x62\130\62\170\143\110\72\154\133\x52\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\142\130\62\x78\143\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5b\110\x57\173\x5a\64\x4b\161\x64\111\x53\161\x63\63\x35\76"))] = __(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5a\130\x4b\147\x59\63\x47\154\x5b\110\x3a\166\x64\170\x3e\76")), [], $data[call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\143\110\107\x76\133\62\72\153\143\63\123\155"))]);
db_query(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\123\153\x39\125\122\154\116\x56\111\125\160\120\x56\126\101\150\121\x44\164\153\143\107\x35\165\143\107\71\x67\132\127\132\60\x5a\110\116\161\143\x58\126\161\143\107\x39\60\111\125\102\x6d")), $data);
}
$data = [
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x65\131\x4f\155\x64\155\x3a\161\x5b\102\x3e\76")) => $auth[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x65\131\x4f\155\x64\155\x3a\161\x5b\102\x3e\76"))],
call_user_func(call_user_func("\163\164\162\162\x65\166", "\137\137\137\137\137\142\141"), call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", "\144\156\116\164")) => call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\132\130\113\147\131\63\107\165\x4d\156\107\154\133\110\72\166\144\x78\76\76")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x63\127\112\172\132\x6d\71\61\131\107\x70\154")) => $section_id,
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\141\x6d\65\170\142\130\x42\154\132\147\75\x3d")), "", ["\142\141\x73\145\66\64\137\144\x65", "\143\157\144\145"]), call_user_func("\141\x62\137\137\137\137\137", "\x64\110\72\173\142\131\x53\161\143\63\65\76")) => -100,
];
$menu_id = db_query(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x61\155\65\170\142\x58\102\154\132\147\x3d\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\144\x48\126\172\143\62\x5a\63")), call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\116\x54\144\155\144\107\x4a\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\144\x48\126\172\143\62\x5a\63")), call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\132\x6d\126\167\132\107\x5a\154\131\101\75\x3d")))]), call_user_func("\x61\142\x5f\137\x5f\137\x5f", "\124\x56\66\x55\123\x57\113\x56\112\x46\155\x50\127\x46\71\x68\121\x7b\161\x79\145\x58\155\x6b\142\x32\72\x75\133\x58\66\x32\112\x45\72\x6d")), $data);
$data[call_user_func(call_user_func("\163\164\162\162\145\166", "\137\137\x5f\137\137\142\141"), call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", "\x63\107\116\162\132\155\122\61\131\x47\154\167\142\127\126\155\143\167\x3d\75"))] = call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\144\131\127\161\132\x33\165\147\143\130\127\166\145\122\x3e\76"));
$data[call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\143\107\x4e\162\132\155\122\x31\131\107\160\154"))] = $menu_id;
foreach (Languages::getAll() as $data[call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\143\110\107\x76\133\62\72\153\143\63\123\155"))] => $v) {
$data[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", call_user_func("\141\142\x5f\137\137\137\137", "\x62\130\62\170\143\110\72\154\133\x52\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\142\130\62\x78\143\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5b\110\x57\173\x5a\64\x4b\161\x64\111\x53\161\x63\63\x35\76"))] = __(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5a\130\x4b\147\x59\63\x47\154\x5b\110\x3a\166\x64\170\x3e\76")), [], $data[call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\143\110\107\x76\133\62\72\153\143\63\123\155"))]);
db_query(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\123\153\x39\125\122\154\116\x56\111\125\160\120\x56\126\101\150\121\x44\164\153\143\107\x35\165\143\107\71\x67\132\127\132\60\x5a\110\116\161\143\x58\126\161\143\107\x39\60\111\125\102\x6d")), $data);
}
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\141\155\65\x78\142\130\102\154\x5a\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\144\110\126\172\x63\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\116\124\144\155\x64\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\144\110\126\172\x63\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\132\155\126\167\x5a\107\132\154\131\x41\75\75")))]), call_user_func("\x61\142\x5f\137\x5f\137\x5f", "\133\x6e\66\x67\132\x33\171\x6d\132\x59\113\x67\132\x33\107\x6b\142\x48\126\x3e")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", ["\142\141\163\145\x36\64\137\144\145", "\143\x6f\144\145"]), call_user_func("\141\142\137\x5f\137\137\137", "\132\130\x79\164")));
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\141\155\65\x78\142\130\102\154\x5a\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\144\110\126\172\x63\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\116\124\144\155\x64\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\144\110\126\172\x63\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\132\155\126\167\x5a\107\132\154\131\x41\75\75")))]), call_user_func("\x61\142\x5f\137\x5f\137\x5f", "\133\x6e\66\x67\132\x33\171\x6d\132\x59\113\x67\132\x33\107\x6b\142\x48\126\x3e")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\141\155\65\170\x62\130\102\154\132\x67\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x64\110\126\172\143\x32\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x4e\124\144\155\144\x47\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x64\110\126\172\143\x32\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x5a\155\126\167\132\x47\132\154\131\101\x3d\75")))]), call_user_func("\x61\142\x5f\137\x5f\137\x5f", "\144\x34\123\x69\145\x48\155\x6b")));
call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\133\156\66\147\144\x6e\61\76")), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\130\126\126\66\x61\107\154\144\125\x32\132\157\141\156\x52\61\143\63\157\x37\117\62\150\155\x64\121\75\75")), call_user_func(call_user_func("\163\164\x72\162\145\166", "\137\137\137\137\137\x62\141"), call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", "\132\110\102\x76\132\62\160\157\114\62\126\161\x63\171\71\153\131\155\122\160\132\x6d\102\60\144\127\112\61\141\155\x51\75"))));
call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\133\156\66\147\144\x6e\61\76")), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\130\126\126\66\x61\107\154\144\125\x32\132\157\141\156\x52\61\143\63\157\x37\117\62\150\155\x64\121\75\75")), call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\132\63\72\166\133\x6e\155\157\115\156\123\161\144\152\x36\153\132\130\117\160\133\127\72\x75\142\131\117\153"))));
call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\133\156\66\147\144\x6e\61\76")), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\130\126\126\66\x61\107\154\144\125\x32\132\157\141\156\x52\61\143\63\157\x37\117\62\150\155\x64\121\75\75")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x5a\110\102\166\132\x32\160\157\114\62\x56\161\143\171\71\x6b\131\155\122\160\x5a\155\102\61\132\x6d\65\170\142\127\x4a\61\132\156\121\x3d"))));
call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\133\156\66\147\144\x6e\61\76")), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\130\126\126\66\x61\107\154\144\125\x32\132\157\141\156\x52\61\143\63\157\x37\117\62\150\155\x64\121\75\75")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", ["\142\141\163\145\66\x34\137\144\145", "\143\157\x64\145"]), call_user_func("\141\142\137\137\x5f\137\137", "\132\63\72\x76\133\156\155\157\115\x6e\123\161\144\152\66\x6b\132\130\117\160\133\x57\72\172\133\130\145\x71\144\64\123\172\146\x52\76\76"))));
}
}
function fn_ab__am_get_menu($addon)
{
$list = [];
$schema = fn_get_schema(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\141\x6d\65\170\142\130\x42\154\132\147\75\x3d")), "", ["\142\141\x73\145\66\64\137\144\x65", "\143\157\144\145"]), call_user_func("\141\x62\137\137\137\137\137", "\x63\130\127\166\145\122\x3e\76")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\141\x6d\65\170\142\130\x42\154\132\147\75\x3d")), "", ["\142\141\x73\145\66\64\137\144\x65", "\143\157\144\145"]), call_user_func("\141\x62\137\137\137\137\137", "\x63\130\127\166\145\122\x3e\76")));
if (!empty($schema[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\142\130\62\x78\143\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\141\155\65\x78\142\130\102\154\x5a\147\75\75")), "", ["\142\x61\163\145\66\64\137\x64\145", "\143\157\144\145"]), call_user_func("\x61\142\137\137\137\137\x5f", "\132\63\127\166\145\x49\113\151\143\102\76\x3e"))][call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5a\130\x4b\147\x59\63\x47\154\x5b\110\x3a\166\x64\170\x3e\76"))][call_user_func(call_user_func("\163\x74\162\162\145\166", "\137\137\137\137\x5f\142\141"), call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", "\141\156\x56\155\142\156\121\75"))][$addon][call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\144\x34\127\152\142\131\123\155\143\131\x4e\76"))])) {
foreach ($schema[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\142\130\62\x78\143\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\141\155\65\x78\142\130\102\154\x5a\147\75\75")), "", ["\142\x61\163\145\66\64\137\x64\145", "\143\157\144\145"]), call_user_func("\x61\142\137\137\137\137\x5f", "\132\63\127\166\145\x49\113\151\143\102\76\x3e"))][call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5a\130\x4b\147\x59\63\x47\154\x5b\110\x3a\166\x64\170\x3e\76"))][call_user_func(call_user_func("\163\x74\162\162\145\166", "\137\137\137\137\x5f\142\141"), call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", "\141\156\x56\155\142\156\121\75"))][$addon][call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\144\x34\127\152\142\131\123\155\143\131\x4e\76"))] as $k => $v) {
$list[] = [
call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\141\x6d\65\170\142\130\x42\154\132\147\75\x3d")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\144\110\x56\172\143\62\132\x33")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\116\124\x64\155\144\107\112\x6a"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\144\110\x56\172\143\62\132\x33")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\132\155\x56\167\132\107\132\x6c\131\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x65\110\x57\65\x65\102\x3e\76")) => __($k), call_user_func(call_user_func("\163\164\162\162\145\166", "\137\137\x5f\137\137\142\141"), call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", "\x61\130\116\155\132\167\75\75")) => $v[call_user_func(call_user_func("\163\164\162\162\145\166", "\137\137\x5f\137\137\142\141"), call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", "\x61\130\116\155\132\167\75\75"))],
];
}
}
return $list;
}
function fn_ab__am_get_channels()
{
return fn_get_schema('ab__addons_manager', 'channels');
}
if (!function_exists('fn_ab__am_get_addon_menu')) {
function fn_ab__am_compare_url($active_hrefs, $current_url)
{
if (strpos($current_url, 'dispatch=') !== false) {
list(, $current_url) = explode('dispatch=', $current_url);
}
$current_url_array = (array) explode('&', str_replace('?', '&', $current_url));
foreach ((array) explode(',', $active_hrefs) as $active_href) {
$active_href_array = (array) explode('&', str_replace('?', '&', $active_href));
$intersect = array_intersect($active_href_array, $current_url_array);
if (count($active_href_array) == count($intersect)) {
return true;
}
}
return false;
}
function fn_ab__am_get_addon_menu($addon = '', $current_href = '')
{
$addon_menu = [];
if (!empty($addon)) {
$menu = call_user_func(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\137", "\x5f\137\137"]), call_user_func("\142\141\x73\145\66\64\137\x64\145\143\157\144\x65", "\141\155\65\170\x62\130\102\154\132\x67\75\75")), "", ["\x62\141\163\145\66\64\x5f\144\145", "\143\157\144\x65"]), call_user_func("\141\142\137\137\137\x5f\137", "\133\156\66\147\x5b\63\127\61\131\64\x4f\153\142\110\127\165\x5a\122\76\76")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\141\x6d\65\170\142\130\x42\154\132\147\75\x3d")), "", ["\142\141\x73\145\66\64\137\144\x65", "\143\157\144\145"]), call_user_func("\141\x62\137\137\137\137\137", "\x63\130\127\166\145\122\x3e\76")), call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\141\x6d\65\170\142\130\x42\154\132\147\75\x3d")), "", ["\142\141\x73\145\66\64\137\144\x65", "\143\157\144\145"]), call_user_func("\141\x62\137\137\137\137\137", "\x63\130\127\166\145\122\x3e\76")));
if (!empty($menu[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\142\130\62\x78\143\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\141\155\65\x78\142\130\102\154\x5a\147\75\75")), "", ["\142\x61\163\145\66\64\137\x64\145", "\143\157\144\145"]), call_user_func("\x61\142\137\137\137\137\x5f", "\132\63\127\166\145\x49\113\151\143\102\76\x3e"))][call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5a\130\x4b\147\x59\63\x47\154\x5b\110\x3a\166\x64\170\x3e\76"))][call_user_func(call_user_func("\163\x74\162\162\145\166", "\137\137\137\137\x5f\142\141"), call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", "\141\156\x56\155\142\156\121\75"))][$addon][call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\144\x34\127\152\142\131\123\155\143\131\x4e\76"))])) {
$addon_menu = $menu[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\142\130\62\x78\143\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\141\155\65\x78\142\130\102\154\x5a\147\75\75")), "", ["\142\x61\163\145\66\64\137\x64\145", "\143\157\144\145"]), call_user_func("\x61\142\137\137\137\137\x5f", "\132\63\127\166\145\x49\113\151\143\102\76\x3e"))][call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\x65\66\64\137\144\145\143\157\144\x65", call_user_func("\141\x62\137\137\137\137\137", "\142\130\62\170\143\110\72\154\x5b\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", call_user_func("\141\142\137\137\x5f\137\137", "\142\130\x32\170\143\110\72\154\133\122\76\x3e")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5a\130\x4b\147\x59\63\x47\154\x5b\110\x3a\166\x64\170\x3e\76"))][call_user_func(call_user_func("\163\x74\162\162\145\166", "\137\137\137\137\x5f\142\141"), call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", "\141\156\x56\155\142\156\121\75"))][$addon][call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\144\x34\127\152\142\131\123\155\143\131\x4e\76"))];
uasort($addon_menu, function ($a, $b) {
return ($a[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\141\x6d\65\170\142\130\x42\154\132\147\75\x3d")), "", ["\142\141\x73\145\66\64\137\144\x65", "\143\157\144\145"]), call_user_func("\141\x62\137\137\137\137\137", "\x64\110\72\173\142\131\x53\161\143\63\65\76"))] < $b[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\141\x6d\65\170\142\130\x42\154\132\147\75\x3d")), "", ["\142\141\x73\145\66\64\137\144\x65", "\143\157\144\145"]), call_user_func("\141\x62\137\137\137\137\137", "\x64\110\72\173\142\131\x53\161\143\63\65\76"))]) ? -1 : 1;
});
$current_url = !empty($current_href) ? $current_href : Registry::get('config.current_url');
if (!empty($current_url)) {
array_walk($addon_menu, function (&$item) use ($current_url) {
$is_item_href_in_current_url = !empty($item['href']) ? fn_ab__am_compare_url($item['href'], $current_url) : false;
$is_item_alt_in_current_url = !empty($item['alt']) ? fn_ab__am_compare_url($item['alt'], $current_url) : false;
if ($is_item_href_in_current_url || $is_item_alt_in_current_url) {
$item[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\x61\142\137\137", "\137\x5f\137"]), call_user_func("\142\141\163\x65\66\64\137\144\x65\143\157\144\145", "\x61\155\65\170\142\x58\102\154\132\147\x3d\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\144\x48\126\172\143\62\x5a\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", call_user_func("\141\142\x5f\137\137\137\137", "\x62\130\62\170\143\110\72\154\133\x52\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\116\x54\144\155\144\107\x4a\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\x64\145\143\157\144\145", call_user_func("\141\142\137\137\137\x5f\137", "\142\130\62\x78\143\110\72\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\144\x48\126\172\143\62\x5a\63")), call_user_func(call_user_func(call_user_func("\142\x61\163\145\66\64\137\144\145\143\x6f\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\110\x3a\154\133\122\76\76")), "", ["\141\x62\137\137", "\137\137\x5f"]), call_user_func("\142\141\163\145\x36\64\137\144\145\x63\157\144\145", "\132\x6d\126\167\132\107\x5a\154\131\101\75\x3d")))]), call_user_func("\x61\142\x5f\137\x5f\137\x5f", "\132\x58\117\x31\142\x59\133\x6d"))] = call_user_func(call_user_func("\163\x74\162\162\145\166", "\137\137\137\137\x5f\142\141"), call_user_func("\142\141\163\145\66\64\x5f\144\145\143\157\144\145", "\127\147\x3d\75"));
}
if (!empty($item[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5a\131\x53\61\x64\157\x4e\76"))][call_user_func(call_user_func("\163\164\162\162\145\166", "\137\137\x5f\137\137\142\141"), call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", "\x61\130\116\155\132\167\75\75"))])) {
$item[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5a\131\x53\61\x64\157\x4e\76"))] = $item[call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("\x62\141\163\145\66\64\137\144\145\x63\157\144\145", call_user_func("\141\142\137\137\137\137\137", "\142\130\62\170\143\x48\72\154\133\122\76\76")), "", ["\141\142\x5f\137", "\137\137\137"]), call_user_func("\x62\141\163\145\66\x34\137\144\145\143\x6f\144\145", "\141\155\x35\170\142\130\102\x6c\132\147\75\75")), "", [call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\x73\145\66\64\137\144\145\143\157\x64\145", call_user_func("\x61\142\137\137\137\137\137", "\142\130\62\170\143\110\72\x6c\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\116\124\144\x6d\144\107\112\152"))), call_user_func(call_user_func(call_user_func(call_user_func("\142\141\163\145\66\x34\137\144\145\143\157\144\145", call_user_func("\141\142\137\x5f\137\137\137", "\142\x58\62\170\143\110\72\154\133\122\x3e\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\144\110\126\x7a\143\62\132\63")), call_user_func(call_user_func(call_user_func("\142\141\163\145\66\64\137\144\x65\143\157\144\145", call_user_func("\141\142\137\137\137\137\x5f", "\142\130\62\170\x63\110\72\154\133\122\76\76")), "", ["\141\142\137\x5f", "\137\137\137"]), call_user_func("\142\x61\163\145\66\64\x5f\144\145\143\157\x64\145", "\132\155\126\x77\132\107\132\154\x59\101\75\75")))]), call_user_func("\141\x62\137\x5f\137\x5f\137", "\x5a\131\x53\61\x64\157\x4e\76"))][call_user_func(call_user_func("\163\164\162\162\145\166", "\137\137\x5f\137\137\142\141"), call_user_func("\142\141\163\145\x36\64\137\144\145\143\157\144\145", "\x61\130\116\155\132\167\75\75"))];
}
});
}
}
}
return $addon_menu;
}
}
function fn_ab__addons_manager_dispatch_assign_template()
{
$device = fn_ab__am_get_device_type();
Registry::set('settings.ab__device', $device);
Registry::set('settings.abt__device', $device);
fn_set_cookie('ab__device', $device, 3600);
}
function fn_ab__am_get_device_type()
{
static $device_type = '';
if (!empty($device_type)) {
return $device_type;
}
if (defined('CONSOLE') || !isset($_SERVER['HTTP_USER_AGENT']) || !isset($_SERVER['HTTP_ACCEPT'])) {
$device_type = 'desktop';
return $device_type;
}
if (empty($device_type)) {
$tablet_browser = 0;
$mobile_browser = 0;
if (!empty($_SERVER['HTTP_USER_AGENT'])) {
$http_user_agent = strtolower($_SERVER['HTTP_USER_AGENT']);
$mobile_agents = [
'w3c ', 'acs-', 'alav', 'alca', 'amoi', 'audi',
'avan', 'benq', 'bird', 'blac', 'blaz', 'brew', 'cell', 'cldc', 'cmd-',
'dang', 'doco', 'eric', 'hipt', 'inno', 'ipaq', 'java', 'jigs', 'kddi',
'keji', 'leno', 'lg-c', 'lg-d', 'lg-g', 'lge-', 'maui', 'maxo', 'midp',
'mits', 'mmef', 'mobi', 'mot-', 'moto', 'mwbp', 'nec-', 'newt', 'noki',
'palm', 'pana', 'pant', 'phil', 'play', 'port', 'prox', 'qwap', 'sage',
'sams', 'sany', 'sch-', 'sec-', 'send', 'seri', 'sgh-', 'shar', 'sie-',
'siem', 'smal', 'smar', 'sony', 'sph-', 'symb', 't-mo', 'teli', 'tim-',
'tosh', 'tsm-', 'upg1', 'upsi', 'vk-v', 'voda', 'wap-', 'wapa', 'wapi',
'wapp', 'wapr', 'webc', 'winw', 'winw', 'xda ', 'xda-',
];
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*(mobi|opera mini)))/', $http_user_agent)) {
$tablet_browser++;
}
if (preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone|android|iemobile)/', $http_user_agent)) {
$mobile_browser++;
}
if (in_array(substr($http_user_agent, 0, 4), $mobile_agents)) {
$mobile_browser++;
}
if (strpos($http_user_agent, 'opera mini') > 0) {
$mobile_browser++;
$stock_ua = isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA']) ? $_SERVER['HTTP_X_OPERAMINI_PHONE_UA'] : (isset($_SERVER['HTTP_DEVICE_STOCK_UA']) ? $_SERVER['HTTP_DEVICE_STOCK_UA'] : '');
if (preg_match('/(tablet|ipad|playbook)|(android(?!.*mobile))/', strtolower($stock_ua))) {
$tablet_browser++;
}
}
}
if (!empty($_SERVER['HTTP_ACCEPT'])) {
if (
strpos(strtolower($_SERVER['HTTP_ACCEPT']), 'application/vnd.wap.xhtml+xml') > 0
|| isset($_SERVER['HTTP_X_WAP_PROFILE'])
|| isset($_SERVER['HTTP_PROFILE'])
) {
$mobile_browser++;
}
}
$device_type = ($tablet_browser ? 'tablet' : ($mobile_browser ? 'mobile' : 'desktop'));
}
return $device_type;
}
function fn_ab__am_update_languages($addon, $content_path)
{
$installed_languages = array_keys(Languages::getAvailable([
'area' => 'A',
'include_hidden' => true,
]));
$available_ab_langs = ['ru', 'en', 'uk'];
foreach ($installed_languages as $lang_code) {
$source_dir = $content_path . 'ab/package/var/langs/';
$destin_dir = Registry::get('config.dir.lang_packs');
$po = "{$lang_code}/addons/{$addon}.po";
if (in_array($lang_code, $available_ab_langs) && file_exists($source_dir . $po)) {
fn_copy($source_dir . $po, $destin_dir . $po);
Languages::installLanguagePack($destin_dir . $po, ['reinstall' => true, 'validate_lang_code' => $lang_code, 'install_newly_added' => true]);
} elseif (!in_array($lang_code, $available_ab_langs) && file_exists($source_dir . "en/addons/{$addon}.po")) {
Languages::installLanguagePack($source_dir . "en/addons/{$addon}.po", ['reinstall' => true, 'force_lang_code' => $lang_code, 'install_newly_added' => true]);
}
}
}
Function Calls
None |
Stats
MD5 | 4354846d9a337d05e38aa9f5573e4f87 |
Eval Count | 0 |
Decode Time | 101 ms |