require("include/top.php");
if ($SESSION_LEVEL=='administrator' || $SESSION_LEVEL=='moderator'):
if ($id && $action=='delete')
{
$query = "DELETE FROM groups WHERE id=$id LIMIT 1";
mysql_query($query);
$query = "DELETE FROM groupsaka WHERE group1=$id or group2=$id or group3=$id";
mysql_query($query);
print("group $id deleted
\n");
logGloperatorAction("group_del",$id);
}
?>
DOUBLE CHECK THAT YOU'RE DELETING THE RIGHT GROUP NUMBER BEFORE CLICKING!
THE LOBSTER WILL EAT YOUR CHILDREN IF YOU DONT!!
THIS IS THE ONE AND ONLY WARNING!!!
DOUBLE CHECK THE NUMBER!!!
else: ?>dude, that's a dangerous page...
endif; ?>