{if $FOOTER_MENU->simpleFooterMenu} {foreach from = $siteMap item = 'doc' name = 'toplinks'} {$doc.menuTitle|htmlspecialchars} {if !$smarty.foreach.toplinks.last} | {/if} {/foreach} {else} {assign var = 'level' value = $level|default:0} {assign var = foreach_name value = "fmenu`$level`"} {if $level == 0}
{$FOOTER_MENU|@print_r}*}