Changeset 363 for trunk/export/export.php
- Timestamp:
- Mar 8, 2010, 1:54:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export.php
r349 r363 297 297 $Value['ShortCut'] = trim($LineParts2[0]); 298 298 $Value['Text'] = substr(trim($LineParts2[1]), 1, -1); 299 $Value['Comment'] = addslashes(substr(trim($LineParts[1]), 3));300 301 $Query = 'SELECT * FROM (SELECT * FROM '.$Group['TablePrefix'].' WHERE (Complete = 1) AND '.$this->WhereLang.' AND '.$this->WhereUsers.' AND (ShortCut="'.$Value['ShortCut'].'") AND (VersionStart <= '.$this->ClientVersion['BuildNumber'].') AND (VersionEnd >= '.$this->ClientVersion['BuildNumber'].')'.$this->OrderByUserList.') AS T GROUP BY T.entry';299 $Value['Comment'] = substr(trim($LineParts[1]), 3); 300 301 $Query = 'SELECT * FROM (SELECT * FROM `'.$Group['TablePrefix'].'` WHERE (`Complete` = 1) AND '.$this->WhereLang.' AND '.$this->WhereUsers.' AND (`ShortCut`="'.$Value['ShortCut'].'") AND (`VersionStart` <= '.$this->ClientVersion['BuildNumber'].') AND (`VersionEnd` >= '.$this->ClientVersion['BuildNumber'].')'.$this->OrderByUserList.') AS `T` GROUP BY `T`.`entry`'; 302 302 //echo($Query); 303 303 $DbResult2 = $this->Database->query($Query); … … 305 305 { 306 306 $DbRow = $DbResult2->fetch_assoc(); 307 $Value['Text'] = $DbRow['Text'];308 $Value['Comment'] = $DbRow['Comment'];307 $Value['Text'] = addslashes($DbRow['Text']); 308 $Value['Comment'] = addslashes($DbRow['Comment']); 309 309 //echo('.'); 310 310 } … … 315 315 } else $File2->WriteLine($Line."\n"); 316 316 } 317 echo('Hotovo <br 317 echo('Hotovo <br/>'); 318 318 } 319 319 }
Note:
See TracChangeset
for help on using the changeset viewer.