%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 18.222.168.192 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/templates/artantiq/components/bitrix/news.list/main_banner/ |
Upload File : |
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); /** @var array $arParams */ /** @var array $arResult */ /** @global CMain $APPLICATION */ /** @global CUser $USER */ /** @global CDatabase $DB */ /** @var CBitrixComponentTemplate $this */ /** @var string $templateName */ /** @var string $templateFile */ /** @var string $templateFolder */ /** @var string $componentPath */ /** @var CBitrixComponent $component */ $this->setFrameMode(true); ?> <?if (!empty($arResult)):?> <? $banner = $arResult["ITEMS"][0]; $image = CFile::ResizeImageGet($banner["PREVIEW_PICTURE"]["ID"], array('width'=> 1900, 'height'=> 700), BX_RESIZE_IMAGE_PROPORTIONAL, true); ?> <div class="banner"> <div class="banner__image" style="background-image: url(<?=$image["src"]?>);"></div> <div class="banner_text"> <div class="container"> <div class="banner_text__inner"> <h2 class="banner_text__title"><?=$banner["PREVIEW_TEXT"]?></h2> <?/*<p class="banner_text__description xl_text"><?=$banner["PREVIEW_TEXT"]?></p>*/?> <?if($banner["DISPLAY_PROPERTIES"]["BUTTON_LINK"]["VALUE"]):?> <a href="<?=$banner["DISPLAY_PROPERTIES"]["BUTTON_LINK"]["VALUE"]?>" class="btn sm_text"><?=$banner["DISPLAY_PROPERTIES"]["BUTTON_TEXT"]["VALUE"]?></a> <?endif;?> </div> </div> </div> </div> <?endif;?>