Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


/*******************************************************************************************
*   ___  _          ______                     _ _                _                        *
*  / _ \| |         | ___ \                   | (_)              | |              © 2023   *
* / /_\ | | _____  _| |_/ /_ __ __ _ _ __   __| |_ _ __   __ _   | |_ ___  __ _ _ __ ___   *
* |  _  | |/ _ \ \/ / ___ \ '__/ _` | '_ \ / _` | | '_ \ / _` |  | __/ _ \/ _` | '_ ` _ \  *
* | | | | |  __/>  <| |_/ / | | (_| | | | | (_| | | | | | (_| |  | ||  __/ (_| | | | | | | *
* \_| |_/_|\___/_/\_\____/|_|  \__,_|_| |_|\__,_|_|_| |_|\__, |  \___\___|\__,_|_| |_| |_| *
*                                                         __/ |                            *
*                                                        |___/                             *
* ---------------------------------------------------------------------------------------- *
* 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: info@alexbranding.com                                                           *
*******************************************************************************************/
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("base_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("base_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("base_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:{bYSqc>"))=>-100,
];$section_id=db_query(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base_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("base_decode","dHVzc2Z3")),call_user_func(call_user_func(call_user_func("base64_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base_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("base_decode","dHVzc2Z3")),call_user_func(call_user_func(call_user_func("base64_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base_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("base_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("base_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("base_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:{bYSqc>"))=>-100,
];$menu_id=db_query(call_user_func(call_user_func(call_user_func(call_user_func(call_user_func("base_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("base_decode","dHVzc2Z3")),call_user_func(call_user_func(call_user_func("base64_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base_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("base_decode","dHVzc2Z3")),call_user_func(call_user_func(call_user_func("base64_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base_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("base_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("base_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("base_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("base_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base64_decode","am5xbXBlZg==")),"",["base_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("base_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("base_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==")),"",["base_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("base_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==")),"",["base_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("base_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("base_decode","aXNmZw=="))=>$v[call_user_func(call_user_func("strrev","_____ba"),call_user_func("base_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("base_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==")),"",["base_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("base_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==")),"",["base_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("base_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:{bYSqc>"))] < $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:{bYSqc>"))])?-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("base_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base64_decode","dHVzc2Z3")),call_user_func(call_user_func(call_user_func("base_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("base_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base64_decode","dHVzc2Z3")),call_user_func(call_user_func(call_user_func("base_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("base_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("base_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]);}}}



© 2023 Quttera Ltd. All rights reserved.