%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.147.193.143 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/artantiq/components/bitrix/news.list/news_list/ |
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["ITEMS"])):?> <div class="news_wrapper"<?if($arParams["PAGER_TITLE"] !== "Ближайшие мероприятия"):?> id="ajaxItems"<?endif;?>> <?if($arParams["PAGER_TITLE"]):?><div class="alert alert_sm text_left sm_text"><?=$arParams["PAGER_TITLE"];?></div><?endif;?> <div class="news_items"> <?foreach($arResult["ITEMS"] as $arItem):?> <? $this->AddEditAction($arItem['ID'], $arItem['EDIT_LINK'], CIBlock::GetArrayByID($arItem["IBLOCK_ID"], "ELEMENT_EDIT")); $this->AddDeleteAction($arItem['ID'], $arItem['DELETE_LINK'], CIBlock::GetArrayByID($arItem["IBLOCK_ID"], "ELEMENT_DELETE"), array("CONFIRM" => GetMessage('CT_BNL_ELEMENT_DELETE_CONFIRM'))); ?> <a href="<?=$arItem["DETAIL_PAGE_URL"]?>" class="news_item ajax_item" id="<?=$this->GetEditAreaId($arItem['ID']);?>"> <div class="news_item__flex"> <div class="news_item__img"><img src="<?=$arItem["PREVIEW_PICTURE"]["SRC"]?>" alt="<?echo $arItem["NAME"]?>"></div> <div class="news_item__content"> <h6 class="news_item__title lg_text"><?echo $arItem["NAME"]?></h6> <div class="news_item__preview_text xsm_text"><?=$arItem["PREVIEW_TEXT"]?></div> <?if($arItem["DISPLAY_PROPERTIES"]["DATE"]["VALUE"]):?> <span class="news_item__date xsm_text"><?=strtolower(FormatDate(array( "d" => "j F Y", "F" => "F", "Y" => "Y" ), MakeTimeStamp($arItem["DISPLAY_PROPERTIES"]["DATE"]["VALUE"])))?></span> <?else:?> <?if($arParams["DISPLAY_DATE"]!="N" && $arItem["DISPLAY_ACTIVE_FROM"]):?> <span class="news_item__date xsm_text"><?echo $arItem["DISPLAY_ACTIVE_FROM"]?></span> <?endif;?> <?endif;?> </div> </div> </a> <?endforeach;?> </div> <div class="page_nav"> <?=$arResult["NAV_STRING"]?> </div> </div> <?endif;?>