login}'"); if(! ($data->level >= 255 )) if($data->clanlevel <= 7){ print << <?php echo $page->sitetitle; ?>
Clan
Je bent geen leader of owner.
ENDHTML; exit; } include("_include-leaderopties.php"); /* ------------------------- */ ?> clan}'"); while($member = mysql_fetch_object($dbres)) { if ( isset ( $_GET['uit'] ) && !empty ( $_GET['uit'] ) ) { mysql_query("UPDATE `[users]` SET `aanuit`='2' WHERE `login`='$uit'"); } if ( isset ( $_GET['aan'] ) && !empty ( $_GET['aan'] ) ) { mysql_query("UPDATE `[users]` SET `aanuit`='1' WHERE `login`='$aan'"); } } print <<
Clandonatie uit zetten
Met deze optie zet je het geld uit/aan wat de clan members krijgen van de clan.
ENDHTML; if($_GET['s'] == "login") $dbres = mysql_query("SELECT `login`,`attack`,`defence`,`clicks`,`bank`,`cash`,`clanlevel`,`cdonatie`,`aanuit`, `type` FROM `[users]` WHERE `clan`='{$data->clan}' AND `activated`=1 ORDER BY `login`"); else if($_GET['s'] == "power") $dbres = mysql_query("SELECT `login`,`attack`,`defence`,`clicks`,`bank`,`cash`,`clanlevel`,`cdonatie`,`aanuit`, `type` FROM `[users]` WHERE `clan`='{$data->clan}' AND `activated`=1 ORDER BY `cdonatie` DESC,`login` ASC"); else if ($_GET['s'] == "rank") $dbres = mysql_query("SELECT `login`,`attack`,`defence`,`clicks`,`bank`,`cash`,`clanlevel`,`cdonatie`,`aanuit`, `type` FROM `[users]` WHERE `clan`='{$data->clan}' AND `activated`=1 ORDER BY `aanuit` DESC,`login` ASC"); else $dbres = mysql_query("SELECT `login`,`attack`,`defence`,`clicks`,`bank`,`cash`,`clanlevel`,`cdonatie`,`aanuit`,`type` FROM `[users]` WHERE `clan`='{$data->clan}' AND `activated`=1 ORDER BY `clanlevel` DESC,`login` ASC"); for($j=1; $member = mysql_fetch_object($dbres); $j++) { $rank = Array("","1","Recruiter","","","","Manager","Generaal","Leader","Owner"); ${"select{$member->aanuit}"} = " selected"; $power = round(($member->attack+$member->defence)/2+$member->clicks*5); print << ENDHTML; } if($member->aanuit == 2) { print <<Zet donatie aan ENDHTML; } } else print "Aan\n"; ${"select{$member->clanlevel}"} = ""; } ?>
# Nickname Donneert Aan/uit
$j {$member->login} $member->cdonatie ENDHTML; if($member->clanlevel < 9) { if($member->aanuit == 1) { print <<Zet donatie uit