Jump to content
MakeWebGames

Dayo

Administrators
  • Posts

    2,491
  • Joined

  • Last visited

  • Days Won

    196

Everything posted by Dayo

  1. Re: View User Fix Please Help well 90% of the time thats the reason
  2. Re: View User Fix Please Help no problem next time if it says there is an unexpected [ or ] replace with { or }
  3. Re: View User Fix Please Help try <?php include "globals.php"; $_GET['u'] = abs((int) $_GET['u']); if(!$_GET['u']) { print "Invalid use of file"; } else { $q=$db->query("SELECT u.*,us.*,c.*,h.*,g.*,f.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN cities c ON u.location=c.cityid LEFT JOIN houses h ON u.maxwill=h.hWILL LEFT JOIN gangs g ON g.gangID=u.gang LEFT JOIN fedjail f ON f.fed_userid=u.userid WHERE u.userid={$_GET['u']}"); if($db->num_rows($q) == 0) { print "Sorry, we could not find a user with that ID, check your source."; } else { $r=$db->fetch_row($q); if($r['user_level'] == 1) { $userl="Mobster"; } else if($r['user_level'] == 2) { $userl="Owner"; } else if ($r['user_level'] == 3) { $userl="Admin"; } else if($r['user_level'] == 0) { $userl="NPC"; } else {$userl="Moderator"; } $lon=($r['laston'] > 0) ?date('F j',$r['laston']) : "Never"; $sup=date('j F',$r['signedup']); $ts=$r['strength']+$r['agility']+$r['guard']+$r['labour']+$r['IQ']; $d=""; if($r['laston'] > 0) { $la=time()-$r['laston']; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; if($la >= 24) { $la=(int) ($la/24); $unit="days"; } } $str="$la $unit ago"; } else { $str="--"; } if($r['last_login'] > 0) { $ll=time()-$r['last_login']; $unit2="seconds"; if($ll >= 60) { $ll=(int) ($ll/60); $unit2="minutes"; } if($ll >= 60) { $ll=(int) ($ll/60); $unit2="hours"; if($ll >= 24) { $ll=(int) ($ll/24); $unit2="days"; } } $str2="$ll $unit2 ago"; } else { $str2="--"; } if($r['user_level'] >1){ $r['username'] = "<font color=red>{$r['username']}</font>";} elseif($r['donatordays']) { $r['username'] = "<font color=yellow>{$r['username']}</font>";$d="[img=don.gif]"; } if($r['laston'] >= time()-15*60) { $on="<font color=green>[b]Online[/b]</font>"; } else { $on="<font color=red>[b]Offline[/b]</font>"; } if($r['display_pic']) { print "<center>[img={$r[] </center>"; } else { print "<center>[img=http://i38.tinypic.com/29bh8d5.jpg]</center> "; } print "<table width=85% cellpadding=3 class='table' border='0'><div align=center> <tr><td> [b]Name:[/b] {$r['username']} [{$r['userid']}] $d </td> <td> [b]User Level:[/b] [url='stafflist.php']$userl[/url] </td></tr> <tr><td> [b]Level:[/b] {$r['level']} </td> <td> [b]Health:[/b] {$r['hp']}/{$r['maxhp']} </td></tr> <tr><td> [b]Gender:[/b] {$r['gender']} </td> <td> [b]Age:[/b] {$r['daysold']} Days </td></tr> <tr><td> [b]Signed Up:[/b] $sup </td> <td> [b]Last Active:[/b] $str </td></tr> <tr><td> [b]Gang:[/b] "; if($r['gang']) { print "[url='gangs.php?action=view&ID={$r[']{$r['gangNAME']}[/url]"; } else { print "None"; } print " </td> <td> [b]Location:[/b] [url='airport.php']{$r['cityname']}[/url] </td></tr> <tr><td> [b]Money:[/b] \${$r['money']} </td> <td> Property: {$r['hNAME']} </td></tr>"; $sh=($ir['user_level'] >1) ? "Staff Info" : " "; print "</td></tr>"; if($r['fedjail']) { print " [b]<font color=brown>This user is in federal jail for {$r['fed_days']} day(s). {$r['fed_reason']}</font>"; } if($r['hospital']) { print " [b]<font color=red>This user is in hospital for {$r['hospital']} minutes. {$r['hospreason']}</font>[/b] "; } if($r['jail']) { print " [b]<font color=red>This user is in jail for {$r['jail']} minutes. {$r['jail_reason']}</font>[/b]</td></tr><tr> <td> "; } print "</div></table><table width=85% bgcolor=#202020 cellpadding=3> <tr><td> [[url='mailbox.php?action=compose&ID={$r[']Send Mail[/url]] </td><td> [[url='sendcash.php?ID={$r[']Send Cash[/url]] <td> [[url='sendpoints.php?ID={$r[']Send Points[/url]] </td><td> [[url='sendbank.php?ID={$r[']Bank Xfer[/url]] </td></tr><tr><tr></tr></tr><tr><td> [[url='sendcyber.php?ID={$r[']CyberBank Xfer[/url]] </td><td> [[url='attack.php?ID={$r[']Attack[/url]] </td><td> [[url='mug.php?ID={$r[']Mug[/url]] </td><td> [[url='contactlist.php?action=add&ID={$r[']Add Contact[/url]] </td></tr><tr>"; { print " </tr><tr></tr><tr><td> [[url='friendslist.php?action=add&ID={$r[']Add Friends[/url]] </td><td> [[url='blacklist.php?action=add&ID={$r[']Add Enemies[/url]] </td>"; print ""; } if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5) { print " <td> [[url='jailuser.php?userid={$r[']Jail[/url]] </td><td> [[url='mailban.php?userid={$r[']MailBan[/url]] </td></tr>"; } if($ir['donatordays'] > 0) { print "[url='rentaspy.php?ID={$r[']Rent A Spy[/url]] "; print "</table> "; print"</center>"; } if($ir['user_level'] == 2 || $ir['user_level'] == 3 || $ir['user_level'] == 5) { $r['lastiph']=@gethostbyaddr($r['lastip']); $r['lastiph']=checkblank($r['lastiph']); $r['lastip_loginh']=@gethostbyaddr($r['lastip_login']); $r['lastip_loginh']=checkblank($r['lastip_loginh']); $r['lastip_signuph']=@gethostbyaddr($r['lastip_signup']); $r['lastip_signuph']=checkblank($r['lastip_signuph']); print "<center><h3>Internet Info</h3><table width='100%' border='0' cellspacing='1' class='table'> <tr><td></td><td class='h'>IP</td><td class='h'>Hostname</td></tr> <tr><td class='h'>Last Hit</td><td >$r[lastip]</td><td >$r[lastiph]</td></tr> <tr><td class='h'>Last Login</td><td '>$r[lastip_login]</td><td >$r[lastip_loginh]</td></tr> <tr><td class='h'>Signup</td><td >$r[lastip_signup]</td><td >$r[lastip_signuph]</td></tr> [url='staff_punit.php?action=ipform']<u>IP search this user</u>[/url] "; print "<form action='staffnotes.php' method='post'> Staff Notes: <textarea rows=7 cols=40 name='staffnotes'>{$r['staffnotes']}</textarea> <input type='hidden' name='ID' value='{$_GET['u']}' /> <input type='submit' value='Change' /></form></center>"; } else { print " "; } print "</tr></table>"; } } function checkblank($in) { if(!$in) { return "N/A"; } return $in; } $h->endpage(); ?> not tested
  4. Re: [McCodes V2] Unique Template's that template is no longer for sale as im using it myself :D
  5. Re: [McCodes V2] Unique Template's ahh yea good point, im use to helping a game whos turnover was $2000+ a week :P lets say $30-$75 for a unique template with the gfx files plus that template up there is $40 plus ill install if for them if there cosing is not too good :D
  6. Re: [McCodes V2] Unique Template's thanx :-) plus for that one it will cost $40 including all images (about 30 cos the nav is a rolover image) plus it involves a couple of file changes + additions
  7. [McCodes V2] Unique Template's I will make unique templates for your site i will charge $50-$125 a template and the images needed plus any file changes i will also throw in a free login and register to the 1st person who buys it (usual price 10-$25) here is a sample of my work that i started late last night and finished a few hours ago. (not in use so will sell for the right price)(will change title too) :wink: If you want a custom template mail me or add me on msn/skypee E-Mail: [email protected] MSN: [email protected] Skypee: tbk05dayc Thanx, Dayo
  8. Re: MainMenu Mod! NEW! good mod im gona edit this so it works on my new site im making:P
  9. Re: [Any] Login - Fireworks MX 2004 i take it your at school so open up Dreamweaver mx2004 and make it a proper login this sorta thing would take a pro 10-30 seconds to do (probly just a few seconds if its a asset (shift F11))
  10. Re: [McCodes v2] 100 Club! :wink:
  11. Re: [McCodes V2] Assassinate user (donator only) also change this <?php include("globals.php"); if ($ir['hospital']) { echo ' You are in hospital, you cant contact an assasin'; to this <?php include("globals.php"); if ($ir['jail']) { echo ' You are in jail, you cant contact an assasin';
  12. Re: [McCodes v2] 100 Club! thats the plan :D BUT i have put this on hold for the time being probly will be out nxt week ...
  13. Re: [mccodes v2] Casino Mod Package [$75] :roll: this isnt betting real money unless you class donating to the game, then using the cash you get to play the casino game but that wouldent hold up in a court :roll:
  14. Re: [McCodes V2] Private Helth Care (Donator Only) oh ok :-P woops when i posted the updated version i forgot to add that back in :roll: yea Privatehealth.php has to be <?php include "globals.php"; if($ir['donatordays'] > 0) { $hosptime = $ir['hospital'] / 2; $newtime = round($hosptime); if ($ir['money'] < 4999) { echo "Error: You Need Atleast $5000 to Get Private Health Care"; } else { if ($ir['hospital'] == '1') { print "You can not get any more health care!"; } else { print "You get private Helth Care you save $newtime minutes!"; $db->query("UPDATE users SET hospital=$newtime WHERE userid={$ir['userid']}"); $db->query("UPDATE `users` SET `money`=`money` - '5000' WHERE `userid`={$ir['userid']}"); } } } else { echo "You need to be a donator to access this page"; } $h->endpage(); ?>
  15. Re: [McCodes V2] Private Helth Care (Donator Only) lazyness :roll: and cron what did u mean :|
  16. Private Helth Care Me again :-D This mod will alow donators to get private health care and half there hospital time at a cost of $5,000. Replace Hospital.php with <?php include "globals.php"; print "<h3>Hospital</h3>"; if($ir['donatordays'] > 0) { if ($ir['hospital']) { print "[url='Privatehealth.php']Get Private Health Care ($5,000)[/url]"; } } print "<table width='75%' class=\"table\" border=\"0\" cellspacing=\"1\"><tr bgcolor=gray><th>Name</th> <th>Level</th> <th>Time</th><th>Reason</th></tr>"; $q=$db->query("SELECT u.*,c.* FROM users u LEFT JOIN gangs c ON u.gang=c.gangID WHERE u.hospital > 0 ORDER BY u.hospital DESC",$c); while($r=$db->fetch_row($q)) { print "\n<tr><td>{$r['gangPREFIX']} [url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td><td> {$r['level']}</td><td>{$r['hospital']} minutes</td><td>{$r['hospreason']}</td></tr>"; } print "</table>"; $h->endpage(); ?> Make File Privatehealth.php <?php include "globals.php"; if($ir['donatordays'] > 0) { $hosptime = $ir['hospital'] / 2; $newtime = round($hosptime); if ($ir['money'] < 4999) { echo "Error: You Need Atleast $5000 to Get Private Health Care"; } else { if ($ir['hospital'] == '1') { print "You can not get any more health care!"; } else { print "You get private Helth Care you save $newtime minutes!"; $db->query("UPDATE users SET hospital=$newtime WHERE userid={$ir['userid']}"); } } } else { echo "You need to be a donator to access this page"; } $h->endpage(); ?> Enjoy :-D Also i will be adding more donator only scripts later on as there are hardly any for donators only, if you have any ideas post here :D
  17. Intimidate Witness This mod will alow donators to attempt to intimidate witnesses to get out of jail, this costs $10,000 and you have a 1 in 7 chance of sucsess. Replace Jail with <?php include "globals.php"; print "<h3>Jail</h3>"; if($ir['donatordays'] > 0) { if ($ir['jail']) { print "[url='Intimidatewitness.php']Intimidate Witness($10,000)[/url]"; } } print "<table width='75%' class=\"table\" border=\"0\" cellspacing=\"1\"><tr bgcolor=gray><th>Name</th> <th>Level</th> <th>Time</th><th>Reason</th> <th>Actions</th></tr>"; $q=$db->query("SELECT u.*,c.* FROM users u LEFT JOIN gangs c ON u.gang=c.gangID WHERE u.jail > 0 ORDER BY u.jail DESC"); while($r=$db->fetch_row($q)) { print "\n<tr><td>{$r['gangPREFIX']} [url='viewuser.php?u={$r[']{$r['username']}[/url] [{$r['userid']}]</td><td>{$r['level']}</td><td>{$r['jail']} minutes</td><td>{$r['jail_reason']}</td> <td>[[url='jailbust.php?ID={$r[']Bust[/url]][[url='jailbail.php?ID={$r[']Bail[/url]]</td></tr>"; } print "</table>"; $h->endpage(); ?> Make File Intimidatewitness.php <?php include "globals.php"; if($ir['donatordays'] > 0) { $rand1 = rand(1,7); $jail = $ir['jail'] + rand(10,25); if ($ir['money'] < 9999) { echo "Error: You Need Atleast $10000 to Intimidate a witness"; } else { if ($rand1 == '1') { print "Your bodyguards bribe a bent cop $10,000. The cop then tells them who the witness is. They pay that person a visit, two days later the witness withdraws there statment, you walk free!"; $db->query("UPDATE users SET jail=0 WHERE userid={$ir['userid']}"); $db->query("UPDATE `users` SET `money`=`money` - '10000' WHERE `userid`={$ir['userid']}"); } else { print "Your bodyguards bribe a bent cop $10,000. The cop then tells them who the witness is. They pay that person a visit, but the witness dosent withdraw there statment. The witness then tells the cops on the attempt your jail time is now increced"; $db->query("UPDATE users SET jail=$jail WHERE userid={$ir['userid']}"); $db->query("UPDATE `users` SET `money`=`money` - '10000' WHERE `userid`={$ir['userid']}"); } } } else { echo "You need to be a donator to access this page"; } $h->endpage(); ?> Enjoy :-D Also i will be adding more donator only scripts later on as there are hardly any for donators only, if you have any ideas post here :D
  18. Re: [McCodes V2] Assassinate user (donator only) yea but im still learning php so if u didnt it would be two files
  19. Assassinate user This script will alow any donator to attack any one anonimasly (soz my spellin is crap :-P), they will have a 20% chance of sucsess and will cos them $25,000. Screnies Make File assassinateuser.php <?php include("globals.php"); if ($ir['hospital']) { echo ' You are in hospital, you cant contact an assasin'; } else { echo ' <style type="text/css"> <!-- .style1 { font-size: 24px; font-weight: bold; } --> </style>'; if($ir['donatordays'] > 0) { if(!isset($_POST['id'])) { echo ' <label> <div align="center"><span class="style1"> Assassinate User</span> Here you can hire an assasin to assassinate a user, he has a 20% chance of sucsess, he charges $25,000. For this he will attempt to kill any one.</div> <form name="form1" method="post" action="'. $_SERVER['PHP_SELF'] .'"> <div align="center"> <div align="center">User ID <input name="id" type="text" id="id"> </div> <label> <div align="center"> <input type="submit" name="Submit" value=" Assassinate "> </div> </label> </form>'; } else { if ($ir['money'] < 24999) { echo "Error: You Need Atleast $25000 to hire an assasin"; } else { $user = abs(@intval ($_POST['id'])); $rand = mt_rand(1,5); $db->query("UPDATE `users` SET `money`=`money` - '25000' WHERE `userid`={$ir['userid']}"); if ($rand == 1) { // this will be a sucsesful attack print "Your assasin killed them in the dead of night!! "; $hosptime=rand(5,25); $db->query("UPDATE users SET hp=1,hospital=$hosptime,hospreason='Assassinated' WHERE userid=$user"); event_add($user,"You were assassinated",$c); } else { // this is an unsucsesfull attack print "Your assasin was caught, he was then Tortured finaly he gave up your name, they then come and pay you a visit!."; event_add($user,"Some one attepted to assassinate you!",$c); $db->query("UPDATE users SET hp=1,hospital=25 ,hospreason='Failed Assassination' WHERE userid={$ir['userid']}"); } } } } else { echo "You need to be a donator to access this page"; } } $h->endpage(); ?> Open Mainmenu.php Find [url='blacklist.php']Black List[/url] Add After [url='assassinateuser.php']Assassinate User[/url]"; Thanks to Crazy-T for the help :D if you need any help/find a bug just post here. Enjoy :-D
  20. this mod will give users special privelages once they reach level 100, they will have acsess to a special shop, forum (maby), chat (maby) this is about 50% done if you would like added features that you think will be good and ill see if i can add them
  21. Re: [V2] Main Menu (army/gangsta Theme) yea you reli need to get a better template! (no offence) i can help you make one
  22. Re: [mccodes v2] Casino Mod Package [$75] 'video poker' is the name of the game as 5 card draw your playing some one to win where as video poker your trrying to beat the house to win
  23. Re: [V2] Main Menu (army/gangsta Theme) code update
  24. Re: [V2] Main Menu (army/gangsta Theme) mob Theme <?php global $db,$c,$ir, $set; $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $mc=$ir['new_mail']; print "<table width="208" border="0" cellspacing="0" cellpadding="0"> <tr> <td>[img=top.png]</td> </tr> <tr> <td background='middle.png'><div align='center'><font color='#ffffff'>"; if($ir['hospital']) { print "[url='hospital.php']Hospital ($hc)[/url] [url='inventory.php']Inventory[/url] "; } elseif($ir['jail']) { print "[url='jail.php']Jail ($jc)[/url] "; } else { print "[url='index.php']Home[/url] [url='inventory.php']Inventory[/url] "; } if($ec > 0) { print "[url='events.php']Events ($ec)[/url] "; } else { print "[url='events.php']Events (0)[/url] "; } if($mc > 0) { print "[url='mailbox.php']Mailbox ($mc)[/url] "; } else { print "[url='mailbox.php']Mailbox (0)[/url] "; } if($ir['jail'] and !$ir['hospital']) { print "[url='gym.php']Jail Gym[/url] [url='hospital.php']Hospital ($hc)[/url] "; } else if (!$ir['hospital']) { print "[url='explore.php']Explore[/url] [url='gym.php']Gym[/url] [url='criminal.php']Missions[/url] [url='job.php']Your Rank[/url] [url='education.php']Training Courses[/url] [url='hospital.php']Hospital ($hc)[/url] [url='jail.php']Jail ($jc)[/url] "; } else { print "[url='jail.php']Jail ($jc)[/url] "; } print "[url='forums.php']Forums[/url] "; if($ir['new_announcements']) { print "[url='ann.php']Announcements ({$ir['new_announcements']})[/url] "; } else { print "[url='ann.php']Announcements (0)[/url] "; } print " [url='bank.php']Bank[/url] [url='newspaper.php']Newspaper[/url] [url='search.php']Search[/url] "; if ($ir['level'] >= 100) { print "<hr>[b]100 Club![/b] [url='100clubforum.php']Forum[/url] [url='100clubchat.php']Chat[/url] [url='100clubshop.php']Shop[/url] <hr>"; } if(!$ir['jail'] && $ir['gang']) { print "[url='yourgang.php']Your Squad[/url] "; } } print "[url='viewuser.php?u={$r[']{$r['username']}[/url] ($la $unit) "; } } if($ir['donatordays']) { print "<hr /> [b]Donators Only[/b] [url='friendslist.php']Friends List[/url] [url='blacklist.php']Black List[/url]"; } print "<hr /> [url='preferences.php']Preferences[/url] [url='preport.php']Player Report[/url] [url='helptutorial.php']Help Tutorial[/url] [url='gamerules.php']Game Rules[/url] [url='viewuser.php?u={$ir[']My Profile[/url] [url='logout.php']Logout[/url] Time is now "; echo date ('F j, Y')." ".date('g:i:s a'); ?></div></td> </tr> <tr> <?php if($ir['user_level'] > 1) { print "<td>[img=file:///C|/Users/Dayo/Desktop/nav/army nav/staff.png]</td> </tr> <tr> <td> [url='staff.php']Staff Panel[/url] \n"; print "<hr />[b]Staff Online:[/b] "; $q=$db->query("SELECT * FROM users WHERE laston>(unix_timestamp()-15*60) AND user_level>1 ORDER BY userid ASC"); 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"; } print "</td> </tr> <tr> <td>[img=bottom.png]</td> </tr> </table></font>"; ?> top.png middle.png bottom.png staff.png
  25. This is a very simple mod for the mainmenu, all it reli is is a couple of pictures, i havent got a print screen (soz) as i dont have a mccodes rpg game ne more. if you upload it plz share a print screen. if you find any errors post here plus you may have to change your current template so it looks better. Mainmenu.php <?php global $db,$c,$ir, $set; $hc=$set['hospital_count']; $jc=$set['jail_count']; $ec=$ir['new_events']; $mc=$ir['new_mail']; print "<table width="208" border="0" cellspacing="0" cellpadding="0"> <tr> <td>[img=top.png]</td> </tr> <tr> <td background='middle.png'><div align='center'>"; if($ir['hospital']) { print "[url='hospital.php']Hospital ($hc)[/url] [url='inventory.php']Inventory[/url] "; } elseif($ir['jail']) { print "[url='jail.php']Jail ($jc)[/url] "; } else { print "[url='index.php']Home[/url] [url='inventory.php']Inventory[/url] "; } if($ec > 0) { print "[url='events.php']Events ($ec)[/url] "; } else { print "[url='events.php']Events (0)[/url] "; } if($mc > 0) { print "[url='mailbox.php']Mailbox ($mc)[/url] "; } else { print "[url='mailbox.php']Mailbox (0)[/url] "; } if($ir['jail'] and !$ir['hospital']) { print "[url='gym.php']Jail Gym[/url] [url='hospital.php']Hospital ($hc)[/url] "; } else if (!$ir['hospital']) { print "[url='explore.php']Explore[/url] [url='gym.php']Gym[/url] [url='criminal.php']Missions[/url] [url='job.php']Your Rank[/url] [url='education.php']Training Courses[/url] [url='hospital.php']Hospital ($hc)[/url] [url='jail.php']Jail ($jc)[/url] "; } else { print "[url='jail.php']Jail ($jc)[/url] "; } print "[url='forums.php']Forums[/url] "; if($ir['new_announcements']) { print "[url='ann.php']Announcements ({$ir['new_announcements']})[/url] "; } else { print "[url='ann.php']Announcements (0)[/url] "; } print " [url='bank.php']Bank[/url] [url='newspaper.php']Newspaper[/url] [url='search.php']Search[/url] "; if ($ir['level'] >= 100) { print "<hr>[b]100 Club![/b] [url='100clubforum.php']Forum[/url] [url='100clubchat.php']Chat[/url] [url='100clubshop.php']Shop[/url] <hr>"; } if(!$ir['jail'] && $ir['gang']) { print "[url='yourgang.php']Your Squad[/url] "; } } print "[url='viewuser.php?u={$r[']{$r['username']}[/url] ($la $unit) "; } } if($ir['donatordays']) { print "<hr /> [b]Donators Only[/b] [url='friendslist.php']Friends List[/url] [url='blacklist.php']Black List[/url]"; } print "<hr /> [url='preferences.php']Preferences[/url] [url='preport.php']Player Report[/url] [url='helptutorial.php']Help Tutorial[/url] [url='gamerules.php']Game Rules[/url] [url='viewuser.php?u={$ir[']My Profile[/url] [url='logout.php']Logout[/url] Time is now "; echo date ('F j, Y')." ".date('g:i:s a'); ?></div></td> </tr> <tr> <?php if($ir['user_level'] > 1) { print "<td>[img=file:///C|/Users/Dayo/Desktop/nav/army nav/staff.png]</td> </tr> <tr> <td> [url='staff.php']Staff Panel[/url] \n"; print "<hr />[b]Staff Online:[/b] "; $q=$db->query("SELECT * FROM users WHERE laston>(unix_timestamp()-15*60) AND user_level>1 ORDER BY userid ASC"); 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"; } print "</td> </tr> <tr> <td>[img=bottom.png]</td> </tr> </table>"; ?> image files(right click, save file as) top.png middle.png bottom.png staff.png enjoy :D ill be posting a gangsta/mob theme up soon (just diffrent pics)
×
×
  • Create New...