1
Hello, trying to get the code below to work in theme.html but it just kills it and all i get is blank page when i try and site.
What i am trying to do is do away with user menu and have 2 different view for logged on and logged out users
<{if $xoops_isuser}> Welcome back <{$xoops_uname}>
<br>
<{if $xoops_isuser}> <a href="<{$xoops_url}>/user.php">View account</a>
<span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span>
<{if $xoops_isuser}> <a href="<{$xoops_url}>/viewpmsg.php">Inbox</a>
<span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span>
<{if $xoops_isuser}> <a href="<{$xoops_url}>/notifications.php">Notifications</a>
<span class="left" align="bottom"><img src="<{$xoops_imageurl}>images/divider.gif" alt="" height="14" border="0" /></span>
<{if $xoops_isuser}> <a href="<{$xoops_url}>/user.php?op=logout">logout</a>
<{else}> <a href="<{$xoops_url}>/register.php">Register!</a> or <{/if}></span> <span class="right">
<{else}> <a href="<{$xoops_url}>/user.php">log in</a> <{/if}></span><span class="right">
cheers