<?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(isset($arResult['BANNER'])): ?>
	<div class="advwrapper">
		<? if(!isset($_GET['advertise']) && $arResult['BANNER']['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: <?= $arResult['BANNER']['PROPERTIES']['ADVERTISING_ERIR']['VALUE']; ?></div>
			</div>
		<? endif; ?>
		<div class="banner special">
			<img src="<?= $arResult['BANNER']['PREVIEW_PICTURE']; ?>" alt="" width="254px" height="238px" />
			<?= $arResult['BANNER']['~PREVIEW_TEXT']; ?>
			<a href="<?= $arResult['BANNER']['PROPERTIES']['URL']['VALUE']; ?>" aria-label="Подробнее" title="Подробнее"></a>
		</div>
	</div>
<? endif; ?>