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: clan.php?x={$data['clan']}\n"); } } } mysql_query("UPDATE `[users]` SET `online`=NOW() WHERE `login`='".$data['login']."'"); ?> <?=$titel;?>Clan recruiters
= 8 || $data['clanlevel'] == 2)) { ?> homes*5 - $members; if(isset($_POST['recruit'])) { $dbres = mysql_query("SELECT `login` FROM `[users]` WHERE `clan`='{$data['clan']}-[recruit]' "); while($recruit = mysql_fetch_object($dbres)) { if(isset($_POST[$recruit->login]) && $_POST[$recruit->login] == 1 && $maxrecruits-- > 0) { mysql_query("UPDATE `[users]` SET `clan`='{$data['clan']}',`clanlevel`=1 WHERE `login`='{$recruit->login}' "); } elseif(isset($_POST[$recruit->login]) && $_POST[$recruit->login] == 0) { mysql_query("UPDATE `[users]` SET `clan`='',`clanlevel`=0 WHERE `login`='{$recruit->login}' "); } } } ?> attack+$recruit->defence)/2+$recruit->clicks*5); ?> '; exit; } ?>
Aanmeldingen
Hier krijg je een overzicht van alle leden die zich willen aanmelden om in je clan te komen.
Je kan nog spelers aannemen.
X V Naam Power
login;?> Er zijn momenteel geen aanmeldingen
= 8) { if(isset($_POST['members'])) { $dbres = mysql_query("SELECT `login` FROM `[users]` WHERE `clan`='{$data['clan']}' "); while($member = mysql_fetch_object($dbres)) { if(isset($_POST[$member->login])) { if($_POST[$member->login] == 0) mysql_query("UPDATE `[users]` SET `clan`='',`clanlevel`=0 WHERE `login`='{$member->login}'"); elseif($_POST[$member->login] >= 1 && $_POST[$member->login] <= 8) mysql_query("UPDATE `[users]` SET `clanlevel`='{$_POST[$member->login]}' WHERE `login`='{$member->login}'"); } } } ?> clanlevel} = ' selected="selected"'; $power = round(($member->attack+$member->defence)/2+$member->clicks*5); ?> clanlevel} = ""; } ?>
Leden
In het ledenoverzicht van je clan kun je alle leden van je clan van rang veranderen of verwijderen.
# Naam Power Rank
login;?> clanlevel < 9) { ?>
= 8) { $dbres = mysql_query("SELECT `name`,`info` FROM `[clans]` WHERE `name`='{$data['clan']}'"); $clan = mysql_fetch_object($dbres); ?> Clan info Bekijk je profiel Clan info is veranderd"; } ?> Info:

:( :) ;) :s :p
(b) :@ (8) :d (-)
(!) :| (?) :$ (h)
(c) (e) (n) (v) (r)