Phalcon Framework 3.4.2

Error: Call to a member function getLang() on boolean

/var/www/aquamarket.ua/html/app/frontend/components/BreadCrumbsWidget.php (174)
#0Modules\Frontend\Components\BreadCrumbsWidget->getParentTree(0)
/var/www/aquamarket.ua/html/app/frontend/components/BreadCrumbsWidget.php (177)
<?php
/**
 * Created by PhpStorm.
 * User: Ivan
 * Date: 29.06.2017
 * Time: 10:56
 */
 
namespace Modules\Frontend\Components;
 
use Models\Category;
use Models\Cms;
use Models\CmsCategory;
use Models\CmsCategoryLang;
use Models\CmsLang;
use Models\Context;
use Models\DeliveryPrice;
use Models\DeliveryPriceLang;
use Models\Product;
use Models\Trademark;
use Models\TmPageLang;
 
class BreadCrumbsWidget extends BaseComponent
{
    public $viewCatalog = 'breadcrumps';
 
    public function run($view = 'nav')
    {
        $controller_name = $this->router->getControllerName();
        $action_name = $this->router->getActionName();
        $method = $controller_name . '/' . $action_name;
        $this->view->iso_code = Context::getContext()->getLanguage()->iso_code;
        if ($method == 'index/index') {
            return false;
        } else {
      $title = !$this->tag->name? $this->tag->getTitleText():$this->tag->name;
            $page_title['name'] = $title;
            $method = $controller_name . '/' . $action_name;
            $links = array();
            switch ($method) {
                case 'products/view':
                    $links = $this->getProductCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'categories/view':
                    $links = $this->getCategoryCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'cms/view':
                    $links = $this->getCmsCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'cms/index':
                    $links = $this->getCmsCategoryCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'index/authentication':
                    $links = $this->getAuthenticationCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'index/signup':
                    $links[] = $page_title;
                    break;
                case 'account/index':
                    $links = $this->getAccountCrumbs();
                    break;
                case 'account/myinfo':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'wishlists/index':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'account/orders':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'account/promo':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'account/addresses':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'trademark/index':
                    $links = [['name'=>$this->t->_('trademarks'),'url'=>$this->url->get(['for'=>'trademark-index'])]];
                    break;
                case 'trademark/view':
                    $links = $this->getTrademarkCrumbs();
                    break;
                case 'trademark/viewTmPage':
                    $links = $this->getTmPageCrumbs();
                    break;
                case 'delivery/cities':
                    $links = [['name'=>$this->t->_('delivery-page'),'url'=>$this->url->get(['for'=>'delivery-cities'])]];
                    break;
                case 'delivery/cityView':
                    $links = $this->getDeliveryCityCrumbs();
                    break;
                case 'dealer/view':
                    $links = $this->getDealerProductCrumbs();
                    break;
                case 'dealer/index':
                    $links = $this->getDealerCrumbs();
                    break;
                default:
                    $links[] = $page_title;
                    break;
            }
            $this->view->links = $links;
            return $this->render($view);
        }
    }
 
 
    public function getDealerProductCrumbs()
    {
        $dealer_alias = $this->dispatcher->getParam('city_name');
        $product_alias = $this->dispatcher->getParam('product_alias');
        $iso_code = $this->dispatcher->getParam('iso_code');
        $dealer = DeliveryPriceLang::findFirst('link_rewrite=\'' . $dealer_alias . '\'');
        $delivery_price = DeliveryPrice::findFirst($dealer->id_delivery_price);
        $product_lang = $delivery_price->getProductsLang('link_rewrite = \'' . $product_alias . '\'')->getFirst();
        $links[0] =
            array(
                'name' => $dealer->name,
                'url' => $this->url->get(['for' => 'dealer-location', 'iso_code' => $iso_code, 'city_name' => $dealer_alias])
            );
        $links[1] =
            array(
                'name' => $product_lang->name
            );
        return $links;
    }
 
    public function getDealerCrumbs()
    {
        $dealer_alias = $this->dispatcher->getParam('city_name');
        $links[]['name'] = DeliveryPriceLang::findFirst('link_rewrite=\'' . $dealer_alias . '\'')->name;
        return $links;
    }
 
    public function getProductCrumbs()
    {
        $id_product = $this->dispatcher->getParam('id_product');
        $product = Product::findFirst('id_product = ' . $id_product);
        if (!$product) {
            return [];
        }
        $links = $this->getParentTree($product->id_category_default);
        $links = array_reverse($links);
        return $links;
    }
 
    public function getCategoryCrumbs()
    {
        $id_category = $this->dispatcher->getParam('id_category');
        $category = Category::findFirst('id_category = ' . $id_category);
        if (!$category || $category->id_parent == 0) {
            return [];
        }
        $links = $this->getParentTree($category->id_parent);
        $links = array_reverse($links);
        return $links;
    }
 
    public function getParentTree($id_category)
    {
        $category = Category::findFirst('id_category =' . $id_category);
        $parent_lists = array();
        if ($category->id_parent != 1) {
            $parent_list['name'] = $category->getLang() ? $category->getLang()->name:'';
            $parent_list['url'] = $this->url->getCategoryLink($category->id_category, $category->lang->link_rewrite);
            $parent_lists[] = $parent_list;
            $parent_lists = array_merge($parent_lists, $this->getParentTree($category->id_parent));
        }
        return $parent_lists;
    }
 
    public function getCmsCrumbs()
    {
        $iso_code = $this->dispatcher->getParam('iso_code');
        $id_cms = $this->dispatcher->getParam('id_cms');
        $full_cms = Cms::getCmsFull($id_cms);
        $links = array();
        $tmp_arr['name'] = $full_cms->name_cms_category;
        $tmp_arr['url'] = $this->url->getCmsCategoryLink($iso_code, $full_cms->id_cms_category, $full_cms->alias_cms_category);
        $id_cms_category = $full_cms->id_cms_category;
        if($id_cms_category == 5 || $id_cms_category == 6){
            $cms_category_lang = CmsCategoryLang::findFirst('id_cms_category = 3 AND id_lang = '.$this->context->language->id_language);
            $category_name = $cms_category_lang->name;
            $url = $this->url->getCmsCategoryLink($iso_code,$cms_category_lang->id_cms_category, $cms_category_lang->link_rewrite);
            $links = [['name'=> $category_name,'url'=> $url ],$tmp_arr];
            return $links;
        }
        $links[] = $tmp_arr;
        return $links;
    }
 
    public function getCmsCategoryCrumbs()
    {
        $links = array();
        $id_cms_category = $this->dispatcher->getParam('id_cms_category');
        $iso_code = $this->dispatcher->getParam('iso_code');
        $cms_category = CmsCategory::findFirst($id_cms_category);
        if($cms_category->id_parent != 0 && $cms_category->id_parent != 1){
            $cms_parent = CmsCategory::findFirst($cms_category->id_parent);
            $cms_parent_lang = CmsCategoryLang::findFirst('id_cms_category = '.$cms_parent->id_cms_category.' AND id_lang = '.$this->context->language->id_language);
            $links []= [
                'name'=> $cms_parent_lang->name,
                'url'=> $this->url->getCmsCategoryLink($iso_code,$cms_parent->id_cms_category,$cms_parent_lang->link_rewrite)
            ];
        }
        return $links;
    }
 
    public function getAuthenticationCrumbs()
    {
        $arr = array();
        return $arr;
    }
 
    public function getAccountCrumbs()
    {
        $links = array();
        $url = $this->url->get(['for' => 'account-index', 'iso_code' => $this->context->language->iso_code]);
        $tmp['url'] = $url;
        $tmp['name'] = $this->t->_('my-account');
        $links[] = $tmp;
        return $links;
 
    }
 
    public function getTrademarkCrumbs()
    {
        $language = Context::getContext()->getLanguage();
        $iso_code = $language->iso_code;
        $id_lang = $language->id_language;
        $link_rewrite = $this->dispatcher->getParam('link_rewrite');
        $trademark = Trademark::findFirst(
            [
                'conditions' => 'link_rewrite = :link_rewrite: AND id_lang = :id_lang:',
                'bind' => [
                    'link_rewrite' => $link_rewrite,
                    'id_lang' => $id_lang
                ]
            ]
        );
        return [
            ['name'=>$this->t->_('trademarks'),'url'=>$this->url->get(['for'=>'trademark-index'])],
            ['name'=>$trademark->getName(),'url'=>$this->url->get(['for'=>'trademark-view','iso_code'=>$iso_code,'link_rewrite'=>$link_rewrite])],
        ];
    }
 
    public function getTmPageCrumbs()
    {
        $language = Context::getContext()->getLanguage();
        $iso_code = $language->iso_code;
        $id_lang = $language->id_language;
        $link_rewrite = $this->dispatcher->getParam('trademark');
        $trademark = Trademark::findFirst(
            [
                'conditions' => 'link_rewrite = :link_rewrite: AND id_lang = :id_lang:',
                'bind' => [
                    'link_rewrite' => $link_rewrite,
                    'id_lang' => $id_lang
                ]
            ]
        );
        $breadcrumbs = [
 
                          ['name'=>$this->t->_('trademarks'),'url'=>$this->url->get(['for'=>'trademark-index'])],
                          ['name'=>$trademark->getName(),'url'=>$this->url->get(['for'=>'trademark-view','iso_code'=>$iso_code,'link_rewrite'=>$link_rewrite])],
 
                       ];
        $tm_pages_link_rewrite = $this->dispatcher->getParam('tm_pages');
        $tm_pages_link_rewrite = explode('/',$tm_pages_link_rewrite);
        array_shift($tm_pages_link_rewrite);
        foreach($tm_pages_link_rewrite as $tm_page_link_rewrite){
            $tm_page_breadcrumb = [];
            $tm_page_lang = TmPageLang::findFirst(
                [
                    'conditions' => 'link_rewrite = :link_rewrite: AND id_lang = :id_lang:',
                    'bind' => [
                        'link_rewrite' => $tm_page_link_rewrite,
                        'id_lang' => $id_lang
                    ]
                ]
            );
            $tm_page_breadcrumb['name'] = $tm_page_lang->name;
            $tm_page_breadcrumb['url'] = $tm_page_lang->tmPage->getTmPageUrl();
            $breadcrumbs[] = $tm_page_breadcrumb;
        }
        return $breadcrumbs;
    }
 
    public function getDeliveryCityCrumbs()
    {
        $id_delivery_price = $this->dispatcher->getParam('id_delivery_price');
        $delivery_price = DeliveryPrice::findFirst($id_delivery_price);
        $iso_code = Context::getContext()->getLanguage()->iso_code;
        $link_rewrite = $delivery_price->lang->link_rewrite;
        $links = [
            [
                'name'=>$this->t->_('delivery-page'),
                'url'=>$this->url->get(['for'=>'delivery-cities'])
            ],
            [
                'name'=>$this->t->_('delivery-page').' - '.$delivery_price->getName(),
                'url'=>$this->url->get(['for'=>'delivery-city-view','iso_code'=>$iso_code,'id_delivery_price'=>$id_delivery_price,'link_rewrite'=>$link_rewrite])
            ],
        ];
        return $links;
    }
}
#1Modules\Frontend\Components\BreadCrumbsWidget->getParentTree(1)
/var/www/aquamarket.ua/html/app/frontend/components/BreadCrumbsWidget.php (164)
<?php
/**
 * Created by PhpStorm.
 * User: Ivan
 * Date: 29.06.2017
 * Time: 10:56
 */
 
namespace Modules\Frontend\Components;
 
