<ul>
  <{foreach from=$menus key=key item=menu}> 
    <li<{if $block.showsubs && $menu.hassubs}> class="menuparent"<{/if}>>
      <a class="menuMain" href="<{$xoops_url}>/content.php?page=<{$menu.menu}>"><{$menu.title}></a>
      <{if $block.showsubs && $menu.hassubs}><{includeq file='db:blocks/system_block_contentmenu_structure.html' menus=$menu.subs}><{/if}> 
    </li> 
  <{/foreach}>
</ul>