the code im removing is :
if ($loggedin=="1") {
echo "<br>";
WriteTableTop('');
echo "<tr bgcolor="$headercolor"><td colspan="4" class="header"><b>$VUserControlCenter";
if ($admin=="1") {
echo " (<a href="admin.php">$AdminCenter</a>)<br>";
}
echo '</b></td></tr>',"n";
echo '<tr bgcolor="',$fmenucolor,'"><TD class="indexleft" align="center">';
echo "<img src="",$memimg,"" alt="",$VImage,""></td>n";
echo "<td width="33%" height="5" valign="top" bgcolor="$menucolor"><b><a href="ucp.php">$VUserControlPanel</a></b><br></td>";
echo "<td width="33%" height="5" valign="top" bgcolor="$menucolor"><b><a href="pm.php">$PrivateMessaging</a></b></td>";
echo "<td width="33%" height="5" valign="top" bgcolor="$menucolor"><b><a href="logout.php">$VLogout</a></b></td></tr>";
echo "</table></td></tr></table></td></tr></table>";
}
and the code where the error appears :
include($filename);
if ($userip!=$ip && $checkip=="1") {
echo "<meta http-equiv="Refresh" content="0; URL=logout.php">";
$allow="0";