Winkel
- Wapens 
Bescherming
wapens+$_POST['a1']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { if($_POST['a1'] == 1) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "
Je hebt 1 desert eagle gekocht.
\n"; } else{ mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "
Je hebt {$_POST['a1']} desert eagle's gekocht.
\n"; } } else { print "
Je hebt niet genoeg geld
\n"; } } if(isset($_POST['2']) && preg_match('/^[0-9]+$/',$_POST['a2']) AND $_POST['a2'] != -9e9) { $guns = $_POST['a2']; $power = round($_POST['a2']*50); $prijs = round($_POST['a2']*6000); $aantal = round($data->wapens+$_POST['a2']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { if($_POST['a2'] == 1) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "
Je hebt 1 uzi gekocht.
\n"; } else{ mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "
Je hebt {$_POST['a2']} uzi's gekocht.
\n"; } } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['3']) && preg_match('/^[0-9]+$/',$_POST['a3']) AND $_POST['a3'] != -9e9) { $guns = $_POST['a3']; $power = round($_POST['a3']*100); $prijs = round($_POST['a3']*10000); $aantal = round($data->wapens+$_POST['a3']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { if($_POST['a3'] == 1) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "
Je hebt 1 mp5k gekocht.
\n"; } else{ mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "
Je hebt {$_POST['a3']} mp5k's gekocht.
\n"; } } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['4']) && preg_match('/^[0-9]+$/',$_POST['a4']) AND $_POST['a4'] != -9e9) { $guns = $_POST['a4']; $power = round($_POST['a4']*200); $prijs = round($_POST['a4']*15000); $aantal = round($data->wapens+$_POST['a4']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { if($_POST['a4'] == 1) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "
Je hebt 1 shotgun gekocht.
\n"; } else{ mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "
Je hebt {$_POST['a4']} shotgun's gekocht.
\n"; } } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['5']) && preg_match('/^[0-9]+$/',$_POST['a5']) AND $_POST['a5'] != -9e9) { $guns = $_POST['a5']; $power = round($_POST['a5']*280); $prijs = round($_POST['a5']*22000); $aantal = round($data->wapens+$_POST['a5']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a5']} g36c's gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['6']) && preg_match('/^[0-9]+$/',$_POST['a6']) AND $_POST['a6'] != -9e9) { $guns = $_POST['a6']; $power = round($_POST['a6']*350); $prijs = round($_POST['a6']*27500); $aantal = round($data->wapens+$_POST['a6']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a6']} sig 552's gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['7']) && preg_match('/^[0-9]+$/',$_POST['a7']) AND $_POST['a7'] != -9e9) { $guns = $_POST['a7']; $power = round($_POST['a7']*410); $prijs = round($_POST['a7']*32000); $aantal = round($data->wapens+$_POST['a7']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a7']} ak47's gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['8']) && preg_match('/^[0-9]+$/',$_POST['a8']) AND $_POST['a8'] != -9e9) { $guns = $_POST['a8']; $power = round($_POST['a8']*500); $prijs = round($_POST['a8']*36000); $aantal = round($data->wapens+$_POST['a8']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a8']} m4a1's gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['9']) && preg_match('/^[0-9]+$/',$_POST['a9']) AND $_POST['a9'] != -9e9) { $guns = $_POST['a9']; $power = round($_POST['a9']*600); $prijs = round($_POST['a9']*40000); $aantal = round($data->wapens+$_POST['a9']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a9']} ak beta's gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['10']) && preg_match('/^[0-9]+$/',$_POST['a10']) AND $_POST['10'] != -9e9) { $guns = $_POST['a10']; $power = round($_POST['a10']*700); $prijs = round($_POST['a10']*45000); $aantal = round($data->wapens+$_POST['a10']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a10']} scherpschut geweren gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['11']) && preg_match('/^[0-9]+$/',$_POST['a11']) AND $_POST['a11'] != -9e9) { $guns = $_POST['a11']; $power = round($_POST['a11']*820); $prijs = round($_POST['a11']*50000); $aantal = round($data->wapens+$_POST['a11']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power,`m4`=`m4`+'$aantal' WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a11']} m4's gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['12']) && preg_match('/^[0-9]+$/',$_POST['a12']) AND $_POST['a12'] != -9e9) { $guns = $_POST['a12']; $power = round($_POST['a12']*950); $prijs = round($_POST['a12']*55000); $aantal = round($data->wapens+$_POST['a12']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a12']} m82a1's gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['13']) && preg_match('/^[0-9]+$/',$_POST['a13']) AND $_POST['a13'] != -9e9) { $guns = $_POST['a13']; $power = round($_POST['a13']*1050); $prijs = round($_POST['a13']*60000); $aantal = round($data->wapens+$_POST['a13']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a13']} granaat lanceerders gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['14']) && preg_match('/^[0-9]+$/',$_POST['a14']) AND $_POST['a14'] != -9e9) { $guns = $_POST['a14']; $power = round($_POST['a14']*1250); $prijs = round($_POST['a14']*70000); $aantal = round($data->wapens+$_POST['a14']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a14']} m3m .50cal's gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['15']) && preg_match('/^[0-9]+$/',$_POST['a15']) AND $_POST['a15'] != -9e9) { $guns = $_POST['a15']; $power = round($_POST['a15']*1550); $prijs = round($_POST['a15']*80000); $aantal = round($data->wapens+$_POST['a15']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a15']} bazooka's gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['16']) && preg_match('/^[0-9]+$/',$_POST['a16']) AND $_POST['a16'] != -9e9) { $guns = $_POST['a16']; $power = round($_POST['a16']*1800); $prijs = round($_POST['a16']*90000); $aantal = round($data->wapens+$_POST['a16']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a16']} miniguns gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['17']) && preg_match('/^[0-9]+$/',$_POST['a17']) AND $_POST['a17'] != -9e9) { $guns = $_POST['a17']; $power = round($_POST['a17']*180); $prijs = round($_POST['a17']*80000); $aantal = round($data->wapens+$_POST['a17']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { if($_POST['a17'] == 1) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power,`Dynamite`=`Dynamite`+'$aantal' WHERE `login`='{$data->login}'"); print "
Je hebt 1 dynamiet staaf gekocht.
\n"; } else{ mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power,`Dynamite`=`Dynamite`+'$aantal' WHERE `login`='{$data->login}'"); print "
Je hebt {$_POST['a17']} dynamiet staven gekocht.
\n"; } } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['18']) && preg_match('/^[0-9]+$/',$_POST['a18']) AND $_POST['a18'] != -9e9) { $guns = $_POST['a18']; $power = round($_POST['a18']*50); $prijs = round($_POST['a18']*200000); $aantal = round($data->wapens+$_POST['a18']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { if($_POST['a18'] == 1) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power,`vlammenwerper`=`vlammenwerper`+'$aantal' WHERE `login`='{$data->login}'"); print "
Je hebt 1 vlammenwerper gekocht.
\n"; } else{ mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power,`vlammenwerper`=`vlammenwerper`+'$aantal' WHERE `login`='{$data->login}'"); print "
Je hebt {$_POST['a18']} vlammenwerpers gekocht.
\n"; } } else { print "Je hebt niet genoeg geld.\n"; } } print <<
Desert Eagle Uzi MP5k
Attack: 35 Attack: 50 Attack: 100
Defence: 35 Defence: 50 Defence: 100
Prijs: €4.000 Prijs: €6.000 Prijs: €10.000
Shotgun G36C SIG 550
Attack: 200 Attack: 280 Attack: 350
Defence: 200 Defence: 280 Defence: 350
Prijs: €15.000 Prijs: €22.000 Prijs: €27.500
Ak47 M4a1 Ak Beta
Attack: 410 Attack: 500 Attack: 600
Defence: 410 Defence: 500 Defence: 600
Prijs: €32.000 Prijs: €36.000 Prijs: €40.000
Scherpschut Geweer M4 M82a1
Attack: 700 Attack: 820 Attack: 950
Defence: 700 Defence: 820 Defence: 950
Prijs: €45.000 Prijs: €50.000 Prijs: €55.000
Granaat Lanceerder M3M .50 Cal Bazooka
Attack: 1050 Attack: 1250 Attack: 1550
Defence: 1050 Defence: 1250 Defence: 1550
Prijs: €60.000 Prijs: €70.000 Prijs: €80.000
Minigun Dynamiet Vlammenwerper
Attack: 1800 Attack: 180 Attack: 50
Defence: 1800 Defence: 180 Defence: 50
Prijs: €90.000 Prijs: €80.000 Prijs: €200.000
ENDHTML; } elseif($_GET['b'] == 2) { if(isset($_POST['1']) && preg_match('/^[0-9]+$/',$_POST['a1']) AND $_POST['a1'] != -9e9) { $guns = $_POST['a1']; $power = round($_POST['a1']*100); $prijs = round($_POST['a1']*7500); $aantal = round($data->bescherming+$_POST['a1']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a1']} kogelvrije vesten gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } if(isset($_POST['2']) && preg_match('/^[0-9]+$/',$_POST['a2']) AND $_POST['a2'] != -9e9) { $guns = $_POST['a2']; $power = round($_POST['a2']*200); $prijs = round($_POST['a2']*15000); $aantal = round($data->bescherming+$_POST['a2']); $type1 = array("","gangsters","terroristen","agenten"); $type = $type1[$data->type]; if($prijs <= $data->cash) { mysql_query("UPDATE `[users]` SET `cash`=`cash`-$prijs,`attack`=`attack`+$power,`defence`=`defence`+$power WHERE `login`='{$data->login}'"); print "Je hebt {$_POST['a2']} bodyguard's gekocht.
\n"; } else { print "Je hebt niet genoeg geld.\n"; } } print <<
Kogelvrij vest
Attack: 75
Defence: 150
Prijs: €7.500
 
Bodyguard
Attack: 150
Defence: 300
Prijs: €15.000
ENDHTML; } ?>