Jump to content
MakeWebGames

POG1

Members
  • Posts

    1,419
  • Joined

  • Last visited

Everything posted by POG1

  1. Re: Random money amounts (big numbers)   I could be wrong but isn't the limit to an integer 2.1 billion anyway?
  2. Re: Brothel V2 [FREE] Some minor changes 8-)   <?php include("globals.php"); echo '<h1>Brothel</h1>'; #### Prices ##############Bellow is females ok ############Bellow is the males ### $prices = array("##FEMALES##",'500','700','900','400',"##MALES##",'500','600','800','700'); if(is_string($_GET['act']) { $will = abs(intval(rand(1,5)); $cost = abs(@intval($_POST['price'])); mysql_query("UPDATE users SET will=will+".$will.",money=money-".$cost." WHERE userid=".$ir['userid']) or die(mysql_error()); mysql_query("UPDATE users SET will=maxwill WHERE will>maxwill") or die(mysql_error()); echo 'You payed '.$_POST['who'].' '.money_formatter($cost).' to sleep with them, you gain '.$will.'% will.'; $h->endpage(); exit; } else { echo '<h3>Woman:</h3> <table border="1" cellspacing="0" class="table" width="50%"> <tr> <th>Name</th> <th>Price</th> <th>Rent</th> </tr> <tr> <td>Roxy</td> <td>'.money_formatter($prices[1]).'</td> <td><form action="'.$_SERVER['PHP_SELF'].'?act=buy" method="post"><input type="hidden" name="who" value="roxy"><input type="hidden" name="price" value="'.$prices[1].'"><input type="submit" value="Rent"></form></td> </tr> <tr> <td>Kelly</td> <td>'.money_formatter($prices[2]).'</td> <td><form action="'.$_SERVER['PHP_SELF'].'?act=buy" method="post"><input type="hidden" name="who" value="Kelly"><input type="hidden" name="price" value="'.$prices[2].'"><input type="submit" value="Rent"></form></td> </tr> <tr> <td>Shanique</td> <td>'.money_formatter($prices[3]).'</td> <td><form action="'.$_SERVER['PHP_SELF'].'?act=buy" method="post"><input type="hidden" name="who" value="Shanique"><input type="hidden" name="price" value="'.$prices[3].'"><input type="submit" value="Rent"></form></td> </tr> <tr> <td>Rhonda</td> <td>'.money_formatter($prices[4]).'</td> <td><form action="'.$_SERVER['PHP_SELF'].'?act=buy" method="post"><input type="hidden" name="who" value="Rhonda"><input type="hidden" name="price" value="'.$prices[4].'"><input type="submit" value="Rent"></form></td> </tr> </table> <h3>Men:</h3> <table border="1" cellspacing="0" class="table" width="50%"> <tr> <th>Name</th> <th>Price</th> <th>Rent</th> </tr> <tr> <td>Bill</td> <td>'.money_formatter($prices[6]).'</td> <td><form action="'.$_SERVER['PHP_SELF'].'?act=buy" method="post"><input type="hidden" name="who" value="Bill"><input type="hidden" name="price" value="'.$prices[6].'"><input type="submit" value="Rent"></form></td> </tr> <tr> <td>Marcus</td> <td>'.money_formatter($prices[7]).'</td> <td><form action="'.$_SERVER['PHP_SELF'].'?act=buy" method="post"><input type="hidden" name="who" value="Marcus"><input type="hidden" name="price" value="'.$prices[7].'"><input type="submit" value="Rent"></form></td> </tr> <tr> <td>Greg</td> <td>'.money_formatter($prices[8]).'</td> <td><form action="'.$_SERVER['PHP_SELF'].'?act=buy" method="post"><input type="hidden" name="who" value="Greg"><input type="hidden" name="price" value="'.$prices[8].'"><input type="submit" value="Rent"></form></td> </tr> <tr> <td>Sam</td> <td>'.money_formatter($prices[9]).'</td> <td><form action="'.$_SERVER['PHP_SELF'].'?act=buy" method="post"><input type="hidden" name="who" value="Sam"><input type="hidden" name="price" value="'.$prices[9].'"><input type="submit" value="Rent"></form></td> </tr> </table>'; } $h->endpage(); ?>
  3. POG1

    Php

    Re: Php www.php.net has it all. The function list is really helpful for me.
  4. Re: Quickest way to test your Crons without using cpanel Is that not just common sense?
  5. Re: MD5 Generator   I found this.  
  6. POG1

    My Little Business

    Re: My Little Business sort us a tenner
  7. Re: Treasure Hunting $20 I think for someone to sell a mod it has to be somewhat significant otherwise free. If for this 1 you have many searching places and can add outcomes it would be a mod that people would like...
  8. Re: Treasure Hunting $20 I made 1 for my banburyco. Pretty simple.. <?php echo '<h1>Searching</h1><hr size="1" />< table width="90%" style="border:1px solid #000; margin:0; padding:0;">'; if(isset($_GET['page'])) { echo '<tr><td><b style="margin-right:10px;">Result:[/b]'; $outcome = rand(1, 3); switch($outcome) { case 1: echo 'blah blah'; // mysql query? break; case 2: echo 'blah blah'; break; case 3: echo 'blah blah'; break; } echo '</td></tr>'; } ?> <tr> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> </tr> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> </tr> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> </tr> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> </tr> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> <td><a href="streets.php?page=searching" style="margin:0; padding:0;"> [img=trans.png]</a></td> </tr> </table> ?>
  9. Re: Setting settings to default top left under file there is the icon of the tool rightclick it then reset all ;)
  10. Re: Omg i just made best move ever not Ok so you made the mod THEN installed it? It would make sense to add the mod to a demo game. Sounds to me like you have a ready made mod..
  11. Re: Multiple explore pages   My example was very simple.     You could also add the functions in the page and call a function instead of include the filed :)
  12. Re: Multiple explore pages There are many ways to do this, here is how i would do it... First off make some new directory's if you don't already have them. Create a "inc" dir in the game root. Then inside inc make a "Citys" dir, It's inside this where you will make the php files for each different city. explore.php <?php include('globals.php'); swich($ir['city']) { case '1': include('inc/citys/city1.php'); break; case '2': include('inc/citys/city2.php'); break; // The case number is the city id they are in // Add more for the city ids } ?>   haven't tested it but it probably will work
  13. Re: CSS Textbox Edit ANY VERSION   I've never heard of it until now
  14. Re: Usersonline [V2] this topic is to talk about the usersonline mod not about your girlfriend =] You even sure he has a gf? How do u know he isn't this guy...
  15. POG1

    Red Dwarf

    Re: Red Dwarf   Hold your horses! Your forgetting mr bean
  16. Re: Simple CSS menu CSS menus such as this 1 look so much "smoother". The only thing is when you click a link a border appears around the area. For my links on my sites i put a onfocus event onFocus="if(this.blur)this.blur()" 8-)
  17. Re: Strip Club   haha
  18. Re: Strip Club   or he is a 12 year old geek
  19. POG1

    How to....

    Re: How to.... :mrgreen:
  20. Re: CSS Textbox Edit ANY VERSION     flying is easy if you learn it :P
  21. Re: Fatal Error McCodes don't have a cyber bank with it...
  22. POG1

    How to....

    Re: How to.... Yeah true to only select whats needed but if you want to select a field which isn't selected in a array you will need to write another selection query..
  23. Re: Usersonline [V2]   you pikey bastard! you probly have like 10 + games with exactly the same content on all of um
  24. Re: Usersonline [V2] Its a good mod but the meaning of online is to be on the internet and if the last action is 24 hours ago they are most probably not online..
  25. Re: ZBank [$5] Nice mod like the name :P also you can level up! :evil:
×
×
  • Create New...