12
<{if $xoops_isuser}>
<td id="top1">
Hallo <{$xoops_uname}>!
<a class="userbar" href="<{$xoops_url}>/modules/news">Hjem</a>
<a class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregister</a>
<a class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Forum</a>
<a class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobb</a>
<a class="userbar" href="<{$xoops_url}>/user.php?op=logout">Logg ut</a>
<{if $xoops_isadmin}>
<a class="userbar" href="<{$xoops_url}>/admin.php" target="blank">Admin</a>
<{/if}>
</td>
<td id="top2" align="right">
<form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />
<input type="submit" class="button" value="Søk" />
</form>
</td>
<{else}>
<td id="top1">
<a class="login" href="<{$xoops_url}>/user.php"><u>Logg inn</u></a>
eller
<a class="login" href="<{$xoops_url}>/register.php"><u>Bli medlem</u></a>
</td>
<td id="top2" align="right">
<form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />
<input type="submit" class="button" value="Cerca" />
</form>
</td>
<{/if}>
Change the above to:
<{if $xoops_isuser}>
<td id="top1">
Hallo <{$xoops_uname}>!
<a class="userbar" href="<{$xoops_url}>/modules/news">Hjem</a>
<a class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregister</a>
<a class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Forum</a>
<a class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobb</a>
<a class="userbar" href="<{$xoops_url}>/user.php?op=logout">Logg ut</a>
<{if $xoops_isadmin}>
<a class="userbar" href="<{$xoops_url}>/admin.php" target="blank">Admin</a>
<{/if}>
</td>
<td id="top2" align="right">
<form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />
<input type="submit" class="button" value="Søk" />
</form>
</td>
<{else}>
<td id="top1">
<a class="login" href="<{$xoops_url}>/user.php"><u>Logg inn</u></a>
eller
<a class="login" href="<{$xoops_url}>/register.php"><u>Bli medlem</u></a>
<a class="userbar" href="<{$xoops_url}>/modules/news">Hjem</a>
<a class="userbar" href="<{$xoops_url}>/modules/myalbum/index.php">Båtregister</a>
<a class="userbar" href="<{$xoops_url}>/newbb/viewforum.php?forum=1">Forum</a>
<a class="userbar" href="<{$xoops_url}>/modules/xfguestbook/index.php">Søk jobb</a>
</td>
<td id="top2" align="right">
<form style="margin-top: 0px;margin-bottom: 3px;padding-right:30px;" action="<{$xoops_url}>/search.php" method="post">
<input type="text" name="query" size="12" /><input type="hidden" name="action" value="results" />
<input type="submit" class="button" value="Cerca" />
</form>
</td>
<{/if}>