4
This would take care of that for you...
<{if $xoops_isuser == false}><{else}><a href="<{$xoops_url}>/user.php?op=logout">a><{/if}>
HTH.
Insanity can be defined as "doing the same thing over and over and expecting different results."
Stupidity is not a crime. Therefore, you are free to go.