Jump to content
MakeWebGames

LearningCoder

Members
  • Posts

    211
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by LearningCoder

  1. New partner is expected to write a story line for it, can code whenever we ask/need them too, the new partner needs to have alot of experience.
  2. Micky Ashy is coding most of the game, taking all bugs out, adding security, adding rare custom pages, and we have been partners for a long time. And the timeline is may 23rd to have a working demo, and June 1st to have a ready website.
  3. What you on about advertising on the game? I said they will all be advertising... Edit: @W3Theory || Peter, yeah i get what you mean but these guys have always been trustworthy and we will be putting something on the game which only allows users to post in forums, inbox and so on when they get to a certain level, which should stop spammers.
  4. We have already spoke to over 20 friends each and each of them will be advertising and so on so the game should be up and running with users ASAP.
  5. Only has 30-40 online at a time, and well what would i need then? And hes just the co coder, and because im not the best coder or designer and having someone else on the game can speed up opening time, and can help code pages quicker to get them released.
  6. Hes co coder, and no Illusions we will be paying for hosting, and then when we reach a target we will be buying a VPS.
  7. Title: Gangsters Sanctuary Game abstract: "Gangsters Sanctuary" is a Gangster RPG, running of course inside the browser and will allow player to trade/kill/gamble with/or other players. (Some of the) Unique features: My game will be unique as the base will be TGI and will be made from there, using alot of custom coding/pics and so on. Unique features will be ChopShop, Pimping, and alot more. Technology used: Code will be PHP and Ajax. Current development status: So far I just wrote the specification, designed the layout, designed login/register pages. However all the game rules are explained, as well as the plot. My own skills and tasks in the game: I'm not a great coder, however I'm willing to help with all what I can, beta test, make the quality insurance, as well as the game design, content creation and system administration What I/we are looking for: I really need an expert in coding or Photoshop. And someone who can think up a great story line if the current one is not good enough. Expenses will be covered by: I will pay all the hosting, domain name. If the game gets successful in the first 1-3months with over 1,000 users then we will be buying a server. Current team: Me and Micky Ashy are currently working on this project. Share / gain of the partners: We will split the gain after hosting payed with the following shares: 40% for me as i pay for all hosting and domain and so on, 30% for my current partner(Micky Ashy) and you will get 30%, money will be split monthly.   *Update: Print Screen of the layout will be added over the weekend* Basic Banner for the game, http://imgur.com/UcwVzM6 <-- click the link, then tell me what you think.
  8. So which one would you prefer with mccode and NWE, as ive worked with mccode before, but im not to sure anymore.
  9. I thought McCode was $250 -.- thats what someone told me and i didnt check, the v2.5 is the revamp isnt it? Is it bug less?
  10. So a custom game which has 30+ online spread out over the day is to hard? Ha! Whatever, people sell customs for cheap.
  11. I am looking to buy a mmorpg game that is ready and set up to play, Budget is $50-$200, Userbase needs to have 30+ online a day, Any game engine, i will not be able to buy a mccode game as my max budget is $200, so GRPG,EZRPG or any custom made. please mail me with what you have, thank you.
  12. You need the other page and i have it, which adds it to your account.
  13. theres one like 'money=999999999'; or something for it.
  14. You can use xss attacks on the forums
  15. Ohhh ok is thi on the redux version or the 2.0.3 one? Or both, and i know what you mean lol, i had a game before and i didnt know about exploits and someone took it apart lol :(
  16. Ahhhhh ok, thanks for your help. I might just get the basic v2.0 and then work on taking out all major exploits then, through time work on taking all small ones out.
  17. Ok thank you, does v2 have any exploits or did they get taken out?
  18. Does anyone know of the mods from v2 work with the redux version? As I'm after buying license for redux
  19. Its only big because picture was took on a 23" screen but on a normal sized screen it looks normal. And on the topBar im trying to add a grad to it but it wont work :(
  20. i am trying to get a topbar to work at the top so the money/weapon/rank and also the full top bar will be a black grad, but it wont work for me :(
  21. Its looks better on a smaller screen lol, and one of my mates sent me his home.php but it was buggy so i fixed it up and there it is :D
  22. Hey guys what do you think of this layout i made?
  23. <?php include"mainmenu.php"; ?> <?php if ($_POST['changepass']){ $pass1=strip_tags($_POST['password']); $pass=mysql_real_escape_string($pass1); $newpass1=strip_tags($_POST['newpass']); $newpass=mysql_real_escape_string($newpass1); if ($mypassword == $pass){ mysql_query("UPDATE users SET password='$newpass' WHERE username='$username'"); echo "Your Password has been successfully updated!"; }else{ echo "Incorrect Password!"; } } if ($_POST['editquote']){ $detail1=strip_tags($_POST['content']); $detail=mysql_real_escape_string($detail1); mysql_query("UPDATE users SET quote = '$detail' WHERE username='$username'"); mysql_query("INSERT INTO `logs` ( `id` , `who` , `action` , `date` ) VALUES ('', '$username', 'Edited profile quote!', '$date')"); echo "Your quote has been successfully updated!"; } if ($_POST['changeavatar']){ $avatar2 = $_POST['avatar']; mysql_query("UPDATE users SET avatar = '$avatar2' WHERE username='$username'"); mysql_query("INSERT INTO `logs` ( `id` , `who` , `action` , `date` ) VALUES ('', '$username', 'Edited avatar!', '$date')"); echo "Your avatar has been successfully updated!"; } if ($_POST['lol']){ $kk=htmlentities($_POST['color']); $fuck=mysql_real_escape_string($kk); mysql_query("UPDATE users SET hover = '$fuck' WHERE username='$username'"); mysql_query("INSERT INTO `logs` ( `id` , `who` , `action` , `date` ) VALUES ('', '$username', 'Edited hover colour!', '$date')"); echo "Your colour has been changed"; } if ($_POST['changestatus']){ $status=strip_tags($_POST['status']); $avail=mysql_real_escape_string($status); mysql_query("UPDATE users SET avail = '$status' WHERE username='$username'"); mysql_query("INSERT INTO `logs` ( `id` , `who` , `action` , `date` ) VALUES ('', '$username', 'Updated Status!', '$date')"); echo "Status Updated!"; } ?> <?php if($_POST['banneron']){ mysql_query("UPDATE users SET banner = '1' WHERE username='$username'"); echo "Your banner has been turned on!"; } ?> <?php if ($_POST['showcars']){ if(is_array($_POST['car'])) { $scar = $_POST['car']; mysql_query("UPDATE cars SET profile='0' WHERE owner='$username'"); foreach($scar as $showcar) { mysql_query("UPDATE cars SET profile='1' WHERE id='$showcar' AND owner='$username'"); } } if(is_array($_POST['ccar'])) { $scar = $_POST['ccar']; mysql_query("UPDATE ccars SET profile='0' WHERE owner='$username'"); foreach($scar as $showcar) { mysql_query("UPDATE ccars SET profile='1' WHERE id='$showcar' AND owner='$username'"); } } echo "<b>Profile Updated!</b>"; }//if submit ?> <?php if ($_POST['showupdate']){ mysql_query("UPDATE users SET showbusts='0', showkills='0' WHERE username='$username'"); if($_POST['showbusts']){ mysql_query("UPDATE users SET showbusts='1' WHERE username='$username'"); } if($_POST['showkills']){ mysql_query("UPDATE users SET showkills='1' WHERE username='$username'"); } echo "<b>Profile Updated!</b>"; }//if submit ?> <table cellSpacing=0 cellPadding=0 style="WIDTH: 100%"> <Tbody> <tr> <td class=topleft NOWRAP> </td> <td class=leftbar NOWRAP> </td> <td class=bar NOWRAP> <center>Edit Profile</center> </td> <td class=rightbar NOWRAP> </td> <td class=topright NOWRAP> </td> </tr> </tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 100%"> <Tbody> <tr> <td class=left NOWRAP> </td> <td class=main> <div align="center"> <form action="friends.php" method="post"> <input class="tbox" type="submit" value="Edit Friends"> </form> <form action="viewprofile.php?viewuser=<?php echo "$username"; ?>" method="post"> <input class="tbox" type="submit" value="View Profile"> </form> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=topleft NOWRAP> </td> <td class=leftbar NOWRAP> </td> <td class=bar NOWRAP> <div align="center">Edit Quote</div></td> <td class=rightbar NOWRAP> </td> <td class=topright NOWRAP> </td> </tr> </tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=left NOWRAP> </td> <td class=main> <div align="center"> <form action="" method="post"> <textarea name="content" cols="90"<?php if($activatek == "0"){ ?>disabled="yes"<?php } ?> rows="15" class="tbox"><?php if($activatek == "0"){ ?>You must activate before you can edit this!<?php }else{ ?> <?php echo "$profilequote"; ?><?php } ?> </textarea> <br> <input name="editquote" type="submit"<?php if($activatek == "0"){ ?>disabled="yes"<?php } ?> value="Update Quote!" class="tbox"> </form> <br> </div></td> <td class=right NOWRAP> </td> </tr> </Tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=bottomleft NOWRAP> </td> <td class=bottom NOWRAP> </td> <td class=bottomright NOWRAP> </td> </tr> </tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=bottomleft NOWRAP> </td> <td class=bottom NOWRAP> </td> <td class=bottomright NOWRAP> </td> </tr> </tbody> </table> <br> <br> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=topleft NOWRAP> </td> <td class=leftbar NOWRAP> </td> <td class=bar NOWRAP> <div align="center">Change Password </div></td> <td class=rightbar NOWRAP> </td> <td class=topright NOWRAP> </td> </tr> </tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=left NOWRAP> </td> <td class=main> <div align="center"> <form action="" method="post"> Current Password:<br> <input name="password" type="password"<?php if($activatek == "0"){ ?>disabled="yes"<?php } ?> class="tbox"> <br> New Password:<br> <input name="newpass" type="password"<?php if($activatek == "0"){ ?>disabled="yes"<?php } ?> class="tbox"> <br> <input name="changepass" type="submit"<?php if($activatek == "0"){ ?>disabled="yes"<?php } ?> value="Change" class="tbox"> </form> </div></td> <td class=right NOWRAP> </td> </tr> </Tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=bottomleft NOWRAP> </td> <td class=bottom NOWRAP> </td> <td class=bottomright NOWRAP> </td> </tr> </tbody> </table> <br> <br> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=topleft NOWRAP> </td> <td class=leftbar NOWRAP> </td> <td class=bar NOWRAP> <div align="center">Change Avatar </div></td> <td class=rightbar NOWRAP> </td> <td class=topright NOWRAP> </td> </tr> </tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=bottomleft NOWRAP> </td> <td class=bottom NOWRAP> </td> <td class=bottomright NOWRAP> </td> </tr> </tbody> </table> <br> <script type="text/javascript" src="jscolor.js"></script> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=topleft NOWRAP> </td> <td class=leftbar NOWRAP> </td> <td class=bar NOWRAP> <div align="center">Change Hover Colour </div></td> <td class=rightbar NOWRAP> </td> <td class=topright NOWRAP> </td> </tr> </tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=left NOWRAP> </td> <td class=main> <div align="center"> <form action="" method="post"> New Colour:<br> <div id="colors" style="display: block;"><input name="color" class="color" style="border-right:1px solid #353535; border-bottom:#626262 1px solid; border-left:#040404 1px solid; border-top:1px solid #191919; color:white; font-family:vixar,tahoma,verdana,arial,helvetica,sans-serif; font-size:10px; font-weight:700; " id="ChangeColor" style="background-color: rgb(61, 133, 85); color: rgb(255, 255, 255);" value="<?php echo $hover ?>" size="10" autocomplete="off" <?php if($activatek == "0"){ ?>disabled="yes"<?php } ?>> <br> <input name="lol" type="submit"<?php if($activatek == "0"){ ?>disabled="yes"<?php } ?> class="tbox" id="lol" value="Change"> </form> </div></td> <td class=right NOWRAP> </td> </tr> </Tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=bottomleft NOWRAP> </td> <td class=bottom NOWRAP> </td> <td class=bottomright NOWRAP> </td> </tr> </tbody> </table> <BR> <br> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=topleft NOWRAP> </td> <td class=leftbar NOWRAP> </td> <td class=bar NOWRAP> <div align="center">Add/Remove Cars From Profile </div></td> <td class=rightbar NOWRAP> </td> <td class=topright NOWRAP> </td> </tr> </tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=left NOWRAP> </td> <td class=main> <div align="center"> <table width="80%" cellspacing="2" cellpadding="1"> <br> <tr> <td class="tab" colspan="1"><div class="CM"></div>Car name<div class="CM"></div></td><td class="tab" colspan="1"><div class="CM"></div>Car damage<div class="CM"></div></td> </tr> <form action='' method='post'> <? $result = mysql_query("SELECT * FROM ccars WHERE owner='".mysql_real_escape_string($username)."' ORDER BY id DESC ") or die(mysql_error()); // keeps getting the next row until there are no more to get while($row = mysql_fetch_array( $result )) { $id = $row['id']; $carname = $row['name']; $sale = $row['sale']; $csp = $row['profile']; $price = number_format($row['price']); $super = $row['super']; ?> <tr> <td width="75%" hight="6" align="left" bgcolor="<?php echo "$tabcolor"; ?>" class="tabA"> <label for="<?php echo $row['id']; ?>"> <input name="ccar[]" type="checkbox" value="<? echo $id; ?>" <?php if($csp==1){ echo "checked=checked"; } ?> > <a href="viewcustomcar.php?carid=<? echo $id; ?>"><?php if($super>=5){ echo "<b><font color=blue>SUPER RARE</font>: </b>"; }else{ echo "<b><font color=red>CUSTOM</font>: </b>"; } ?><?php echo "$carname"; ?></a> </label> </td> <td width="25%" hight="6" align="left" bgcolor="<?php echo "$tabcolor"; ?>" class="tabA"><label> <?php echo "0%"; ?> </label> </td> </tr> <?php }// while loop ?> <? $result = mysql_query("SELECT * FROM cars WHERE owner='".mysql_real_escape_string($username)."' ORDER BY type ASC ") or die(mysql_error()); // keeps getting the next row until there are no more to get while($row = mysql_fetch_array( $result )) { $id = $row['id']; $type = $row['type']; $damage = $row['damage']; $sale = $row['sale']; $csp = $row['profile']; $price = number_format($row['price']); if($type=="1"){$carname = $car_1;} if($type=="2"){$carname = $car_2;} if($type=="3"){$carname = $car_3;} if($type=="4"){$carname = $car_4;} if($type=="5"){$carname = $car_5;} if($type=="6"){$carname = $car_6;} if($type=="7"){$carname = $car_7;} if($type=="8"){$carname = $car_8;} if($type=="9"){$carname = $car_9;} if($type=="10"){$carname = $car_10;} if($type=="11"){$carname = $car_11;} if($type=="12"){$carname = $car_12;} if($type=="13"){$carname = $car_13;} if($type=="14"){$carname = $car_14;} ?> <tr> <td width="75%" hight="6" align="left" bgcolor="<?php echo "$tabcolor"; ?>" class="tabA"> <label for="<?php echo $row['id']; ?>"> <input name="car[]" type="checkbox" value="<? echo $id; ?>" <?php if($csp==1){ echo "checked=checked"; } ?> > <a href="viewcar.php?carid=<? echo $id; ?>"><?php echo $carname; ?></a> </label> </td> <td width="25%" hight="6" align="left" bgcolor="<?php echo "$tabcolor"; ?>" class="tabA"><label> <?php echo $row['damage']."%"; ?> </label> </td> </tr> <?php }// while loop ?> </table> <center> <br><br> <input type='submit' name='showcars' class='tbox'<?php if($activatek == "0"){ ?>disabled="yes"<?php } ?> value='Show On Profile'> </center> </form> </div></td> <td class=right NOWRAP> </td> </tr> </Tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 60%"> <Tbody> <tr> <td class=bottomleft NOWRAP> </td> <td class=bottom NOWRAP> </td> <td class=bottomright NOWRAP> </td> </tr> </tbody> </table> <br> <br> </div> </td> <td class=right NOWRAP> </td> </tr> </Tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 100%"> <Tbody> <tr> <td class=bottomleft NOWRAP> </td> <td class=bottom NOWRAP> </td> <td class=bottomright NOWRAP> </td> </tr> </tbody> </table> <?php include"playerstats.php"; ?>
  24. the bit if users are alive is status='alive' and i dont know how to add it :/ ......     <?php include"mainmenu.php"; ?> <?php if($_POST['invitebg']){ $id=mysql_real_escape_string(strip_tags($_POST['id'])); $invitename=mysql_real_escape_string(strip_tags($_POST['bginame'])); $sql="SELECT * FROM users WHERE username='$invitename' LIMIT 1"; $result=mysql_query($sql); $numresult=mysql_num_rows($result); while($rows=mysql_fetch_array($result)){ // Start looping table row $rankid=mysql_real_escape_string(htmlentities($rows['rankid'])); }//end loop if($rankid<="7"){ echo "Your BodyGuard must be ranked ateast $rank_8!"; }else{ if(strtolower($username)==strtolower($invitename)){ echo "You can not invite your self to be your bodyguard."; }else{ mysql_query("UPDATE BG SET bodyguard='$invitename', status='Pending' WHERE username='$username' AND id='$id'"); echo "You invited $invitename to be your BodyGuard"; }//invite self }//user not ranked high enough }//if submit invite bg ?> <?php if($_POST['deleteinvite']){ $id=mysql_real_escape_string(strip_tags($_POST['id'])); mysql_query("UPDATE BG SET bodyguard='', status='None' WHERE username='$username' AND id='$id'"); echo "You cancelled the invite!"; }//if submit kick member ?> <?php if($_POST['dropbg']){ $id=mysql_real_escape_string(strip_tags($_POST['id'])); mysql_query("UPDATE BG SET bodyguard='', status='None' WHERE username='$username' AND id='$id'"); echo "You dropped your BodyGuard!"; }//if submit kick member ?> <?php if($_POST['accept']){ $id=mysql_real_escape_string(strip_tags($_POST['id'])); $bgnum=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE status='Ready' AND bodyguard='$username'")); if($bgnum >= "1"){ die("You are allready a body guard for someone!"); }else{ mysql_query("UPDATE BG SET status='Ready' WHERE bodyguard='$username' AND id='$id'"); echo "You accepted your BodyGuard invite!"; } }//if submit kick member ?> <?php if($_POST['reject']){ $id=mysql_real_escape_string(strip_tags($_POST['id'])); mysql_query("UPDATE BG SET status='None' WHERE bodyguard='$username' AND id='$id'"); echo "You rejected your BodyGuard invite!"; }//if submit kick member ?> <?php if ($_POST['give'] && strlen($_POST['giveamount'])<7){ $giveto = mysql_real_escape_string(strip_tags($_POST['giveto'])); $giveamount = $_POST['giveamount']; if(strtolower($username)==strtolower($giveto)){ echo"You can not send points to yourself!"; }else{ if (ereg('[^0-9]', $_POST['giveamount'])){ echo "Invalid amount."; }else{ if ($giveamount<=0){ echo "Invalid amount."; }else{ $checkname = mysql_query("SELECT * FROM users WHERE username='$giveto'"); $NameCount = mysql_num_rows($checkname); if ($NameCount < 1){ echo "No such user"; }else{ if($points < $giveamount){ echo"You do not have enough points"; }else{ $sendamount1=number_format($_POST['giveamount']); mysql_query("UPDATE users SET `points`=`points`+'$giveamount' WHERE username='$giveto'"); mysql_query("UPDATE users SET `points`=`points`-'$giveamount' WHERE username='$username'"); mysql_query("INSERT INTO `pointtransfers` ( `id` , `reciever` , `sender` , `amount` ,`place` ) VALUES ('', '$giveto', '$username', '$giveamount', 'bank')"); $sql2="SELECT * FROM iptrack WHERE username='$username' ORDER BY id ASC"; $result2=mysql_query($sql2); while($rows=mysql_fetch_array($result2)){ // Start looping table row $id = $rows['id']; $ip = $rows['ip']; $name = $rows['username']; $select = mysql_query("SELECT * FROM iptrack WHERE ip='$ip' AND username='$name' AND id<'$id'"); $num = mysql_num_rows($select); if($num<="0"){ $sql2="SELECT * FROM iptrack WHERE ip='$ip' ORDER BY id ASC"; $result2=mysql_query($sql2); while($rows=mysql_fetch_array($result2)){ // Start looping table row $id = $rows['id']; $ip = $rows['ip']; $name = $rows['username']; $select = mysql_query("SELECT * FROM iptrack WHERE username='$name' AND id<'$id'"); $num = mysql_num_rows($select); if(strtolower($name)==strtolower($giveto)){ $addippoint="1"; } } } } if($addippoint=="1"){ $newippoints=$ippoints+1; mysql_query("UPDATE users SET ippoints='$newippoints' WHERE username='$username'"); } echo "You sent $sendamount1 points to $giveto"; }//if not enough points }//no such user }//send money less then 1 }//if send amount not numbers }// if send to self }//if submit ?> <?php if($_POST['buy']){ $item=mysql_real_escape_string(strip_tags($_POST['item'])); if($item){ if($item=="1"){ if($points>="50"){ $newpoints=$points-50; mysql_query("UPDATE users SET rankbar='1' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'50' WHERE username='$username'"); echo "You Bought a rank bar!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 1 aka rankbar if($item=="2"){ if($points>="150"){ $newpoints=$points-150; $newbullets=$bullets+3500; mysql_query("UPDATE users SET bullets='$newbullets' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'150' WHERE username='$username'"); echo "You Bought 3,500 Bullets!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 2 aka 3500 bullets if($item=="3"){ if($points>="250"){ $newpoints=$points-250; $newbullets=$bullets+8000; mysql_query("UPDATE users SET bullets='$newbullets' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'250' WHERE username='$username'"); echo "You Bought 8,000 Bullets!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 3 aka 8000 bullets if($item=="157"){ if($points>="150"){ $newpoints=$points-150; mysql_query("UPDATE users SET status='Dead' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); echo "You Commited Suicide!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 157 aka Commit Suicide if($item=="4"){ if($points>="500"){ $newpoints=$points-500; $newbullets=$bullets+25000; mysql_query("UPDATE users SET bullets='$newbullets' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'500' WHERE username='$username'"); echo "You Bought 25,000 Bullets!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 4 aka 25000 bullets if($item=="5"){ if($points>="1"){ $newpoints=$points-1; mysql_query("DELETE FROM jail WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'1' WHERE username='$username'"); echo "You left jail!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 5 aka leave jail if($item=="6"){ if($points>="15"){ $newpoints=$points-15; $newhealth=$health+5; mysql_query("UPDATE users SET health='$newhealth' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'15' WHERE username='$username'"); echo "You Bought 5% health!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 6 aka 5percent health if($item=="7"){ if($points>="30"){ $newpoints=$points-30; $newhealth=$health+15; mysql_query("UPDATE users SET health='$newhealth' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'30' WHERE username='$username'"); echo "You Bought 15% health!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 7 aka 15percent health if($item=="8"){ if($points>="45"){ $newpoints=$points-45; $newhealth=$health+25; mysql_query("UPDATE users SET health='$newhealth' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'45' WHERE username='$username'"); echo "You Bought 25% health!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 8 aka 25percent health if($item=="9"){ if($points>="3"){ $newpoints=$points-3; $time=time()-1; mysql_query("UPDATE times SET gta='$time' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'3' WHERE username='$username'"); echo "Your GTA timer has been reset!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 9 aka reset GTA timer if($item=="10"){ if($points>="3"){ $newpoints=$points-3; $time=time()-1; mysql_query("UPDATE times SET melt='$time' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'3' WHERE username='$username'"); echo "Your Melt timer has been reset!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 10 aka reset melt timer if($item=="11"){ if($points>="150"){ $newpoints=$points-150; $numcheck=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE bodyguard='$username' AND status='Ready'")); if($numcheck>="1"){ die("You can not buy a body guard spot because you are allready a bodyguard for someone!"); } $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='1'")); if($numcheck1=="0"){ mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("INSERT INTO `BG` (`id`, `username`, `bodyguard`, `status`, `slot`) VALUES ('', '$username', '', 'None', '1')"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'150' WHERE username='$username'"); echo "You Bought a BodyGuard spot"; }else{ echo "You allready have a BodyGuard spot 1!"; } }else{ echo "You do not have enough points!"; }//not enough points }//item equels 11 aka bosyguard spot 1 if($item=="12"){ if($points>="225"){ $newpoints=$points-225; $numcheck=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE bodyguard='$username' AND status='Ready'")); if($numcheck>="1"){ die("You can not buy a body guard spot because you are allready a bodyguard for someone!"); } $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='1'")); if($numcheck1=="1"){ $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='2'")); if($numcheck1=="0"){ mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("INSERT INTO `BG` (`id`, `username`, `bodyguard`, `status`, `slot`) VALUES ('', '$username', '', 'None', '2')"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'225' WHERE username='$username'"); echo "You Bought a BodyGuard spot"; }else{ echo "You allready have a BodyGuard spot 2!"; } }else{ echo "You need to buy a bodyguard spot 1 first!"; } }else{ echo "You do not have enough points!"; }//not enough points }//item equels 12 aka bosyguard spot 2 if($item=="13"){ if($points>="350"){ $newpoints=$points-350; $numcheck=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE bodyguard='$username' AND status='Ready'")); if($numcheck>="1"){ die("You can not buy a body guard spot because you are allready a bodyguard for someone!"); } $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='2'")); if($numcheck1=="1"){ $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='3'")); if($numcheck1=="0"){ mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("INSERT INTO `BG` (`id`, `username`, `bodyguard`, `status`, `slot`) VALUES ('', '$username', '', 'None', '3')"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'350' WHERE username='$username'"); echo "You Bought a BodyGuard spot"; }else{ echo "You allready have a BodyGuard spot 3!"; } }else{ echo "You need to buy a bodyguard spot 2 first!"; } }else{ echo "You do not have enough points!"; }//not enough points }//item equels 13 aka bosyguard spot 3 if($item=="14"){ if($points>="400"){ $newpoints=$points-400; $numcheck=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE bodyguard='$username' AND status='Ready'")); if($numcheck>="1"){ die("You can not buy a body guard spot because you are allready a bodyguard for someone!"); } $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='3'")); if($numcheck1=="1"){ $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='4'")); if($numcheck1=="0"){ mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("INSERT INTO `BG` (`id`, `username`, `bodyguard`, `status`, `slot`) VALUES ('', '$username', '', 'None', '4')"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'400' WHERE username='$username'"); echo "You Bought a BodyGuard spot"; }else{ echo "You allready have a BodyGuard spot 4!"; } }else{ echo "You need to buy a bodyguard spot 3 first!"; } }else{ echo "You do not have enough points!"; }//not enough points }//item equels 14 aka bosyguard spot 4 if($item=="15"){ if($points>="500"){ $newpoints=$points-500; $numcheck=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE bodyguard='$username' AND status='Ready'")); if($numcheck>="1"){ die("You can not buy a body guard spot because you are allready a bodyguard for someone!"); } $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='4'")); if($numcheck1=="1"){ $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='5'")); if($numcheck1=="0"){ mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("INSERT INTO `BG` (`id`, `username`, `bodyguard`, `status`, `slot`) VALUES ('', '$username', '', 'None', '5')"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'650' WHERE username='$username'"); echo "You Bought a BodyGuard spot"; }else{ echo "You allready have a BodyGuard spot 5!"; } }else{ echo "You need to buy a bodyguard spot 4 first!"; } }else{ echo "You do not have enough points!"; }//not enough points }//item equels 15 aka bosyguard spot 5 if($item=="16"){ if($points>="15"){ $newpoints=$points-15; $time=time()-1; mysql_query("UPDATE users SET nextshoot='$time' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'15' WHERE username='$username'"); echo "Your Kill timer has been reset!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 16 aka reset shoot timer if($item=="17"){ if($points>="100"){ $newpoints=$points-100; mysql_query("UPDATE users SET `customs`=`customs`+'1' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'100' WHERE username='$username'"); echo "You Bought a custom car spot!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 17 aka custom car spot if($item=="300"){ if($points>="300"){ $newpoints=$points-300; mysql_query("UPDATE users SET `findkiller`=`findkiller`+'1' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'300' WHERE username='$username'"); echo "You can now find the killer!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 300 if($item=="18"){ if($points>="25"){ $newpoints=$points-25; if($specialvest>="1"){ die("You allready have a Light Military Vest."); } mysql_query("UPDATE users SET specialvest='1' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'25' WHERE username='$username'"); echo "You Bought a Light Military Vest!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 18 aka light miletry vest if($item=="19"){ if($points>="50"){ $newpoints=$points-50; if($specialvest<="0"){ die("You need to buy a Light Military Vest first."); } if($specialvest>="2"){ die("You allready have a Medium Military Vest."); } mysql_query("UPDATE users SET specialvest='2' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'50' WHERE username='$username'"); echo "You Bought a Medium Military Vest!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 19 aka Medium miletry vest if($item=="20"){ if($points>="100"){ $newpoints=$points-100; if($specialvest<="1"){ die("You need to buy a Medium Military Vest first."); } if($specialvest>="3"){ die("You allready have a Heavy Military Vest."); } mysql_query("UPDATE users SET specialvest='3' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'100' WHERE username='$username'"); echo "You Bought a Heavy Military Vest!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 20 aka heavy miletry vest if($item=="21"){ if($points>="100"){ $newpoints=$points-100; mysql_query("UPDATE users SET `octimer`='8' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'100' WHERE username='$username'"); echo "Your oc timer has been changed to 8 hours!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 21 aka 8 hours oc time if($item=="22"){ if($points>="3"){ $newpoints=$points-3; mysql_query("UPDATE users SET `repaircar`=`repaircar`+'1' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'3' WHERE username='$username'"); echo "The next car you attempt to repair will be successfull!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 22 aka repair car if($item=="23"){ if($points>="500"){ $newpoints=$points-500; $numcheck=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE bodyguard='$username' AND status='Ready'")); if($numcheck>="1"){ die("You can not buy a body guard spot because you are allready a bodyguard for someone!"); } $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='3'")); if($numcheck1=="1"){ $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND status='Ready' AND slot='4'")); if($numcheck1=="0"){ mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); $bgname=time().rand(10,99); $bgrand=rand(1,3); if($bgrand==1){ $bgrank="$rank_9"; $bgrankpoints = $rank_8_exp+200; $bgrankid=8; }elseif($bgrand==2){ $bgrank="$rank_10"; $bgrankpoints = $rank_9_exp+250; $bgrankid=9; }else{ $bgrank="$rank_13"; $bgrankpoints = $rank_10_exp+250; $bgrankid=10; } mysql_query("DELETE FROM `BG` WHERE username='$username' AND slot='4'"); mysql_query("INSERT INTO `users` (`id`, `username`, `password`, `rank`, `rankpoints`, `rankid`, `robotbg`) VALUES ('', '$bgname', '5(9$fg&*gf6%54)65%', '$bgrank', '$bgrankpoints', '$bgrankid', '1')"); mysql_query("INSERT INTO `BG` (`id`, `username`, `bodyguard`, `status`, `slot`) VALUES ('', '$username', '$bgname', 'Ready', '4')"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'500' WHERE username='$username'"); echo "You Bought a Robot BodyGuard"; }else{ echo "You allready have a BodyGuard spot 4!"; } }else{ echo "You need to buy a bodyguard spot 3 first!"; } }else{ echo "You do not have enough points!"; }//not enough points }//item equels 22 aka robot bosyguard spot 4 if($item=="24"){ if($points>="600"){ $newpoints=$points-600; $numcheck=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE bodyguard='$username' AND status='Ready'")); if($numcheck>="1"){ die("You can not buy a body guard spot because you are allready a bodyguard for someone!"); } $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND slot='4'")); if($numcheck1=="1"){ $numcheck1=mysql_num_rows(mysql_query("SELECT * FROM BG WHERE username='$username' AND status='Ready' AND slot='5'")); if($numcheck1=="0"){ mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); $bgname=time().rand(10,99); $bgrand=rand(1,3); if($bgrand==1){ $bgrank="$rank_10"; $bgrankpoints = $rank_8_exp+200; $bgrankid=8; }elseif($bgrand==2){ $bgrank="$rank_12"; $bgrankpoints = $rank_9_exp+250; $bgrankid=9; }else{ $bgrank="$rank_15"; $bgrankpoints = $rank_10_exp+2550; $bgrankid=10; } mysql_query("DELETE FROM `BG` WHERE username='$username' AND slot='5'"); mysql_query("INSERT INTO `users` (`id`, `username`, `password`, `rank`, `rankpoints`, `rankid`, `robotbg`) VALUES ('', '$bgname', 'trt()Ggf5&$$^fg6£$^hi', '$bgrank', '$bgrankpoints', '$bgrankid', '1')"); mysql_query("INSERT INTO `BG` (`id`, `username`, `bodyguard`, `status`, `slot`) VALUES ('', '$username', '$bgname', 'Ready', '5')"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'700' WHERE username='$username'"); echo "You Bought a Robot BodyGuard"; }else{ echo "You allready have a BodyGuard spot 5!"; } }else{ echo "You need to buy a bodyguard spot 4 first!"; } }else{ echo "You do not have enough points!"; }//not enough points }//item equels 22 aka robot bosyguard spot 5 if($item=="25"){ if($points>="75"){ $newpoints=$points-75; if ($gun1 != $gun_9){ echo "You need to buy a $gun_9 before you can buy this Gun!"; }else{ mysql_query("UPDATE users SET gun='$gun_10', gunid='10', points='$newpoints' WHERE username='$username'"); mysql_query("INSERT INTO `logs` ( `id` , `who` , `action` , `date` ) VALUES ('', '$username', 'Bought a $gun_10', '$date')"); echo "You Bought the gun!"; } }else{ echo "You do not have enough points!"; }//not enough points }//item equels 25 aka gun if($item=="26" && $rankbar<="0"){ if($points>="50"){ $newpoints=$points-50; mysql_query("UPDATE users SET points='$newpoints', rankbar='1' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'50' WHERE username='$username'"); echo "Your Bought a rank bar!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 26 aka rank bar if($item=="27" && $rankbar<="1"){ if($points>="100"){ $newpoints=$points-100; mysql_query("UPDATE users SET points='$newpoints', rankbar='2' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'100' WHERE username='$username'"); echo "Your Bought a rank bar!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 27 aka rank bar if($item=="28" && $rankbar<="1"){ if($points>="350"){ $newpoints=$points-350; mysql_query("UPDATE users SET points='$newpoints', rankbar='2' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'350' WHERE username='$username'"); mysql_query("UPDATE users SET find='1' WHERE username='$username'"); echo "You can now use kill finder once only!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 28 aka Find The Killer if($item=="50"){ if($points>="500"){ $newpoints=$points-500; $newrankpoints=$rankpoints+325; mysql_query("UPDATE users SET rankpoints='$newrankpoints' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'500' WHERE username='$username'"); echo "You Bought 325 Rank Points!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 2 aka 325 Rank Points if($item=="333"){ if($points>="650"){ $newpoints=$points-650; $newcash=$cash+250000000; mysql_query("UPDATE users SET cash='$newcash' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'650' WHERE username='$username'"); echo "You Bought $250,000,000!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 2 aka 250 Million in cash. if($item=="51"){ if($points>="999"){ $newpoints=$points-999; $newrankpoints=$rankpoints+750; mysql_query("UPDATE users SET rankpoints='$newrankpoints' WHERE username='$username'"); mysql_query("UPDATE users SET points='$newpoints' WHERE username='$username'"); mysql_query("UPDATE users SET `pointspent`=`pointspent`+'999' WHERE username='$username'"); echo "You Bought 750 Rank Points!"; }else{ echo "You do not have enough points!"; }//not enough points }//item equels 2 aka 350 Rank Points }//item }//buy subit ?> <table cellSpacing=0 cellPadding=0 style="WIDTH: 100%"> <Tbody> <tr> <td class=topleft NOWRAP> </td> <td class=leftbar NOWRAP> </td> <td class=bar NOWRAP> </td> <td class=rightbar NOWRAP> </td> <td class=topright NOWRAP> </td> </tr> </tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 100%"> <Tbody> <tr> <td class=left NOWRAP> </td> <td class=main> <div align="center"> <a href="PayPal.php">Click Here To Buy Points with PayPal <b><font color="lime">X4</font></b>!</a></font> </div> </td> <td class=right NOWRAP> </td> </tr> </Tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 100%"> <Tbody> <tr> <td class=bottomleft NOWRAP> </td> <td class=bottom NOWRAP> </td> <td class=bottomright NOWRAP> </td> </tr> </tbody> </table> <br> <table cellSpacing=0 cellPadding=0 style="WIDTH: 100%"> <Tbody> <tr> <td class=topleft NOWRAP> </td> <td class=leftbar NOWRAP> </td> <td class=bar NOWRAP> </td> <td class=rightbar NOWRAP> </td> <td class=topright NOWRAP> </td> </tr> </tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 100%"> <Tbody> <tr> <td class=left NOWRAP> </td> <td class=main> <div align="center"> <link REL="stylesheet" TYPE="text/css" HREF="nlstyle.css"> <script type="text/javascript" language="javascript" src="SuspectedGangsters.js"></script> <table cellpadding=0 width="85%" align=center><tr><td> <Br><Br> <table width=100% cellpadding=0 cellspacing=0><tr><td width="55%" valign="top"> <table cellpadding=0 cellspacing=2 width=80%> <form method="post"> <tr><td width=75% bgcolor=<?php echo "$tabcolor"; ?> class=tab NOWRAP colspan=2><font color=silver face=verdana size=1><div class="CM"></div>Item<div class="CM"></div></font></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> class=tab NOWRAP><font color=silver face=verdana size=1><div class="CM"></div>Price<div class="CM"></div> </font></td></tr> <tr> <td bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=157></td> <td bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1><b>Commit Suicide</b></font></td> <td bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>150</font></td> </tr> <tr> <td bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=17></td> <td bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Create Custom Car </font></td> <td bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>100</font></td> </tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=300></td> <td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Find The Killer </font></td> <td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>300</font></td> </tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=18></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Light Military Vest </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>25</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=19></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Medium Military Vest </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>50</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=20></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Heavy Military Vest </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>100</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=21></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Change oc timer to 8 hours </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>100</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=22></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Successfully repair car</font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>3</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=5></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Leave Jail </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>1</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=2></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>3,500 Bullets </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>150</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=3></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>8,000 Bullers </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>250</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=4></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>25,000 Bullets </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>500</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=6></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>5% Health </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>15</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=7></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>15% Health </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>30</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=8></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>25% Health </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>45</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=25></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1><?php echo "$gun_10"; ?> </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>75</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=16></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Reset Kill Timer </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>15</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=9></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Reset GTA Timer </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>3</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=10></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Reset Melt Timer </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>3</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=11></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>BodyGuard spot 1 </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>150</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=12></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>BodyGuard spot 2 </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>225</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=13></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>BodyGuard spot 3 </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>350</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=14></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>BodyGuard spot 4 </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>400</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=23></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=darkgrey face=verdana size=1><b><font color="red">Robot BodyGuard 4</font> </b></font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>600</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=15></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>BodyGuard spot 5 </font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>650</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=24></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=darkgrey face=verdana size=1><b><font color="red">Robot BodyGuard 5</font> </b></font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>700</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=26></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Rank Bar</font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>50</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=27></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>Advanced Rank Bar</font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>100</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=50></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>325 Rank Points</font> <font color="lime"><i>(New)</i></font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>500</font></td></tr> <tr><td width=1% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><input type=radio name=item value=51></td><td width=75% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>750 Rank Points</font> <font color="lime"><i>(New)</i></font></td><td width=25% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP><font color=silver face=verdana size=1>999</font></td></tr> <tr><td width=100% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP colspan=2><font color=silver face=verdana size=1><b>Current points: <?php echo number_format($points); ?></b> </font></td> <td width=100% bgcolor=<?php echo "$tabcolor"; ?> NOWRAP colspan="1"><input type=submit name=buy value="Buy" class="tbox" style="width:100%;"></td></tr> </form> </table> </td><td width="100%" valign="top"> <table width="100%" cellspacing="2" cellpadding="2" style="border-bottom: 0px solid #3D4456; border-left: 0px solid #7885A7; border-right: 0px solid #3D4456; border-top: 0px solid #6F7B9A;"> <tr> <td class="tab" colspan="3"> <div align="center" class="unnamed1"><div class="CM"></div>Last 10 sent:<div class="CM"></div></div> </td> </tr> <?php //desplay data $get = mysql_query("SELECT * FROM pointtransfers WHERE sender='$username'ORDER BY id DESC LIMIT 0 , 10"); while($row = mysql_fetch_assoc($get)) { //get data $reciever = $row['reciever']; $amount = number_format($row['amount']); ?> <tr> <td bgcolor="<?php echo "$tabcolor"; ?>"> <font color="#999999"> You sent <?php echo $amount ?> points to <a href="viewprofile.php?viewuser=<?php echo $reciever ?>"><font color="#999999"><?php echo $reciever ?></font></a>.</font> </td> </tr> <?php } ?> <td class="tab" colspan="3"> <div align="center" class="unnamed1"><div class="CM"></div>Last 10 received:<div class="CM"></div></div> </td> </tr> <?php //desplay data $get = mysql_query("SELECT * FROM pointtransfers WHERE reciever='$username'ORDER BY id DESC LIMIT 0 , 10"); while($row = mysql_fetch_assoc($get)) { //get data $from = $row['sender']; $amount = number_format($row['amount']); ?> <tr> <td bgcolor="<?php echo "$tabcolor"; ?>"> <font color="#999999"> You received <?php echo $amount ?> points from <a href="viewprofile.php?viewuser=<?php echo $from ?>"><font color="#999999"><?php echo $from ?></font></a>.</font> </td> </tr> <?php } ?> </table> <br><br><table width="25%" cellpadding="0" cellspacing="1" align="center"> <tr><td bgcolor=<?php echo "$tabcolor"; ?> class=tab align="center" NOWRAP colspan="2"><font color="silver" size="2" face="verdana"><div class="CM"></div>Send Points<div class="CM"></div></font></td></tr> <form action="" method="post"><tr><td width="100%" bgcolor="<?php echo "$tabcolor"; ?>" NOWRAP><font color="silver" size="1" face="verdana">Username:</font></td><td width="50%" colspan="1"><input type="text" name="giveto" class="tbox"></td></tr> <tr><td width="100%" bgcolor="<?php echo "$tabcolor"; ?>" NOWRAP><font color="silver" size="1" face="verdana">Amount:</font></td><td width="50%" colspan="1"><input type="text" name="giveamount" class="tbox"></td></tr> <tr><td height="15" width="100%" bgcolor="<?php echo "$tabcolor"; ?>" NOWRAP colspan="2"><input height="18" type="submit" value="Send" class="header" name="give" style="width: 100%; height:100%;"></td></tr></form> </table> <br><br> <form method="post" action=""> <table width="100%" cellspacing="2" cellpadding="2" style=" border-bottom: 0px solid #3D4456; border-left: 0px solid #7885A7; border-right: 0px solid #3D4456; border-top: 0px solid #6F7B9A; "> <tr> <td class="tab" colspan="3"><div align="center" class="unnamed1"><div class="CM"></div>Bodyguards:<div class="CM"></div></div></td> </tr> <?php $query=mysql_query("SELECT * FROM BG WHERE username='$username'"); $num=mysql_num_rows($query); if($num<=0){ //not owner of bg spot show invites or whos bg $query=mysql_query("SELECT * FROM BG WHERE bodyguard='$username'"); $num=mysql_num_rows($query); if($num<=0){ echo ""; }else{ $query=mysql_query("SELECT * FROM BG WHERE bodyguard='$username'"); while($row = mysql_fetch_assoc($query)) { //fetch rows of where user equals bodyguard $bgstatus = $row['status']; $bgname = $row['username']; $id = $row['id']; if($bgstatus==Pending){ //show all things with accept tool ?> <form method="post" action=""> <tr> <td bgcolor="<?php echo "$tabcolor"; ?>"> <font color="#999999"> <input type="hidden" name="id" value="<?php echo $id; ?>"><a href="viewprofile.php?viewuser=<?php echo $bgname ?>"><font color="#999999"><?php echo $bgname ?></font></a> Invited you to be his BodyGuard</font> <input type=submit name=accept value="Accept" class="tbox"><input type=submit name=reject value="Reject" class="tbox"> </td> </tr> </form> <?php }else{ ?> <tr> <td bgcolor="<?php echo "$tabcolor"; ?>"> <font color="#999999"> You are a bodyguard of <a href="viewprofile.php?viewuser=<?php echo $bgname ?>"><font color="#999999"><?php echo $bgname ?></font></a>.</font> </td> </tr> <?php }//not accepted }//not invited }//endloop //owner of bg spot show management }else{ $query=mysql_query("SELECT * FROM BG WHERE username='$username' ORDER BY slot ASC"); while($row = mysql_fetch_assoc($query)) { //fetch rows of where user equals bodyguard $bgstatus = $row['status']; $bgname = $row['bodyguard']; $id = $row['id']; if($bgstatus==None){ //show all things with accept tool ?> <form method="post" action=""> <tr> <td bgcolor="<?php echo "$tabcolor"; ?>"> <font color="#999999"> <input type="hidden" name="id" value="<?php echo $id; ?>"><input type="text" class="tbox" name="bginame" value=""> <input type="submit" name="invitebg" value="Invite" class="tbox"> </td> </tr> </form> <?php }else{ if($bgstatus==Pending){ //show all things with accept tool ?> <form method="post" action=""> <tr> <td bgcolor="<?php echo "$tabcolor"; ?>"> <font color="#999999"> <input type="hidden" name="id" value="<?php echo $id; ?>">You invited <a href="viewprofile.php?viewuser=<?php echo $bgname ?>"><font color="#999999"><?php echo $bgname ?></font></a> to be your BodyGuard</font> <input type=submit name=deleteinvite value="Cancel Invite" class="tbox"> </td> </tr> </form> <?php }else{ ?> <form method="post" action=""> <tr> <td bgcolor="<?php echo "$tabcolor"; ?>"> <font color="#999999"> <input type="hidden" name="id" value="<?php echo $id; ?>">You have a bodyguard named <a href="viewprofile.php?viewuser=<?php echo $bgname ?>"><font color="#999999"><?php echo $bgname ?></font></a>.</font> <input type=submit name=dropbg value="Drop" class="tbox"> </td> </tr> </form> <?php }//not accepted }//not invited anyone }//endloop } ?> </table> </td></tr></table> </table> </div> </td> <td class=right NOWRAP> </td> </tr> </Tbody> </table> <table cellSpacing=0 cellPadding=0 style="WIDTH: 100%"> <Tbody> <tr> <td class=bottomleft NOWRAP> </td> <td class=bottom NOWRAP> </td> <td class=bottomright NOWRAP> </td> </tr> </tbody> </table> <?php include"playerstats.php"; ?>
×
×
  • Create New...