- Timestamp:
- Mar 10, 2009, 2:27:14 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/download.php
r147 r150 63 63 if(array_key_exists('addon', $_GET)) 64 64 { 65 echo('<br />Stažený soubor pouze rozbalte a zkopírujte do kořenové složky wow (C:\Program Files\World Of Warcraft\) <br /><br /><table class="BaseTable"><tr><th>Verze/datum</th><th>Popis</th></tr>'); 65 echo('<br />Stažený soubor pouze rozbalte a zkopírujte do kořenové složky wow (C:\Program Files\World Of Warcraft\). Hru spouštějte přes soubor WoWME.exe <br /><br />'. 66 '<table class="BaseTable"><tr><th>Verze/datum</th><th>Popis</th></tr>'); 66 67 $ID = $Database->SQLCommand('SELECT * FROM verseclient ORDER BY DATE DESC'); 67 68 while($Line = mysql_fetch_assoc($ID)) -
trunk/export/export.php
r122 r150 215 215 { 216 216 $Line = $DBCFile->GetLine($I); 217 //print_r($Line);218 217 $Query = 'SELECT * FROM (SELECT * FROM '.$Group['TablePrefix'].' WHERE (Complete = 1) AND '.$WhereLang.' AND '.$WhereUsers.' AND (entry='.$Line[0].') ORDER BY FIELD(User, '.$SelectedUsers.')) AS T GROUP BY T.entry'; 219 218 $DbResult = $Database->SQLCommand($Query); … … 223 222 // if($Setting['Diacritics'] != 1) $Buffer = utf2ascii($Buffer); 224 223 225 //foreach($Group['Items'] as $GroupItem) 226 // if($GroupItem['DBCColumnIndex'] != '') 227 // $Line[$GroupItem['DBCColumnIndex']] = $DbRow[$GroupItem['Column']]; 224 foreach($Group['Items'] as $GroupItem) 225 if($GroupItem['DBCColumnIndex'] != '') 226 $Line[$GroupItem['DBCColumnIndex']] = $DbRow[$GroupItem['Column']]; 227 //print_r($Line); 228 228 } 229 229 $DBCFile2->SetLine($I, $Line); -
trunk/export/index.php
r147 r150 189 189 $Zip = new zipfile(); 190 190 CreateZipFromDir($Zip, $TempDir, 'Interface/AddOns/CzWoW/'); 191 $Zip->addFile(file_get_contents('Fonts/FRIZQT__.ttf'), 'Fonts/FRIZQT__.ttf'); 192 $Zip->addFile(file_get_contents('Fonts/MORPHEUS.ttf'), 'Fonts/MORPHEUS.ttf'); 193 $Zip->addFile(file_get_contents('Fonts/SKURRI.ttf'), 'Fonts/SKURRI.ttf'); 194 195 $Zip->addFile(file_get_contents($Config['Web']['TempFolder'].'Addon/CzWoW/CZWOW-Readme.txt'), 'CZWOW-Readme.txt'); 196 191 //addon 197 192 $Zip->addFile(file_get_contents('CzWoW/OptionsFrame.xml'), 'Interface/AddOns/CzWoW/OptionsFrame.xml'); 198 193 $Zip->addFile(file_get_contents('CzWoW/CzWoW.xml'), 'Interface/AddOns/CzWoW/CzWoW.xml'); … … 204 199 $Zip->addFile(file_get_contents('ProffBot/ProffBot.xml'), 'Interface/AddOns/ProffBot/ProffBot.xml'); 205 200 $Zip->addFile(file_get_contents('ProffBot/ProffBot.lua'), 'Interface/AddOns/ProffBot/ProffBot.lua'); 206 201 //fonty 202 $Zip->addFile(file_get_contents('Fonts/FRIZQT__.ttf'), 'Fonts/FRIZQT__.ttf'); 203 $Zip->addFile(file_get_contents('Fonts/MORPHEUS.ttf'), 'Fonts/MORPHEUS.ttf'); 204 $Zip->addFile(file_get_contents('Fonts/SKURRI.ttf'), 'Fonts/SKURRI.ttf'); 205 //readme 206 $Zip->addFile(file_get_contents($Config['Web']['TempFolder'].'Addon/CzWoW/CZWOW-Readme.txt'), 'CZWOW-Readme.txt'); 207 //dbc...MPQ 208 $Zip->addFile(file_get_contents('MPQ/patch-enUS-5.MPQ'), 'Data/enUS/patch-enUS-5.MPQ'); 209 $Zip->addFile(file_get_contents('MPQ/WoWMe.exe'), 'WoWMe.exe'); 210 207 211 $Buffer = $Zip->file(); 208 212 file_put_contents($SaveFilename, $Buffer); … … 276 280 RadioButton('Export', 'XMLDirect', $ExportSetting['Export'] == 'XMLDirect').'XML - přímo zobrazit<br />'. 277 281 RadioButton('Export', 'XMLCompressed', $ExportSetting['Export'] == 'XMLCompressed').'XML - komprimovaný soubor<br />'. 278 //RadioButton('Export', 'DBC', $ExportSetting['Export'] == 'DBC').'DBC - komprimovaný soubor<br />'.279 282 RadioButton('Export', 'Addon', $ExportSetting['Export'] == 'Addon').'Addon - komprimovaný soubor<br />'. 280 283 RadioButton('Export', 'Lua', $ExportSetting['Export'] == 'Lua').'Lua skripty - komprimovaný soubor<br />'); 281 284 if(Licence(LICENCE_ADMIN)) { 285 echo (RadioButton('Export', 'DBC', $ExportSetting['Export'] == 'DBC').'DBC - komprimovaný soubor<br />'); 282 286 //echo(RadioButton('Export', 'Server', $ExportSetting['Export'] == 'Server').'Poslat přímo na server (pouze admin)<br />'); 283 287 echo(RadioButton('Export', 'VerseCZ', $ExportSetting['Export'] == 'VerseCZ').'Vytvoření verze češtiny <a href="../download.php?createverse" Title="Před konečným exportováním napište popis k verzi" Target="_NEW">Popis k verzi</a> (pouze admin)<br />'); -
trunk/includes/dbc.php
r117 r150 34 34 35 35 if(strlen($this->Format) != $this->FieldCount) 36 die(FIELD_COUNT_NOT_MATCH );36 die(FIELD_COUNT_NOT_MATCH.' Počet v souboru:'.$this->FieldCount); 37 37 38 38 $this->GenerateOffsetTable($Format);
Note:
See TracChangeset
for help on using the changeset viewer.