<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>
<?if (!empty($arResult)):?>
<ul class="left-menu">
<?foreach($arResult as $arItem):?>
<?if($arItem["SELECTED"]):?>
<li><a class="selected" <?if($arItem["PARAMS"]["target"]):?> target="<?=$arItem["PARAMS"]["target"]?>"<?endif?> href="<?=$arItem["LINK"]?>"><?=$arItem["TEXT"]?></a></li>
<?else:?>
<li><a <?if($arItem["PARAMS"]["target"]):?> target="<?=$arItem["PARAMS"]["target"]?>"<?endif?> href="<?=$arItem["LINK"]?>"><?=$arItem["TEXT"]?></a></li>
<?endif?>
<?endforeach?>
</ul>
<?endif?>
|