2023-11-01 19:15:27 +03:00

52 lines
2.0 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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 data-page>
<div class="container">
<div class="special_detail">
<div class="leasing_offer">
<div id="leasing_slider">
<div class="leasing_list swiped" style="flex-wrap: wrap;">
<? if(is_array($arResult)): ?>
<? for($i = 0; $i < count($arResult); $i++): ?>
<? $car = $arResult[$i]; ?>
<div class="leasing_item" id="special_offers_car_banner_<?= $car['ID']; ?>">
<a class="item_wrapper car_top_card" data-id="<?= $i; ?>" style="cursor: pointer;">
<img src="<?= $car['PREVIEW_PICTURE']; ?>" alt="<?= $car['NAME']; ?>" />
<span class="leasing_model"><?= $car['NAME']; ?></span>
<span class="leasing_desc"><?= $car['PROPERTIES']['TAGLINE']['VALUE']; ?></span>
<? if(!isset($_GET['advertise']) && $car['PROPERTIES']['ADVERTISING_ERIR']['VALUE']): ?>
<div class="advblock adv_button_news">Реклама
<div class="adv_content">ООО "ЛК Эволюция"</div>
<div class="adv_content">ИНН 9724016636</div>
<div class="adv_content erid"
data-erid="<?= $car['PROPERTIES']['ADVERTISING_ERIR']['VALUE']; ?>"
data-creative="<?= $car['PROPERTIES']['ADVERTISING_SAMPLE_ID']['VALUE']; ?>"
>
erid: <?= $car['PROPERTIES']['ADVERTISING_ERIR']['VALUE']; ?>
</div>
</div>
<? endif; ?>
</a>
</div>
<? endfor; ?>
<? endif; ?>
</div>
</div>
</div>
</div>
</div>
</section>