i have put this code in "user" action in tools so that staff cant piss aound with other staffs profiles
but it still shows the links for everything after it has displayed You can not moderate $user.
what am i missing here . . even tried exit(); but then it wotn let me moderate any user at all .
but it still shows the links for everything after it has displayed You can not moderate $user.
what am i missing here . . even tried exit(); but then it wotn let me moderate any user at all .
Code:
if($uid=543) { echo "<b><img src=\"../phpThumb/phpThumb.php?src=../images/notok.gif\" alt=\"x\"/><br/>Error!!!<br/>Permission Denied...</b><br/>"; echo "<br/>You can not moderate $user<br/>"; echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"../phpThumb/phpThumb.php?src=../images/home.gif\" alt=\"\"/>Home</a>"; echo "</p>"; }
Comment