Jump to content
MakeWebGames

daveaite

Members
  • Posts

    311
  • Joined

  • Last visited

    Never
  • Days Won

    1

Everything posted by daveaite

  1. Re: Money Cap Can't find anything. Can't you just tell me?
  2. Re: Money Cap I changed money to bigint(25) and when I give myself like 1,000,000,000,000,000 It stil says 2.147bil.
  3. Re: Money Cap   Way to get your post count up. And thanks.
  4. How do I change the cap on money? It's stuck at 2. sommat billion. And I want to change it.
  5. Re: Christmas Gift [V2] ( Abit Late :P )   Excuses, excuses!
  6. Re: One Big Code! require "globals.php"
  7. Re: Counting (nr game) 1875
  8. Re: Counting (nr game) 1872
  9. Re: Mccodes Mods :/ Doesnt this post belong in either free game modifications, modification request or paid modifications. Its not really rocket science to work that out.
  10. Re: Xbox Live Xbox Live is immense and I love it but the only system that will never go out of fashion is the PC
  11. Re: new login.php Text area for game description would be a start wouldnt it?
  12. Re: 3 Word Game great big brothel
  13. Re: Counting (nr game) Come on lets keep going. 1870
  14. Re: Donator Day Send [V2] Yeah, will do. I'm on PSP at the moment and I cant get to it. But when I get back on laptop ill do it for sure.
  15. Re: Donator Day Send [V2]   I haven't seen another send donator days. I've only seen donator day markets.
  16. Re: Donator Day Send [V2] That didn't really help.
  17. Make a file called ddaysend.php and add in there. <?php include "globals.php"; $_GET['ID'] = abs((int) $_GET['ID']); $_POST['donatordays'] = abs((int) $_POST['donatordays']); if(!((int)$_GET['ID'])) { print "Invalid User ID"; } else if($_GET['ID'] == $userid) { print "Haha, what does sending donator days to yourself do anyway?"; } else { if((int) $_POST['donatordays']) { if($_POST['donatordays'] > $ir['donatordays']) { print "Die j00 abuser."; } else { $db->query("UPDATE users SET donatordays=donatordays-{$_POST['donatordays']} WHERE userid=$userid"); $db->query("UPDATE users SET donatordays=donatordays+{$_POST['donatordays']} WHERE userid={$_GET['ID']}"); print "You sent {$_POST['donatordays']} donator day(s) to ID {$_GET['ID']}."; event_add($_GET['ID'],"You received {$_POST['donatordays']} donator day(s) from {$ir['username']}.",$c); $it=$db->query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid={$_GET['ID']}"); $er=$db->fetch_row($it); $db->query("INSERT INTO cashxferlogs VALUES ('', $userid, {$_GET['ID']}, {$_POST['money']}, unix_timestamp(), '{$ir['lastip']}', '{$er['lastip']}')"); } } else { print "<h3> Sending Donator Days</h3> You are sending donator days to ID: [b]{$_GET['ID']}[/b]. You have [b]".number_format($ir['donatordays'])."[/b] you can send. <form action='ddaysend.php?ID={$_GET['ID']}' method='post'> Amnt: <input type='text' name='donatordays' /> <input type='submit' value='Send' /></form>"; print "<h3>Latest 5 Transfers</h3> <table width=75% border=2> <tr style='background:gray'> <th>Time</th> <th>User From</th> <th>User To</th> <th>Amount</th> </tr>"; $q=$db->query("SELECT cx.*,u1.username as sender, u2.username as sent FROM cashxferlogs cx LEFT JOIN users u1 ON cx.cxFROM=u1.userid LEFT JOIN users u2 ON cx.cxTO=u2.userid WHERE cx.cxFROM=$userid ORDER BY cx.cxTIME DESC LIMIT 5"); while($r=$db->fetch_row($q)) { if($r['cxFROMIP'] == $r['cxTOIP']) { $m="<span style='color:red;font-weight:800'>MULTI</span>"; } else { $m=""; } print "<tr> <td>" . date("F j, Y, g:i:s a",$r['cxTIME']) . "</td><td>{$r['sender']} [{$r['cxFROM']}] </td><td>{$r['sent']} [{$r['cxTO']}] </td> <td> \${$r['cxAMOUNT']}</td> </tr>"; } print "</table>"; } } $h->endpage(); ?>   It says it'll add into cash xfer logs but it doesn't anyway.
×
×
  • Create New...