Changeset 383 for trunk/import
- Timestamp:
- Mar 14, 2010, 10:27:02 AM (15 years ago)
- Location:
- trunk/import
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.