ik heb wel de rechten
Posts by rodeobull
-
-
ik verkoop een verbeterde banditti script
nieuwe layout + opnieuw gescript .voor meer vragen stuur me een pm .
demo is te vinden op
login demo
wachtwoord demo
domeinnaam + hosting niet inbegrepen
-
voor jullie banditi source zou hij inderdaad niet werken
bij mij werkt hij nu wel bedankt voor jullie hulp topic mag dicht
-
is van van de banditi source maar is verbeterd en herschreven
-
nee gaat ook niet van de bank af
-
ik heb een klein foutje in mijn woning
als ik een woning koop gaat er geen geld af van mijn cash
PHP
Toon Meer<?php error_reporting(0); include("_include-config.php"); include("data/names.php"); if(! check_login()) { header("Location: login.php"); exit; } if($_GET['a'] != jail){ $bajes2 = mysql_query("SELECT *,UNIX_TIMESTAMP(`baktijd`) AS `baktijd`,0 FROM `users` WHERE `login`='$data->login'"); $bajes1 = mysql_fetch_object($bajes2); $datijd = $data->gevangenis; $tijdverschil1 = $bajes1->baktijd-3600+$datijd-time(); if($bajes1->baktijd + $datijd > time()){ header("Location: $sitelink/jail.php"); }} ?> <html> <head> <link rel="stylesheet" type="text/css" href="<? echo $sitelink;?>/layout/crimestyle04/css/css.css"></head> <body style="margin: 0px;"> <div class="title_bg"> <div class="title">Property</div> </div> <? ?> <head> </head> <body style="margin: 0px;"> <? $rank = Array("Geen","Caravan","Houten Huis","Luxe Berg Villa","Villa","Boshuis","Luxe Bunker","Luxe Strand Villa","Gangster Paradise","Japanse Villa","Mediteraanse Villa","Pool Paradise","Landgoed","Tropische Villa","Fantasy Home"); $rank = $rank[$data->woning]; ?> <center> <form method="POST"> <table width=50% align="center"> <? $referer = $_SERVER['HTTP_REFERER']; $this_url = "http://".$_SERVER['HTTP_HOST'].$_SERVER["REQUEST_URI"]; if ($_POST & ($referer == $this_url)) { if(isset($_POST['koop'])){ $woning = $_POST['woning']; $rank = Array("Geen","Caravan","Houten Huis","Luxe Berg Villa","Villa","Boshuis","Luxe Bunker","Luxe Strand Villa","Gangster Paradise","Japanse Villa","Mediteraanse Villa","Pool Paradise","Landgoed","Tropische Villa","Fantasy Home"); $rank = $rank[$woning]; $ran = Array("0","10000","30000","50000","90000","100000","150000","200000","250000","300000","400000","500000","700000","900000","1100000"); $contant = $ran[$woning]; if($data->bank < $contant){ echo "<tr><td class=mainTxt colspan=\"4\"><center><font color=red><center>You dont have enough money cash to buy this house!</font></center></TD></tr>"; } else{ mysql_query("UPDATE `users` SET `woning`='$woning' WHERE `login`='$data->login'"); mysql_query("UPDATE `users` SET `cash`=`cash`-'$contant' WHERE `login`='$data->login'"); echo "<tr><td class=mainTxt colspan=\"4\"><center>You have bought a new house!<br><br><img src=\"images/items/$rank.jpg\"></center></TD></tr>"; exit; } } } if($_GET['verkoop'] == ja){ if($data->woning == 0){ echo "<tr><td class=mainTxt colspan=\"4\"><center>You still dont have any properties!</center></TD></tr>"; exit; } else{ $ran = Array("0","10000","30000","50000","90000","100000","150000","200000","250000","300000","400000","500000","700000","900000","1100000"); $bank = $ran[$data->woning]; $contant = $bank/100*75; $ba = number_format($contant,0,",","."); echo "<tr><td class=mainTxt colspan=\"4\"><center>You sold your house for $$ba</center></TD></tr>"; mysql_query("UPDATE `[users]` SET `bank`=`bank`+'$contant',`woning`='0' WHERE `login`='$data->login'"); exit; } } if($data->woning >= 1){ echo "<tr><td class=mainTxt colspan=\"4\"><center>You are living in a $rank<br><br><img src=\"images/items/$rank.jpg\"><br><br><a href=housessell.php><b>Click here to sell your property</b></a></center></TD></tr>"; } elseif($data->woning == 0){ ?> <tr><td class=mainTxt colspan="4">If your sell your house, you get 100% of the purchase price back!</TD></tr> <tr><td class=mainTxt colspan=2 width=50%><img src='images/items/Caravan.jpg'></td><td class=mainTxt colspan=2 width=50%><img src='images/items/Houten Huis.jpg'></td></tr> <tr><td class=mainTxt width=25%><input name=woning type=radio value=1> Trailer</td><td class=mainTxt><b>10.000</b></td><td class=mainTxt width=25%><input name=woning type=radio value=2> Wooden House</td><td class=mainTxt><b>30.000</b></td></tr> <tr><td class=mainTxt colspan=2 width=50%><img src='images/items/Luxe Berg Villa.jpg'></td><td class=mainTxt colspan=2 width=50%><img src='images/items/Villa.jpg'></td></tr> <tr><td class=mainTxt width=25%><input name=woning type=radio value=3> Luxury Mountain Village</td><td class=mainTxt><b>50.000</b></td><td class=mainTxt width=25%><input name=woning type=radio value=4> Village</td><td class=mainTxt><b>90.000</b></td></tr> <tr><td class=mainTxt colspan=2 width=50%><img src='images/items/Boshuis.jpg'></td><td class=mainTxt colspan=2 width=50%><img src='images/items/Luxe Bunker.jpg'></td></tr> <tr><td class=mainTxt width=25%><input name=woning type=radio value=5> Forest House</td><td class=mainTxt><b>100.000</b></td><td class=mainTxt width=25%><input name=woning type=radio value=6> Luxury Bunker</td><td class=mainTxt><b>150.000</b></td></tr> <tr><td class=mainTxt colspan=2 width=50%><img src='images/items/Luxe Strand Villa.jpg'></td><td class=mainTxt colspan=2 width=50%><img src='images/items/Gangster Paradise.jpg'></td></tr> <tr><td class=mainTxt width=25%><input name=woning type=radio value=7> Luxury Beach Village</td><td class=mainTxt><b>200.000</b></td><td class=mainTxt width=25%><input name=woning type=radio value=8> Paradise</td><td class=mainTxt><b>250.000</b></td></tr> <tr><td class=mainTxt colspan=2 width=50%><img src='images/items/Japanse Villa.jpg'></td><td class=mainTxt colspan=2 width=50%><img src='images/items/Mediteraanse Villa.jpg'></td></tr> <tr><td class=mainTxt width=25%><input name=woning type=radio value=9> Japanese Villa</td><td class=mainTxt><b>300.000</b></td><td class=mainTxt width=25%><input name=woning type=radio value=10> Mediterranean Villa</td><td class=mainTxt><b>400.000</b></td></tr> <tr><td class=mainTxt colspan=2 width=50%><img src='images/items/Pool Paradise.jpg'></td><td class=mainTxt colspan=2 width=50%><img src='images/items/Landgoed.jpg'></td></tr> <tr><td class=mainTxt width=25%><input name=woning type=radio value=11> Pool Paradise</td><td class=mainTxt><b>500.000</b></td><td class=mainTxt width=25%><input name=woning type=radio value=12> Country Seat</td><td class=mainTxt><b>700.000</b></td></tr> <tr><td class=mainTxt colspan=2 width=50%><img src='images/items/Tropische Villa.jpg'></td><td class=mainTxt colspan=2 width=50%><img src='images/items/Fantasy Home.jpg'></td></tr> <tr><td class=mainTxt width=25%><input name=woning type=radio value=13> Tropical Villa</td><td class=mainTxt><b>900.000</b></td><td class=mainTxt width=25%><input name=woning type=radio value=14> Fantasy Home</td><td class=mainTxt><b>1.100.000</b></td></tr> <tr> <td colspan="4" class="mainTxt"><div align="center"><input name="koop" type="submit" id="koop" value="Buy your property"></div></td> </tr> <link rel="stylesheet" type="text/css" href="<? echo $sitelink;?>/layout/crimestyle04/css/css.css"><? } ?> </table> </form> </center> </body> </html> <div style="background-color:#dbd2b7; padding:10px; padding-top:4px;"> <table cellpadding="0" cellspacing="0" width="100%"><tr><td> <table width="100%" class="mod_list" cellspacing="2" cellpadding="2"> </table> </td></tr></table> </div> <table width='100%' cellspacing='2' cellpadding='2'> <tr> <td class='content_bottom'></td> </tr> </table> <br> </div> </td> </tr> </table> </td>
-
v4 ziet er goed uit.