<table cellpadding="0" cellspacing="0" border="0">
<tr>
<th>
Моедель<br/>
(Название)
</th>
<?foreach($arElement["DISPLAY_PROPERTIES"] as $pid=>$arProperty):?>
<th><?=$arProperty["NAME"]?></th>
<?endforeach?>
</tr>
<?foreach($arResult["ITEMS"] as $cell=>$arElement):?>
<?
$this->AddEditAction($arElement['ID'], $arElement['EDIT_LINK'], CIBlock::GetArrayByID($arParams["IBLOCK_ID"], "ELEMENT_EDIT"));
$this->AddDeleteAction($arElement['ID'], $arElement['DELETE_LINK'], CIBlock::GetArrayByID($arParams["IBLOCK_ID"], "ELEMENT_DELETE"), array("CONFIRM" => GetMessage('CT_BCS_ELEMENT_DELETE_CONFIRM')));
?>
<tr>
<td>
<a href="<?=$arElement["DETAIL_PAGE_URL"]?>"><?=$arElement["NAME"]?></a><br />
</td>
<?foreach($arElement["DISPLAY_PROPERTIES"] as $pid=>$arProperty):?>
<td><?
if(is_array($arProperty["DISPLAY_VALUE"]))
echo implode(" / ", $arProperty["DISPLAY_VALUE"]);
else
echo $arProperty["DISPLAY_VALUE"];?><br /></td>
<?endforeach?>
</tr>
<?endforeach; // foreach($arResult["ITEMS"] as $arElement):?>
</tr>
</table> |