Jump to content
MakeWebGames

Samurai Legend

Members
  • Posts

    483
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Samurai Legend

  1. If you could turn this in MCCdoes and make it suitable for the game. How much will you sell the modification for? Or you wont?
  2. Screen Shots - [ATTACH=CONFIG]1543[/ATTACH] [ATTACH=CONFIG]1544[/ATTACH] [ATTACH=CONFIG]1545[/ATTACH] [ATTACH=CONFIG]1546[/ATTACH] [ATTACH=CONFIG]1549[/ATTACH] Information - Staff File included. One table for database. One new field for the user field. Replace old cron with a new one. PM if you want to buy.
  3. That would be me...I was being stupid haha.   <?php require('globals.php'); $_GET['time'] = (isset($_GET['time']) && is_numeric($_GET['time'])) ? abs(intval($_GET['time'])) : ''; if (!isset($_GET['time'])) { $_GET['time'] = '15'; } $cn = 0; $lk = $db->query("SELECT * FROM users WHERE laston>unix_timestamp()-1440*60"); $aa = $db->num_rows($lk); $ll = $db->query("SELECT * FROM users WHERE laston>unix_timestamp()-60*60"); $ab = $db->num_rows($ll); $lm = $db->query("SELECT * FROM users WHERE laston>unix_timestamp()-45*60"); $ac = $db->num_rows($lm); $ln = $db->query("SELECT * FROM users WHERE laston>unix_timestamp()-30*60"); $ad = $db->num_rows($ln); $lo = $db->query("SELECT * FROM users WHERE laston>unix_timestamp()-15*60"); $ae = $db->num_rows($lo); $he = $db->query("SELECT * FROM users WHERE laston>unix_timestamp()-1*60"); $hu = $db->num_rows($he); $q = $db->query("SELECT * FROM users WHERE laston>unix_timestamp()-{$time}*60 ORDER BY laston DESC"); echo "<h3>Users Online</h3><hr width='70%' /> <table width='70%' class='table' cellspacing='1'> <tr align='center'> <td><a href='usersonline.php?time=1'><b>[1 Minute]</b></a></td> <td><a href='usersonline.php?time=15'><b>[15 Minutes]</b></a></td> <td><a href='usersonline.php?time=30'><b>[30 Minutes]</b></a></td> <td><a href='usersonline.php?time=45'><b>[45 Minutes]</b></a></td> <td><a href='usersonline.php?time=60'><b>[60 Minutes]</b></a></td> <td><a href='usersonline.php?time=1440'><b>[24 Hours]</b></a></td> </td> </tr> </table> <hr width='70%' />"; while ($r = $db->fetch_row($q)) { $cn++; $name = $r['username']; $id = $r['userid']; $gangtag = $r['yourgangPREF']; if ($r['donatordays'] > 0) { $donator = "<img src='donator.gif' alt='Donator: {$r['donatordays']} Days Left' title='Donator: {$r['donatordays']} Days Left' />"; } if ($r['donatordays'] == 0) { $donator = ""; } if ($r['user_level'] == 2) { $staff = "Administrator"; } if ($r['user_level'] == 3) { $staff = "Secretary"; } if ($r['user_level'] == 4) { $staff = "Assistant"; } if ($r['user_level'] == 5) { $staff = "Moderator"; } if ($r['user_level'] == 1) { $staff = "Member"; } if ($r['donatordays'] > 0) { $donator = "<img src='donator.gif' alt='Donator: {$r['donatordays']} Days Left' title='Donator: {$r['donatordays']} Days Left' />"; } if ($r['donatordays'] == 0) { $donator = ""; } echo $cn . '. <a href="viewuser.php?u=' . $r['userid'] . '">' . $r['username'] . '</a> '.[$id].' '.$donator.' (' . DateTime_Parse($r['laston']) . ') <br /> '; } $h->endpage(); ?>   Would that be more secure? I am stilling trying!
  4. Code is looking clean. +1
  5. Aaah I'll check this out later.
  6. This is great! I love it. Thank you very much :)
  7. Very nice of you Liam and DidNotCompute!
  8. I can do it. I also have my own coded bb coded engine. Shoot me a PM.
  9. yh y u no demo game?
  10. I got a VPS...
  11.   How do I make a custom one? With the requirements I need?
  12. I did, however after moving servers. The errors always came out as a white blank page?
  13. Thanks man! That worked great!
  14. I never use timestamp for big things...however for a small modification like this. It will be much more better for using timestamp. I know where Kyle is coming from. Cause using a cron on a small thing...I mean come on... Removed to keep it clean
  15. For some reason no errors show on my game? It just comes out blank...So I don't really know the error however the code I have looks fine?   echo "<table width='90%' cellspacing='1' class='table'><tr style='background:grey'> <th colspan='3'>Users Comments <a href='comments.php?ID={$r['userid']}'>[Add Comment]</a></th>"; if($ir['user_level'] == 2 || $ir['user_level == 3) { echo "<th width='10%'>Delete</th>"; } if($ir['userid'] == $r['userid']) { echo "<th width='10%'>Block</th>"; } echo "</tr>"; $query = $db->query("SELECT `cmtTIME`,`cmtTO`,`cmtFROM`,`cmtTEXT` FROM `comments` WHERE `cmtTO` = {$r['userid']} ORDER BY `cmtTIME` DESC LIMIT 5"); while($q=$db->fetch_row($query)) { $they = $db->query("SELECT `username`,`userid` FROM `users` WHERE `userid` = {$q['cmtFROM']}"); $them = $db->fetch_row($they); $sent = date('F j, Y, g:i:s a',$q['cmtTIME']); if($them['display_pic']) { echo "<td width='50'><img src='{$them['display_pic']}' width='50' height='50' alt='User Display Pic' title='User Display Pic' /></td>"; } else { echo "<td width='50'><img src='images/default.jpg' width='50' height='50' alt='User Display Pic' title='User Display Pic' /></td>"; } } echo "<td><a href='viewuser.php?u={$them['userid']}'>{$them['username']} [{$them['userid']}]</a></br></br>$sent</td> <td>{$q['cmtTEXT']}</td>"; if($ir['user_level'] == 2 || $ir['user_level'] == 3) { echo "<td width='10%'><a href='comments.php?action=delete&ID={$q['cmtID']}'>Delete</a></td>"; } if($ir['userid'] == $r['userid']) { echo "<td width='10%'><a href='comments_block.php?action=add&ID={$them['userid']}'>Block</a></td>"; } echo "</tr>"; } echo "</table><hr width='90%'>";   Can anyone help me?
  16. In East London. Pure white cats can go up to £1,000...
  17. A lot of games do xD
  18. Hello! I am looking for a partner to help me code an idea I have. It is called, achievements/merits/awards... I have created a system where the admin can add awards and when a certain user reaches that requirement they will automatically be credited. Now I am in need of people seeing achievements and see what they could do with the achievements. So far I have this done - [ATTACH=CONFIG]1509[/ATTACH] Anyone interested please mail me.
  19. Maybe add something like fight points? Every time you win you gain a point. Then you can spend the points on something?
  20.   I was just going to say that! Overall it looks good!
  21. ***. Reece! Why are you getting mine and Bio's Mobsters Online template involved? If I see anything distributed. I am calling up my lawyer. Fuc-king mother f-uk-er.
  22. May want to be careful of thief's, Zetttieee.
  23. All I got to say is. I can't trust, Reece and Dylan.
×
×
  • Create New...