use Models\Category;
use Models\Cms;
use Models\CmsCategory;
use Models\CmsCategoryLang;
use Models\CmsLang;
use Models\Context;
use Models\DeliveryPrice;
use Models\DeliveryPriceLang;
use Models\Product;
use Models\Trademark;
use Models\TmPageLang;
 
class BreadCrumbsWidget extends BaseComponent
{
    public $viewCatalog = 'breadcrumps';
 
    public function run($view = 'nav')
    {
        $controller_name = $this->router->getControllerName();
        $action_name = $this->router->getActionName();
        $method = $controller_name . '/' . $action_name;
        $this->view->iso_code = Context::getContext()->getLanguage()->iso_code;
        if ($method == 'index/index') {
            return false;
        } else {
      $title = !$this->tag->name? $this->tag->getTitleText():$this->tag->name;
            $page_title['name'] = $title;
            $method = $controller_name . '/' . $action_name;
            $links = array();
            switch ($method) {
                case 'products/view':
                    $links = $this->getProductCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'categories/view':
                    $links = $this->getCategoryCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'cms/view':
                    $links = $this->getCmsCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'cms/index':
                    $links = $this->getCmsCategoryCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'index/authentication':
                    $links = $this->getAuthenticationCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'index/signup':
                    $links[] = $page_title;
                    break;
                case 'account/index':
                    $links = $this->getAccountCrumbs();
                    break;
                case 'account/myinfo':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'wishlists/index':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'account/orders':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'account/promo':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'account/addresses':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'trademark/index':
                    $links = [['name'=>$this->t->_('trademarks'),'url'=>$this->url->get(['for'=>'trademark-index'])]];
                    break;
                case 'trademark/view':
                    $links = $this->getTrademarkCrumbs();
                    break;
                case 'trademark/viewTmPage':
                    $links = $this->getTmPageCrumbs();
                    break;
                case 'delivery/cities':
                    $links = [['name'=>$this->t->_('delivery-page'),'url'=>$this->url->get(['for'=>'delivery-cities'])]];
                    break;
                case 'delivery/cityView':
                    $links = $this->getDeliveryCityCrumbs();
                    break;
                case 'dealer/view':
                    $links = $this->getDealerProductCrumbs();
                    break;
                case 'dealer/index':
                    $links = $this->getDealerCrumbs();
                    break;
                default:
                    $links[] = $page_title;
                    break;
            }
            $this->view->links = $links;
            return $this->render($view);
        }
    }
 
 
    public function getDealerProductCrumbs()
    {
        $dealer_alias = $this->dispatcher->getParam('city_name');
        $product_alias = $this->dispatcher->getParam('product_alias');
        $iso_code = $this->dispatcher->getParam('iso_code');
        $dealer = DeliveryPriceLang::findFirst('link_rewrite=\'' . $dealer_alias . '\'');
        $delivery_price = DeliveryPrice::findFirst($dealer->id_delivery_price);
        $product_lang = $delivery_price->getProductsLang('link_rewrite = \'' . $product_alias . '\'')->getFirst();
        $links[0] =
            array(
                'name' => $dealer->name,
                'url' => $this->url->get(['for' => 'dealer-location', 'iso_code' => $iso_code, 'city_name' => $dealer_alias])
            );
        $links[1] =
            array(
                'name' => $product_lang->name
            );
        return $links;
    }
 
    public function getDealerCrumbs()
    {
        $dealer_alias = $this->dispatcher->getParam('city_name');
        $links[]['name'] = DeliveryPriceLang::findFirst('link_rewrite=\'' . $dealer_alias . '\'')->name;
        return $links;
    }
 
    public function getProductCrumbs()
    {
        $id_product = $this->dispatcher->getParam('id_product');
        $product = Product::findFirst('id_product = ' . $id_product);
        if (!$product) {
            return [];
        }
        $links = $this->getParentTree($product->id_category_default);
        $links = array_reverse($links);
        return $links;
    }
 
    public function getCategoryCrumbs()
    {
        $id_category = $this->dispatcher->getParam('id_category');
        $category = Category::findFirst('id_category = ' . $id_category);
        if (!$category || $category->id_parent == 0) {
            return [];
        }
        $links = $this->getParentTree($category->id_parent);
        $links = array_reverse($links);
        return $links;
    }
 
    public function getParentTree($id_category)
    {
        $category = Category::findFirst('id_category =' . $id_category);
        $parent_lists = array();
        if ($category->id_parent != 1) {
            $parent_list['name'] = $category->getLang() ? $category->getLang()->name:'';
            $parent_list['url'] = $this->url->getCategoryLink($category->id_category, $category->lang->link_rewrite);
            $parent_lists[] = $parent_list;
            $parent_lists = array_merge($parent_lists, $this->getParentTree($category->id_parent));
        }
        return $parent_lists;
    }
 
    public function getCmsCrumbs()
    {
        $iso_code = $this->dispatcher->getParam('iso_code');
        $id_cms = $this->dispatcher->getParam('id_cms');
        $full_cms = Cms::getCmsFull($id_cms);
        $links = array();
        $tmp_arr['name'] = $full_cms->name_cms_category;
        $tmp_arr['url'] = $this->url->getCmsCategoryLink($iso_code, $full_cms->id_cms_category, $full_cms->alias_cms_category);
        $id_cms_category = $full_cms->id_cms_category;
        if($id_cms_category == 5 || $id_cms_category == 6){
            $cms_category_lang = CmsCategoryLang::findFirst('id_cms_category = 3 AND id_lang = '.$this->context->language->id_language);
            $category_name = $cms_category_lang->name;
            $url = $this->url->getCmsCategoryLink($iso_code,$cms_category_lang->id_cms_category, $cms_category_lang->link_rewrite);
            $links = [['name'=> $category_name,'url'=> $url ],$tmp_arr];
            return $links;
        }
        $links[] = $tmp_arr;
        return $links;
    }
 
    public function getCmsCategoryCrumbs()
    {
        $links = array();
        $id_cms_category = $this->dispatcher->getParam('id_cms_category');
        $iso_code = $this->dispatcher->getParam('iso_code');
        $cms_category = CmsCategory::findFirst($id_cms_category);
        if($cms_category->id_parent != 0 && $cms_category->id_parent != 1){
            $cms_parent = CmsCategory::findFirst($cms_category->id_parent);
            $cms_parent_lang = CmsCategoryLang::findFirst('id_cms_category = '.$cms_parent->id_cms_category.' AND id_lang = '.$this->context->language->id_language);
            $links []= [
                'name'=> $cms_parent_lang->name,
                'url'=> $this->url->getCmsCategoryLink($iso_code,$cms_parent->id_cms_category,$cms_parent_lang->link_rewrite)
            ];
        }
        return $links;
    }
 
    public function getAuthenticationCrumbs()
    {
        $arr = array();
        return $arr;
    }
 
    public function getAccountCrumbs()
    {
        $links = array();
        $url = $this->url->get(['for' => 'account-index', 'iso_code' => $this->context->language->iso_code]);
        $tmp['url'] = $url;
        $tmp['name'] = $this->t->_('my-account');
        $links[] = $tmp;
        return $links;
 
    }
 
    public function getTrademarkCrumbs()
    {
        $language = Context::getContext()->getLanguage();
        $iso_code = $language->iso_code;
        $id_lang = $language->id_language;
        $link_rewrite = $this->dispatcher->getParam('link_rewrite');
        $trademark = Trademark::findFirst(
            [
                'conditions' => 'link_rewrite = :link_rewrite: AND id_lang = :id_lang:',
                'bind' => [
                    'link_rewrite' => $link_rewrite,
                    'id_lang' => $id_lang
                ]
            ]
        );
        return [
            ['name'=>$this->t->_('trademarks'),'url'=>$this->url->get(['for'=>'trademark-index'])],
            ['name'=>$trademark->getName(),'url'=>$this->url->get(['for'=>'trademark-view','iso_code'=>$iso_code,'link_rewrite'=>$link_rewrite])],
        ];
    }
 
    public function getTmPageCrumbs()
    {
        $language = Context::getContext()->getLanguage();
        $iso_code = $language->iso_code;
        $id_lang = $language->id_language;
        $link_rewrite = $this->dispatcher->getParam('trademark');
        $trademark = Trademark::findFirst(
            [
                'conditions' => 'link_rewrite = :link_rewrite: AND id_lang = :id_lang:',
                'bind' => [
                    'link_rewrite' => $link_rewrite,
                    'id_lang' => $id_lang
                ]
            ]
        );
        $breadcrumbs = [
 
                          ['name'=>$this->t->_('trademarks'),'url'=>$this->url->get(['for'=>'trademark-index'])],
                          ['name'=>$trademark->getName(),'url'=>$this->url->get(['for'=>'trademark-view','iso_code'=>$iso_code,'link_rewrite'=>$link_rewrite])],
 
                       ];
        $tm_pages_link_rewrite = $this->dispatcher->getParam('tm_pages');
        $tm_pages_link_rewrite = explode('/',$tm_pages_link_rewrite);
        array_shift($tm_pages_link_rewrite);
        foreach($tm_pages_link_rewrite as $tm_page_link_rewrite){
            $tm_page_breadcrumb = [];
            $tm_page_lang = TmPageLang::findFirst(
                [
                    'conditions' => 'link_rewrite = :link_rewrite: AND id_lang = :id_lang:',
                    'bind' => [
                        'link_rewrite' => $tm_page_link_rewrite,
                        'id_lang' => $id_lang
                    ]
                ]
            );
            $tm_page_breadcrumb['name'] = $tm_page_lang->name;
            $tm_page_breadcrumb['url'] = $tm_page_lang->tmPage->getTmPageUrl();
            $breadcrumbs[] = $tm_page_breadcrumb;
        }
        return $breadcrumbs;
    }
 
    public function getDeliveryCityCrumbs()
    {
        $id_delivery_price = $this->dispatcher->getParam('id_delivery_price');
        $delivery_price = DeliveryPrice::findFirst($id_delivery_price);
        $iso_code = Context::getContext()->getLanguage()->iso_code;
        $link_rewrite = $delivery_price->lang->link_rewrite;
        $links = [
            [
                'name'=>$this->t->_('delivery-page'),
                'url'=>$this->url->get(['for'=>'delivery-cities'])
            ],
            [
                'name'=>$this->t->_('delivery-page').' - '.$delivery_price->getName(),
                'url'=>$this->url->get(['for'=>'delivery-city-view','iso_code'=>$iso_code,'id_delivery_price'=>$id_delivery_price,'link_rewrite'=>$link_rewrite])
            ],
        ];
        return $links;
    }
}
#2Modules\Frontend\Components\BreadCrumbsWidget->getCategoryCrumbs()
/var/www/aquamarket.ua/html/app/frontend/components/BreadCrumbsWidget.php (46)
<?php
/**
 * Created by PhpStorm.
 * User: Ivan
 * Date: 29.06.2017
 * Time: 10:56
 */
 
namespace Modules\Frontend\Components;
 
use Models\Category;
use Models\Cms;
use Models\CmsCategory;
use Models\CmsCategoryLang;
use Models\CmsLang;
use Models\Context;
use Models\DeliveryPrice;
use Models\DeliveryPriceLang;
use Models\Product;
use Models\Trademark;
use Models\TmPageLang;
 
class BreadCrumbsWidget extends BaseComponent
{
    public $viewCatalog = 'breadcrumps';
 
