<{assign var=themeName value=$xoTheme->folderName}> <{$xoops_sitename}> - <{$xoops_pagetitle}> <{$xoops_module_header}> <<{if $xoops_dirname == "custom1" }>
<{else}> <<{if $xoops_dirname == "custom2" }>
<{else}> <<{if $xoops_dirname == "custom3" }>
<{else}> <<{if $xoops_dirname == "contact" }>
<{else}>
<{/if}><{/if}><{/if}><{/if}>
<{foreach item=block from=$xoops_ccblocks}> <{include file="$themeName/center.html"}> <{/foreach}>
<{$xoops_contents}>
<{if $xoops_isuser}> <{php}> GLOBAL $xoopsUser; $pm_handler =& xoops_gethandler('privmessage'); $uid = $xoopsUser->getVar('uid'); $criteria = new CriteriaCompo(new Criteria('read_msg', 0)); $criteria->add(new Criteria('to_userid', $uid)); $msgcount = $pm_handler->getCount($criteria); $GLOBALS['xoopsTpl']->assign('new_messages', $msgcount); <{/php}> User Menu: <{if $xoops_isadmin}> Admin | View Account | <{else}> View Account | <{/if}> Edit Account | Notifications | <{if $new_messages > 0}> New Messages (<{$new_messages}>) | <{else}> Inbox | <{/if}> Logout <{else}> Login or Register here <{/if}>
<{$xoops_footer}>