- Timestamp:
- Mar 14, 2010, 10:27:02 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/img_statistic.php
r365 r383 22 22 $ID = mysql_fetch_row($DbResult); 23 23 $BuildNumber_max = $ID[0]; 24 if($BuildNumber_max == '') $BuildNumber_max = 0; // Empty result, no items in this group 24 25 25 26 $where = 'VersionEnd = '.$BuildNumber_max.' AND (`Language` <> 0) AND (`Complete` = 1) '.$team.$language; … … 27 28 $NumberTranslate = $ID[0]; 28 29 29 $ID = mysql_fetch_row($Database->SQLCommand('SELECT COUNT(DISTINCT(`Entry`)) FROM `'.$Group['TablePrefix'].'` WHERE `VersionEnd` = '.$BuildNumber_max.' AND (`Language` = 0)')); 30 $DbResult = $Database->SQLCommand('SELECT COUNT(DISTINCT(`Entry`)) FROM `'.$Group['TablePrefix'].'` WHERE `VersionEnd` = '.$BuildNumber_max.' AND (`Language` = 0)'); 31 $ID = mysql_fetch_row($DbResult); 30 32 $NumberAJ = $ID[0]; 31 33 -
trunk/import/import.php
r382 r383 118 118 } 119 119 echo('<br />Celkem: '.$Count.' Nových: '.$NewCount.'<br />'); 120 //$Database->SQLCommand('UPDATE `Group` SET `LastVersion` = "'.$this->Version['BuildNumber'].'", `LastImport` = NOW() WHERE `Id`='.$Group['Id']);120 $Database->SQLCommand('UPDATE `Group` SET `LastVersion` = "'.$this->Version['BuildNumber'].'", `LastImport` = NOW() WHERE `Id`='.$Group['Id']); 121 121 } else echo('Již importován pro verzi '.$this->Version['Version']); 122 122 } else echo('Není definováno jméno zdrojového souboru'); -
trunk/import/index.php
r382 r383 52 52 function ShowMenu() 53 53 { 54 global $TranslationTree, $Database ;54 global $TranslationTree, $Database, $Config; 55 55 56 56 echo('</div><div><strong>Import zdrojů:</strong></div>'); 57 $DbResult = $Database->SQLCommand('SELECT COUNT(*) FROM `Group`'); 57 58 echo('<div><a href="?action=instructions">Instrukce pro přípravu zdrojových souborů</a></div><br/>'); 59 echo('Verze klienta použitá pro import: <strong>'.$Config['Web']['GameVersion'].'</strong>'); 60 $DbResult = $Database->SQLCommand('SELECT COUNT(*) FROM `Group`'); 58 61 $DbRow = mysql_fetch_row($DbResult); 59 62 $PageList = GetPageList($DbRow[0]);
Note:
See TracChangeset
for help on using the changeset viewer.