    public function run($view = 'nav')
    {
        $controller_name = $this->router->getControllerName();
        $action_name = $this->router->getActionName();
        $method = $controller_name . '/' . $action_name;
        $this->view->iso_code = Context::getContext()->getLanguage()->iso_code;
        if ($method == 'index/index') {
            return false;
        } else {
      $title = !$this->tag->name? $this->tag->getTitleText():$this->tag->name;
            $page_title['name'] = $title;
            $method = $controller_name . '/' . $action_name;
            $links = array();
            switch ($method) {
                case 'products/view':
                    $links = $this->getProductCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'categories/view':
                    $links = $this->getCategoryCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'cms/view':
                    $links = $this->getCmsCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'cms/index':
                    $links = $this->getCmsCategoryCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'index/authentication':
                    $links = $this->getAuthenticationCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'index/signup':
                    $links[] = $page_title;
                    break;
                case 'account/index':
                    $links = $this->getAccountCrumbs();
                    break;
                case 'account/myinfo':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'wishlists/index':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'account/orders':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'account/promo':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'account/addresses':
                    $links = $this->getAccountCrumbs();
                    array_push($links, $page_title);
                    break;
                case 'trademark/index':
                    $links = [['name'=>$this->t->_('trademarks'),'url'=>$this->url->get(['for'=>'trademark-index'])]];
                    break;
                case 'trademark/view':
                    $links = $this->getTrademarkCrumbs();
                    break;
                case 'trademark/viewTmPage':
                    $links = $this->getTmPageCrumbs();
                    break;
                case 'delivery/cities':
                    $links = [['name'=>$this->t->_('delivery-page'),'url'=>$this->url->get(['for'=>'delivery-cities'])]];
                    break;
                case 'delivery/cityView':
                    $links = $this->getDeliveryCityCrumbs();
                    break;
                case 'dealer/view':
                    $links = $this->getDealerProductCrumbs();
                    break;
                case 'dealer/index':
                    $links = $this->getDealerCrumbs();
                    break;
                default:
                    $links[] = $page_title;
                    break;
            }
            $this->view->links = $links;
            return $this->render($view);
        }
    }
 
 
    public function getDealerProductCrumbs()
    {
        $dealer_alias = $this->dispatcher->getParam('city_name');
        $product_alias = $this->dispatcher->getParam('product_alias');
        $iso_code = $this->dispatcher->getParam('iso_code');
        $dealer = DeliveryPriceLang::findFirst('link_rewrite=\'' . $dealer_alias . '\'');
        $delivery_price = DeliveryPrice::findFirst($dealer->id_delivery_price);
        $product_lang = $delivery_price->getProductsLang('link_rewrite = \'' . $product_alias . '\'')->getFirst();
        $links[0] =
            array(
                'name' => $dealer->name,
                'url' => $this->url->get(['for' => 'dealer-location', 'iso_code' => $iso_code, 'city_name' => $dealer_alias])
            );
        $links[1] =
            array(
                'name' => $product_lang->name
            );
        return $links;
    }
 
    public function getDealerCrumbs()
    {
        $dealer_alias = $this->dispatcher->getParam('city_name');
        $links[]['name'] = DeliveryPriceLang::findFirst('link_rewrite=\'' . $dealer_alias . '\'')->name;
        return $links;
    }
 
    public function getProductCrumbs()
    {
        $id_product = $this->dispatcher->getParam('id_product');
        $product = Product::findFirst('id_product = ' . $id_product);
        if (!$product) {
            return [];
        }
        $links = $this->getParentTree($product->id_category_default);
        $links = array_reverse($links);
        return $links;
    }
 
    public function getCategoryCrumbs()
    {
        $id_category = $this->dispatcher->getParam('id_category');
        $category = Category::findFirst('id_category = ' . $id_category);
        if (!$category || $category->id_parent == 0) {
            return [];
        }
        $links = $this->getParentTree($category->id_parent);
        $links = array_reverse($links);
        return $links;
    }
 
    public function getParentTree($id_category)
    {
        $category = Category::findFirst('id_category =' . $id_category);
        $parent_lists = array();
        if ($category->id_parent != 1) {
            $parent_list['name'] = $category->getLang() ? $category->getLang()->name:'';
            $parent_list['url'] = $this->url->getCategoryLink($category->id_category, $category->lang->link_rewrite);
            $parent_lists[] = $parent_list;
            $parent_lists = array_merge($parent_lists, $this->getParentTree($category->id_parent));
        }
        return $parent_lists;
    }
 
    public function getCmsCrumbs()
    {
        $iso_code = $this->dispatcher->getParam('iso_code');
        $id_cms = $this->dispatcher->getParam('id_cms');
        $full_cms = Cms::getCmsFull($id_cms);
        $links = array();
        $tmp_arr['name'] = $full_cms->name_cms_category;
        $tmp_arr['url'] = $this->url->getCmsCategoryLink($iso_code, $full_cms->id_cms_category, $full_cms->alias_cms_category);
        $id_cms_category = $full_cms->id_cms_category;
        if($id_cms_category == 5 || $id_cms_category == 6){
            $cms_category_lang = CmsCategoryLang::findFirst('id_cms_category = 3 AND id_lang = '.$this->context->language->id_language);
            $category_name = $cms_category_lang->name;
            $url = $this->url->getCmsCategoryLink($iso_code,$cms_category_lang->id_cms_category, $cms_category_lang->link_rewrite);
            $links = [['name'=> $category_name,'url'=> $url ],$tmp_arr];
            return $links;
        }
        $links[] = $tmp_arr;
        return $links;
    }
 
    public function getCmsCategoryCrumbs()
    {
        $links = array();
        $id_cms_category = $this->dispatcher->getParam('id_cms_category');
        $iso_code = $this->dispatcher->getParam('iso_code');
        $cms_category = CmsCategory::findFirst($id_cms_category);
        if($cms_category->id_parent != 0 && $cms_category->id_parent != 1){
            $cms_parent = CmsCategory::findFirst($cms_category->id_parent);
            $cms_parent_lang = CmsCategoryLang::findFirst('id_cms_category = '.$cms_parent->id_cms_category.' AND id_lang = '.$this->context->language->id_language);
            $links []= [
                'name'=> $cms_parent_lang->name,
                'url'=> $this->url->getCmsCategoryLink($iso_code,$cms_parent->id_cms_category,$cms_parent_lang->link_rewrite)
            ];
        }
        return $links;
    }
 
    public function getAuthenticationCrumbs()
    {
        $arr = array();
        return $arr;
    }
 
    public function getAccountCrumbs()
    {
        $links = array();
        $url = $this->url->get(['for' => 'account-index', 'iso_code' => $this->context->language->iso_code]);
        $tmp['url'] = $url;
        $tmp['name'] = $this->t->_('my-account');
        $links[] = $tmp;
        return $links;
 
    }
 
    public function getTrademarkCrumbs()
    {
        $language = Context::getContext()->getLanguage();
        $iso_code = $language->iso_code;
        $id_lang = $language->id_language;
        $link_rewrite = $this->dispatcher->getParam('link_rewrite');
        $trademark = Trademark::findFirst(
            [
                'conditions' => 'link_rewrite = :link_rewrite: AND id_lang = :id_lang:',
                'bind' => [
                    'link_rewrite' => $link_rewrite,
                    'id_lang' => $id_lang
                ]
            ]
        );
        return [
            ['name'=>$this->t->_('trademarks'),'url'=>$this->url->get(['for'=>'trademark-index'])],
            ['name'=>$trademark->getName(),'url'=>$this->url->get(['for'=>'trademark-view','iso_code'=>$iso_code,'link_rewrite'=>$link_rewrite])],
        ];
    }
 
    public function getTmPageCrumbs()
    {
        $language = Context::getContext()->getLanguage();
        $iso_code = $language->iso_code;
        $id_lang = $language->id_language;
        $link_rewrite = $this->dispatcher->getParam('trademark');
        $trademark = Trademark::findFirst(
            [
                'conditions' => 'link_rewrite = :link_rewrite: AND id_lang = :id_lang:',
                'bind' => [
                    'link_rewrite' => $link_rewrite,
                    'id_lang' => $id_lang
                ]
            ]
        );
        $breadcrumbs = [
 
                          ['name'=>$this->t->_('trademarks'),'url'=>$this->url->get(['for'=>'trademark-index'])],
                          ['name'=>$trademark->getName(),'url'=>$this->url->get(['for'=>'trademark-view','iso_code'=>$iso_code,'link_rewrite'=>$link_rewrite])],
 
                       ];
        $tm_pages_link_rewrite = $this->dispatcher->getParam('tm_pages');
        $tm_pages_link_rewrite = explode('/',$tm_pages_link_rewrite);
        array_shift($tm_pages_link_rewrite);
        foreach($tm_pages_link_rewrite as $tm_page_link_rewrite){
            $tm_page_breadcrumb = [];
            $tm_page_lang = TmPageLang::findFirst(
                [
                    'conditions' => 'link_rewrite = :link_rewrite: AND id_lang = :id_lang:',
                    'bind' => [
                        'link_rewrite' => $tm_page_link_rewrite,
                        'id_lang' => $id_lang
                    ]
                ]
            );
            $tm_page_breadcrumb['name'] = $tm_page_lang->name;
            $tm_page_breadcrumb['url'] = $tm_page_lang->tmPage->getTmPageUrl();
            $breadcrumbs[] = $tm_page_breadcrumb;
        }
        return $breadcrumbs;
    }
 
