Jump to content
MakeWebGames

Ghetto

Members
  • Posts

    413
  • Joined

  • Last visited

    Never

Everything posted by Ghetto

  1. Re: Guess the next poster Yep Welcom back younggold :-P younggold next
  2. Re: Counting (nr game) 1744
  3. Ghetto

    WWI

    Re: WWI Germany-28 Great Britan-70 :lol: My country isn't on the list eather :-P
  4. Ghetto

    WWI

    Re: WWI Germany-28 Great Britan-70 Course i want to win. Who dosent :-P :lol:
  5. Ghetto

    WWI

    Re: WWI Germany-28 Great Britan-70 Anyway i thought you where going to quit when there was two left lol :wink:
  6. Re: Mass Mail error Add it under: $db->query("INSERT INTO mail VALUES('', 0, 0, {$r['userid']}, unix_timestamp(),'$subj','{$_POST['text']}')"); print "Mass mail sent to {$r['username']}. ";
  7. Ghetto

    WWI

    Re: WWI Germany-28 Great Britan-70 Well maybe they both will loose then :-P
  8. Re: [mccode]Set Admin[mccode]   "ID 1 Is Now Admin"   Should be:   echo "ID 1 Is Now Admin";   And also: print "<h3>Quick Admin Tool</h3>"   Should be: print "<h3>Quick Admin Tool</h3>";
  9. Re: Need Help Badly   thats wrong nice try tho try this   <?php include "globals.php"; global $c; $db->query("UPDATE businesses SET bDAYSOLD=bDAYSOLD+1"); $db->query("UPDATE users SET dib=dib+1 WHERE business >0"); $rra=$db->query("SELECT * FROM businesses"); while($r=$db->fetch_row($rra)) { $profitgt=$r['bPOPULATION']*1; $db->query("UPDATE businesses SET bPROFIT=bPROFIT+$profitgt WHERE bID={$r['bID']}"); } $xd=include "$db->query("SELECT * FROM businesses WHERE bPOPULATION<0); while($p=$db->fetch_row($xd)) { $db->query("UPDATE users SET business=0 WHERE business={$p['bID']}"); } $db->query("DELETE FROM businesses WHERE bPOPULATION<0"); ?>   Nice try but the script only includes mysql.php so you don't need to include the globals.php Try this: <?php include "config.php"; global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $set=array(); $settq=$db->query("SELECT * FROM settings"); while($r=$db->fetch_row($settq)) { $set[$r['conf_name']]=$r['conf_value']; } $db->query("UPDATE businesses SET bDAYSOLD=bDAYSOLD+1"); $db->query("UPDATE users SET dib=dib+1 WHERE business >0"); $rra=$db->query("SELECT * FROM businesses"); while($r=$db->fetch_row($rra)) { $profitgt=$r['bPOPULATION']*1; $db->query("UPDATE businesses SET bPROFIT=bPROFIT+$profitgt WHERE bID={$r['bID']}"); } $xd=include "$db->query("SELECT * FROM businesses WHERE bPOPULATION<0); while($p=$db->fetch_row($xd)) { $db->query("UPDATE users SET business=0 WHERE business={$p['bID']}"); } $db->query("DELETE FROM businesses WHERE bPOPULATION<0"); ?>   And obviously use you cron code to use it.
  10. Re: annoucement error Not necessarily, If the massmailer function doesn't have a mail add it cont update the users to have a new mail. Just add: $db->query("UPDATE users SET new_mail=new_mail+1 WHERE userid={$r['userid']}");   Into the mass mailer function.
  11. Ghetto

    WWI

    Re: WWI Germany-28 Great Britan-70   It will if people go for germany :-P lol
  12. Ghetto

    WWI

    Re: WWI Germany-29 Great Britan-70
  13. Ghetto

    WWI

    Re: WWI Germany-27 Russia-0 Great Britan-72 Well we should put the extra one on Great Britan then :-P
  14. Ghetto

    WWI

    Re: WWI Germany-26 Russia-2 Great Britan-71
  15. Re: throw an object at the top poster * Comes up behind redeye and pushes him in his pee, as me being the hitman he hired :evil:.
  16. Re: 3 Word Game When he has
  17. Re: Counting (nr game) 1742
  18. Ghetto

    WWI

    Re: WWI Germany-25 Russia-4 Great Britan-70
  19. Ghetto

    WWI

    Re: WWI Germany-24 Russia-6 Great Britan-69
  20. Ghetto

    WWI

    Re: WWI Germany-22 Russia-10 Great Britan-67
  21. Re: Guess the next poster Yep Redeye
  22. Re: Counting (nr game) 1740
  23. Re: Guess the next poster Yep Redeye
  24. Ghetto

    WWI

    Re: WWI Germany-21 Russia-14 Great Britan-64
  25. Re: Guess the next poster Nope Redeye
×
×
  • Create New...