Changeset 131 for trunk/img_statistic.php
- Timestamp:
- Feb 24, 2009, 4:44:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/img_statistic.php
r75 r131 6 6 $TranslationTree = GetTranslationTree(); 7 7 $Group = $TranslationTree[$_GET['group']]; 8 if (array_key_exists('team', $_GET)) { 9 $team = ' AND User IN (SELECT ID FROM user WHERE team = '.$_GET['team'].')'; 10 } else $team = ''; 8 11 9 $ID = mysql_fetch_row($Database->SQLCommand('SELECT count(distinct(entry)) FROM '.$Group['TablePrefix'].' WHERE (Language <> 0) AND (Complete = 1) '));12 $ID = mysql_fetch_row($Database->SQLCommand('SELECT count(distinct(entry)) FROM '.$Group['TablePrefix'].' WHERE (Language <> 0) AND (Complete = 1) '.$team)); 10 13 $NumberTranslate = $ID[0]; 11 14
Note:
See TracChangeset
for help on using the changeset viewer.