    public function getDeliveryCityCrumbs()
    {
        $id_delivery_price = $this->dispatcher->getParam('id_delivery_price');
        $delivery_price = DeliveryPrice::findFirst($id_delivery_price);
        $iso_code = Context::getContext()->getLanguage()->iso_code;
        $link_rewrite = $delivery_price->lang->link_rewrite;
        $links = [
            [
                'name'=>$this->t->_('delivery-page'),
                'url'=>$this->url->get(['for'=>'delivery-cities'])
            ],
            [
                'name'=>$this->t->_('delivery-page').' - '.$delivery_price->getName(),
                'url'=>$this->url->get(['for'=>'delivery-city-view','iso_code'=>$iso_code,'id_delivery_price'=>$id_delivery_price,'link_rewrite'=>$link_rewrite])
            ],
        ];
        return $links;
    }
}
#3Modules\Frontend\Components\BreadCrumbsWidget->run()
/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%views%%layouts%%main.volt.php (375)
<!DOCTYPE html>
<html lang="<?= $iso_code ?>">
<head>
    
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="theme-color" content="#00b2ee"/>
    <?php if (isset($site_full_version_view)) { ?>
        <meta name="viewport" content="width=<?= $site_full_version_view ?>, initial-scale=0">
    <?php } else { ?>
        <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php } ?>
    <?php if ($indexed_page == 0) { ?>
        <meta name="robots" content="noindex, nofollow"/>
    <?php } else { ?>
        <meta name="robots" content="index, follow"/>
    <?php } ?>
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-43134149-1"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());
        gtag('config', 'UA-43134149-1');
    </script>
 
    <?= $this->TwitterCardWidget->run() ?>
 
    <?= $this->tag->getTitle() ?>
    <?= $this->tag->getDescription() ?>
    <?= $this->tag->getAppleTouchIcons() ?>
    <?= $this->tag->getCanonical() ?>
  <?= $this->tag->og->getAll() ?>
 
    <?= $this->assets->outputCss('headerMinCss') ?>
    <?= $this->assets->outputCss('headerCss') ?>
    <?= $this->assets->outputJs('headerMinJS') ?>
    <?= $this->assets->outputJs('headerJS') ?>
    <link href="https://fonts.googleapis.com/css?family=Open+Sans|Open+Sans+Condensed:300|Oswald|Poiret+One|Roboto|Roboto+Condensed|Roboto+Slab|Source+Sans+Pro|Helvetica" rel="stylesheet">
    <link rel="icon" type="image/png" href="//aquamarket.ua/logo.png">
    <link rel="icon" type="image/vnd.microsoft.icon" href="//aquamarket.ua/img/favicon.ico?1497884684"/>
    <meta property="og:image" content="//aquamarket.ua/themes/aqumarket/img/logo.png"/>
    <meta property="og:image" content="https://aquamarket.ua/img/icons/apple-touch-icon-120x120.png"/>
    <link rel="apple-touch-icon" href="//aquamarket.ua/img/icons/apple-touch-icon.png">
    <link rel="apple-touch-icon" sizes="76x76" href="//aquamarket.ua/img/icons/apple-touch-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="120x120" href="//aquamarket.ua/img/icons/apple-touch-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="152x152" href="//aquamarket.ua/img/icons/apple-touch-icon-152x152.png">
    <link rel="icon" type="image/png" href="//aquamarket.ua/logo.png">
    <link rel="shortcut icon" type="image/x-icon" href="/img/favicon.ico?1497884684"/>
    <link href="https://fonts.googleapis.com/css?family=Roboto&amp;subset=cyrillic" rel="stylesheet">
    <?php $v148328165487415508071iterator = $langs; $v148328165487415508071incr = 0; $v148328165487415508071loop = new stdClass(); $v148328165487415508071loop->self = &$v148328165487415508071loop; $v148328165487415508071loop->length = count($v148328165487415508071iterator); $v148328165487415508071loop->index = 1; $v148328165487415508071loop->index0 = 1; $v148328165487415508071loop->revindex = $v148328165487415508071loop->length; $v148328165487415508071loop->revindex0 = $v148328165487415508071loop->length - 1; ?><?php foreach ($v148328165487415508071iterator as $lang) { ?><?php $v148328165487415508071loop->first = ($v148328165487415508071incr == 0); $v148328165487415508071loop->index = $v148328165487415508071incr + 1; $v148328165487415508071loop->index0 = $v148328165487415508071incr; $v148328165487415508071loop->revindex = $v148328165487415508071loop->length - $v148328165487415508071incr; $v148328165487415508071loop->revindex0 = $v148328165487415508071loop->length - ($v148328165487415508071incr + 1); $v148328165487415508071loop->last = ($v148328165487415508071incr == ($v148328165487415508071loop->length - 1)); ?>
         <link rel="alternate" hreflang="<?= $lang->iso_code ?>"  href="<?= $urls_langs[$lang->id_language] ?>">
    <?php $v148328165487415508071incr++; } ?>
 
    <?php if ($id_shop == 4 || $id_shop == 3 || $id_shop == 2) { ?>
        <style>
            @media (min-width:1201px) {
                .block-main-category:nth-child(9) > .category-dropdown {
                    left: 323px;
                }
            }
        </style>
    <?php } ?>
    <?php if ($id_shop == 2) { ?>
        <style>
            @media (min-width:1201px) {
                .block-main-category:nth-child(5) > .category-dropdown {
                    left: 293px;
                }
            }
        </style>
    <?php } ?>
</head>
<body>
 
 
<style>
 
</style>
 
    
 
<!-- Fixed navbar -->
<nav class="navbar navbar-default " role="navigation">
    <div class="permalinks_top hidden-xs hidden-sm">
        <div class="container">
            <div class="row">
                <div class="col-md-5">
                    <?= $this->ShopPhonesWidget->run('header') ?>
                    <div class="callback_wrapper" data-toggle="tooltip" data-placement="bottom" data-original-title="<?= $this->t->_('callback') ?>" data-target="#callbackModal" >
                        <img src="/img/header/call-back_no_active.jpg" alt="alt" class="not_hover">
                        <img src="/img/header/call-back_active.jpg" alt="alt" class="hover_img btn-callback" data-toggle="modal" data-target="#callbackModal">
                    </div>
                </div>
                <div class="col-md-4 text-right" style="z-index: 2">
                    <ul class="list_url">
                        <li>
                            <a href="/<?= $iso_code ?>/contact-us">
                                <?= $this->t->_('contact-us') ?>
                            </a>
                        </li>
                        <li>
                            <a href="<?= $this->url->get(['for' => 'products-week-index', 'iso_code' => $iso_code]) ?>">
                                <?= $this->t->_('products-of-the-week') ?>
                            </a>
                        </li>
                        <li>
                            <a href="<?= $this->url->get(['for' => 'delivery', 'iso_code' => $this->context->language->iso_code]) ?>">
                                <?= $this->t->_('delivery-page') ?>
                            </a>
                        </li>
                        <li>
                            <a href="<?= $this->url->get(['for' => 'contacts', 'iso_code' => $this->context->language->iso_code]) ?>">
                                <?= $this->t->_('contacts') ?>
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="col-md-3">
                    <ul class="account_widget">
                        <li>
                            <?= $this->MyAccountWidget->run('header') ?>
                        </li>
 
                        <li class="change-lang_header">
                            <ul class="language_list">
                                <?php $v148328165487415508071iterator = $langs; $v148328165487415508071incr = 0; $v148328165487415508071loop = new stdClass(); $v148328165487415508071loop->self = &$v148328165487415508071loop; $v148328165487415508071loop->length = count($v148328165487415508071iterator); $v148328165487415508071loop->index = 1; $v148328165487415508071loop->index0 = 1; $v148328165487415508071loop->revindex = $v148328165487415508071loop->length; $v148328165487415508071loop->revindex0 = $v148328165487415508071loop->length - 1; ?><?php foreach ($v148328165487415508071iterator as $lang) { ?><?php $v148328165487415508071loop->first = ($v148328165487415508071incr == 0); $v148328165487415508071loop->index = $v148328165487415508071incr + 1; $v148328165487415508071loop->index0 = $v148328165487415508071incr; $v148328165487415508071loop->revindex = $v148328165487415508071loop->length - $v148328165487415508071incr; $v148328165487415508071loop->revindex0 = $v148328165487415508071loop->length - ($v148328165487415508071incr + 1); $v148328165487415508071loop->last = ($v148328165487415508071incr == ($v148328165487415508071loop->length - 1)); ?>
                                    <li <?php if ($lang->id_language == $curr_id_lang) { ?>class="active_item"<?php } ?>>
                                        <a href="<?= $urls_langs[$lang->id_language] ?>" <?php if ($lang->id_language == $curr_id_lang) { ?>onclick="return false;" class="active"<?php } ?>><?= $this->converter->truncate($lang->name, 3, '', 0) ?></a>
                                    </li>
                                <?php $v148328165487415508071incr++; } ?>
                            </ul>
 
                            
 
                        </li>
 
 
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="row-permalinks hidden-md hidden-lg">
        <div class="container" style="padding-left: 15px;">
            <div class="navbar-header ">
                <div class="pull-left">
                    <button type="button" class="navbar-toggle navbar-fixed-bottom toggle  nav-toggle">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                </div>
                <div class="nav-search-inpt-mob">
                    <form class="navbar-link search-form-1 hidden-md hidden-lg" action="/<?= $iso_code ?>/search"
                          method="get"
                          role="search">
                        <div class="input-group search-input-group">
                            <input name="search_query" type="text" class="form-control search-input"
                                   placeholder="<?= $this->t->_('search') ?>">
                            <span class="input-group-addon">
                            <button type="submit">
                            <span class="fa fa-search"></span>
                            </button>
                            </span>
                        </div>
                    </form>
                </div>
                <div class="pull-right">
                    <a href="<?= $this->url->get(['for' => 'order-page']) ?>" class="" style="position:relative;">
                        <img src="/img/icons/cart_white_icon.png" style="height: 30px;">
                        <div class="mobile-total-products"><span><?= $total_products_cart ?></span></div>
                    </a>
                </div>
 
            </div>
 
            <div class="nav-bckgrnd">
                <span class="nav-close close-icon">
                    <i class="fa fa-chevron-left"></i>
                </span>
            </div>
            <div id="navbar" class="navbar-default list-inline">
                <a href="/<?= $iso_code ?>/" class="shop-logo-hdr hidden-xs hidden-sm">
                    <img class="logo img-responsive"
                         src="/img/aquamarket-logo-1450342761.jpg"
                         alt="Київ"/>
                </a>
                <ul class="list-unstyled permalinks">
                    <li class="nav-img">
                        <a href="/<?= $iso_code ?>/">
                            <img src="/img/aqua-logo-mob.png">
                        </a>
                        <img src="/img/watermarks/watermark.png" class="hidden-xs hidden-sm">
 
                    </li>
                    <li class="mob-hdr-nav">
                        <a id="mob-menu-catalog-btn"><i class="fa fa-bars"></i> Каталог</a>
                        <div id="mob-menu-catalog" style="display: none;">
                            <?= $this->MenuWidget->run('header-menu') ?>
                        </div>
                    </li>
                    <li class="divider"></li>
                    <li>
                        <a href="/<?= $iso_code ?>/contact-us">
                            <i class="i-collapsed fa fa-pencil"></i> <?= $this->t->_('contact-us') ?>
                        </a>
                    </li>
                    <i class="i-collapsed fa "></i>
                    <li>
                        <a href="<?= $this->url->get(['for' => 'products-week-index', 'iso_code' => $iso_code]) ?>"><i
                                    class="i-collapsed fa fa-calendar-check-o"></i> <?= $this->t->_('products-of-the-week') ?>
                        </a>
                    </li>
                    <li>
                        <a href="<?= $this->url->get(['for' => 'delivery', 'iso_code' => $this->context->language->iso_code]) ?>">
                            <i class="i-collapsed fa fa-truck"></i> <?= $this->t->_('delivery-page') ?>
                        </a>
                    </li>
                    <li>
                        <a href="<?= $this->url->get(['for' => 'service', 'iso_code' => $iso_code]) ?>">
                            <i class="i-collapsed fa fa-wrench"></i> <?= $this->t->_('service') ?>
                        </a>
                    </li>
                    <li>
                        <a href="<?= $this->url->get(['for' => 'contacts', 'iso_code' => $this->context->language->iso_code]) ?>">
                            <i class="i-collapsed fa fa-phone"></i> <?= $this->t->_('contacts') ?>
                        </a>
                    </li>
                    <li class="nav-viber-hdr">
                        <a class="btn_viber" target="_blank" href="viber://pa?chatURI=aquamarket"
                           title="<?= $this->t->_('follow-viber') ?>">
                            <img src="/img/icons/viber-icon-noborder.png">
                            <span>Viber</span>
                        </a>
                    </li>
                    <li class="nav-callback-hdr">
                        <a data-toggle="modal" data-target="#callbackModal" class="btn-callback">
                            <img src="/img/icons/callback-noborder.png">
                            <span><?= $this->t->_('callback') ?></span>
                        </a>
                    </li>
                    <li class="divider mob-hdr-nav"></li>
 
                    <li class="divider mob-hdr-nav"></li>
                     <?= $this->MyAccountWidget->run('header') ?>
                    <li class="divider mob-hdr-nav"></li>
                         <li class="change-lang-header navbar-right">
                                   <i class="i-collapsed fa fa-globe"></i>
                               <?php $v148328165487415508071iterator = $langs; $v148328165487415508071incr = 0; $v148328165487415508071loop = new stdClass(); $v148328165487415508071loop->self = &$v148328165487415508071loop; $v148328165487415508071loop->length = count($v148328165487415508071iterator); $v148328165487415508071loop->index = 1; $v148328165487415508071loop->index0 = 1; $v148328165487415508071loop->revindex = $v148328165487415508071loop->length; $v148328165487415508071loop->revindex0 = $v148328165487415508071loop->length - 1; ?><?php foreach ($v148328165487415508071iterator as $lang) { ?><?php $v148328165487415508071loop->first = ($v148328165487415508071incr == 0); $v148328165487415508071loop->index = $v148328165487415508071incr + 1; $v148328165487415508071loop->index0 = $v148328165487415508071incr; $v148328165487415508071loop->revindex = $v148328165487415508071loop->length - $v148328165487415508071incr; $v148328165487415508071loop->revindex0 = $v148328165487415508071loop->length - ($v148328165487415508071incr + 1); $v148328165487415508071loop->last = ($v148328165487415508071incr == ($v148328165487415508071loop->length - 1)); ?>
                                   <a href="<?= $urls_langs[$lang->id_language] ?>"
                                      <?php if ($lang->id_language == $curr_id_lang) { ?>onclick="return false;" class="active"<?php } ?>>
                                       <?= $this->converter->truncate($lang->name, 3, '', 0) ?>
                                   </a>
                                   <?php if (!$v148328165487415508071loop->last) { ?>
                                   |
                                   <?php } ?>
                               <?php $v148328165487415508071incr++; } ?>
                           </li>
                    <li class="mob-hdr-nav">
                        <a data-toggle="modal" data-target="#callbackModal" class="btn-callback nav-close">
                            <i class="fa fa-volume-control-phone"></i>
                            <span><?= $this->t->_('callback') ?></span>
                        </a>
                    </li>
                    <li class="mob-hdr-nav">
                       <?php if ($this->context->customer->logged) { ?>
                            <a class="header-button"  rel="nofollow"
                               href="<?= $this->url->get(['for' => 'wishlist', 'iso_code' => $this->context->language->iso_code]) ?>">
                                <img src="/img/header/Like.png" alt=""> <?= $this->t->_('favorites') ?>
                            </a>
                        <?php } ?>
                    </li>
                    <li class="mob-hdr-nav">
                        <a id="compare-header"
                           href="<?= $this->url->get(['for' => 'compare', 'iso_code' => $this->context->language->iso_code]) ?>">
                          <i class="fa fa-balance-scale" aria-hidden="true"></i> <?= $this->t->_('compare') ?>
                        </a>
                    </li>
                    <li class="divider"></li>
                    <?= $this->ShopSelectWidget->run() ?>
                    <li class="divider"></li>
                    <li class="mob-hdr-nav">
                        <a href="/index/setviewport">
                          <?php if (!isset($site_full_version_view)) { ?>
                                <i class="fa fa-desktop"></i><?= $this->t->_('get-site-view-full-version') ?>
                          <?php } ?>
                        </a>
                    </li>
                  <li class="mob-hdr-nav mob-menu-last-li hidden-sm hidden-md"></li>
                </ul>
 
            </div>
 
            
            <!--/.nav-collapse -->
            <div class="city-popup-title" style="display: none">
                <?= $this->t->_('yours-city-is') ?> <span></span>?
                <i class="close-popup fa fa-times-circle pull-right"></i>
                <br>
                <button class="btn" data-choose="yes"><?= $this->t->_('yes') ?></button>
                <a class="choose-another pull-right" data-choose="no" data-toggle="modal"
                   data-target="#choose-cities-list">
                    <?= $this->t->_('choose-another-city') ?>
                </a>
            </div>
        </div>
    </div>
    <div class="clearfix"></div>
    <div class="header-row-2 hidden-xs hidden-sm">
        <div class="container">
            
                <div class="row_wrapper">
                    <div class="cols">
                        <a href="/<?= $iso_code ?>/" class="shop-logo-hdr hidden-xs hidden-sm">
                            <img class="logo img-responsive"
                                 src="/img/new_head/logo_header.png"
                                 alt="Київ"/>
                        </a>
                        <?= $this->ShopSelectWidget->run() ?>
                    </div>
                    <div class="cols">
                        <?= $this->SearchWidget->run() ?>
                    </div>
                    <div class="cols">
                        <div class="header-button_list">
                            <div class="user-button pull-right">
                                <?= $this->WishlistWidget->run() ?>
                                <div id="compare-header-div" class="block_ref">
                                    <span id="compare-header" class="header-button"
                                          data-link="<?= $this->url->get(['for' => 'compare', 'iso_code' => $this->context->language->iso_code]) ?>">
                                        <img src="/img/header/Libra.png" alt=""><br>
                                        
                                        <div class="compare-total-products"><span></span></div>
                                        <div id="compare-dropdown">
                                            <div id="compare-ajax-block"></div>
                                        </div>
                                    </span>
                                </div>
 
                                <div class="basket_wrapper block_ref">
 
                                    <span class="header-button header-cart" data-link="<?= $this->url->get(['for' => 'quick-order/action', 'iso_code' => $iso_code, 'action' => 'products']) ?>">
                                        <img src="/img/header/market_car.png" alt="">
                                        <div class="total-products"><span><?= $total_products_cart ?></span></div>
                                    </span>
                                </div>
                            </div>
                        </div>
                    </div>
                
            </div>
        </div>
        
    </div>
    <div class="row-products-menu ">
        <div class="container">
            <div class="collapse navbar-collapse hidden-md hidden-xs" id="categories-menu">
                <?php if (isset($id_category)) { ?>
                    <?php $_cache['frontend.MenuWidget.header-menu.' . $iso_code . '.' . $this->context->shop->id_shop . '.' . $id_category] = $this->di->get('viewCache'); $_cacheKey['frontend.MenuWidget.header-menu.' . $iso_code . '.' . $this->context->shop->id_shop . '.' . $id_category] = $_cache['frontend.MenuWidget.header-menu.' . $iso_code . '.' . $this->context->shop->id_shop . '.' . $id_category]->start('frontend.MenuWidget.header-menu.' . $iso_code . '.' . $this->context->shop->id_shop . '.' . $id_category, 60); if ($_cacheKey['frontend.MenuWidget.header-menu.' . $iso_code . '.' . $this->context->shop->id_shop . '.' . $id_category] === null) { ?>
                        <?= $this->MenuWidget->run('header-menu', $id_category) ?>
                    <?php $_cache['frontend.MenuWidget.header-menu.' . $iso_code . '.' . $this->context->shop->id_shop . '.' . $id_category]->save('frontend.MenuWidget.header-menu.' . $iso_code . '.' . $this->context->shop->id_shop . '.' . $id_category, null, 60); } else { echo $_cacheKey['frontend.MenuWidget.header-menu.' . $iso_code . '.' . $this->context->shop->id_shop . '.' . $id_category]; } ?>
                <?php } else { ?>
                    <?= $this->MenuWidget->run('header-menu', 0) ?>
                <?php } ?>
 
            </div><!--/.nav-collapse -->
        </div>
    </div>
 
