Changeset 253
- Timestamp:
- Jul 16, 2009, 11:56:49 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/index.php
r246 r253 175 175 if(!isset($ExportSetting['language'.$Language['Id']])) $ExportSetting['language'.$Language['Id']] = 1; 176 176 if(!isset($ExportSetting['users-order'])) $ExportSetting['users-order'] = ''; 177 if(!isset($ExportSetting['Export'])) $ExportSetting['Export'] = $Addon_verses[0];177 if(!isset($ExportSetting['Export'])) $ExportSetting['Export'] = 'Addon'; 178 178 if(!isset($ExportSetting['Version'])) $ExportSetting['Version'] = $Config['Web']['GameVersion']; 179 179 if(!isset($ExportSetting['groups'])) $ExportSetting['groups'] = array(); -
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.