=cHeader();?>
Blackjack via iDeal!
"; echo "
Kies uw bank: "; echo "
"; echo ""; echo "
"; echo "
"; } if ($step==2) { $result = $myiDEAL->GetLink ($_POST["bank"], $description, $amount, $returnurl); if (!$result) { echo "
Blackjack via iDeal!
Er kon geen verbinding gemaakt worden met de site van je bank.
"; echo "
Terug naar de vorige pagina...
"; } else { setcookie ("trxid", $myiDEAL->trxid, time()+86400); echo "
Blackjack via iDeal!
Je wordt nu doorverwezen naar de site van je bank.
"; echo "
url\">Klik hier om verder te gaan...
"; echo "
Transactie ID: ".$myiDEAL->trxid; echo "
"; } } if ($step==3) { $trxid = ($_COOKIE["trxid"]) ? $_COOKIE["trxid"] : $_GET["trxid"]; $result = $myiDEAL->CheckPayment ($trxid, 1); if (!$result) { echo "
Blackjack via iDeal!
De betaling is niet voltooid, of al eerder verwerkt...
"; echo "Foutmelding: ".$myiDEAL->error."
"; } else { echo "
Blackjack via iDeal!
Je betaling is verwerkt!
"; $lol = mysql_query("SELECT `login`,`land` FROM `[users]` WHERE login='".$_SESSION['login']."'"); $data = mysql_fetch_assoc($lol); mysql_query("UPDATE `[casinoo]` SET `casinobank`='0' WHERE `spel`='3' AND `land`='{$data['land']}'"); mysql_query("UPDATE `[casinoo]` SET `vw`='0' WHERE `spel`='3' AND `land`='{$data['land']}'"); mysql_query("UPDATE `[casinoo]` SET `maximum`='0' WHERE `spel`='3' AND `land`='{$data['land']}'"); mysql_query("UPDATE `[casinoo]` SET `owner`='{$data['login']}' WHERE `land`='{$data['land']}' AND `spel`='3'"); } } ?>