Changeset 176
- Timestamp:
- Apr 10, 2009, 7:42:43 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aowow/configs
-
Property svn:ignore
set to
config.php
-
Property svn:ignore
set to
-
trunk/export/index.php
r175 r176 111 111 echo ('<strong>Hotovo</strong><br />'); 112 112 113 echo('Importuji do AoWoW');113 echo('Importuji do Mangos a spell '); 114 114 $Database->SelectDatabase($AoWoWconf['mangos']['db']); 115 115 $Database->SQLCommand('SET NAMES '.$Config['Database']['Charset']); … … 118 118 { 119 119 if ($Line <> '') $Database->SQLCommand($Line); 120 echo('. ');121 } 120 echo('. '); 121 } 122 122 echo ('<strong>Hotovo</strong><br />'); 123 124 echo('Importuji do AoWoW '); 125 $Query = 'SELECT name FROM aowow_resistances'; 126 $ID = $Database->SQLCommand($Query); 127 while($Line = mysql_fetch_assoc($ID)) { 128 $Tran = mysql_fetch_assoc($Database->SQLCommand('SELECT text as en, 129 (SELECT text FROM '.$Config['Database']['Database'].'.global_strings as tabletran 130 WHERE tableen.entry = tabletran.entry AND Language <> 0 LIMIT 1) as tran 131 FROM '.$Config['Database']['Database'].'.global_strings as tableen WHERE text = "'.$Line['name'].'" LIMIT 1')); 132 //echo ($Line['name'].'='.$Tran['tran']); 133 134 $Database->SQLCommand('UPDATE aowow_resistances SET name = "'.$Tran['tran'].'" WHERE name = "'.$Line['name'].'"'); 135 echo('. '); 136 } 137 138 $Query = 'SELECT name FROM aowow_skill'; 139 $ID = $Database->SQLCommand($Query); 140 while($Line = mysql_fetch_assoc($ID)) { 141 $Tran = mysql_fetch_assoc($Database->SQLCommand('SELECT text as en, 142 (SELECT text FROM '.$Config['Database']['Database'].'.global_strings as tabletran 143 WHERE tableen.entry = tabletran.entry AND Language <> 0 LIMIT 1) as tran 144 FROM '.$Config['Database']['Database'].'.global_strings as tableen WHERE text = "'.$Line['name'].'" LIMIT 1')); 145 //echo ($Line['name'].'='.$Tran['tran']); 146 147 $Database->SQLCommand('UPDATE aowow_skill SET name = "'.$Tran['tran'].'" WHERE name = "'.$Line['name'].'"'); 148 echo('. '); 149 } 150 151 $Query = 'SELECT name FROM aowow_spelldispeltype'; 152 $ID = $Database->SQLCommand($Query); 153 while($Line = mysql_fetch_assoc($ID)) { 154 $Tran = mysql_fetch_assoc($Database->SQLCommand('SELECT text as en, 155 (SELECT text FROM '.$Config['Database']['Database'].'.global_strings as tabletran 156 WHERE tableen.entry = tabletran.entry AND Language <> 0 LIMIT 1) as tran 157 FROM '.$Config['Database']['Database'].'.global_strings as tableen WHERE text = "'.$Line['name'].'" LIMIT 1')); 158 //echo ($Line['name'].'='.$Tran['tran']); 159 160 $Database->SQLCommand('UPDATE aowow_spelldispeltype SET name = "'.$Tran['tran'].'" WHERE name = "'.$Line['name'].'"'); 161 echo('. '); 162 } 163 echo ('<strong>Hotovo</strong><br />'); 164 165 //TODO aowow_itemenchantmet, aowow_char_titles, aowow_factions, aowow_itemset, aowow_spelldispeltype, aowow_spellmechanic, aowow_spellrange, aowow_zones 123 166 124 167 echo('Aktualizuji aktuality '); -
trunk/includes/global.php
r174 r176 69 69 function ShowSearchBox() 70 70 { 71 global $Config; 71 72 echo('<strong>Hledání:</strong> 72 <form action=" action.php" method="get"><input type="hidden" name="action" value="search" />73 <form action="'.$Config['Web']['BaseURL'].'action.php" method="get"><input type="hidden" name="action" value="search" /> 73 74 <table> 74 75 <tr>
Note:
See TracChangeset
for help on using the changeset viewer.