</nav>
 
<div class="<?= $content_container ?>">
    <div class="<?= (empty($breadcrambs_container) ? ('') : ($breadcrambs_container)) ?>">
        <?= $this->BreadCrumbsWidget->run() ?>
    </div>
    <?= $this->flash->output() ?><!--Вывод всех ошибок flash-->
    <?= $this->flashDirect->output() ?><!--Вывод всех ошибок flash-->
    <?= $this->getContent() ?>
</div>
 
    <div id="footers">
        <div class="container">
            <div class="row">
                <div class="col-md-4 col-sm-12 col-xs-12">
                    <div class="row dinb">
                        <div class="col-md-5 col-sm-12">
                            <a href="/<?= $iso_code ?>/" class="shop-logo-hdr hidden-xs hidden-sm">
                                <img class="logo img-responsive"
                                     src="/img/new_head/footer_logo.png"
                                     alt="Київ"/>
                            </a>
                            <a href="tel:(044) 593 37 77" class="phone">(044) 593 37 77</a>
                            <a href="tel:(067) 555 88 77" class="phone">(067) 555 88 77</a>
                        </div>
                        <div class="col-md-7 col-sm-12 pl0">
                            <a href="tel:8877" class="callback_footer"> <span><?= $this->t->_('free for mobiles') ?></span>8877 callback</a>
                            <a data-toggle="modal" data-target="#callbackModal" class="btn-callback">
                                <i class="fa fa-phone"></i> <span><?= $this->t->_('callback') ?></span>
                            </a>
                        </div>
                    </div>
                    <div class="row dinb vla">
                        <div class="col-md-10" id = "subscribe">
                            <p class="input_desc"><?= $this->t->_('news_subsscribing') ?></p>
                            <div class="input-group">
                                <input type="text" class="form-control" placeholder="Ваш E-mail" aria-describedby="subscribe_news_button">
                                <span class="input-group-addon" id="subscribe_news_button"><img src="/img/arrow_send.png" alt="" style="width: 20px;"></span>
                            </div>
                        </div>
                    </div>
                    <div class="row dinb">
                        <div class="col-md-12">
                            <span class="dwn_app"><?= $this->t->_('dwn-app') ?></span>
                            <ul class="download_app">
                                <li>
                                    <a target="_blank" rel="nofollow" href="https://itunes.apple.com/ua/app/akvamarket/id775839495?mt=8">
                                        <img src="/img/download-on-the-app-store-badge.png" width="115">
                                    </a>
                                </li>
                                <li>
                                    <a target="_blank" rel="nofollow" href="https://play.google.com/store/apps/details?id=ua.aquamarket.catalog">
                                        <img src="/img/get-it-on-google-play.png" width="115">
                                    </a>
                                </li>
                            </ul>
 
 
                        </div>
                    </div>
                    <div class="row pa">
                        <div class="col-md-12 social_cesti">
                            <p class="soc_btn_title"><?= $this->t->_('lets_be_friends') ?></p>
                            <ul>
 
                                <li><a href="https://www.instagram.com/aquamarket_online/">
                                        <div class="wrapper">
                                            <img src="/img/header/instagram.png" alt="">
                                        </div>
                                    </a>
                                </li>
                                <li><a href="https://www.facebook.com/aquamarket.ua">
                                        <div class="wrapper">
                                            <img src="/img/header/facebook.png" alt="">
                                        </div>
                                    </a>
                                </li>
                                <li><a href="viber://pa?chatURI=aquamarket">
                                        <div class="wrapper">
                                            <img src="/img/header/viber.png" alt="">
                                        </div>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="col-md-8 hidden-sm hidden-xs">
                    <div class="row list">
                        <div class="col-md-2">
                            <ul class="ml_55 city_lists">
                                <li class="title_li">
                                    <?= $this->t->_('delivery_water') ?>
                                </li>
                                <li>
                                    <span class="active_shop choose-city-list-shop choose-city-modal-window city_list_item" data-id-shop="1" data-city="<?= $this->t->_('kiev') ?>"><?= $this->t->_('kiev') ?></span>
                                </li>
                                <li>
                                    <span class="choose-city-list-shop choose-city-modal-window city_list_item" data-id-shop="4" data-city="<?= $this->t->_('odessa') ?>"><?= $this->t->_('odessa') ?></span>
                                </li>
                                <li>
                                    <span class = "choose-city-list-shop choose-city-modal-window city_list_item" data-id-shop="3" data-city="<?= $this->t->_('kharkov') ?>"><?= $this->t->_('kharkov') ?></span>
                                </li>
                                <li>
                                    <span class="choose-city-list-shop choose-city-modal-window city_list_item" data-id-shop="2" data-city="<?= $this->t->_('belaya_tserkov') ?>"><?= $this->t->_('belaya_tserkov') ?></span>
                                </li>
                                <li>
                                    <span class="choose-city-list-shop choose-city-modal-window city_list_item" data-id-shop="475" data-city="<?= $this->t->_('zhytomyr') ?>"><?= $this->t->_('zhytomyr') ?></span>
                                </li>
                                <li>
                                    <span class="choose-city-list-shop choose-city-modal-window city_list_item" data-id-shop="6" data-city="<?= $this->t->_('chernigov') ?>"><?= $this->t->_('chernigov') ?></span>
                                </li>
                                <li data-toggle="modal" data-target="#choose-cities-list">
                                    <span><?= $this->t->_('another_city') ?></span>
                                </li>
                                
                            </ul>
                        </div>
 
                        <div class="col-md-2">
                            <ul class="ml_40">
                                <li class="title_li">
                                    <?= $this->t->_('about_us') ?>
                                </li>
                                <li class="block_ref">
                                    <span data-link="<?= $this->url->get(['for' => 'contacts', 'iso_code' => $this->context->language->iso_code]) ?>"><?= $this->t->_('contacts') ?></span>
                                </li>
                                <li class="block_ref">
                                    <span data-link="<?= $this->url->get(['for' => 'feedback-index', 'iso_code' => $this->context->language->iso_code]) ?>"><?= $this->t->_('contact-us') ?></span>
                                </li>
                                <li>
                                    <a href="<?= $this->url->get(['for' => 'contract-offer', 'iso_code' => $this->context->language->iso_code]) ?>"><?= $this->t->_('contract-offer') ?></a>
                                </li>
                                <li>
                                <li>
                                    <a href="/<?= $iso_code ?>/sitemap"><?= $this->t->_('site-map') ?></a>
                                </li>
                                <li class="">
                                    <a href="/<?= $iso_code ?>/content/37-about-aquamarket" class=""><?= $this->t->_('about_aquamarket') ?></a>
                                </li>
                                <li class="divider not-active">
 
                                </li>
                                <li>
                                    <a href="/<?= $iso_code ?>/partners"><?= $this->t->_('partners') ?></a>
                                </li>
                                <li class="not-active">
                                    <a href="" class="not-active"><?= $this->t->_('for_suppliers') ?></a>
                                </li>
                            </ul>
                        </div>
 
                        <div class="col-md-3">
                            <ul class="">
                                <li class="title_li">
                                    <?= $this->t->_('to_customers') ?>
                                </li>
                                <li class="block_ref">
                                    <span data-link="<?= $this->url->get(['for' => 'delivery', 'iso_code' => $this->context->language->iso_code]) ?>"><?= $this->t->_('delivery-page') ?></span>
                                </li>
                                <li class="block_ref">
                                    <span data-link="<?= $this->url->get(['for' => 'service', 'iso_code' => $iso_code]) ?>">
                                        <?= $this->t->_('service') ?>
                                    </span>
                                </li>
                                <li>
                                    <a href="<?= $this->url->get(['for' => 'news-base', 'iso_code' => $this->context->language->iso_code]) ?>"><?= $this->t->_('news') ?></a>
                                </li>
                                <li>
                                    <a href="/<?= $iso_code ?>/content/3-facts"><?= $this->t->_('interesting_about_water') ?></a>
                                </li>
                                <li class="block_ref">
                                    <span data-link="/<?= $iso_code ?>/108-house-office"><?= $this->t->_('office_supplies') ?></span>
                                </li>
                                <li class="block_ref">
                                    <span data-link="<?= $this->url->get(['for' => 'trademark-index', 'iso_code' => $this->context->language->iso_code]) ?>" class=""><?= $this->t->_('trademarks') ?></span>
 
                                </li>
                                <li class="divider not-active">
 
                                </li>
                                <li class="block_ref">
                                    <span data-link="<?= $this->url->get(['for' => 'products-week-index', 'iso_code' => $iso_code]) ?>"><?= $this->t->_('week-product') ?></span>
                                </li>
                                <li>
                                    <a href="<?= $this->url->get(['for' => 'best-sales', 'iso_code' => $iso_code]) ?>"><?= $this->t->_('best-products') ?></a>
                                </li>
                                <li>
                                    <a href="<?= $this->url->get(['for' => 'products-week-index', 'iso_code' => $iso_code]) ?>"><?= $this->t->_('sales') ?></a>
                                </li>
                                <li>
                                    <a href="<?= $this->url->get(['for' => 'new-products', 'iso_code' => $iso_code]) ?>"><?= $this->t->_('new-products') ?></a>
                                </li>
                            </ul>
                        </div>
 
                        <div class="col-md-3">
                            <ul class="">
                                <li class="title_li">
                                    <?= $this->t->_('categories-f') ?>
                                </li>
                                <li>
                                    <a href="/<?= $iso_code ?>/84-voda-i-napitki/list" class=""><?= $this->t->_('water-and-beverages') ?></a>
                                </li>
                                <li>
                                    <a href="/<?= $iso_code ?>/108-house-office/list"><?= $this->t->_('home-n-office') ?></a>
                                </li>
                                <li>
                                    <a href="/<?= $iso_code ?>/120-house-chemicals/list"><?= $this->t->_('household-chemicals') ?></a>
                                </li>
                                <li>
                                    <a href="/<?= $iso_code ?>/127-gigiena/list"><?= $this->t->_('hygiene') ?></a>
                                </li>
                                <li>
                                    <a href="/<?= $iso_code ?>/97-produkty/list"><?= $this->t->_('products') ?></a>
                                </li>
                                <li>
                                    <a href="/<?= $iso_code ?>/660-dlya-detej/list"><?= $this->t->_('for_childs') ?></a>
                                </li>
 
                                <li>
                                    <a href="/<?= $iso_code ?>/666-dlya-tvarin/list"><?= $this->t->_('for_animals') ?></a>
                                </li>
                                <li>
                                    <a href="/<?= $iso_code ?>/136-oborudovanie/list"><?= $this->t->_('equipment') ?></a>
                                </li>
                                <li>
                                    <a href="/<?= $iso_code ?>/653-instrumenty-i-avtotovary/list"><?= $this->t->_('auto_tools') ?></a>
                                </li>
                            </ul>
                        </div>
                        <?php if ($this->context->customer->logged) { ?>
                            <div class="col-md-2">
                                <ul class="ml_48">
                                    <li class="title_li">
                                        <?= $this->t->_('my-account') ?>
                                    </li>
                                    <li>
                                        <a href="<?= $this->url->get(['for' => 'my-info', 'iso_code' => $iso_code]) ?>" class=""> <?= $this->t->_('my-info') ?></a>
                                    </li>
                                    <li>
                                        <a href="<?= $this->url->get(['for' => 'account-addresses', 'iso_code' => $this->context->language->iso_code]) ?>"> <?= $this->t->_('my-addresses') ?></a>
                                    </li>
                                    <li>
                                        <a href="<?= $this->url->get(['for' => 'account-orders', 'iso_code' => $iso_code]) ?>"><?= $this->t->_('my-orders') ?></a>
                                    </li>
                                    <li>
                                        <a href="<?= $this->url->get(['for' => 'quick-order/action', 'iso_code' => $iso_code, 'action' => 'products']) ?>"><?= $this->t->_('shopping-basket') ?></a>
                                    </li>
 
                                </ul>
                            </div>
                        <?php } ?>
 
 
                    </div>
                </div>
            </div>
        </div>
    </div>
 
    <div id="footer_button" class="clearfix">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <?php if ($footer_1) { ?>
                        <p><?= $this->t->_('footer-about-1', ['city_name' => $city_name]) ?></p>
                    <?php } else { ?>
                        <p><?= $this->t->_('footer-about') ?></p>
                    <?php } ?>
                    <hr>
                </div>
            </div>
            <div class="row">
                <div class="col-md-6 col-sm-7">
                    © 2012-<?= date('Y') ?> AquaMarket Service LLC - a part of KSB GLOBAL™.
                </div>
                <div class="col-md-6 col-sm-5 text-right">
                    <?= $this->t->_('give-to-pay') ?>:
                    <img src="/img/icons/visa.png">
                </div>
            </div>
        </div>
        <div id="shop-redirect-notice" class="modal fade" role="dialog">
            <div class="modal-dialog modal-sm">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">&times;</button>
                        <h4 class="modal-title"><?= $this->t->_('attention') ?></h4>
                    </div>
                    <div class="modal-body text-center">
                        <p><?= $this->t->_('redirect-city-notice') ?></p>
                        <form id="set-city-form" type="post">
                            <input name="footer_link" id = "footer_link" type="hidden" value="0">
                            <input name="id_shop" type="hidden" value="" data-curr-shop="<?= $this->context->shop->id_shop ?>">
                            <input name="id_delivery_price" type="hidden" value="">
                            <button class="btn btn-primary pull-right" type="submit" data-loading-text="<i class='fa fa-circle-o-notch fa-spin'></i><?= $this->t->_('data_processing') ?>"><?= $this->t->_('submit') ?></button>
                        </form>
                        <button type="button" class="btn btn-default pull-left" data-dismiss="modal"
                                style="color:#777;"><?= $this->t->_('stay-here') ?></button>
                        <div class="clearfix"></div>
                    </div>
                </div>
 
            </div>
        </div>
    </div>
 
    <?= $this->CallbackWidget->run('modal') ?>
    <?= $this->AuthWidget->run('modal') ?>
    <?= $this->ShopSelectWidget->run('modal-choose-city', true) ?>
    <?= $this->AcceptPhoneWidget->run('modal') ?>
 
 
 
 
