<!-- Block categories module -->
{capture name=id}
	id="blockcategories_footer"
{/capture}

{capture name=title}
	{l s='Categories' mod='blockcategories'}
{/capture}

{capture name=content}
	<div class="category_footer" style="/*float:left;clear:none;width:{$widthColumn}%*/">
		<div style="/*float:left*/" class="list">
			<ul class="tree {if $isDhtml}dhtml{/if}">

			{foreach from=$blockCategTreeHMenu.children item=child name=blockCategTree}
				{if $smarty.foreach.blockCategTree.last}
					{include file="$branche_tpl_path" node=$child last='true'}
				{else}
					{include file="$branche_tpl_path" node=$child}
				{/if}
			
				{if ($smarty.foreach.blockCategTree.iteration mod $numberColumn) == 0 AND !$smarty.foreach.blockCategTree.last}
			</ul>
		</div>
	</div>

	<div class="category_footer" style="/*float:left;clear:none;width:{$widthColumn}%*/">
		<div style="/*float:left*/" class="list">
			<ul class="tree {if $isDhtml}dhtml{/if}">
				{/if}
				{/foreach}
			</ul>
		</div>
	</div>
{/capture}

{if isset($blockId)}
	{include file='../block.tpl' id=$smarty.capture.id class='' title=$smarty.capture.title content=$smarty.capture.content blockId=$blockId}
{/if}
<!-- /Block categories module -->