Changeset 539 for trunk/includes/Page.php
- Timestamp:
- May 15, 2013, 12:44:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/Page.php
r538 r539 259 259 260 260 $Output = 'Online překladatelé:<br />'; 261 $DbResult = $System->Database->query('SELECT `Name`, `GM`, `ID` FROM `User` WHERE `LastLogin` >= NOW() - 300 AND ((`LastLogout` < `LastLogin`) OR (ISNULL(`LastLogout`)))'); 261 $DbResult = $System->Database->query('SELECT `Name`, `GM`, `User`.`ID` AS `ID` FROM `User` '. 262 'LEFT JOIN `UserTrace` ON `UserTrace`.`User` = `User`.`Id` '. 263 'WHERE (`LastLogin` >= NOW() - 300) AND ((`LastLogout` < `LastLogin`) OR (ISNULL(`LastLogout`)))'); 262 264 while($DbUser = $DbResult->fetch_assoc()) 263 265 {
Note:
See TracChangeset
for help on using the changeset viewer.