<? if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die();
$this->setFrameMode(true);
if (!empty($arResult['SECTIONS'])){
?>
<ul class="page_sections_aside">
    <? foreach ($arResult['SECTIONS'] as $arSection) {?>
        <li>
            <a href="<?= $arSection['SECTION_PAGE_URL'] ?>">
                <span style="background-image:url(<?= $arSection['ALT_PICTURE'] ?>) "></span>
                <span>
                    <?= $arSection['NAME'] ?>
                    <small><?= $arSection['ELEMENT_CNT_TITLE'] ?></small>
                </span>
            </a>
        </li>
    <?}?>
</ul>
<?}?>