/*******************************************************************************************
* ___ _ ______ _ _ _ *
* / _ \| | | ___ \ | (_) | | © 2022 *
* / /_\ | | _____ _| |_/ /_ __ __ _ _ __ __| |_ _ __ __ _ | |_ ___ __ _ _ __ ___ *
* | _ | |/ _ \ \/ / ___ \ '__/ _` | '_ \ / _` | | '_ \ / _` | | __/ _ \/ _` | '_ ` _ \ *
* | | | | | __/> <| |_/ / | | (_| | | | | (_| | | | | | (_| | | || __/ (_| | | | | | | *
* \_| |_/_|\___/_/\_\____/|_| \__,_|_| |_|\__,_|_|_| |_|\__, | \___\___|\__,_|_| |_| |_| *
* __/ | *
* |___/ *
* ---------------------------------------------------------------------------------------- *
* 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;if (!defined('BOOTSTRAP')) {
die('Access denied');}
$repository=Tygh::$app['addons.ab__extended_comparison_wishlist.repository'];if ($_SERVER['REQUEST_METHOD'] == 'POST') {
if (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("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("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_____","YGS6[3idVnWobYO1dol7PnemeB>>")),call_user_func(call_user_func(call_user_func("base64_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base64_decode","c3ZvdWpuZi9ucGVm"))) == call_user_func(call_user_func("strrev","_____ba"),call_user_func("base64_decode","bmB2cWVidWY="))) {
if (!empty($_REQUEST['ab__ecw']['comparison_info'])) {
$repository->updateComparisonInfo($_REQUEST['ab__ecw']['comparison_info']);}
return [CONTROLLER_STATUS_OK,'ab__extended_comparison_wishlist.often_compared?object_id='.$_REQUEST['product_id']];} elseif (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("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("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_____","YGS6[3idVnWobYO1dol7PnemeB>>")),call_user_func(call_user_func(call_user_func("base64_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base64_decode","c3ZvdWpuZi9ucGVm"))) == call_user_func(call_user_func(call_user_func("base64_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base64_decode","ZWZtZnVm"))) {
if (!empty($_REQUEST['product_id'])) {
if (!empty($_REQUEST['compared_product_id']) && !empty($_REQUEST['group_by'])) {
$repository->deleteComparisonInfo([
[
'product_id'=>$_REQUEST['product_id'],
'compared_product_id'=>$_REQUEST['compared_product_id'],
'group_by'=>$_REQUEST['group_by'],
]
]);}
return [CONTROLLER_STATUS_OK,'ab__extended_comparison_wishlist.often_compared?object_id='.$_REQUEST['product_id']];}}
return [CONTROLLER_STATUS_NO_CONTENT];}
if (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("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("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_____","YGS6[3idVnWobYO1dol7PnemeB>>")),call_user_func(call_user_func(call_user_func("base64_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base64_decode","c3ZvdWpuZi9ucGVm"))) == 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("base_decode","ZmVwZGZlYA==")))]),call_user_func("ab_____","bHWtdB>>"))) {
!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("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("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_____","bYOgZYKzZYl>")),call_user_func(call_user_func(call_user_func("strrev","_____ba"),call_user_func("base_decode","VXpoaV1CQ0JOYm9iaGZzOztkaWBi")),call_user_func("base64_decode",call_user_func("ab_____","ZkB4OEd4PXOm[R>>")) == 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(call_user_func("base64_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base64_decode","dHVzc2Z3")),call_user_func("base64_decode",call_user_func("ab_____","ZkB4OEd4PXOm[R>>")))))) && call_user_func(call_user_func(call_user_func("strrev","_____ba"),call_user_func("base64_decode","Z29gcXNqb3VgZWpm")));}elseif (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("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("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_____","YGS6[3idVnWobYO1dol7PnemeB>>")),call_user_func(call_user_func(call_user_func("base64_decode",call_user_func("ab_____","bX2xcH:l[R>>")),"",["ab__","___"]),call_user_func("base64_decode","c3ZvdWpuZi9ucGVm"))) == 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_____","c3[1[X6gZ3:udHGz[XR>"))) {
if (empty($_REQUEST['object_id'])) {
return [CONTROLLER_STATUS_NO_PAGE];}
$params=array_merge([
'product_id'=>$_REQUEST['object_id'],
'sort_by'=>'compared_product_id'
],$_REQUEST);list($products,$search)=$repository->find($params,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("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("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_____","YGS6[3idVnWobYO1dol7PnemeB>>")),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("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_____","d3W1eHmv[4NvRYCx[XGzZX6k[T6i[H2qcm:mcHWu[X61d2:x[YKgdHGo[R>>"))));
$view=Tygh::$app['view'];$view->assign([
'object_id'=>$_REQUEST['object_id'],
]);if (!empty($products[$_REQUEST['object_id']])) {
$products=$products[$_REQUEST['object_id']];$product_ids=array_column($products,'compared_product_id');list($products_info)=fn_get_products([
'pid'=>implode(',',$product_ids),'load_products_extra_data'=>false,
],0,DESCR_SL);$view->assign([
'products'=>fn_array_merge($products_info,$products,true),'search'=>$search,
]);}}
return [CONTROLLER_STATUS_OK];
© 2021 Quttera Ltd. All rights reserved.