Changeset 257 for quests/export.php
- Timestamp:
- Jan 21, 2008, 5:02:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/export.php
r256 r257 31 31 email: maron2@cetrum.cz 32 32 DateExport: '.date("m.d.y H:i").' 33 Znaková sada: '.$Config['Database']['Charset'].' / '.$Config['Web']['Charset'].' 33 34 Diakritika: '.$Diacritical.' 34 35 Poèet nutných hlasù: '.$NumberVote.' … … 155 156 for ($i=0; $i<count($npc_text); ++$i) { 156 157 if ($Line[$npc_text[$i]] <> '') 157 $sql .= " ".$npc_text[$i]." = '". $Line[$npc_text[$i]]."' , ";158 $sql .= " ".$npc_text[$i]." = '".mysql_escape_string($Line[$npc_text[$i]])."' , "; 158 159 } 159 160 $sql .= " ID = '".$Line['entry']."' WHERE ID = ".$Line['entry'].";"; … … 198 199 $BufferZip = $BufferHeader; 199 200 for ($i=0; $i<count(@$Buffer); ++$i) { 200 $BufferZip .= $Buffer[$i]; 201 $BufferZip .= $Buffer[$i].' 202 '; 201 203 } 202 204 for ($i=0; $i<count(@$BufferNPC); ++$i) { 203 $BufferZip .= $BufferNPC[$i]; 205 $BufferZip .= $BufferNPC[$i].' 206 '; 204 207 } 205 208 206 echo $BufferZip.'<br><br><br>';209 // echo $BufferZip.'<br><br><br>'; 207 210 208 211 $zipfile = new zipfile(); … … 210 213 $Buffer = $zipfile -> file(); 211 214 212 215 // echo $Buffer.'<br><br><br>'; 213 216 214 217 $file_handle = fopen($save_filename, 'w');
Note:
See TracChangeset
for help on using the changeset viewer.