<?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="brand_catalogue_list">
	<h2 class="brand_catalogue_title"><?= $arParams['TITLE']; ?></h2>
	<? foreach($arResult['CITIES'] AS $city): ?>
		<div class="brand_catalogue_item">
			<a href="/regions/<?= $city['CODE']; ?>/">
				<span><?= $city['NAME']; ?></span>
				<img src="<?= ($city['PREVIEW_PICTURE'] != "") ? $city['PREVIEW_PICTURE'] : "/images/no_image_380.png"; ?>" alt="<?= $city['NAME']; ?>" loading="lazy" />
			</a>
		</div>
	<? endforeach; ?>
</div>