clan; $OMNILOG = 1; include("_include-config.php"); if(! check_login()) { header("Location: login.php"); exit; } if($data->clanlevel == 9) { if(isset($_POST['change_owner']) && $_POST['owner'] != $data->login) { $dbres = mysql_query("SELECT `login`,`level`,`clan` FROM `[users]` WHERE `login`='{$_POST['owner']}'"); if(($owner = mysql_fetch_object($dbres)) && $owner->clan == $data->clan && $owner->level & 0x01) { mysql_query("UPDATE `[users]` SET `clanlevel`=1 WHERE `login`='{$data->login}'"); mysql_query("UPDATE `[users]` SET `clanlevel`=9 WHERE `login`='{$owner->login}'"); mysql_query("UPDATE `[clans]` SET `owner`='{$owner->login}' WHERE `name`='{$data->clan}'"); header("Location: /criminals/clan.php?x={$data->clan}\n"); } } } mysql_query("UPDATE `[users]` SET `online`=NOW() WHERE `login`='{$data->login}'"); /* ------------------------- */ ?>
{$data->clan}: Aanmeldingen |
Je kunt nog $maxrecruits mensen aannemen |
{$data->clan}: Members |
ENDHTML; } else if($_GET['p'] == "info" && $data->clanlevel >= 8) { $dbres = mysql_query("SELECT `name`,`info` FROM `[clans]` WHERE `name`='{$data->clan}'"); $clan = mysql_fetch_object($dbres); print " |
{$data->clan}: Clan info |
clan}\">Bekijk je profiel |
Clan info is veranderd | ENDHTML; } /* ------------------------- */ ?> |