| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/GXMainComponents/SmartyPlugins/ |
Upload File : |
<?php
/* --------------------------------------------------------------
modifier.show_left_column.php 2018-09-06
Gambio GmbH
http://www.gambio.de
Copyright (c) 2018 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
*/
function smarty_modifier_show_left_column($string)
{
$applicationBottomExtenderComponent = MainFactory::create_object('ApplicationBottomExtenderComponent');
$applicationBottomExtenderComponent->set_data('GET', $_GET);
$applicationBottomExtenderComponent->init_page();
$page = $applicationBottomExtenderComponent->get_page();
$hideOnIndex = $GLOBALS['coo_template_control']->findSettingValueByName('gx-index-full-width');
$hideOnSearch = $GLOBALS['coo_template_control']->findSettingValueByName('gx-advanced-search-result-full-width');
$hideOnContent = $GLOBALS['coo_template_control']->findSettingValueByName('gx-shop-content-full-width');
$hideOnProductInfo = $GLOBALS['coo_template_control']->findSettingValueByName('gx-product-info-full-width');
$hideOnProductListing = $GLOBALS['coo_template_control']->findSettingValueByName('gx-product-listing-full-width');
$hideOnCart = $GLOBALS['coo_template_control']->findSettingValueByName('gx-shopping-cart-full-width');
$hideOnWishlist = $GLOBALS['coo_template_control']->findSettingValueByName('gx-wishlist-full-width');
$hideOnCheckout = $GLOBALS['coo_template_control']->findSettingValueByName('gx-checkout-full-width');
$hideOnAccount = $GLOBALS['coo_template_control']->findSettingValueByName('gx-account-full-width');
if (($page === 'Index' && $hideOnIndex)
|| ($page === 'Search' && $hideOnSearch)
|| ($page === 'Content' && $hideOnContent)
|| ($page === 'ProductInfo' && $hideOnProductInfo)
|| ($page === 'Cat' && $hideOnProductListing)
|| ($page === 'Cart' && $hideOnCart)
|| ($page === 'Wishlist' && $hideOnWishlist)
|| ($page === 'Checkout' && $hideOnCheckout)
|| (($page === 'Account' || $page === 'AccountHistory' || $page === 'AddressBookProcess') && $hideOnAccount)) {
return false;
}
return true;
}