1 =>
array (
'CONDITION' => '#^/page/#',
'RULE' => '',
'ID' => 'bitrix:news',
'PATH' => '/index.php',
'SORT' => 100,
),
2 =>
array (
'CONDITION' => '#^/page.php#',
'RULE' => '',
'ID' => 'bitrix:news',
'PATH' => '/index.php',
'SORT' => 100,
),
<?foreach ($arResult['PROPERTIES']['PRODUCT']['VALUE'] as $product_item):?>
<?
$obElement = CIBlockElement::GetByID($product_item);
if($arEl = $obElement->GetNext()) {
if ($arEl["ID"]){
?>
<div class="col-md-6">
<a class="prod-name" href="<?=$arEl['DETAIL_PAGE_URL']?>" title="Подробнее - <?=$arEl['NAME'];?>">
<div class="prod-image" style="background-image: url(<?=CFile::GetPath($arEl['DETAIL_PICTURE']);?>)"></div>
<?=$arEl['NAME'];?>
</a>
</div>
<?
}
}
?>
<?endforeach;?>
if (CSite::InGroup(array(1))) {
echo 'Администратор';
}