Server IP : 85.193.89.191 / Your IP : 18.225.255.187 Web Server : Apache System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : bitrix ( 600) PHP Version : 8.1.27 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/bitrix/www/include/top_page/ |
Upload File : |
<?if(CMax::getShowBasket()):?> <? global $arTheme, $arRegion, $arBasketPrices; // get actual basket counters from session $arCounters = CMax::getBasketCounters(); // and show fly counters in static content global $arBasketPrices;?> <div class="basket_fly"> <div class="wrap_cont"> <div class="opener"> <div title="<?=$arBasketPrices['BASKET_SUMM_TITLE']?>" data-type="AnDelCanBuy" class="colored_theme_hover_text basket_count small clicked empty"> <a href="<?=(is_array($arCounters['READY']['HREF']) ? $arCounters['READY']['HREF']['VALUE'] : $arCounters['READY']['HREF']);?>"></a> <div class="wraps_icon_block basket"> <?=CMax::showIconSvg("down", SITE_TEMPLATE_PATH.'/images/svg/basket.svg', '', '', true, false);?> <div class="count <?=($arCounters['READY']['COUNT'] ? '' : 'empty_items');?>"> <span class="colored_theme_bg"> <span class="items"> <span><?=$arCounters['READY']['COUNT'];?></span> </span> </span> </div> </div> </div> <div title="<?=$arBasketPrices['DELAY_SUMM_TITLE']?>" data-type="DelDelCanBuy" class="colored_theme_hover_text wish_count small clicked empty"> <a href="<?=(is_array($arCounters['DELAY']['HREF']) ? $arCounters['DELAY']['HREF']['VALUE']."#delayed" : $arCounters['DELAY']['HREF']);?>"></a> <div class="wraps_icon_block delay"> <?=CMax::showIconSvg("down", SITE_TEMPLATE_PATH.'/images/svg/chosen.svg', '', '', true, false);?> <div class="count <?=($arCounters['DELAY']['COUNT'] ? '' : 'empty_items');?>"> <span class="colored_theme_bg"> <span class="items"> <span><?=$arCounters['DELAY']['COUNT'];?></span> </span> </span> </div> </div> </div> <?if(CMax::GetFrontParametrValue('CATALOG_COMPARE') != 'N'):?> <div title="<?=$arCounters['COMPARE']['TITLE']?>" class="colored_theme_hover_text compare_count small"> <a href="<?=(is_array($arCounters['COMPARE']['HREF']) ? $arCounters['COMPARE']['HREF']['VALUE'] : $arCounters['COMPARE']['HREF']);?>"></a> <div id="compare_fly" class="wraps_icon_block compare <?=($arCounters['COMPARE']['COUNT'] ? '' : 'empty_block');?>"> <?=CMax::showIconSvg("down", SITE_TEMPLATE_PATH.'/images/svg/compare.svg', '', '', true, false);?> <div class="count <?=($arCounters['COMPARE']['COUNT'] ? '' : 'empty_items');?>"> <span class="colored_theme_bg"> <span class="items"> <span><?=$arCounters['COMPARE']['COUNT'];?></span> </span> </span> </div> </div> </div> <?endif;?> <?=\Aspro\Functions\CAsproMax::showSideFormLinkIcons()?> </div> <div class="basket_sort"> <span class="basket_title"><?=GetMessage('T_BASKET')?></span> </div> </div> </div> <?Bitrix\Main\Page\Frame::getInstance()->startDynamicWithID("header-cart");?> <?$basketType = (isset($arTheme['ORDER_BASKET_VIEW']['VALUE']) ? $arTheme['ORDER_BASKET_VIEW']['VALUE'] : $arTheme['ORDER_BASKET_VIEW']);?> <?if($basketType != "NORMAL"):?> <script type="text/javascript"> arBasketAsproCounters = <?=CUtil::PhpToJSObject($arCounters, false)?>; SetActualBasketFlyCounters(); </script> <?endif;?> <?Bitrix\Main\Page\Frame::getInstance()->finishDynamicWithID("header-cart", "");?> <?else:?> <?=\Aspro\Functions\CAsproMax::showSideFormLinkIcons(true)?> <?endif;?>