<{foreach from=$menu_var item=menu}>
- class='has-sub'<{/if}>> <{$menu.title}> <{if $menu.submenu}> <{if $menu.submenu=='1'}> <{includeq file="$xoops_rootpath/modules/tadtools/themes_tpl/menu/cssmenu/login.html"}> <{else}>
  <{foreach from=$menu.submenu item=menu2}>
  - class='has-sub'<{/if}>> <{$menu2.title}> <{if $menu2.submenu}>
    <{foreach from=$menu2.submenu item=menu3}>
    - <{$menu3.title}>
    <{/foreach}>
    <{/if}>
  <{/foreach}>
  <{/if}> <{/if}>
<{/foreach}>