1
ok, i wanted to make a welcome msg in the home page, something like "welcome back, (username). What's up?". So i put the fllowing code in theme.html:
<div>
<{if !$xoops_isuser}>
<form action="<{$xoops_url}>/user.php" method="post"><b>User: </b>
<input type='text' name='uname' value='username';">
<b>Pass: </b>
<input type="password" name="pass"/>
<input type="hidden" name="op" value="login" />
<input type="submit" value="login" /> 
<a href="<{$xoops_url}>/register.php"><b>
Join</b></a>
</form>
<{else}>
Welcome back, <b><{$user.name}></b>. What's up?
<{/if}>
</div>
...but every user that logs in always gets displayed the name of one of the two webmasters (and not his one)!
Any idea? Something wrong in the code?