%PDF- %PDF-
| Direktori : /home/bitrix/www/local/templates/Ajax/components/bitrix/catalog.section/new_faces/ |
| Current File : //home/bitrix/www/local/templates/Ajax/components/bitrix/catalog.section/new_faces/template.php |
<?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);
?>
<?//echo '<pre>'; print_r($arResult["ITEMS"]); echo '</pre>';?>
<?$i=0;?>
<?foreach ($arResult['ITEMS'] as $key => $arItem):?>
<?if ($i < 20 && !empty($arItem['DETAIL_PICTURE'])):?>
<figure class="col-xs-3">
<a href="<?=str_replace("/models/","/",$arItem['DETAIL_PAGE_URL'])?>">
<img class="img-responsive" src="<?=$arItem['PREVIEW_PICTURE']['SRC'];?>" />
<div style="text-align: center">
<figcaption class="modelname"><?=$arItem['PROPERTIES']['FNAME']['VALUE']." ".$arItem['PROPERTIES']['LNAME']['VALUE']?></figcaption>
</div>
<div class="shadow"></div>
</a>
</figure>
<?$i++;?>
<?endif;?>
<?endforeach;?>
<div class="bordertop"></div>
<div class="borderleft"></div>
<div class="borderright"></div>
<div class="borderbottom"></div>