<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<div class="catalog-section-list">
<ul>
<p>
<?
$CURRENT_DEPTH=$arResult["SECTION"]["DEPTH_LEVEL"]+1;
$min_depth = $CURRENT_DEPTH; //
foreach($arResult["SECTIONS"] as $arSection):?>
<?if($arSection["DEPTH_LEVEL"] == $min_depth):?><!-- -->
</p>
<table width="135" border="1">
<tr>
<td align="center"><img style="vertical-align:middle;" border="0" src="<?=$arSection["PICTURE"]["SRC"]?>" width="<?=$arSection["PICTURE"]["WIDTH"]?>" height="<?=$arSection["PICTURE"]["HEIGHT"]?>" alt="<?=$arSection["PICTURE"]["DESCRIPTION"]?>" title="<?=$arSection["NAME"]?>" /></td>
</tr>
<tr>
<td align="center"><a href="<?=$arSection["SECTION_PAGE_URL"]?>">
<?=$arSection["NAME"]?>
<?if($arParams["COUNT_ELEMENTS"]):?>
(
<?=$arSection["ELEMENT_CNT"]?>
)</a></td>
</tr>
</table>
<p><a href="<?=$arSection["SECTION_PAGE_URL"]?>">
<?endif;?>
</a></p>
<?endif;?>
<?endforeach?>
</ul>
</div> |