login'"); $data = mysql_fetch_object($dbres); ?>
if($_GET['pagina']=='status'){ //formaten $cash = number_format($data->cash, 0, ",", "."); $bank = number_format($data->bank, 0, ",", "."); if($data->bank <250000){$renteprocent = 5;} elseif($data->bank >249999 && $data->bank <1000000){$renteprocent = 4;} elseif($data->bank >999999 && $data->bank <5000000){$renteprocent = 3;} elseif($data->bank >4999999 && $data->bank <10000000){$renteprocent = 2;} elseif($data->bank >9999999 ){$renteprocent = 1;} $rente =($data->bank*($renteprocent/100)); $rente = round($rente); $ontvangen = $data->bank + $rente; $rente = number_format($rente, 0, ",", "."); $ontvangen = number_format($ontvangen, 0, ",", "."); $gn1 = mysql_query("SELECT *,UNIX_TIMESTAMP(`banktijd`) AS `banktijd`,0 FROM `[users]` WHERE `login`='{$data->login}'"); $gn = mysql_fetch_object($gn1); $tijd = $gn->banktijd+24*60*60-time(); $tijd2 = $tijd-3600; $tijd = date("H:i:s", "$tijd2"); $zwart = number_format($data->zbank, 0, ",","."); print"
|