Changeset 221 for trunk/img_statistic.php
- Timestamp:
- Jul 1, 2009, 10:16:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/img_statistic.php
r217 r221 24 24 } else $user_sql = ''; 25 25 26 $where = ' (Language <> 0) AND (Complete = 1) '.$team.$language.$user_sql; 26 $ID = mysql_fetch_row($Database->SQLCommand('SELECT max(VersionEnd) FROM '.$Group['TablePrefix'])); 27 $BuildNumber_max = $ID[0]; 28 29 $where = 'VersionEnd = '.$BuildNumber_max.' AND (Language <> 0) AND (Complete = 1) '.$team.$language.$user_sql; 27 30 $ID = mysql_fetch_row($Database->SQLCommand('SELECT count(distinct(entry)) FROM '.$Group['TablePrefix'].' WHERE '.$where)); 28 31 $NumberTranslate = $ID[0]; 29 32 30 $ID = mysql_fetch_row($Database->SQLCommand('SELECT count( *) FROM '.$Group['TablePrefix'].' WHERE(Language = 0)'));33 $ID = mysql_fetch_row($Database->SQLCommand('SELECT count(distinct(entry)) FROM '.$Group['TablePrefix'].' WHERE VersionEnd = '.$BuildNumber_max.' AND (Language = 0)')); 31 34 $NumberAJ = $ID[0]; 32 35
Note:
See TracChangeset
for help on using the changeset viewer.