Jump to content
MakeWebGames

tittlemouse

Members
  • Posts

    303
  • Joined

  • Last visited

    Never

Everything posted by tittlemouse

  1. Re: Counting (nr game) this should stregihten it out 1051/2
  2. Re: donator day market for v2 free thanks lol.
  3. Re: donator day market for v2 free thanks. im doing donator citys and donator crimes and donator shops at the moment.
  4. Re: Counting (nr game) 1048 we should actually be on 1049
  5. Re: How to hack windows pinball, and any other games (with pics) cheat on football manager lol. get infinate money,
  6. Re: Counting (nr game) 1045 u took my number deathstar lol
  7. Re: How to hack windows pinball, and any other games (with pics) u could hack online games like edit ur user level lol.
  8. here it is a donator day market dday.php <?php include "globals.php"; print "Donator Day Market"; switch($_GET['action']) { case "buy": dday_buy(); break; case "remove": dday_remove(); break; case "add": dday_add(); break; default: dday_index(); break; } function dday_index() { global $db,$ir,$c,$userid,$h; print "[url='dday.php?action=add']> Add A Listing[/url] Viewing all listings... </pre> <table width="75%" cellspacing="1">Adder Qty Price each Price total Links [url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}] {$r['cmQTY']} \$" . number_format($each)." \$".number_format($r['cmPRICE'])." [$link] </table>";<br>}<br>function dday_remove()<br>{<br>global $db,$ir,$c,$userid,$h;<br>$q=$db->query("SELECT * FROM donatormarket WHERE cmID={$_GET['ID']} AND cmADDER=$userid");<br>if(!$db->num_rows($q))<br>{<br>print "Error, either these days do not exist, or you are not the owner.<br><br>[url='cmarket.php']> Back[/url]";<br>$h->endpage();<br>exit;<br>}<br>$r=$db->fetch_row($q);<br>$db->query("UPDATE users SET donatordays=donatordays+{$r['cmQTY']} where userid=$userid");<br>$db->query("DELETE FROM donatormarket WHERE cmID={$_GET['ID']}");<br>print "days removed from market!<br><br>[url='cmarket.php']> Back[/url]";<br>}<br>function dday_buy()<br>{<br>global $db,$ir,$c,$userid,$h;<br>$q=$db->query("SELECT * FROM donatormarket cm WHERE cmID={$_GET['ID']}");<br>if(!$db->num_rows($q))<br>{<br>print "Error, either these days do not exist, or they have already been bought.<br><br>[url='dday.php']> Back[/url]";<br>$h->endpage();<br>exit;<br>}<br>$r=$db->fetch_row($q);<br>if($r['cmPRICE'] > $ir['money'])<br>{<br>print "Error, you do not have the funds to buy these days.<br><br>[url='dday.php']> Back[/url]";<br>$h->endpage();<br>exit;<br>}<br>$db->query("UPDATE users SET donatordays=donatordays+{$r['cmQTY']} where userid=$userid");<br>$db->query("DELETE FROM donatormarket WHERE cmID={$_GET['ID']}");<br>$db->query("UPDATE users SET money=money-{$r['cmPRICE']} where userid=$userid");<br>$db->query("UPDATE users SET money=money+{$r['cmPRICE']} where userid={$r['cmADDER']}");<br>event_add($r['cmADDER'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] bought your {$r['cmQTY']} days from the market for \$".number_format($r['cmPRICE']).".",$c);<br>print "You bought the {$r['cmQTY']} days from the market for \$".number_format($r['cmPRICE']).".";<br><br>}<br>function dday_add()<br>{<br>global $db,$ir,$c,$userid,$h;<br>$_POST['amnt'] = abs((int) $_POST['amnt']);<br>$_POST['price'] = abs((int) $_POST['price']);<br>if($_POST['amnt'])<br>{<br>if($_POST['amnt'] > $ir['donatordays'])<br>{<br>die ("You are trying to add more days to the market than you have.");<br>}<br>$tp=$_POST['amnt']*$_POST['price'];<br>$db->query("INSERT INTO donatormarket VALUES('',{$_POST['amnt']},$userid,$tp)");<br>$db->query("UPDATE users SET donatordays=donatordays-{$_POST['amnt']} WHERE userid=$userid");<br>print "days added to market!<br><br>[url='dday.php']> Back[/url]";<br>}<br>else<br>{<br>print "[b]Adding a listing...[/b]<br><br><br>You have [b]{$ir['donatordays']}[/b] day(s) that you can add to the market.<table width="50%" border="2">Days: Price Each: </table>";<br>}<br>}<br>$h->endpage();<br   database data -- -------------------------------------------------------- -- -- Table structure for table `donatormarket` -- CREATE TABLE `donatormarket` ( `cmID` int(11) NOT NULL auto_increment, `cmQTY` int(11) NOT NULL default '0', `cmADDER` int(11) NOT NULL default '0', `cmPRICE` int(11) NOT NULL default '0', PRIMARY KEY (`cmID`) ) ENGINE=MyISAM ; -- -------------------------------------------------------- if u have used this mod. delete it and use this 1.
  9. Re: football teams and the england fans didnt lol.
  10. Re: [mccode] Register Page no a page that i can put the images on.
  11. Re: [mccode] Register Page ok lol. i need a screenshots.php script.
  12. Re: [mccode] Register Page i know dat lol. but how do u add dem to ur site. on a screen shots page, if someone could give me a screenshots.php so i can add the pictures.
  13. Re: [mccode] Register Page ok lol and build it around that. how do u get it on the top right.
  14. Re: [mccode] Register Page it is a sweat reg page though. i have got to do a tos now lol. and how do u do screenshots.
  15. Re: [mccode] Register Page has anyone got the login.php for v2. to go with the reg.
  16. Re: Counting (nr game) 1043
  17. Re: football teams the hand of god.
  18. Re: football teams bobby charlton england captain when we won the world cup.
  19. Re: Counting (nr game) 1039
  20. Re: football teams i ment c.ronaldo lol. ronaldiniho has gone rubbish now lol.
  21. Re: football teams what about ronaldo he is amazing.
  22. Re: Counting (nr game) 1037 opps just noticed.
  23. Re: football teams i dont really care about villa,s position i care about the passion instead.
  24. Re: Counting (nr game) 1034
  25. Re: football teams villa are the best and we are getting better better players john carew and we have a good manager o,neil so watch out all teams above us. we will be in a uefa cup spot next season and mabey champions league. the villans are marching on.
×
×
  • Create New...