Ignore:
Timestamp:
Mar 18, 2009, 4:31:49 PM (16 years ago)
Author:
maron
Message:

Oprava při ohlašování a opjetovném přihlášení, fitrování statistiky podle jazyka

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/img_statistic.php

    r131 r159  
    99        $team = ' AND User IN (SELECT ID FROM user WHERE team = '.$_GET['team'].')';
    1010} else $team = '';
     11if (array_key_exists('language', $_GET)) {
     12        $language = ' AND Language = '.$_GET['language'].'';
     13} else $language = '';
    1114
    12 $ID = mysql_fetch_row($Database->SQLCommand('SELECT count(distinct(entry)) FROM '.$Group['TablePrefix'].' WHERE (Language <> 0) AND (Complete = 1) '.$team));
     15$ID = mysql_fetch_row($Database->SQLCommand('SELECT count(distinct(entry)) FROM '.$Group['TablePrefix'].' WHERE (Language <> 0) AND (Complete = 1) '.$team.$language));
    1316$NumberTranslate = $ID[0];
    1417 
Note: See TracChangeset for help on using the changeset viewer.