Changeset 286 for quests/includes/global.php
- Timestamp:
- Jan 30, 2008, 6:43:37 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/includes/global.php
r281 r286 171 171 } 172 172 echo 'Online u¾ivatelé:<br />'; 173 $ID = $Database->SQLCommand("SELECT user,GM FROM `user` WHERE LastLogin >= Now()-300"); 174 while ($Line = mysql_fetch_array($ID)) { 175 $TextGM = ' ('.$Moderators[$Line['GM']].')'; 176 echo '<b>'.$Line['user'].'</b>'.$TextGM.'<br />'; 173 $ID = $Database->SQLCommand("SELECT user,GM,ID FROM `user` WHERE LastLogin >= Now()-300"); 174 while ($Line = mysql_fetch_array($ID)) { 175 if (Licence(1)) 176 $Name = '<a href="user.php?user='.$Line['ID'].'">'.$Line['user'].'</a>'; 177 else 178 $Name = $Line['user']; 179 180 if ($Line['GM'] <> 0) 181 $TextGM = ' ('.$Moderators[$Line['GM']].')'; 182 else 183 $TextGM = ''; 184 echo '<b>'.$Name.'</b>'.$TextGM.'<br />'; 177 185 } 178 186
Note:
See TracChangeset
for help on using the changeset viewer.