Changeset 366 for trunk/export/export_output.php
- Timestamp:
- Mar 9, 2010, 1:01:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export_output.php
r357 r366 190 190 if(array_key_exists('Regenerate', $_POST)) 191 191 { 192 $Database->SQLCommand('UPDATE ExportTask SET TimeStart = NOW(), TimeFinish= NULL');192 $Database->SQLCommand('UPDATE `ExportTask` SET `TimeStart` = NOW(), `TimeFinish` = NULL'); 193 193 echo('Soubor zařazen znovu ke zpracování.<br/><br/>'); 194 194 } 195 $DbResult = $Database->SQLCommand('SELECT * FROM ExportTask WHERE Export= '.$ExportId);195 $DbResult = $Database->SQLCommand('SELECT * FROM `ExportTask` WHERE `Export` = '.$ExportId); 196 196 $ExportTask = mysql_fetch_assoc($DbResult); 197 197 if($ExportTask['TimeFinish'] > $ExportTask['TimeStart']) … … 201 201 $Export->Id = $ExportId; 202 202 $Export->Init(); 203 $DbResult = $System->Database->query('SELECT ` group`.* FROM `ExportGroup` JOIN `group` ON `group`.`Id` = `ExportGroup`.`Group` WHERE `ExportGroup`.`Export`='.$Export->Id.' AND `group`.`DBCFileName` != ""');203 $DbResult = $System->Database->query('SELECT `Group`.* FROM `ExportGroup` JOIN `Group` ON `Group`.`Id` = `ExportGroup`.`Group` WHERE `ExportGroup`.`Export`='.$Export->Id.' AND `Group`.`DBCFileName` != ""'); 204 204 while($Group = $DbResult->fetch_assoc()) 205 205 { … … 234 234 echo('<strong>Soubory:</strong><br/>'. 235 235 'Souhrný archív <a href="'.$SaveFilename.'">CzWoW_Lua.zip</a><br />'); 236 $DbResult = $System->Database->query('SELECT ` group`.* FROM `ExportGroup` JOIN `group` ON `group`.`Id` = `ExportGroup`.`Group` WHERE `ExportGroup`.`Export`='.$Export->Id.' AND `group`.`LuaFileName` != ""');236 $DbResult = $System->Database->query('SELECT `Group`.* FROM `ExportGroup` JOIN `Group` ON `Group`.`Id` = `ExportGroup`.`Group` WHERE `ExportGroup`.`Export`='.$Export->Id.' AND `Group`.`LuaFileName` != ""'); 237 237 while($Group = $DbResult->fetch_assoc()) 238 238 {
Note:
See TracChangeset
for help on using the changeset viewer.