<script>
    $('#shop-redirect-notice form .btn-primary').on('click', function() {
        var $this = $(this);
        $this.button('loading');
    });
</script>
 
<script>
 
    $("#confirm_order_y").on("click", function () {
        localStorage.setItem('last_order_confirm', 1);
    });
    $("body").on("click", "#cancel_order", function () {
        console.log("cancel_order");
        var id_customer = $("#id_customer").text();
        var id_order = $("#id_order").text();
        $.ajax({
            type: 'POST',
            url: "/order/changepaystatus",
            dataType: "json",
            data: {id_customer: id_customer, id_order:id_order},
            success: function (result) {
               console.log(result);
            },
            error: function (error) {
                alert(error);
            }
        });
    })
</script>
 
 
<script>
    var baseUri = '<?= $HTTP_TYPE ?>://<?= $this->request->getHttpHost() ?>';
    var iso_code = '<?= $iso_code ?>';
    var id_curr_shop = '<?= $this->context->shop->id_shop ?>';
 
    $.id_curr_shop = {
        'id_curr_shop': '<?= $this->context->shop->id_shop ?>'
    };
 
    if($(window).width() < 769){
        document.cookie = "mobile=1; expires=Thu, 18 Dec 2019 12:00:00 UTC; path=/; domain=.aquamarket.ua";
    } else {
        document.cookie = "mobile=0; expires=Thu, 18 Dec 2019 12:00:00 UTC; path=/; domain=.aquamarket.ua";
    }
</script>
<?= $this->assets->outputJs('footerJS') ?>
<?= $this->BlockCart->run() ?>
<div class="arrow-container">
    <i class="fa fa-chevron-up arrow-top-page" aria-hidden="true"></i>
    <i class="fa fa-chevron-down arrow-bottom-page" aria-hidden="true"></i>
