2
hmm, well.
replace
<{if !$xoops_isuser}>
<form method="post" action="<{$xoops_url}>/user.php?op=login">
<{$smarty.const._LOGIN}><br />
<input name="uname" type="text" /><br /><input name="pass" type="password" /><br />
<input type="hidden" name="xoops_redirect" value="<{$smarty.server.REQUEST_URI}>" />
<button type="submit"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/login.png" alt="<{$smarty.const._LOGIN}>" />button>
<a href="<{$xoops_url}>/register.php" class="register">Registera>
form>
<{else}>
<{xoInboxCount assign=pmcount}>
<a href="<{$xoops_url}>/viewpmsg.php">
<{if $pmcount}>
<img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/inbox-full.png" alt="Inbox (<{$pmcount}>)" title="You have <{$pmcount}> unread messages" />
<{else}>
<img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/inbox.png" alt="Inbox" title="Show your inbox content" />
<{/if}>
a>
<a href="<{$xoops_url}>/user.php"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/profile.png" alt="My profile" title="View your profile" />a>
<{if $xoops_isadmin}>
<a href="<{$xoops_url}>/admin.php"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/configuration.png" alt="Admin" title="Display site administration" />a>
<{/if}>
<a href="<{$xoops_url}>/user.php?op=logout"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/logout.png" alt="Logout" title="Click to logout" />a>
<br /><br />
Hello, <{$xoops_uname}><br />Welcome to <a href="<{$xoops_url}>"><{$xoops_sitename}>a>!
<{/if}>
with
<{if !$xoops_isuser}>
<form method="post" action="<{$xoops_url}>/user.php?op=login">
<{$smarty.const._LOGIN}><br />
<input name="uname" type="text" /><br /><input name="pass" type="password" /><br />
<input type="hidden" name="xoops_redirect" value="<{$smarty.server.REQUEST_URI}>" />
<button type="submit"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/login.png" alt="<{$smarty.const._LOGIN}>" />button>
<a href="<{$xoops_url}>/register.php" class="register">Registera>
form>
<{else}>
<{if $msgcount > 0}>
<a href="<{$xoops_url}>/viewpmsg.php"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/inbox-full.png" alt="Inbox (<{$msgount}>)" title="You have <{$msgcount}> unread messages" />a>
<{else}>
<a href="<{$xoops_url}>/viewpmsg.php"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/inbox.png" alt="Inbox" title="Show your inbox content" />a>
<{/if}>
<a href="<{$xoops_url}>/user.php"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/profile.png" alt="My profile" title="View your profile" />a>
<{if $xoops_isadmin}>
<a href="<{$xoops_url}>/admin.php"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/configuration.png" alt="Admin" title="Display site administration" />a>
<{/if}>
<a href="<{$xoops_url}>/user.php?op=logout"><img src="<{$xoops_url}>/themes/<{$xoops_theme}>/icons/logout.png" alt="Logout" title="Click to logout" />a>
<br /><br />
Hello, <{$xoops_uname}><br />Welcome to <a href="<{$xoops_url}>"><{$xoops_sitename}>a>!
<{/if}>
HTH.