belcredits < 0){ echo "
eRRoR
"; exit; } ?>
Koop de Kogel Fabriek
Koop KogelFabriek Kost 200 credits
Huidige Credits: belcredits ?>

aantal x            

$data->belcredits){ print " \n"; exit; } if($data->belcredits < 0){ echo " "; exit; } if($bieden ==0) { print " \n"; exit; } if($bieden > 100) { print " \n"; exit; } if($bieden < 0) { print " \n"; exit; } mysql_query("UPDATE `[buildings]` SET `owner`='$data->login' WHERE `city`='{$data->land}' AND `type`='bulletfactory'"); mysql_query("UPDATE `[buildings]` SET `profit`='500000' WHERE `city`='{$data->land}' AND `type`='bulletfactory'"); mysql_query("UPDATE `[buildings]` SET `amount`='1000' WHERE `city`='{$data->land}' AND `type`='bulletfactory'"); mysql_query("UPDATE `[users]` SET `belcredits`=`belcredits`- '200' where `login`='$data->login'"); print ""; } } ?>
Je hebt niet genoeg credits
eRRoR
Je wel wat kopen!?
Maximaal 100 per keer!
Minimaal 1
Je hebt deze kogelfabriek gekocht.