Changeset 197 for trunk/statistic.php
- Timestamp:
- Jun 5, 2009, 11:51:12 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/statistic.php
r159 r197 5 5 ShowPage(); 6 6 7 if (array_key_exists('language', $_GET)) { 7 if (array_key_exists('language', $_GET)) 8 { 8 9 $language = '&language='.$_GET['language']; 9 10 } else $language = ''; 10 11 11 echo('<strong>Statistika:</strong> <a href="statistic.php">Všechny</a> <a href="?language=1">České překlady</a> <a href="?language=2">Slovenské překlady</a>'); 12 echo('<strong>Statistika:</strong> <a href="statistic.php">Všechny</a>'); 13 foreach($LanguageList as $Language) 14 if($Language['Enabled'] == 1) echo(' <a href="?language='.$Language['Id'].'">'.$Language['Name'].'</a>'); 15 12 16 foreach($TranslationTree as $Group) 13 17 if($Group['TablePrefix'] != '') … … 18 22 <div>Počet stáhnutí přeložených textů v SQL souboru: <strong>'); 19 23 20 $ID = $Database->SQLCommand( "SELECT count(distinct(IP)) FROM log WHERE type = 2");24 $ID = $Database->SQLCommand('SELECT count(distinct(IP)) FROM log WHERE type = 2'); 21 25 $Line = mysql_fetch_row($ID); 22 26 echo($Line[0]); … … 25 29 <div>Počet stáhnutí CZWoW pro clienta: <strong>'); 26 30 27 $ID = $Database->SQLCommand( "SELECT count(distinct(IP)) FROM log WHERE type = 0");31 $ID = $Database->SQLCommand('SELECT count(distinct(IP)) FROM log WHERE type = 0'); 28 32 $Line = mysql_fetch_row($ID); 29 33 echo($Line[0]);
Note:
See TracChangeset
for help on using the changeset viewer.