{if $article_category->subcategories}
    <div class="brands row">
    	{foreach from=$article_category->subcategories item=c}
    	{if !$c->visible}{continue}{/if}
            <div class="brand col-sm-2 col-xs-4">            		
                <div class="brand-image">{if $c->image}<a class="w" href="/nashi-raboty/{$c->url}/" data-articlecategory="{$c->id}">
				<img class="img-thumbnail" src="{$c->image|resize:100:100}" title="{$c->name}" alt="{$c->name}"></a>{/if}</div>                    
        		<div class="brand-name"><a class="w" href="/nashi-raboty/{$c->url}/" data-articlecategory="{$c->id}">{$c->name}</a></div>              
            </div>
    	{/foreach}
    </div>
{/if}

