<?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);
?>
<h2 class="he">Наши клиенты</h2>
<div class="owl-carousel owl-theme" id="carousel2">
<?foreach($arResult["ITEMS"] as $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')));
?>
<div class="item enjoy-kar"><img src="<?=$arItem["PREVIEW_PICTURE"]["SRC"]?>" alt="<?=$arItem["PREVIEW_PICTURE"]["ALT"]?>" title="<?=$arItem["PREVIEW_PICTURE"]["TITLE"]?>"/>
<div class="info">
<div class="info-back">
<span><?echo $arItem["NAME"]?></span>
<p><?echo $arItem["PREVIEW_TEXT"];?></p>
</div>
</div>
</div>
<?endforeach;?>
</div>
<script>
$(document).ready(function(){
$("#carousel2").owlCarousel();
});
$('#carousel2').owlCarousel({
rtl: false,
loop:true,
margin:10,
responsiveClass:true,
navText:[ '', '' ],
responsive:{
0:{
items:2,
nav:false
},
600:{
items:4,
nav:false
},
1000:{
items:6,
nav:false,
loop:false
}
}
})
</script>
<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
global $APPLICATION;
$aMenuLinksExt=$APPLICATION->IncludeComponent("bitrix:menu.sections", "", array(
"IS_SEF" => "N",
"ID" => $_REQUEST["ID"],
"IBLOCK_TYPE" => "tehnic",
"IBLOCK_ID" => "4",
"SECTION_URL" => "",
"DEPTH_LEVEL" => "4",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "3600"
),
false
);
$aMenuLinks = array_merge($aMenuLinks, $aMenuLinksExt);
?>