<{if !$xoops_isuser}>
     <{if $lang_siteclosemsg}> <{/if}>

Register

<{else}>

Welcome <{$xoops_uname}>

<{xoInboxCount assign=pmcount}> <{if $pmcount}> (<{$pmcount}>) unread messages <{else}> new message> <{/if}> Notifications My Account <{if $xoops_isadmin}> Control Panel <{/if}> Logout <{/if}>