Changeset 540 for trunk/img_level.php
- Timestamp:
- May 18, 2013, 9:28:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/img_level.php
r525 r540 105 105 global $System, $TranslationTree, $Config; 106 106 107 // Hlavní kod pro uživatele107 // Main code for users 108 108 $DbResult = $System->Database->query('SELECT `ID`, `Name` FROM `User` WHERE `NeedUpdate` = 1'); 109 109 while($LineUser = $DbResult->fetch_array()) … … 127 127 } 128 128 129 // Hlavní kod pro překladatelské týmy129 // Main code for translation teams 130 130 $DbResult = $System->Database->query('SELECT `ID`, `Name`, (SELECT AVG(`XP`) FROM `User` WHERE `Team` = `Team`.`Id`) AS `Average` FROM `Team` WHERE `ID` IN (SELECT `Team` FROM `User` WHERE `NeedUpdate` = 1)'); 131 131 while($LineTeam = $DbResult->fetch_array())
Note:
See TracChangeset
for help on using the changeset viewer.