login}'"); include("_include-gevangenis.php"); /* ------------------------- */ ?> <?php echo $page->sitetitle; ?> signup/3600-time()/3600) + 12 <= 0) { $dbres = mysql_query("SELECT `login`,UNIX_TIMESTAMP(`signup`) AS `signup`,`cash`,`bank` FROM `[users]` WHERE `login`='{$_GET['x']}' AND `activated`=1"); if(($to = mysql_fetch_object($dbres)) && $to->login != $data->login) { if(round($to->signup/3600-time()/3600) + 12 <= 0) { print " \n"; if(isset($_POST['submit']) && preg_match("/^[0-9]+\$/",$_POST['amount']) && $_POST['amount'] > 0) { $amount = $_POST['amount']; if($amount <= $data->cash) { $data->cash -= $amount; $to->cash += $amount; mysql_query("UPDATE `[users]` SET `cash`={$data->cash} WHERE `login`='{$data->login}'"); mysql_query("UPDATE `[users]` SET `cash`={$to->cash} WHERE `login`='{$to->login}'"); $forwardedFor = ($_SERVER['HTTP_X_FORWARDED_FOR'] != "") ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['HTTP_CLIENT_IP']; $forwardedFor = preg_replace('/, .+/','',$forwardedFor); mysql_query("INSERT INTO `[logs]`(`time`,`IP`,`forwardedFor`,`login`,`person`,`code`,`area`) values(NOW(),'{$_SERVER['REMOTE_ADDR']}','$forwardedFor','{$data->login}','{$to->login}',$amount,'donate')"); print " \n"; } else print " \n"; } } if(isset($_POST['submit2']) && preg_match("/^[0-9]+\$/",$_POST['amount']) && $_POST['amount'] > 0) { $amount = $_POST['amount']; if($amount <= $data->bank) { $amount2 = $amount*0.9; $data->bank -= $amount; $to->bank += $amount2; mysql_query("UPDATE `[users]` SET `bank`={$data->bank} WHERE `login`='{$data->login}'"); mysql_query("UPDATE `[users]` SET `bank`={$to->bank} WHERE `login`='{$to->login}'"); $forwardedFor = ($_SERVER['HTTP_X_FORWARDED_FOR'] != "") ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['HTTP_CLIENT_IP']; $forwardedFor = preg_replace('/, .+/','',$forwardedFor); mysql_query("INSERT INTO `[logs]`(`time`,`IP`,`forwardedFor`,`login`,`person`,`code`,`area`) values(NOW(),'{$_SERVER['REMOTE_ADDR']}','$forwardedFor','{$data->login}','{$to->login}',$amount2,'donate')"); print " \n"; } else print " \n"; } } print << ENDHTML; } else print " \n"; /* ------------------------- */ ?>
Doneren
Je €$amount is overgemaakt naar $to->login.
Zoveel geld heb je niet
Je €$amount2 is overgemaakt naar $to->login.
Zoveel geld heb je niet
Doneren via de bank. Kost je 10% van de donatie bedrag.
Aan:
Bedrag:





Je kan niet doneren wanneer je onder bescherming staat