{if count($children)}
{foreach from=$children item=Child} {/foreach}
{/if}