Hallo,
Ik heb een probleem, wanneer mensen cc hebben gekocht hebben krijgen ze hun cc er niet bij, maar ik krijg het geld wel op mollie.
Zou iemand mij kunnen helpen ? Dit is het script:
PHP
<?
if(isset($_POST['1'])){
if($data->callcredits >= 8){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'8', `vipdays`=`vipdays`+'15' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['2'])){
if($data->callcredits >= 15){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'15', `vipdays`=`vipdays`+'30' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['3'])){
if($data->callcredits >= 8){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'8', `bank`=`bank`+'2000000' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['4'])){
if($data->callcredits >= 15){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'15', `bank`=`bank`+'4000000' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['5'])){
if($data->callcredits >= 5){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'5', `bankstandard`=`bankstandard`+'999' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['6'])){
if($data->callcredits >= 7){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'7', `dagenrente`=`dagenrente`+'15' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['7'])){
if($data->callcredits >= 9){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'9', `maffia`=`maffia`+'24' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['8'])){
if($data->callcredits >= 13){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'13', `maffia`=`maffia`+'48' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['acht'])){
if($data->callcredits >= 8){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'8', `maffia`=`maffia`='0' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['9'])){
if($data->callcredits >= 8){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'8', `maffia`=`maffia`+'12', `power`=`power`+'2000', `bank`=`bank`+'200000' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['10'])){
if($data->callcredits >= 15){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'15', `power`=`power`+'150000' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['11'])){
if($data->callcredits >= 17){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'17', `health`='100' WHERE `login`='$data->login'");
if($data->vermoord > 0){
mysql_query("UPDATE `users` SET `health`='100',`vermoord`='0' WHERE `login`='$data->login'");
}
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['12'])){
if($data->callcredits >= 7){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'7' WHERE `login`='$data->login'");
mysql_query("UPDATE `clicks` SET `active`='0' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['13'])){
if($data->callcredits >= 7){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'7', `kogels`=`kogels`+'150' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['14'])){
if($data->callcredits >= 15){
mysql_query("UPDATE `registered_ip` SET `max`=`max`+'1' WHERE `ip`='$data->IP'");
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'15' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['17'])){
if($data->callcredits >= 15){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'15', `goud`=`goud`+'150' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['18'])){
if($data->callcredits >= 30){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'30', `goud`=`goud`+'300' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['VIP1'])){
if($data->callcredits >= 13){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'13', `vipdays`=`vipdays`+'30' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['VIP2'])){
if($data->callcredits >= 7){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'7', `bank`=`bank`+'2000000' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['VIP3'])){
if($data->callcredits >= 8){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'8', `maffia`=`maffia`+'24' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['VIP4'])){
if($data->callcredits >= 8){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'8', `bank`=`bank`+'150000', `maffia`=`maffia`+'6', `power`=`power`+'7500' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['VIP5'])){
if($data->callcredits >= 14){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'14', `power`=`power`+'250000' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
if(isset($_POST['VIP6'])){
if($data->callcredits >= 25){
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`-'25', `goud`=`goud`+'250' WHERE `login`='$data->login'");
header("Location: /v3/index.php?a=buycredits&p=shop");
}
}
?>
<script language="javascript">
function handleTabs(pTab){
var tabblad;
var tabbladen = new Array();
tabbladen[0] = 'buy';
tabbladen[1] = 'info';
tabbladen[2] = 'shop';
tabbladen[3] = 'bel';
tabbladen[4] = 'wallie';
for(i=0;i<tabbladen.length;i++){
document.getElementById('tab_' + tabbladen[i]).style.backgroundImage = 'url(images/tab_dark.jpg)';
document.getElementById('page_' + tabbladen[i]).style.display = 'none';
}
document.getElementById('tab_' + pTab).style.backgroundImage = 'url(images/tab_light.jpg)';
document.getElementById('page_' + pTab).style.display = 'block';
}
</script>
<h1 id="ajax_targetpay" style="display:none">AJAX TEST</h1>
<div class="title_bg">
<div class="title">Callcredit shop</div>
</div>
<div style="background-color:#e4dcc5; padding:10px; padding-top:4px;">
<table cellpadding="0" cellspacing="0" width="100%"><tr><td>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<div id="tab_buy" style="float:left; width:130px; height:35px; background: url(images/tab_dark.jpg) no-repeat;">
<div style="margin-left:15px; margin-top:8px;"><img src="images/icons/money.png" align="bottom">
<a style="font-size:16px; color:black" href="javascript:handleTabs('buy')">Kopen</a>
</div>
</div>
<div id="tab_bel">
<div id="tab_wallie">
</div>
<div id="tab_info" style="float:left; width:130px; height:35px; background: url(images/tab_dark.jpg) no-repeat; margin-left:10px;">
<div style="margin-left:15px; margin-top:8px;"><img src="images/icons_gif/information.gif" align="bottom">
<a style="font-size:16px; color:black" href="javascript:handleTabs('info')">Info</a>
</div>
</div>
<div id="tab_shop" style="float:right; width:130px; height:35px; background: url(images/tab_dark.jpg) no-repeat; margin-left:10px;">
<div style="margin-left:15px; margin-top:8px;"><img src="images/icons_gif/basket.gif" align="bottom">
<a style="font-size:16px; color:black" href="javascript:handleTabs('shop')">Callshop</a>
</div>
</div>
</td>
</tr><?if($data->vermoord > 0){?>
<div id="page_nl" style="display:none;">
<table border="0px" cellpadding="0px" cellspacing="0px" width="100%" bgcolor="#e5dfd3" style="margin-top:0px;">
<tr>
<td width="100%" colspan="2">
<div id="js_msg" style="width:100%; background:url(images/js_msg/bg.gif) repeat-y; margin-top:10px; margin-left:2px;margin-right:2px;">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="596">
<tr>
<td colspan="4" height="4px"><img src="images/js_msg/top.gif"></td>
</tr>
<tr>
<td width="2px"> </td>
<td align="center" valign="middle" style="padding-top:0; padding-left:3px" bgcolor="#FFFFFF">
<table cellspacing="5">
<tr>
<td>
<img src="images/js_msg/exl_big_red.gif">
</td>
</tr>
</table>
</td>
<td width="556px" bgcolor="#FFFFFF">
<div id="text_shop" style="display:block; line-height:135%; font-size:12px; font-weight:bold">
<font color='black' id="js_msg_msg">
<table width="100%">
<tr>
<td width="100%">
<b style="font-size:18px">Helaas, je bent vermoord...</b><br>
<br>
Om jezelf weer tot leven te wekken dien je onderstaande stappen te volgen. <br>
<br>
Naast 100% leven krijg je ook nog eens <b>28</b> callcredits, welke je daarna in de Callshop kunt gebruiken om jezelf nog beter en sterker te maken! </td>
<td>
<img src="images/dood.jpg" align="left" width="200px">
</td>
</tr>
</table>
</font>
</div>
</td>
<td width="2px"></td>
</tr>
<tr>
<td colspan="4" height="13px"><img src="images/js_msg/bottom.gif"></td>
</tr>
</table>
</div>
</td>
</tr><?}?>
<tr>
<td>
<div id="page_buy" style="display:none;">
<table border="0px" cellpadding="0px" cellspacing="0px" width="100%" bgcolor="#e4dcc5" style="margin-top:0px;">
<tr>
<td>
<div id="alerter" style="width:600px; height: 65px; background:url(images/alert_balloon.jpg) no-repeat; margin-top:10px;">
<div id="text_nl" style="position:absolute; height:65px; margin-left:35px; margin-top: 8px; line-height:135%; font-size:14px;">
Kies hieronder uit de betaalmogelijkheden, om de credits te bestellen.
</div>
</div>
<br />
</td>
</tr>
<tr>
<table>
<tr>
<td style="border: 1px solid black; padding: 0px;" colspan="10">
<table bgcolor="#e5dfd3" style="cursor: pointer;" onclick="javascript:handleTabs('bel'); " width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td>
<img src="images/telefoon.gif">
</td>
<td valign="top" width="100%">
<font color="#442C14" size="+1">Telefoon</font><br>
<font color="#442C14" size="2">Bel via uw reguliere of mobiele telefoon en het bedrag zal via uw (prepaid) telefoon rekening verrekend worden.</font> </td>
<td valign="bottom" align="right">
</td>
</tr>
</tbody></table>
</td>
</tr>
</table>
</div>
<div id="page_wallie" style="display:none;">
<?php include "wallie.php"; ?>
</div>
<div id="page_bel" style="display:none;">
<table border="0px" cellpadding="0px" cellspacing="0px" width="100%" bgcolor="#e4dcc5" style="margin-top:0px;">
<tr>
<td width="400" colspan="2">
<div id="alerter" style="width:600px; height: 65px; background:url(images/alert_balloon.jpg) no-repeat; margin-top:10px;">
<div id="text_nl" style="position:absolute; height:65px; margin-left:35px; margin-top: 8px; line-height:135%; font-size:14px;">
Om spullen uit de callshop te kopen heb je callcredits nodig.<br>
Je kunt op de volgende manier <b>28 callcredits</b> krijgen:
</div>
</div>
</td>
</tr>
<?
echo $error;
?>
<tr>
<td colspan="2">
<form method="GET">
<table border="0px" cellpadding="0px" cellspacing="0px" width="100%" bgcolor="#e5dfd3">
<tr>
<td background="images/subheader_bg.jpg" style="background-repeat:no-repeat;" height="40">
<div style="margin-left:10px; font-family:Verdana; font-size:16px; font-weight:bold;">Wat je moet doen</div>
</td>
<td rowspan="6" valign="top" align="right" style="padding-right:10px;">
<embed src="flash/gratis_callcredits.swf?callcredits=28+callcredits&prijs=[#EURO]%201,30&top=normal&bottom=normal&gratisbedrag=20" allowscriptaccess="always" wmode="transparent" allowfullscreen="true" width="160" height="175">
</td>
</tr>
<tr>
<td colspan=2>
<br>
<div style="margin-left:10px; font-family:Verdana; font-size:14px;">Callcredits kosten in Nederland €1,30 per telefoontje.<BR>In België is dit €1,50 per minuut, en het telefoontje<BR>zal dan ook ongeveer een minuut duren.<BR>Selecteer je land en volg de onderstaande instructies.</div>
<br><br>
</td>
</tr>
<tr>
<td background="images/subheader_bg.jpg" style="background-repeat:no-repeat;" width="395px" height="40">
<div style="margin-left:10px; font-family:Verdana; font-size:16px; font-weight:bold;">Stap 2</div>
</td>
</tr>
<tr>
<td>
<br>
<div style="margin-left:10px; font-family:Verdana; font-size:12px;">
Kies land voor de betaling:<br />
<table>
<tr>
<td><a href="index.php?a=buycredits&c=31"></a></td>
<td><a href="index.php?a=buycredits&c=31">Nederland</a></td>
<td width="10"> </td>
<td><a href="index.php?a=buycredits&c=32"></a></td>
<td><a href="index.php?a=buycredits&c=32">België</a></td>
</tr>
</table>
<br />
<br />
</div>
<br><br>
</td>
</tr>
<tr>
<td background="images/subheader_bg.jpg" style="background-repeat:no-repeat;" width="395px" height="40">
<div style="margin-left:10px; font-family:Verdana; font-size:16px; font-weight:bold;">Stap 3</div>
</td>
</tr>
<tr>
<td>
<br>
<div style="margin-left:10px; font-family:Verdana; font-size:12px;width:370px">
<?
require('classes/class.micropayment-mollie.php');
$m = new micropayment();
$m->setPartnerID(645657); # Verander dit naar jouw eigen Partner ID te vinden onder de Tab Account bij Mollie
if (isset($_GET['c']) and is_numeric($_GET['c'])) $m->setCountry($_GET['c']);
$m->setAmount(1.30); # Hier kun je de prijs per gesprek instellen
if (isset($_GET['action']) and $_GET['action'] == 'check' and isset($_SESSION['servicenumber']) and isset($_SESSION['paycode']) and $_SESSION['servicenumber'] and $_SESSION['paycode']) {
/* user posted a paymentcheck, so below we'll check if the servicenumber and the paycode is fully payed */
$m->setServicenumber($_SESSION['servicenumber']);
$m->setPaycode($_SESSION['paycode']);
$m->checkPayment();
if ($m->payed) {
mysql_query("UPDATE `users` SET `callcredits`=`callcredits`+'28' WHERE `login`='$data->login'");
if($data->vermoord > 0){
mysql_query("UPDATE `users` SET `health`='100',`vermoord`='0' WHERE `login`='$data->login'");
}
echo "Je hebt nu 28 extra credits!";
exit;
}
else {
# payment is not (fully) done, send the user back to the payment-screen
echo "<font color=red><b>Betaling is niet afgerond.<br>Zorg er wel voor dat je de goede code intoetst!</b></font><br /><br />";
}
}
if (!$m->payed) {
/* Below we include the payment-screen, because no payment is received (yet) */
include('includes/include.paymentscreen.php');
}
?>
<!--<center><img src="ajax/loading.gif" align="middle"></center>-->
</div>
<br><br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
<div id="page_info" style="display:none">
<table border="0px" cellpadding="0px" cellspacing="0px" width="100%" bgcolor="#e4dcc5" style="margin-top:0px;">
<tr>
<td width="400" colspan="2">
<div id="alerter" style="width:600px; height: 65px; background:url(images/alert_balloon.jpg) no-repeat; margin-top:10px;">
<div id="text_be" style="position:absolute; height:65px; margin-left:35px; margin-top: 8px; line-height:135%; font-size:14px;">
Hier vind je alle informatie over callcredits:
</div>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<form method="GET">
<input type="hidden" name="a" value="mod_credit_shop_new">
<input type="hidden" name="f" value="phone_be">
<table border="0px" cellpadding="0px" cellspacing="0px" width="100%" bgcolor="#e5dfd3">
<tr>
<td background="images/subheader_bg.jpg" style="background-repeat:no-repeat;" width="395" height="40">
<div style="margin-left:10px; font-family:Verdana; font-size:16px; font-weight:bold;">Informatie</div>
</td>
</tr>
<tr>
<td>
<br>
<div style="margin-left:10px; font-family:Verdana; font-size:14px;">Callcredits zijn extraatjes die je koopt om sterker,<br> of beter te worden<br>Een aanrader is het betaald account. Dit is een grote<BR>combinatie van voordelen.<br>Je krijgt hierbij ook elke week <b><u>2</b></u> callcredits, dus kopen<BR>HOEFT niet!</div>
<br><br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
<div id="page_shop" style="display:none">
<table border="0px" cellpadding="0px" cellspacing="0px" width="100%" bgcolor="#e4dcc5" style="margin-top:0px;">
<tr>
<td width="400" colspan="2">
<div id="alerter" style="width:600px; height: 65px; background:url(images/alert_balloon.jpg) no-repeat; margin-top:10px;">
<div id="text_be" style="position:absolute; height:65px; margin-left:35px; margin-top: 8px; line-height:135%; font-size:14px;">
<a style="color:black" href="javascript:handleTabs('buy')">Je hebt nu <b><?echo $data->callcredits;?></b> callcredits, klik hier om het aantal op te laden!</a>
</div>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="mod_list" bgcolor="#e5dfd3">
<tr>
<td align="center" width="3%" class="subtable"> </td>
<td class="subtable"><strong>Item</strong></td>
<td class="subtable" align="center"><strong>Credits</strong></td>
<td align="center" width="6%" class="subtable"><strong>Koop</strong></td>
</tr>
<form method="POST">
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/star_big.gif' alt='15 dagen betaald account' border='0'></td>
<td class="subtable">
15 dagen betaald account
</td>
<td class="subtable">8 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 8){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="1"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/star_big.gif' alt='30 dagen betaald account' border='0'></td>
<td class="subtable">
30 dagen betaald account
</td>
<td class="subtable">15 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 15){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="2"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/money.gif' alt='Extra geld: € 2.000.000' border='0'></td>
<td class="subtable">
Extra geld: € 2.000.000 </td>
<td class="subtable">8 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 8){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="3"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/money.gif' alt='Extra geld: € 4.000.000' border='0'></td>
<td class="subtable">
Extra geld: € 4.000.000 </td>
<td class="subtable">15 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 15){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="4"><?}?>
<?if($data->bankstandard < 75){?> </td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/money.gif' alt='Onbeperkt storten bij de bank' border='0'></td>
<td class="subtable">
Onbeperkt storten bij de bank </td>
<td class="subtable">5 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 5){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="5"><?}?>
<? } ?> </td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/money.gif' alt='15 dagen lang 10% rente' border='0'></td>
<td class="subtable">
15 dagen lang 10% rente </td>
<td class="subtable">7 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 7){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="6"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/shield.gif' alt='24 uur bescherming' border='0'></td>
<td class="subtable">
24 uur bescherming </td>
<td class="subtable">9 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 9){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="7"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/shield.gif' alt='48 uur bescherming' border='0'></td>
<td class="subtable">
48 uur bescherming </td>
<td class="subtable">13 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 13){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="8"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/shield.gif' alt='Verwijder bescherming' border='0'></td>
<td class="subtable">
Verwijder bescherming </td>
<td class="subtable">8 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 8){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="acht"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/shield.gif' alt='€ 200.000, 12 uur bescherming en 2.000 power' border='0'></td>
<td class="subtable">
€ 200.000, 12 uur bescherming en 2.000 power </td>
<td class="subtable">8 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 8){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="9"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/lightning.gif' alt='75000 extra power' border='0'></td>
<td class="subtable">
150.000 extra power </td>
<td class="subtable">15 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 15){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="10"><?}?>
</td>
<?if($data->health < 100){?> </tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/heart.gif' alt='Volledige gezondheid (100%)' border='0'></td>
<td class="subtable">
Volledige gezondheid (100%) </td>
<td class="subtable">17 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 17){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="11"><?}?>
<? } ?> </td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/delete.gif' alt='Secret Link Cleaner' border='0'></td>
<td class="subtable">
Secret Link Cleaner </td>
<td class="subtable">7 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 7){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="12"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/brick.gif' alt='Maarliefst 150 attack coins' border='0'></td>
<td class="subtable">
Maarliefst 150 attack coins </td>
<td class="subtable">7 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 7){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="13"><?}?>
</td>
<?if($data->max < 1){?> </tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/status_offline.gif' alt='Extra account' border='0'></td>
<td class="subtable">
Extra account
</td>
<td class="subtable">15 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 15){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="14"><?}?>
<? } ?>
</td> </td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/coins.gif' alt='20 kilo goud' border='0'></td>
<td class="subtable">
150 kilo goud
</td>
<td class="subtable">15 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 15){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="17"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/coins.gif' alt='50 kilo goud' border='0'></td>
<td class="subtable">
300 kilo goud
</td>
<td class="subtable">30 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 30){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="18"><?}?>
<?if($data->vipdays > 100){?>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='' alt='' border='0'></td>
<td class="subtable">
<center><B><font color=#FF6600> Super-VIP</a></B></center>
</td>
<td class="subtable"><center>Credits</center></td>
<td align="center" width="6%" class="subtable"> koop
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/star_big.gif' alt='30 dagen betaald account' border='0'></td>
<td class="subtable">
30 dagen betaald account
</td>
<td class="subtable">13 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 13){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="VIP1"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/money.gif' alt='Extra geld €2.000.000' border='0'></td>
<td class="subtable">
Extra geld €2.000.000
</td>
<td class="subtable">7 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 7){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="VIP2"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/shield.gif' alt='24 uur bescherming' border='0'></td>
<td class="subtable">
24 uur bescherming
</td>
<td class="subtable">8 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 8){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="VIP3"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/shield.gif' alt='Misterieus' border='0'></td>
<td class="subtable">
Extra geld €150.000, 6 uur bescherming en 7.500 power
</td>
<td class="subtable">8 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 8){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="VIP4"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/lightning.gif' alt='250.000 extra power' border='0'></td>
<td class="subtable">
250.000 extra power
</td>
<td class="subtable">14 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 14){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="VIP5"><?}?>
</td>
</tr>
<tr class="top">
<td align="center" width="6%" class="subtable"><img width="16" src='images/icons_gif/coins.gif' alt='50 kilo goud' border='0'></td>
<td class="subtable">
250 kilo goud
</td>
<td class="subtable">25 Credits</td>
<td align="center" width="6%" class="subtable">
<?if($data->callcredits < 25){?>
<font class="callshop_kopen_no"> Kopen </font>
<?}else{?> <input type="submit" class="mod_submit" value=" Kopen " name="VIP6"><?}?>
<? } ?> </td>
</tr>
</td>
</table>
</form>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<?if($_GET['p'] == shop){
?>
<script language="javascript">
handleTabs('shop');
</script>
<?}
if(isset($_POST['amount'])){
} else if($_GET['action'] == "check"){
?>
<script language="javascript">
handleTabs('bel');
</script>
<?
}
else if($_GET['p'] != shop){
?>
<script language="javascript">
handleTabs('buy');
</script>
<?}?>
</td></tr></table>
</div>
<table width='100%' cellspacing='2' cellpadding='2'>
<tr>
<td class='content_bottom'></td>
</tr>
</table>
<script language="javascript">
setTimeout("do_nl()",10000);
setTimeout("do_be()",11000);
function do_nl(){
new Ajax.PeriodicalUpdater('ajax_targetpay', '$sitelink/v3//ajax/targetpay.php?code=615158&country=NL',
{
method: 'get',
frequency: 2,
decay: 1,
onSuccess: function(transport){
var response = transport.responseText.split("|");
if(response[0] == "NL_OK"){
document.location.href = 'index.php?a=mod_credit_shop_new&f=done_nl&credits='+response[1];
}
}
}
);
}
function do_be(){
new Ajax.PeriodicalUpdater('ajax_targetpay', '$sitelink/v3//ajax/targetpay.php?code=615083&country=BE',
{
method: 'get',
frequency: 2,
decay: 1,
onSuccess: function(transport){
var response = transport.responseText.split("|");
if(response[0] == "BE_OK"){
document.location.href = 'index.php?a=mod_credit_shop_new&f=done_be&credits='+response[1];
}
}
}
);
}
</script> </div>
</td>
</tr>
</table>
</td>
]
Toon Meer