Jump to content
MakeWebGames

John99

Members
  • Posts

    491
  • Joined

  • Last visited

    Never

Everything posted by John99

  1. Re: [LITE][FREE] Job Here Jesse60905 i fixed it for you and for everyone else who needs it   <?php /*----------------------------------------------------- -- Forgotten-Lands v1.0 BETA -- A product of KrAiG -- Do not send or sell to anyone else -- Please keep this text here -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); $ir['exp_needed']=($ir['level']+1)*($ir['level']+1)*($ir['level']+1); check_level(); $fm=money_formatter($ir['money']); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm); $h->menuarea(); if($ir['job']>0) { switch($_GET['action']) { case 'getjob': get_the_job(); break; default: job_index(); break; } } function job_index() { global $ir,$c,$userid,$h; print "<h3>Welcome To The Job Center</h3>"; print "There is one job avaliable right now and it envolves streets and cleaning, but atleast you get to drive a street cleaning vehicle! "; print "The job entitles you to: \$1000 a day 2 Strength a day 5 Labour a day 2 Guard a day "; print "So, if you want the job i will call Clean Street INC now and tell them Taking the job? [[url='job.php?action=getjob']YES[/url]] [[url='index.php']NO[/url]]"; function get_the_job() { global $ir,$c,$userid,$h; print "Ok, Congratulations, you have the job, i will phone them now, you start Today! "; print "Make sure you have a change of clothes, cleaners get alot of strange and, well, disgusting stuff thrown at them! "; mysql_query("UPDATE users SET job=1 WHERE userid=$userid;",$c); } else { print "You are already working as a street cleaner, you will recieve: \$1000 a day 2 Strength a day 5 Labour a day 2 Guard a day So stop slacking and get back to work! [url='index.php']BACK[/url]"; } $h->endpage(); ?>   ~Fixed By Alan~ ~Kraigs To Slow~ Lmao
  2. Re: [LITE][FREE] Job xD Lol
  3. Re: [LITE][FREE] Job You should of done it with SQL :) So they can add jobs from database
  4. Re: [LITE][FREE] Job Lmaooooooo
  5. Re: New!! Free!! Staff can change any users back ground Yes it does work fully works kraig he installed it and it worked for him its easy
  6. Re: promo code for v2 Yes ill pm you on msn
  7. Re: [v1]Refill Users Kraig i done mine a bit more better lol :p
  8. Re: New!! Staff can change any users back ground i didnt no how to do it lol now i done it:)
  9. Make a new file called: changeuserbg.php   Add Code: <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); if($ir['user_level'] != 2) { print "HaHa Go Away!"; $h->endpage(); exit; } switch($_GET['action']) { case 'changebgsub': change_userbg_sub(); break; default: idnx_home(); break; } function idnx_home() { global $ir,$c,$h,$userid; print "Changing Users BackGround Color The user will be banned from the chaning there background. User: ".user_dropdown($c,'user',$_GET['ID'])." Bg Color: "; } function change_userbg_sub() { global $ir,$c,$h,$userid; mysql_query("UPDATE users SET userbg='{$_POST['userbg']}' WHERE userid={$_POST['user']}",$c); event_add($_POST['user'],"A staff has changed your background color.",$c); print "User Background Changed."; } $h->endpage(); ?>   Now find mainmenu.php Add: Change User Bg
  10. John99

    Right

    Re: Right kraig i gave you =1 for that lil code you done :p
  11. Re: [v1]Refill Users Ye kinda good :) +1 respect kraig
  12. Re: FREE Bug Tracker Mod Nice bug tracker mod oסdat¡0n
  13. Re: [mccode] Supporter Packs dont forget yu need the cron for it in days old ;)
  14. Re: IRC Server ? about $7 a month
  15. John99

    Java

    Re: Java java programs to open java scripts
  16. John99

    Java

    You people no any java programs so i can open java scripts ? post links please
  17. Re: **!!Help!!** the money with bigint its only 9 quint i need to use float how u do it ?for more money than 9 quint
  18. In sted of bigint ye FLOAT IS THE NEXT ONE HOW WILL YOU USE FLOAT ?
  19. Re: How Do i upload a file so you can download the link no lol
  20. Re: How Do i upload a file so you can download the link uploaded it to a site lol http://www.born-killah.com/games.zip
  21. Re: How Do i upload a file so you can download the link How im so dumb lmao :P
  22. How do i upload a file so you people can download games for your arcade i made about 25 for you hwo i do the link on here
  23. Re: Help me fix my announcemnts mod bught it for $10
  24. Re: MC2 Codes - Are they worth it? There not that hard to code in to v2 really
  25. Announcemnets mod not workign propley :( when u make announcemnt it comes up then when u mak another the time comes witht the old one and the old one goes out of the table why ?
×
×
  • Create New...