{include file='advantage.tpl'}
<div class="col-sm-3">
    {if !$detect->isMobile()}{include file='services_menu.tpl'}{/if}
</div>
<div class="col-sm-9">
    <!-- Список услуг -->
    {foreach $home_services as $top}
        <div class="title">{$top->name|escape}</div>
        <div class="row">
            {foreach $top->children as $s}
                <div class="service-unit col-sm-4">
                    <div class="service-box">
                        <a href="/{$services_root}{$s->url}/" class="tumb">
                            {if $s->image}
                                <img src="{$s->image|resizepage:262:230:0:1}"
                                     title="{$s->name|escape}" alt="{$s->name|escape}">
                            {else}
                                <img src="/files/page/default.jpg" title="{$s->name|escape}"
                                     alt="{$s->name|escape}">
                            {/if}
                        </a>
                        <a class="service-name" href="/{$services_root}{$s->url}/">{$s->name|escape}</a>
                    </div>
                </div>
            {/foreach}
        </div>
        <div class="service-link"><a href="/{$services_root}{$top->url}/">все услуги раздела "{$top->name}"</a>
        </div>
    {/foreach}
    <!-- Список услуг (The End) -->
</div>

