File Manager
{strip}
{if $count > 0}
<ul class='cf'>
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string='<ul>' times=$node->depth-$node->prevdepth}
{elseif $node->depth < $node->prevdepth}
{repeat string='</li></ul>' times=$node->prevdepth-$node->depth}
</li>
{elseif $node->index > 0}
</li>
{/if}
{if $node->current == true}
<li{if $node->parent == true || $node->haschildren == true} class='parent current'{/if}>
<a href='{$node->url}' class='current'{if $node->target != ''} target='{$node->target}'{/if}>{$node->menutext}</a>
{elseif $node->parent == true && ($node->type != 'sectionheader' && $node->type != 'separator')}
<li class='parent current'>
<a href='{$node->url}' class='current'{if $node->target != ''} target='{$node->target}'{/if}>{$node->menutext}</a>
{elseif $node->type == 'sectionheader'}
<li class='sectionheader'>
<span class='sectionheader {if $node->parent == true} parent{/if}{if $node->current == true} current{/if}'>{$node->menutext}</span>
{elseif $node->type == 'separator'}
<li class='separator'>
<hr class='separator' />
{else}
<li{if $node->parent == true || $node->haschildren == true} class='parent'{/if}>
<a href='{$node->url}'{if $node->target != ''} target='{$node->target}'{/if}>{$node->menutext}</a>
{/if}
{/foreach}
{repeat string='</li></ul>' times=$node->depth-1}</li>
</ul>
{/if}
{/strip}
File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com