<!-- Item categories -->
<div class="itemcategory_widget_wrapper">
	<div class="widget_title"><span>{$template_text.main_widget_item_categories.item_category_title}</span></div>
	<div class="widget_content_menu_wrapper">
		<ul>
			{foreach name=menuLoop item=menu_item from=$main_widget_item_categories.menu_items}
				<li class="level_{$menu_item->level} {if isset($menu_item->activated) && $menu_item->activated}active{/if}">
					{if $menu_item->level == 1}
						<a title="{$menu_item->name}" name="{$menu_item->name}" class="mainlevel {if $menu_item->id == 357}menu_highlighted {/if} {if isset($menu_item->activated) && $menu_item->activated}active{/if}" href="{$serverProtocol}://{$servername}/{if $menu_item->full_short_uri}{$menu_item->full_short_uri}/{else}index.php?menu_id={$menu_item->id}{/if}">
							<span></span>
							{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$menu_item->name_en}
								{$menu_item->name}
							{else}
								{$menu_item->name_en}
							{/if}
						</a>
					{else}
						<a class="sublevel" title="{$menu_item->name}" name="{$menu_item->name}" href="{$serverProtocol}://{$servername}{if $main_widget_item_categories.menu_items[$menu_item->parent_id]->short_uri && $menu_item->short_uri}/{$menu_item->full_short_uri}/{else}/index.php?parent_id={$menu_item->parent_id}&menu_id={$menu_item->id}{/if}">
							<span></span>
							{if !$user_lang || $user_lang == $system_configuration.default_system_language || !$menu_item->name_en}
								{$menu_item->name}
							{else}
								{$menu_item->name_en}
							{/if}
						</a>
					{/if}
				</li>
			{/foreach}
		</ul>
	</div>
	<div class="widget_footer"></div>
</div>
