<h3 class="headline"><{$data.headline|escape|default:"Kategorier"}></h3><span class="line"></span><div class="clearfix"></div>

<{assign var="categories" value=$webshop->getCategories()}>

<ul id="categories">
	<{foreach from=$categories item="cat" name="i"}>
		<{if $cat->getInMenu()}>
			<{assign var="children" value=$cat->getChildren()}>
			<{assign var="cnt" value=$children|@count}>

			<li>
				<a href="<{$cat->getUrl()|escape}>"><{$cat->getName()|escape}> <{if $cnt}><span>(<{$cnt}>)</span><{/if}></a>
				<{include file="category_section.html" categories=$children mode="side_tb"}>
			</li>
		<{/if}>
	<{/foreach}>
</ul>