</div>
<script>
    (function (i, s, o, g, r, a, m) {
        i['GoogleAnalyticsObject'] = r;
        i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date();
        a = s.createElement(o),
            m = s.getElementsByTagName(o)[0];
        a.async = 1;
        a.src = g;
        m.parentNode.insertBefore(a, m)
    })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
 
    ga('create', 'UA-43134149-1', 'auto');
    ga('send', 'pageview');
 
    <?php if ($this->router->getControllerName() == 'quick-order' && ($this->router->getActionName() == 'success' || $this->router->getActionName() == 'confirm')) { ?>
        ga('require', 'ecommerce');
 
        ga('ecommerce:addTransaction', {
            'id': '<?= $order->id_order ?>',
            'affiliation': 'Aquamarket',
            'revenue': '<?= $order->total_paid ?>',
            'shipping': '<?= $order->total_shipping ?>',
            'tax': '<?= $order->total_paid % 20 ?>',
            'currency': 'UAH'
        });
 
        <?php $v148328165487415508071iterator = $order->order_details; $v148328165487415508071incr = 0; $v148328165487415508071loop = new stdClass(); $v148328165487415508071loop->self = &$v148328165487415508071loop; $v148328165487415508071loop->length = count($v148328165487415508071iterator); $v148328165487415508071loop->index = 1; $v148328165487415508071loop->index0 = 1; $v148328165487415508071loop->revindex = $v148328165487415508071loop->length; $v148328165487415508071loop->revindex0 = $v148328165487415508071loop->length - 1; ?><?php foreach ($v148328165487415508071iterator as $order_product) { ?><?php $v148328165487415508071loop->first = ($v148328165487415508071incr == 0); $v148328165487415508071loop->index = $v148328165487415508071incr + 1; $v148328165487415508071loop->index0 = $v148328165487415508071incr; $v148328165487415508071loop->revindex = $v148328165487415508071loop->length - $v148328165487415508071incr; $v148328165487415508071loop->revindex0 = $v148328165487415508071loop->length - ($v148328165487415508071incr + 1); $v148328165487415508071loop->last = ($v148328165487415508071incr == ($v148328165487415508071loop->length - 1)); ?>
        ga('ecommerce:addItem', {
            'id': '<?= $order->id_order ?>',
            'name': '<?= $order_product->product_name ?>',
            'sku': '<?= $order_product->product_reference ?>',
            'category': '<?= $order_product->product->id_category_default ?>',
            'price': '<?= $order_product->product_price ?>',
            'quantity': '<?= $order_product->product_quantity ?>',
            'currency': 'UAH'
        });
        <?php $v148328165487415508071incr++; } ?>
 
        ga('ecommerce:send');
    <?php } ?>
 
</script>
<!-- Google Tag Manager -->
<noscript>
    <iframe src="//www.googletagmanager.com/ns.html?id=GTM-MS873L"
            height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<script>(function (w, d, s, l, i) {
        w[l] = w[l] || [];
        w[l].push({
            'gtm.start': new Date().getTime(), event: 'gtm.js'
        });
        var f = d.getElementsByTagName(s)[0],
            j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
        j.async = true;
        j.src =
            '//www.googletagmanager.com/gtm.js?id=' + i + dl;
        f.parentNode.insertBefore(j, f);
    })(window, document, 'script', 'dataLayer', 'GTM-5WWGT7');</script>
<!-- End Google Tag Manager -->
<div itemscope itemtype="https://schema.org/LocalBusiness" style="display:none;">
    <time itemprop="openingHours" datetime="Mo-Su"></time>
    <span itemprop="name">AquaMarket Service LLC</span>
    <div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
        <span itemprop="addressLocality">Киев</span>,
    </div>
    <span itemprop="telephone">+38(044) 455-88-38</span>,
    <span itemprop="email">info@aquamarket.ua</span>
    <span itemprop="image">https://aquamarket.ua/img/aquamarket-logo-1450342761.jpg</span>
    <span itemprop="priceRange">$</span>
</div>
<script type="application/ld+json">
        {
          "@context": "https://schema.org",
          "@type": "Organization",
          "name": "AquaMarket Service LLC",
          "url": "https://aquamarket.ua/<?= $iso_code ?>/",
          "logo": "https://aquamarket.ua/img/aquamarket-logo-1450342761.jpg",
          "sameAs" : [
            "https://vk.com/aquamarket_service",
            "https://plus.google.com/102680268228147955144/about",
            "https://www.facebook.com/aquamarket.ua/"
          ],
          "contactPoint" : [{
            "@type" : "ContactPoint",
            "telephone" : "+38(044) 455-88-38",
            "contactType" : "sales",
            "availableLanguage" : [
              "Russian",
              "Ukranian"
            ]
            }]
        }
</script>
<!-- BEGIN JIVOSITE CODE  -->
<?php if ($dis_jsite == false) { ?>
<script type='text/javascript'>
    if(window.innerWidth > 768){
        (function () {
            var widget_id = '2ybRsFZQUw';
            var d = document;
            var w = window;
 
            function l() {
                var s = document.createElement('script');
                s.type = 'text/javascript';
//                s.async = false;
                s.src = '//code.jivosite.com/script/widget/' + widget_id;
                var ss = document.getElementsByTagName('script')[0];
                ss.parentNode.insertBefore(s, ss);
            }
 
            if (d.readyState == 'complete') {
                l();
            } else {
                if (w.attachEvent) {
                    w.attachEvent('onload', l);
                } else {
                    w.addEventListener('load', l, true);
                }
            }
        })();
    }
</script>
<?php } ?>
 
</body>
</html>
#4unknown
#5Phalcon\Mvc\View\Engine\Volt->render(/var/www/aquamarket.ua/html/app/frontend/views/../views/layouts/main.volt, Array(31), true)
#6Phalcon\Mvc\View->_engineRender(Array([.volt] => Object(Phalcon\Mvc\View\Engine\Volt)), ../views/layouts/main, true, true, null)
#7Phalcon\Mvc\View->render(categories, view)
#8Phalcon\Mvc\Application->handle()
/var/www/aquamarket.ua/html/public/index.php (97)
<?php
/**
 * Created by PhpStorm.
 * User: Andrew Kuzmenko
 * Date: 26.04.2017
 * Time: 18:30
 */
use Phalcon\Mvc\Application;
use Phalcon\Loader;
use Phalcon\Logger;
use Phalcon\Logger\Adapter\File as FileAdapter;
 
