<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
$this->setFrameMode(true);
?>
<div class="main_page_slider">
    <ul id="main_slider">
        <?foreach($arResult["ITEMS"] as $arItem):?>
            <li class="main_page_slider_item">
                <a href="<?=$arItem['~PREVIEW_TEXT']?>" style="background-image: url(<?=$arItem['PREVIEW_PICTURE']['SRC']?>)">
                <strong>
                    <?=$arItem['~NAME']?>
                    <span>
                        <?=$arItem['~DETAIL_TEXT']?>
                    </span>
                </strong>
                </a>
            </li>
        <?endforeach;?>
    </ul>
</div>