<div style="width: 100%; height: auto; padding: 5px;">
{strip}
	{foreach from=$treeview item=leaf name=treeview}
		{if $smarty.foreach.treeview.iteration % 2 == 0 && $smarty.foreach.treeview.iteration != 0}
			{assign var=switch value=$smarty.foreach.treeview.iteration/2}
			<br />
			{section name=treespace loop=$smarty.foreach.treeview.iteration}
				{if $smarty.section.treespace.iteration == $switch}<img src="templates/{$theme}/img/forum/forum_vspacer.gif" alt="" />{/if}
				{if $smarty.section.treespace.iteration < $switch}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{/if}
				{if ($smarty.section.treespace.iteration - $switch) == 1}<img src="templates/{$theme}/img/forum/forum_hspacer.gif" alt="" />{/if}
			{/section}&nbsp;{$leaf|sslash}
		{else}
			{if $smarty.foreach.treeview.iteration != 1}
				{$lang.f_navi_separator}{$leaf}
			{else}
				{$leaf}
			{/if}
		{/if}
	{/foreach}
	{/strip}
</div>