Changeset 291 for trunk/statistic.php
- Timestamp:
- Dec 27, 2009, 7:12:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/statistic.php
r286 r291 8 8 if($LanguageId > 0) $language = '&language='.$LanguageId; 9 9 else $language = ''; 10 if(array_key_exists('user', $_GET)) $user_stat = '&user='.$_SESSION['UserID'];11 else $user_stat = '';12 10 13 11 echo('<strong>Statistika:</strong> <a href="statistic.php">Všechny</a>'); 14 12 foreach($LanguageList as $Language) 15 13 if($Language['Enabled'] == 1) echo(' <a href="?language='.$Language['Id'].'">'.$Language['Name'].'</a>'); 16 if(Licence(LICENCE_USER))17 {18 $DbResult = mysql_fetch_assoc($Database->SQLCommand('SELECT ExportSetting FROM `user` WHERE ID='.$_SESSION['UserID']));19 if ($DbResult['ExportSetting'] != '')20 echo(' <a href="?user">Statistika výběru uživatele</a>');21 }22 14 23 15 foreach($TranslationTree as $Group) 24 16 if($Group['TablePrefix'] != '') 25 17 echo('<div class="state-image"> 26 <img alt="'.$Group['TablePrefix'].'" src="img_statistic.php?group='.$Group['Id'].$language. $user_stat.'" title="statistika překladů '.$Group['Name'].'"/></div>');18 <img alt="'.$Group['TablePrefix'].'" src="img_statistic.php?group='.$Group['Id'].$language.'" title="statistika překladů '.$Group['Name'].'"/></div>'); 27 19 28 20 echo('<p><strong>Celková statistika v závislosti na čase: </strong><a href="http://stat.zdechov.net/game/?Measure=18">Počet přeložených textů</a></p>
Note:
See TracChangeset
for help on using the changeset viewer.