<?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);
?>
<? $colors = ["#1C01A9", "#A8026B", "#04A8A4", ]; ?>
<section id="main_slider">
	<div class="container">
		<div class="main_slider_swiper">
			<p class="slider_active_title"><?= str_replace("₽", "<span style='font-family: montserrat; font-weight: 200;'>₽</span>", $arResult['SLIDES'][0]['NAME']); ?></p>	
		</div>
		<?/*
		<div class="slider_list">
			<div class="scrolled">
				<div 
					id="slider_button_<?= $arResult['SLIDES'][0]['ID']; ?>" 
					class="slider_item erid active" 
					data-title="<?= str_replace("₽", "<span style='font-family: montserrat; font-weight: 200;'>₽</span>", $arResult['SLIDES'][0]['NAME']); ?>" 
					style="color: <?= $colors[0]; ?>;" 
					data-image="<?= $arResult['SLIDES'][0]['DETAIL_PICTURE']; ?>" 
					data-tb-image="<?= $arResult['SLIDES'][0]['DETAIL_PICTURE']; ?>" 
					data-sm-image="<?= $arResult['SLIDES'][0]['PREVIEW_PICTURE']; ?>" 
					data-erid="<?= !isset($_GET['advertise']) ? $arResult['SLIDES'][0]['PROPERTIES']['ADVERTISING_ERIR']['VALUE'] : ""; ?>" 
					data-creative="<?= $arResult['SLIDES'][0]['PROPERTIES']['ADVERTISING_SAMPLE_ID']['VALUE']; ?>"
				>
					<p class="item_name"><?= $arResult['SLIDES'][0]['PROPERTIES']['TAGLINE']['VALUE']; ?></p>
					<span href="<?= $arResult['SLIDES'][0]['PROPERTIES']['URL']['VALUE']; ?>" class="item_link">Подробнее</span>
					<a href="<?= $arResult['SLIDES'][0]['PROPERTIES']['URL']['VALUE']; ?>" class="item_link"></a>
				</div>
			</div>
		</div>
		*/?>
	</div>
	<img src="<?= $arResult['SLIDES'][0]['DETAIL_PICTURE']; ?>" class="main_slider-image" alt="Специальное предложение" />
	<div class="advblock adv_button_slider">Реклама
		<div class="adv_content">ООО "ЛК Эволюция"</div>
		<div class="adv_content">ИНН 9724016636</div>
		<div id="main_slider_erid" class="adv_content"></div>
	</div>
</section>