Changeset 498 for trunk/statistic.php
- Timestamp:
- Jan 30, 2013, 10:33:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/statistic.php
r463 r498 19 19 { 20 20 $Query .= 'SELECT (SELECT COUNT(DISTINCT(`Entry`)) FROM ('. 21 ' SELECT `T`. *FROM `'.$DbRow['TablePrefix'].'` AS `T`'.21 ' SELECT `T`.`Id`, `T`.`Entry` FROM `'.$DbRow['TablePrefix'].'` AS `T`'. 22 22 ' WHERE (`Complete` = 1) AND (`Language`='.$LanguageId.') AND (`VersionStart` <= '.$BuildNumber.') AND (`VersionEnd` >= '.$BuildNumber.')'. 23 23 ') AS `C1`) AS `Translated`, '. 24 24 '(SELECT COUNT(DISTINCT(`Entry`)) FROM ('. 25 ' SELECT `T`. *FROM `'.$DbRow['TablePrefix'].'` AS `T`'.25 ' SELECT `T`.`Id`, `T`.`Entry` FROM `'.$DbRow['TablePrefix'].'` AS `T`'. 26 26 ' WHERE (`Language` = 0) AND (`VersionStart` <= '.$BuildNumber.') AND (`VersionEnd` >= '.$BuildNumber.')'. 27 27 ') AS `C2`) AS `Total`, "'.$DbRow['Name'].'" AS `Name` UNION ';
Note:
See TracChangeset
for help on using the changeset viewer.