Winkel | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- Wapens - Bescherming | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
if($_GET['b'] == 1) {
if(isset($_POST['1']) && preg_match('/^[0-9]+$/',$_POST['a1']) AND $_POST['a1'] != -9e9) {
$guns = $_POST['a1'];
$power = round($_POST['a1']*35);
$prijs = round($_POST['a1']*4000);
$aantal = round($data->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 " \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 "
\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 <<
|