include("_include-config2.php"); $data2 = mysql_query("SELECT * FROM `[users]` WHERE `login`='{$_SESSION['login']}'"); $data = mysql_fetch_object($data2); $dbres = mysql_query("SELECT `id` FROM `[users]` WHERE `activated`=1"); $dbres2 = mysql_query("SELECT `id` FROM `[users]` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300"); $online = mysql_num_rows($dbres2); $laatstelid = mysql_query("select `login` from `[users]` order by id desc limit 1"); $laatste = @mysql_result($laatstelid,0,0); $leven = $data->health; $cash = number_format($data->cash, 0, '.' , '.'); $bank = number_format($data->bank, 0, '.' , '.'); $inboxnew = mysql_num_rows(mysql_query("SELECT id FROM `[messages]` WHERE `read`=0 AND `inbox`=1 AND `to`='$data->login'")); $attack = $data->attack; $defence = $data->defence; $clickpower = round($clicks*5); $power = round($attack+$defence+$clickpower/2); $land = Array("","Nederland","Frankrijk","Cuba","Rusland","Australië","VS"); $land = $land[$data->land]; $leven = $data->health; $eraf3 = $leven-1; $eraf4 = $leven-33; $eraf5 = $leven-57; $eraf6 = $leven-59; $eraf7 = $leven-61; $eraf8 = $leven-63; $eraf12 = $leven-68; ?>
Leven: |
if($data->leven == 0) {
?>
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
=$leven?>% | ![]() |
![]() |
![]() |