<? 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);



?>

<section class="page-section" id="cooperations">
    <div class="cooperation">
        <div class="container">

            <div class="cooperation__inner">
                <div class="cooperation__top">
                    <div class="section-title cooperation__title">
                        <div class="section-title__wrap">
                            <p class="section-title__badge"><?=$arResult['TAG']?></p>
                            <h2 data-animate="title" class="title title--h2 section-title__title words lines
                            splitting is-show"><?=$arResult['NAME']?></h2>
                        </div>

                    </div>
                    <p class="cooperation__top-description">
                        <?=$arResult['TEXT']?>
                    </p>
                </div>
                <div class="cooperation__list-container">
                    <div class="cooperation__list-wrap swiper swiper-backface-hidden" data-cooperations-slider="container">
                        <ul class="cooperation__list swiper-wrapper" data-cooperations-slider="wrapper">
                            <?foreach ($arResult['ITEMS'] as $k=>$arItem){
                                $this->AddEditAction($arItem['ID'], $arItem['EDIT_LINK'], CIBlock::GetArrayByID($arItem["IBLOCK_ID"], "ELEMENT_EDIT"));
                                $this->AddDeleteAction($arItem['ID'], $arItem['DELETE_LINK'], CIBlock::GetArrayByID($arItem["IBLOCK_ID"], "ELEMENT_DELETE"), array("CONFIRM" => GetMessage('CT_BNL_ELEMENT_DELETE_CONFIRM')));
                                $iconSrc = CFile::GetPath($arItem["PROPERTIES"]['LOGO']["VALUE"]);
                                ?>
                            <li class="cooperation__item swiper-slide" data-cooperations-slider="slide" id="<?= $this->GetEditAreaId($arItem['ID']); ?>">
                                <img src="<?=$iconSrc?>" alt="Логотип партнера" width="253" height="168" loading="lazy">
                             </li>
                            <?}?>
                        </ul>
                    </div>
                </div>
            </div>

        </div>
    </div>

</section>