Ignore:
Timestamp:
Jul 24, 2009, 12:24:37 PM (15 years ago)
Author:
maron
Message:

oprava špatného odhadovaného času u statistiky překladů

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/img_statistic.php

    r221 r256  
    3434$NumberAJ = $ID[0];
    3535
    36 $ID = mysql_fetch_row($Database->SQLCommand('SELECT count(*) FROM log WHERE date >= CURRENT_DATE - INTERVAL '.$Days.' DAY
     36$ID = mysql_fetch_row($Database->SQLCommand('SELECT count(*) FROM log WHERE Type = 1 AND date >= CURRENT_DATE - INTERVAL '.$Days.' DAY
    3737 AND text LIKE "%'.$Group['Name'].'%"'));
    3838$NumberPerDay = $ID[0]; //date ("Y-m-d H:i:s")
Note: See TracChangeset for help on using the changeset viewer.