i have...
<? if ($u["level"] < LEVEL_SUSPEND) { ?>
then some code...
<? } elso { echo "You cannot view your User Options"; } ?>
I'm not sure why it gets parse error (it's probably really easy xp).
but here is the whole code...
<? if ($u["level"] < LEVEL_SUSPEND) { ?>
<? if ($u["level"] == LEVEL_INACT) echo "<a href=\"react.php".querystring($board,$topic)."\">Re-Send Activation Key</a><br />"; ?>
<? if ($u["level"] > LEVEL_SUSPEND) echo "<a href=\"pref1.php".querystring($board,$topic)."\">Change Display Settings</a><br />"; ?>
<? if ($u["level"] >= LEVEL_WARNED) echo "<a href=\"pref2.php".querystring($board,$topic)."\">Edit Your Personal Settings</a><br />"; ?>
<a href="pref3.php<? echo querystring($board,$topic); ?>">Change Password</a><br />
<a href="pref4.php<? echo querystring($board,$topic); ?>">Change Theme</a><br />
<a href="pref6.php<? echo querystring($board,$topic); ?>">Purchase Items With Aura</a><br />
<a href="avatarpref.php<? echo querystring($board,$topic); ?>">Avatar Preferences</a><br />
<a href="bank.php<? echo querystring($board,$topic); ?>"><? echo $aura ?> Bank</a><br />
<a href="lotto.php<? echo querystring($board,$topic); ?>">Weekly Lotto</a><br />
<a href="slot.php<? echo querystring($board,$topic); ?>">Slot Machine</a><br />
<a href="stock.php<? echo querystring($board,$topic); ?>">Stock Exchange</a><br />
<a href="bman.php<? echo querystring($board,$topic); ?>">Board Manager</a><br />
<? if ($u["level"] >= LEVEL_NEW1) echo "<a href=\"close.php".querystring($board,$topic)."\">Close This Account</a><br />";
if ($u["level"] == LEVEL_PENCLOSE) echo "<a href=\"restore.php".querystring($board,$topic)."\">Restore This Account</a><br />";
if (($u["level"] == LEVEL_INACT) || ($u["level"] == LEVEL_CLOSED)) echo "<a href=\"delacct.php".querystring($board,$topic)."\">Delete This Account</a><br />"; ?>
<? } elso { echo "You cannot view your User Options"; } ?>