<?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(count($arResult['LEADERS']) > 0): ?>
	<h2>Руководство</h2>
	<div class="management">
		<? foreach($arResult['LEADERS'] AS $leader): ?>
		<div class="person">
			<img src="<?= $leader['PREVIEW_PICTURE']; ?>" loading="lazy" alt="<?= $leader['NAME']; ?>" />
			<p class="name"><?= $leader['NAME']; ?></p>
			<p><?= $leader['PREVIEW_TEXT']; ?></p>
		</div>
		<? endforeach; ?>
	</div>
<? endif; ?>