<{$xoops_sitename}>
<{foreach from=$menu_var item=wnmhi}>
class='has-sub'<{/if}>>
<{$wnmhi.title}>
<{if $wnmhi.submenu}>
<{foreach from=$wnmhi.submenu item=wnmhi1}>
class='has-sub'<{/if}>>
<{$wnmhi1.title}>
<{if $wnmhi1.submenu}>
<{foreach from=$wnmhi1.submenu item=wnmhi2}>
<{$wnmhi2.title}>
<{/foreach}>
<{/if}>
<{/foreach}>
<{/if}>
<{/foreach}> <{if $xoops_isadmin}>
<{$smarty.const.WMNHI_USER_WELCOME}>
<{$smarty.const.WMNHI_SYSTEM_CONFIG}>
<{$smarty.const.WMNHI_SYSTEM_MODADM}>
<{$smarty.const.WMNHI_THEME_ADMIN}>
<{$smarty.const.WMNHI_THEME_UNDEBUG}>
<{$smarty.const.WMNHI_USER_BLOCK}>
<{$smarty.const.WMNHI_USER_NEWMSG}>
<{$smarty.const.WMNHI_USER_NOTICE}>
<{$smarty.const.WMNHI_USER}>
<{$smarty.const.WMNHI_LOGOUT}>
<{else}> <{if $xoops_isuser}>
<{$smarty.const.WMNHI_USER_WELCOME}>
<{$smarty.const.WMNHI_SYSTEM_CONFIG}>
<{$smarty.const.WMNHI_SYSTEM_MODADM}>
<{$smarty.const.WMNHI_THEME_ADMIN}>
<{$smarty.const.WMNHI_THEME_UNDEBUG}>
<{$smarty.const.WMNHI_USER_BLOCK}>
<{$smarty.const.WMNHI_USER_NEWMSG}>
<{$smarty.const.WMNHI_USER_NOTICE}>
<{$smarty.const.WMNHI_USER}>
<{$smarty.const.WMNHI_LOGOUT}>
<{else}>
<{$smarty.const.WMNHI_LOGIN}>
<{/if}> <{/if}>