other words is the index.php at the root.
I have tryed many things and what I get is the same parse error.
this is the latest code I tryed:
Quote:
//<?php include "index-workswithcodevisible.php"; ?>
<?php if {!$xoops_isuser} ?>
<form action=<?php "<{$xoops_url} >/user.php" ?> method="post"><br>
<b>user:</b><br>
<input type="text" id="topfield" name="uname" value=<?php "<{$block.unamevalue}>" /> ?> <br>
<b>pass:</b><br>
<input type="password" id="topfield" name="pass" />
<input type="hidden" name="xoops_redirect" value=<?php "<{$xoops_requesturi}>" /> ?> <input type="hidden" name="op" value="login" /><br>
<input type="submit" id="topbutton" value="login" /> <a href=<?php "<{$xoops_url}>/user.php#lost"> ?><br>
lost pass?</a>
<a href=<?php "<{$xoops_url}>/register.php"> ?> register</a></form><?php <{ /if}> ?>//
Parse error: parse error, expecting `'('' on line 139
which is the line: <?php if {!$xoops_isuser} ?>