%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 18.189.182.211 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_copy/components/bitrix/catalog.section/carousel/ |
Upload File : |
<?php if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true){ die(); } /** * @global CMain $APPLICATION * @var array $arParams * @var array $arResult * @var CatalogSectionComponent $component * @var CBitrixComponentTemplate $this * @var string $templateName * @var string $componentPath */ $this->setFrameMode(true); if (empty($arResult['ITEMS'])) { return; } ?> <div class="container-fluid wrap"> <?/*<div class="row"> <div class="words"> Последний шанс: Успейте сделать ставку! <? if (!empty($arResult['SECTION']['SECTION_PAGE_URL'])) {?> <a href="<?=$arResult['SECTION']['SECTION_PAGE_URL']?>" class="more" target="_blank">Посмотреть все<i></i></a><? } ?> </div> </div>*/?> <div class="row justify-content-center"> <div class="col-md-12 owl-carousel enc-lots"><? foreach ($arResult['ITEMS'] as $arItem) {?> <div class="feed item"> <div class="col-12"> <a href="<?=$arItem['DETAIL_PAGE_URL']?>" class="item"> <i class="hit"></i> <div class="overlay"> <div class="top"> <div class="index">Лот №<?=$arItem['XML_ID']?></div><? if (!empty($arItem['END_TIME'])) {?> <div class="timer"><?=$arItem['END_TIME']?></div><? } ?> </div> <div class="middle"> <hr> <p class="descr"><?=$arItem['NAME']?></p> <hr><? if($arItem["PROPERTIES"]["price_on_request"]["VALUE"] == 'Y'){?> <button data-lot="<?=htmlspecialcharsbx($arItem['PROPERTIES']['LOT']['VALUE'])?>" class="btn_dark btn_dark-compact modal_message zapros">Цена по запросу</button> <? } elseif($arItem['ITEM_PRICES'][0]['PRINT_PRICE']){?> <p class="price"><?=$arItem['ITEM_PRICES'][0]['PRINT_PRICE']?></p><? }elseif(!$arItem['PRICE_VALUES']['BASE'] && !$arItem['PRICE_VALUES']['ESTIMATED']){ /*?> <p class="price">Нет в наличии</p><?*/ /*?> <p class="modal_auth btn_light btn_light-compact"> Цена доступна только для авторизованных пользователей </p><?*/?> <p class="btn_light btn_light-compact">Нет в наличии</p><? }else{ if($arItem['PRICE_VALUES']['ESTIMATED']){?> <p class="label">Оценочная стоимость:</p> <p class="price"><?=$arItem['PRICE_VALUES']['ESTIMATED']?></p><? } if($arItem['PRICE_VALUES']['BASE']){?> <p class="label">Текущая цена:</p><? if($arItem['PRICES']['BASE']['DISCOUNT_DIFF']>0){?> <p class="price old-price"> <?=number_format($arItem['PRICES']['BASE']['VALUE'], 0, ',', ' ')?> </p><? } ?> <p class="price"><?=$arItem['PRICE_VALUES']['BASE']?></p><? } } ?> </div> <div class="bottom"> <img src="/images/theme/feed-link.png"> </div> </div><? if($arItem['PREVIEW_PICTURE']['SRC']){?> <img src="<?=$arItem['PREVIEW_PICTURE']['SRC']?>" class="background" alt="" /><? }?> </a> </div> </div><? } ?> </div> </div> </div>