Ignore:
Timestamp:
Jan 17, 2008, 7:24:33 PM (17 years ago)
Author:
maron
Message:

Rozdělaní práv

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quests/includes/global.php

    r240 r244  
    7878      }
    7979
    80       if (Licence(1)) {
     80      if (Licence(2)) {
    8181     //   echo 'Administrace:';
    82         echo '<a href="priorite.php" Title="Naètení priority questù (Moderator only)">Priorita</a><br />';
    83         echo '<a href="log.php" Title="Log dìní (Moderator only)">Log</a><br />
     82        echo '<a href="priorite.php" Title="Naètení priority questù (Admin only)">Priorita</a><br />';
     83        echo '<a href="log.php" Title="Log dìní (Admin only)">Log</a><br />
    8484        <br />';
    8585      }
     
    107107}
    108108  echo 'Online u¾ivatelé:<br />';
    109   $ID = $Database->SQLCommand("SELECT user FROM `user` WHERE LastLogin >= Now()-300");
    110       while ($Line = mysql_fetch_array($ID))
    111         echo '<b>'.$Line['user'].'</b><br />';
     109  $ID = $Database->SQLCommand("SELECT user,GM FROM `user` WHERE LastLogin >= Now()-300");
     110      while ($Line = mysql_fetch_array($ID)) {
     111        $TextGM = ' ('.$Moderators[$Line['GM']].')';
     112        echo '<b>'.$Line['user'].'</b>'.$TextGM.'<br />';
     113      }
    112114
    113115 
Note: See TracChangeset for help on using the changeset viewer.