Jump to content
MakeWebGames

Tonka

Members
  • Posts

    450
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tonka

  1. Re: Hosting for Mccodes   Server not found Firefox can't find the server at www.hosting-voxitize.com.
  2. Re: Battle tent thx, worked perfectly
  3. I'm having some problems with my battle tent, it's only displaying 1 bot <?php include "globals.php"; if($ir['jail'] or $ir['hospital']) { echo("This page cannot be accessed while in jail or hospital."); $h->endpage(); exit; } print "<h3>Battle Tent</h3> [b]Welcome to the battle tent! Here you can challenge bot's for money.[/b] <table width='95%' cellspacing='1' class='table'><tr><th>Bot Name</th><th>Level</th><th>Times Beaten</th><th>Ready To Be Challenged?</th><th>Location</th><th>Money Won</th><th>Challenge</th></tr>"; $q=$db->query("SELECT cb.*,u.*,c.npcid,cy.cityname FROM challengebots cb LEFT JOIN users u ON cb.cb_npcid=u.userid LEFT JOIN challengesbeaten c ON c.npcid=u.userid AND c.userid=$userid LEFT JOIN cities cy ON u.location=cy.cityid"); while($r=$db->fetch_row($q)) { $earn=$r['cb_money']; $v=$r['userid']; $q=$db->query("SELECT count(*) FROM challengesbeaten WHERE npcid=$v"); $times=$db->fetch_single($q); print "<tr><td align='center'>{$r['username']}</td><td align='center'>{$r['level']}</td><td align='center'>$times</td><td align='center'>"; if($r['hp'] >= $r['maxhp']/2 and $r['location']==$ir['location']) { print "<font color=green>Yes</font>"; } else { print "<font color=red>No</font>"; } print "</td><td align='center'>{$r['cityname']}</td><td align='center'>\$".money_formatter($earn,'')."</td><td align='center'>"; if($r['npcid']) { print "[i]Already[/i]"; } else { print "[url='attack.php?ID={$r[']Challenge[/url]"; } print "</td></tr>"; } print "</table>"; $h->endpage(); ?>
  4. Re: Help With announments ok, well now this is here in case someone else has a problem
  5. Re: Help With announments from what i read i think your having problems with "Announcements (0)" not changing to "Announcements (1)" when there is a new announcement, if that is indeed what you are having problems with here is the code that i use   if($ir['new_announcements']) { print "[url='announcements.php']Announcements ({$ir['new_announcements']})[/url] "; }
  6. Re: NEW USERS IMAGE GALLERY FREE!!!!!   I swaw that and removed it, but the updated file didn't upload to my server for some reason, onnce i remove that, it doesn't want to load upload.php
  7. Re: NEW USERS IMAGE GALLERY FREE!!!!! i uploaded everything and most of it worked fine except it doesn't upload to my server, it's uploading to yours look at screenshots, the links in boxes, are my images
  8. Re: NEW USERS IMAGE GALLERY FREE!!!!! still not working, i have changed the upload path to a different folder, i also went through all the files to make sure i didn't miss a path, and when i try to upload a file i get "File: *.jpg successfully uploaded!" nut when i go to my folder it's not there and when i try to reupload it i get "Uploading *.jpg...Error! Sorry, a file with this name already exitst."
  9. Re: NEW USERS IMAGE GALLERY FREE!!!!! when i try to upload my images they're not showing up in my image folder
  10. Re: [Video] Web 2.0 cool video
  11. Re: Paper Ads i love the mod lunny
  12. Re: i cant install HELP you will need to chmod the folder to 777 and then run the installer and chmod it to 755 after the installer is done and you'll be good to go
  13. Re: Query Help for the house query just use, {$ir['hNAME']} you won't need $housequery=1;
  14. Re: [Free V2] Lottery ok, i made a mistake with what i gave it should be 0 0 * * 5 0-Sunday 1-Monday 2-Tuesday 3-Wednesday 4-Thursday 5-Friday 6-Saturday
  15. Re: [Free V2] Lottery set the cron to run at 0 24 * * 6, this will make it run at the new day every friday
  16. Re: NEW USERS IMAGE GALLERY FREE!!!!! cool mod
  17. i have tried a few of the posts on the forum for this but have not had any luck, if any one can help me that would be great
  18. Re: Users Online no problem
  19. Re: Users Online try this <?php include "globals.php"; print "<h3>Users Online</h3> <table width=30% cellspacing='1' class='table'>"; $cn=0; $q=$db->query("SELECT * FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC"); while($r=$db->fetch_row($q)) { $la=time()-$r['laston']; $unit="secs"; if($la >= 60) { $la=(int) ($la/60); $unit="mins"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $cn++; print "<tr><td>$cn. [url='viewuser.php?u={$r[']{$r['username']}[/url] ($la $unit) </td></tr>"; } print "</table>"; $h->endpage(); ?>
  20. Re: Premium CSS/XHTML valid Template very nice
  21. Re: can nolonger login to owner account just go into your DB and change the md5 hash for your password, you can generate a new hash here http://www.adamek.biz/md5-generator.php
  22. Re: New Crime Page [V2] nice mod richard, here are some screenshot
  23. Re: [FAQ] Developing locally on your own local PHP/MySQL/Apache server if you are running a windows box, just use WAMP (Windows, Apache, mySQL, PHP) http://www.wampserver.com/en/index.php all the programs are configured to work with each other
  24. Re: Free 2 - BLIP Tables (Blocked IPv4 Addresses by CIDR) thx
  25. Re: Free 2 - BLIP Tables (Blocked IPv4 Addresses by CIDR) what is the hosts column for?
×
×
  • Create New...