<?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);
?>
<div class="recom_models">
	<h2><?= isset($arParams['TITLE']) ? $arParams['TITLE'] : $arResult['TITLE']; ?></h2>
	<? foreach($arResult['MODELS'] AS $model): ?>
		<div class="other_item">
			<a href="<?= $model['URL']; ?>">
				<h3><?= $model['NAME']; ?></h3>
				<img src="<?= ($model['PREVIEW_PICTURE'] != "") ? $model['PREVIEW_PICTURE'] : "/images/no_car_photo_380.png"; ?>" alt="<?= $model['NAME']; ?>" loading="lazy" />
			</a>
		</div>
	<? endforeach; ?>
</div>