Changeset 539 for trunk/statistic.php
- Timestamp:
- May 15, 2013, 12:44:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/statistic.php
r536 r539 42 42 { 43 43 $Query .= 'SELECT (SELECT COUNT(DISTINCT(`Entry`)) FROM ('. 44 ' SELECT `T`.`Id`, `T`.`Entry` FROM `'.$DbRow['TablePrefix'].'` AS `T`'. 45 ' WHERE (`Complete` = 1) '.$LanguageFilter.' AND (`VersionStart` <= '.$BuildNumber.') AND (`VersionEnd` >= '.$BuildNumber.')'. 44 'SELECT `T`.`Entry` FROM `'.$DbRow['TablePrefix'].'` AS `T` '. 45 'WHERE (`Complete` = 1) '.$LanguageFilter.' '. 46 'AND (`VersionStart` <= '.$BuildNumber.') AND (`VersionEnd` >= '.$BuildNumber.')'. 46 47 ') AS `C1`) AS `Translated`, '. 47 48 '(SELECT COUNT(DISTINCT(`Entry`)) FROM ('. 48 ' SELECT `T`.`Id`, `T`.`Entry` FROM `'.$DbRow['TablePrefix'].'` AS `T`'. 49 ' WHERE (`Language` = '.$Config['OriginalLanguage'].') AND (`VersionStart` <= '.$BuildNumber.') AND (`VersionEnd` >= '.$BuildNumber.')'. 49 'SELECT `T`.`Entry` FROM `'.$DbRow['TablePrefix'].'` AS `T` '. 50 'WHERE (`Language` = '.$Config['OriginalLanguage'].') '. 51 'AND (`VersionStart` <= '.$BuildNumber.') AND (`VersionEnd` >= '.$BuildNumber.')'. 50 52 ') AS `C2`) AS `Total`, "'.$DbRow['Name'].'" AS `Name` UNION '; 51 53 }
Note:
See TracChangeset
for help on using the changeset viewer.