//if($_SERVER['REMOTE_ADDR'] != '77.222.128.58'){
//    header( 'Location: http://aquamarket.ua', true, 302 );
//    exit();
//}
error_reporting(E_ALL & ~E_NOTICE & ~E_USER_NOTICE);
ini_set( 'session.cookie_domain', '.aquamarket.ua' );
session_set_cookie_params (0, '/', '.aquamarket.ua', true);
session_start();
setcookie('PHPSESSID', session_id(), time()+60*60*24*30, '/', '.aquamarket.ua', true, true);
defined('BASE_PATH') || define('BASE_PATH', dirname(__DIR__));
header('Strict-Transport-Security: max-age=63072000');
header('Content-Security-Policy: self-ancestors "self"');
header('X-Frame-Options: SAMEORIGIN');
header('X-Content-Type-Options: nosniff');
header('X-XSS-Protection: 1; mode=block');
try {
    /**
     * Disable update snapshotdata on save Model
     */
    Phalcon\Mvc\Model::setup(
        [
            'updateSnapshotOnSave' => false,
        ]
    );
    require_once('../vendor/autoload.php');
    require_once('../vendor/vendor/autoload.php');
    require_once('../vendor/mpdf/autoload.php');
 
    require __DIR__ . '/../app/config/settings.inc.php';
 
    // Creates the autoloader
    $loader = new Loader();
 
    // Register some classes
    $loader->registerClasses(
        [
            'BackendRoutes'         => '../app/config/BackendRoutes.php',
            'FrontendRoutes' => '../app/config/FrontendRoutes.php',
            'ApiRoutes' => '../app/config/ApiRoutes.php',
            'Phalcon\Ext\Mailer' => __DIR__ . '/../../vendor/phalcon-ext/mailer/src/',
            'PHPExcel' => '../vendor/PHPExcel/Classes/PHPExcel.php',
            'PHPExcel_IOFactory' => '../vendor/PHPExcel/Classes/PHPExcel/IOFactory.php',
        ]
    );
    $loader->registerNamespaces(array(
        'Phalcon\Ext\Mailer' => __DIR__ . '/../../vendor/phalcon-ext/mailer/src/',
//        'Elasticsearch' => BASE_PATH . '/vendor/elasticsearch/src/Elasticsearch/',
//        'Psr\Log' => BASE_PATH . '/vendor/psr/log/Psr/Log/',
//        'GuzzleHttp\Ring' => BASE_PATH . '/vendor/guzzlehttp/ringphp/src/',
//        'GuzzleHttp\Streams' => BASE_PATH . '/vendor/guzzlehttp/streams/src/',
//        'React\Promise' => BASE_PATH . '/vendor/react/promise/src/',
        'PDW'=> __DIR__ .'/../vendor/PDW/',
    ));
 
    $loader->register();
 
    /**
     * Include services
     */
    require __DIR__ . '/../app/config/services.php';
 
 
    if(_PS_MODE_DEV_) {
        error_reporting(E_ALL);
        $debug = new \Phalcon\Debug();
        $debug->listen();
    }
 
//    $debugWidget = new \PDW\DebugWidget($di);
    /**
     * Handle the request
     */
    $application = new Application();
 
    /**
     * Assign the DI
     */
    $application->setDI($di);
 
    /**
     * Include modules
     */
    require __DIR__ . '/../app/config/modules.php';
 
    $handle = $application->handle();
 
    echo $handle->getContent();
} catch (Phalcon\Exception $e) {
 
    $logger = new FileAdapter(BASE_PATH.'/logs/phalcon.log');
    $logger->error(
        $e->getMessage()
    );
 
    $message = get_class($e). ": ". $e->getMessage(). "\n"
    . " File=". $e->getFile(). "\n"
    . " Line=". $e->getLine(). "\n"
    . $e->getTraceAsString() . "\n";
    $logger->log($message);
 
    echo 'Sorry. We see something went wrong. Please contact us.';
//    echo '<pre>';
//    var_dump($_SESSION);
//    die;
} catch (PDOException $e){
    $logger = new FileAdapter(BASE_PATH.'/logs/PDOException.log');
    $logger->error(
        $e->getMessage()
    );
 
} catch (\Exception $e){
    $logger = new FileAdapter(BASE_PATH.'/logs/exception.log');
//    $logger->error(
//        $e->getMessage()
//    );
 
}
KeyValue
_url/uk/2-home
KeyValue
REDIRECT_REDIRECT_HTTPSon
REDIRECT_REDIRECT_SSL_TLS_SNIaquamarket.ua
REDIRECT_REDIRECT_STATUS200
REDIRECT_REWRITEBASE/
REDIRECT_HTTP_MOD_REWRITEOn
REDIRECT_HTTPSon
REDIRECT_SSL_TLS_SNIaquamarket.ua
REDIRECT_STATUS200
REWRITEBASE/
HTTP_MOD_REWRITEOn
HTTPSon
SSL_TLS_SNIaquamarket.ua
HTTP_USER_AGENTCCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPTtext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGEen-US,en;q=0.5
HTTP_IF_MODIFIED_SINCEThu, 18 Apr 2019 13:20:37 GMT
HTTP_HOSTaquamarket.ua
HTTP_CONNECTIONKeep-Alive
HTTP_ACCEPT_ENCODINGgzip
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE<address>Apache/2.4.18 (Ubuntu) Server at aquamarket.ua Port 443</address>\n
SERVER_SOFTWAREApache/2.4.18 (Ubuntu)
SERVER_NAMEaquamarket.ua
SERVER_ADDR138.68.95.137
SERVER_PORT443
REMOTE_ADDR18.209.104.7
DOCUMENT_ROOT/var/www/aquamarket.ua/html
REQUEST_SCHEMEhttps
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT/var/www/aquamarket.ua/html
SERVER_ADMINadmin@aquamarket.ua
SCRIPT_FILENAME/var/www/aquamarket.ua/html/public/index.php
REMOTE_PORT41400
REDIRECT_URL/public/uk/2-home
REDIRECT_QUERY_STRING_url=/uk/2-home
GATEWAY_INTERFACECGI/1.1
SERVER_PROTOCOLHTTP/1.1
REQUEST_METHODGET
QUERY_STRING_url=/uk/2-home
REQUEST_URI/uk/2-home
SCRIPT_NAME/public/index.php
PHP_SELF/public/index.php
REQUEST_TIME_FLOAT1563686370.684
REQUEST_TIME1563686370
#Path
0/var/www/aquamarket.ua/html/public/index.php
1/var/www/aquamarket.ua/html/vendor/autoload.php
2/var/www/aquamarket.ua/html/vendor/composer/autoload_real.php
3/var/www/aquamarket.ua/html/vendor/composer/ClassLoader.php
4/var/www/aquamarket.ua/html/vendor/composer/autoload_namespaces.php
5/var/www/aquamarket.ua/html/vendor/composer/autoload_psr4.php
6/var/www/aquamarket.ua/html/vendor/composer/autoload_classmap.php
7/var/www/aquamarket.ua/html/vendor/composer/autoload_files.php
8/var/www/aquamarket.ua/html/vendor/swiftmailer/swiftmailer/lib/swift_required.php
9/var/www/aquamarket.ua/html/vendor/swiftmailer/swiftmailer/lib/classes/Swift.php
10/var/www/aquamarket.ua/html/vendor/vendor/autoload.php
11/var/www/aquamarket.ua/html/vendor/vendor/composer/autoload_real.php
12/var/www/aquamarket.ua/html/vendor/vendor/composer/autoload_namespaces.php
13/var/www/aquamarket.ua/html/vendor/vendor/composer/autoload_psr4.php
14/var/www/aquamarket.ua/html/vendor/vendor/composer/autoload_classmap.php
15/var/www/aquamarket.ua/html/vendor/vendor/composer/autoload_files.php
16/var/www/aquamarket.ua/html/vendor/vendor/ralouphie/getallheaders/src/getallheaders.php
17/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/psr7/src/functions_include.php
18/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/psr7/src/functions.php
19/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/promises/src/functions_include.php
20/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/promises/src/functions.php
21/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/guzzle/src/functions_include.php
22/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/guzzle/src/functions.php
23/var/www/aquamarket.ua/html/vendor/vendor/react/promise/src/functions_include.php
24/var/www/aquamarket.ua/html/vendor/vendor/react/promise/src/functions.php
25/var/www/aquamarket.ua/html/vendor/vendor/symfony/polyfill-ctype/bootstrap.php
26/var/www/aquamarket.ua/html/vendor/mpdf/autoload.php
27/var/www/aquamarket.ua/html/vendor/mpdf/composer/autoload_real.php
28/var/www/aquamarket.ua/html/vendor/mpdf/composer/autoload_namespaces.php
29/var/www/aquamarket.ua/html/vendor/mpdf/composer/autoload_psr4.php
30/var/www/aquamarket.ua/html/vendor/mpdf/composer/autoload_classmap.php
31/var/www/aquamarket.ua/html/vendor/mpdf/composer/autoload_files.php
32/var/www/aquamarket.ua/html/vendor/mpdf/myclabs/deep-copy/src/DeepCopy/deep_copy.php
33/var/www/aquamarket.ua/html/vendor/mpdf/paragonie/random_compat/lib/random.php
34/var/www/aquamarket.ua/html/app/config/settings.inc.php
35/var/www/aquamarket.ua/html/app/config/services.php
36/var/www/aquamarket.ua/html/app/config/config.php
37/var/www/aquamarket.ua/html/app/config/modules.php
38/var/www/aquamarket.ua/html/app/config/FrontendRoutes.php
39/var/www/aquamarket.ua/html/app/config/BackendRoutes.php
40/var/www/aquamarket.ua/html/app/config/ApiRoutes.php
41/var/www/aquamarket.ua/html/app/frontend/Module.php
42/var/www/aquamarket.ua/html/app/models/Context.php
43/var/www/aquamarket.ua/html/app/models/Customer.php
44/var/www/aquamarket.ua/html/app/frontend/plugins/SecurityPlugin.php
45/var/www/aquamarket.ua/html/app/models/AclRole.php
46/var/www/aquamarket.ua/html/app/models/AclResource.php
47/var/www/aquamarket.ua/html/app/frontend/controllers/CategoriesController.php
48/var/www/aquamarket.ua/html/app/frontend/controllers/ControllerBase.php
49/var/www/aquamarket.ua/html/app/models/Shop.php
50/var/www/aquamarket.ua/html/app/models/Language.php
51/var/www/aquamarket.ua/html/app/models/Configuration.php
52/var/www/aquamarket.ua/html/app/models/Cart.php
53/var/www/aquamarket.ua/html/app/messages/uk.php
54/var/www/aquamarket.ua/html/app/models/OrderUtm.php
55/var/www/aquamarket.ua/html/app/models/StaticPages.php
56/var/www/aquamarket.ua/html/app/models/Category.php
57/var/www/aquamarket.ua/html/app/models/CategoryLang.php
58/var/www/aquamarket.ua/html/app/models/UrlManager.php
59/var/www/aquamarket.ua/html/app/models/PhTag.php
60/var/www/aquamarket.ua/html/app/models/OGTag.php
61/var/www/aquamarket.ua/html/app/models/ESearchApi.php
62/var/www/aquamarket.ua/html/app/models/CategoryFilters.php
63/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php
64/var/www/aquamarket.ua/html/vendor/mpdf/psr/log/Psr/Log/NullLogger.php
65/var/www/aquamarket.ua/html/vendor/mpdf/psr/log/Psr/Log/AbstractLogger.php
66/var/www/aquamarket.ua/html/vendor/mpdf/psr/log/Psr/Log/LoggerInterface.php
67/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Client/CurlHandler.php
68/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Client/CurlFactory.php
69/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Client/CurlMultiHandler.php
70/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Client/Middleware.php
71/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Serializers/SmartSerializer.php
72/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Serializers/SerializerInterface.php
73/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/ConnectionFactory.php
74/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/ConnectionFactoryInterface.php
75/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/Selectors/RoundRobinSelector.php
76/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/Selectors/SelectorInterface.php
77/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php
78/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/ConnectionInterface.php
79/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/StaticNoPingConnectionPool.php
80/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/AbstractConnectionPool.php
81/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ConnectionPool/ConnectionPoolInterface.php
82/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php
83/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php
84/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/IndicesNamespace.php
85/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/AbstractNamespace.php
86/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/ClusterNamespace.php
87/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/NodesNamespace.php
88/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/SnapshotNamespace.php
89/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/CatNamespace.php
90/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/IngestNamespace.php
91/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/TasksNamespace.php
92/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/RemoteNamespace.php
93/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Search.php
94/var/www/aquamarket.ua/html/vendor/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/AbstractEndpoint.php
95/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Core.php
96/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureArray.php
97/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php
98/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Future/FutureInterface.php
99/var/www/aquamarket.ua/html/vendor/vendor/react/promise/src/PromiseInterface.php
100/var/www/aquamarket.ua/html/vendor/vendor/react/promise/src/PromisorInterface.php
101/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Future/FutureArrayInterface.php
102/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Future/FutureArray.php
103/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Future/MagicFutureTrait.php
104/var/www/aquamarket.ua/html/vendor/vendor/guzzlehttp/ringphp/src/Future/BaseFutureTrait.php
105/var/www/aquamarket.ua/html/vendor/vendor/react/promise/src/FulfilledPromise.php
106/var/www/aquamarket.ua/html/vendor/vendor/react/promise/src/ExtendedPromiseInterface.php
107/var/www/aquamarket.ua/html/vendor/vendor/react/promise/src/CancellablePromiseInterface.php
108/var/www/aquamarket.ua/html/vendor/mpdf/psr/log/Psr/Log/LogLevel.php
109/var/www/aquamarket.ua/html/app/models/CategoryLangCustom.php
110/var/www/aquamarket.ua/html/app/models/CategoryShop.php
111/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%views%%categories%%view.volt.php
112/var/www/aquamarket.ua/html/app/frontend/components/ESCategoryFiltersWidget.php
113/var/www/aquamarket.ua/html/app/frontend/components/BaseComponent.php
114/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%es-category-filters%%index.volt.php
115/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%es-category-filters%%active-filters.volt.php
116/var/www/aquamarket.ua/html/app/frontend/components/ProductsPerPageWidget.php
117/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%products_per_page%%category.volt.php
118/var/www/aquamarket.ua/html/app/frontend/components/ProductListWidget.php
119/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%product-list%%category-list.volt.php
120/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%product-list%%relation-product.volt.php
121/var/www/aquamarket.ua/html/app/models/Product.php
122/var/www/aquamarket.ua/html/app/models/Image.php
123/var/www/aquamarket.ua/html/app/models/CompareProducts.php
124/var/www/aquamarket.ua/html/app/models/Converter.php
125/var/www/aquamarket.ua/html/app/models/ImageType.php
126/var/www/aquamarket.ua/html/app/models/ProductPrice.php
127/var/www/aquamarket.ua/html/app/models/DeliveryPrice.php
128/var/www/aquamarket.ua/html/app/models/SpecificPrice.php
129/var/www/aquamarket.ua/html/app/frontend/components/CategoryBannersWidget.php
130/var/www/aquamarket.ua/html/app/models/CategoryBanner.php
131/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%views%%layouts%%main.volt.php
132/var/www/aquamarket.ua/html/app/frontend/components/TwitterCardWidget.php
133/var/www/aquamarket.ua/html/app/frontend/components/ShopPhonesWidget.php
134/var/www/aquamarket.ua/html/app/models/ShopPhone.php
135/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%shopphones%%header.volt.php
136/var/www/aquamarket.ua/html/app/frontend/components/MyAccountWidget.php
137/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%myaccount%%header.volt.php
138/var/www/aquamarket.ua/html/app/models/Tools.php
139/var/www/aquamarket.ua/html/app/frontend/components/MenuWidget.php
140/var/www/aquamarket.ua/html/app/models/CategoryMenu.php
141/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%menu%%header-menu.volt.php
142/var/www/aquamarket.ua/html/app/frontend/components/ShopSelectWidget.php
143/var/www/aquamarket.ua/html/app/models/ShopLang.php
144/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%shop-select%%header-btn.volt.php
145/var/www/aquamarket.ua/html/app/frontend/components/SearchWidget.php
146/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%search%%desktop.volt.php
147/var/www/aquamarket.ua/html/app/frontend/components/WishlistWidget.php
148/var/www/aquamarket.ua/html/app/models/WishlistProduct.php
149/var/www/aquamarket.ua/html/app/models/Wishlist.php
150/var/www/aquamarket.ua/html/app/frontend/cache/volt/%%var%%www%%aquamarket.ua%%html%%app%%frontend%%components%%views%%wishlist%%header.volt.php
151/var/www/aquamarket.ua/html/app/frontend/components/BreadCrumbsWidget.php
Memory
Usage8388608