Blame view

local/templates/main/components/bitrix/news.list/tab-partners/template.php 1.31 KB
80576aee7   Дмитрий Типикин   Интеграция верстк...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  <? 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);
  ?>
9df36c320   Дмитрий Типикин   1. Дебаг проблем ...
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  <div class="tab-partner">
  	<? foreach ($arResult["ITEMS"] as $key => $item): ?>
  		<div class="tab-partner__img-box logo-img-box"><img
  					src="<?= CFile::GetPath($item['PROPERTIES']['ICON_DARK']['VALUE']); ?>"
  					class="tab-partner__img-white logo-img-box__grey-light"><img
  					src="<?= CFile::GetPath($item['PROPERTIES']['ICON_LIGHT']['VALUE']); ?>"
  					class="tab-partner__img-black logo-img-box__grey-dark"><img
  					src="<?= CFile::GetPath($item['PROPERTIES']['ICON_COLOR_DARK']['VALUE']); ?>"
  					class="tab-partner__img-color logo-img-box__color-light"><img
  					src="<?= CFile::GetPath($item['PROPERTIES']['ICON_COLOR_LIGHT']['VALUE']); ?>"
  					class="tab-partner__img-color-white logo-img-box__color-dark"></div>
  	<? endforeach; ?>
  </div>
  <a class="button button_style_link tab-partner__btn" href="/partners/"> посмотреть все</a>