Changeset 253 for trunk/statistic.php
- Timestamp:
- Jul 16, 2009, 11:56:49 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/statistic.php
r217 r253 9 9 $language = '&language='.$_GET['language']; 10 10 } else $language = ''; 11 if (array_key_exists('user', $_GET)) 12 { 13 $user_stat = '&user='.$_SESSION['UserID']; 14 } else $user_stat = ''; 15 11 16 12 17 echo('<strong>Statistika:</strong> <a href="statistic.php">Všechny</a>'); 13 18 foreach($LanguageList as $Language) 14 19 if($Language['Enabled'] == 1) echo(' <a href="?language='.$Language['Id'].'">'.$Language['Name'].'</a>'); 20 if(Licence(LICENCE_USER)) 21 { 22 $DbResult = mysql_fetch_assoc($Database->SQLCommand('SELECT ExportSetting FROM `user` WHERE ID='.$_SESSION['UserID'])); 23 if ($DbResult['ExportSetting'] != '') 24 echo(' <a href="?user">Statistika výběru uživatele</a>'); 25 } 15 26 16 27 foreach($TranslationTree as $Group) 17 28 if($Group['TablePrefix'] != '') 18 29 echo('<div class="state-image"> 19 <img alt="'.$Group['TablePrefix'].'" src="img_statistic.php?group='.$Group['Id'].$language. '" title="statistika překladů '.$Group['Name'].'"/></div>');30 <img alt="'.$Group['TablePrefix'].'" src="img_statistic.php?group='.$Group['Id'].$language.$user_stat.'" title="statistika překladů '.$Group['Name'].'"/></div>'); 20 31 21 32 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.