{*
<div class="is_item

	 
	<ul class="side_menu">
		{foreach from=$hierdata key='key' item='item2'}
			<li {if (isset($active_hierarchy) and $item2.id == $active_hierarchy) || $item2.id|in_array:$hierarchy_tree}class="selected"{/if}>
				<a href="{$item2.url}">{$item2.name.$kalba}</a>
				{if ((isset($active_hierarchy) and $item2.id == $active_hierarchy) || $item2.id|in_array:$hierarchy_tree) && $item2.children_exist}
					{assign var="inner_parent" value=$item2.id}
				{/if}
			</li>
		{/foreach}
	</ul>


</div>*}
<div class="product_blocks">
	{foreach from=$hierdata key='key' item='item2'}
		<div class="is_item">
			<a href="{$item2.url}">
				{if $item2.image != ''}
					<span class="photo" style="background-image:url({CGSmartImage src="`$hierarchy_image_location`/`$item2.image`" filter_resizetofit='464,147,#ffffff' quality=100 notag="1"})"></span>
				{/if}
				<span class="title"><span>{$item2.name.$kalba}</span></span>
			</a>
		</div>
	{/foreach}
</div>
