Ignore:
Timestamp:
Jul 1, 2009, 10:16:41 PM (15 years ago)
Author:
maron
Message:

Oprava zobrazování statistiky v obrázku, Oprava seznamu nepřeložených textů

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/img_statistic.php

    r217 r221  
    2424} else $user_sql = '';
    2525
    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;
    2730$ID = mysql_fetch_row($Database->SQLCommand('SELECT count(distinct(entry)) FROM '.$Group['TablePrefix'].' WHERE '.$where));
    2831$NumberTranslate = $ID[0];
    2932 
    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)'));
    3134$NumberAJ = $ID[0];
    3235
Note: See TracChangeset for help on using the changeset viewer.