Changeset 240 for quests/export.php
- Timestamp:
- Jan 17, 2008, 2:02:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/export.php
r238 r240 6 6 7 7 function WithOutDiacritical($teststring){ 8 $teststring=StrTr($teststring, "áäèïéìëíòóöø »úùüý¾ÁÄÈÏÉÌËÍÒÓÖØ©«ÚÙÜÝ®", "aacdeeeinoorstuuuyzAACDEEEINOORSTUUUYZ");8 $teststring=StrTr($teststring, "áäèïéìëíòóöø¹»úùüý¾ÁÄÈÏÉÌËÍÒÓÖØ©«ÚÙÜÝ®", "aacdeeeinoorstuuuyzAACDEEEINOORSTUUUYZ"); 9 9 10 10 return $teststring; … … 50 50 '; 51 51 52 $sql = "SELECT * FROM quests WHERE Complete = '1' AND CountVote >= '$NumberVote' AND Vote >= '$Vote'";52 $sql = "SELECT * FROM quests.quests WHERE Complete = '1' AND CountVote >= '$NumberVote' AND Vote >= '$Vote'"; 53 53 $Where = ''; 54 54 if (isset($CZ)) $Where .= " Language = '1'"; … … 84 84 $Title = "Title = '$Title'"; 85 85 else { 86 $IDtitle = $Database->SQLCommand("SELECT Title FROM quests WHERE entry = '$entry' AND Language = '0'");86 $IDtitle = $Database->SQLCommand("SELECT Title FROM quests.quests WHERE entry = '$entry' AND Language = '0'"); 87 87 $Linetitle = mysql_fetch_array($IDtitle); 88 88 … … 111 111 if ($Diacritical == False) $sql=WithOutDiacritical($sql); 112 112 113 $Database->SelectDatabase($Config['Database']['DatabaseMangos']);114 if ($Export == 'Mangos')113 if ($Export == 'Mangos') { 114 $Database->SelectDatabase($Config['Database']['DatabaseMangos']); 115 115 $Database->SQLCommand($sql); 116 116 } 117 117 $Buffer .= $sql." 118 118 "; 119 119 120 120 } 121 121 … … 172 172 <br /> 173 173 <b>Filtr:</b><br /> 174 <input type="text" name="NumberVote" value=" 4" size="1"> Poèet nutných hlasù <br>175 <input type="text" name="Vote" value=" 3" size="1"> Známka lep¹íjak174 <input type="text" name="NumberVote" value="3" size="1"> Poèet nutných hlasù <br> 175 <input type="text" name="Vote" value="4" size="1"> Známka lep¹í nebo stejná jak 176 176 </td><td> 177 177 <input type="checkbox" name="Diacritical" checked="true"> Vèetnì diakritiky <br> … … 197 197 - Stránky projektu: <a href="http://sourceforge.net/projects/mmfpm/">http://sourceforge.net/projects/mmfpm/</a><br> 198 198 - Pøeklad: <a href="http://wow.zdechov.net/minimanager/lang/csCZ.zip">Èe¹tina do minimanageru</a><br> 199 - Diskusní forum pro pøípadné pøipomínky : <a href="http://wow.zdechov.net/forum/viewtopic.php?p=5533">Forum</a>199 - Diskusní forum pro pøípadné pøipomínky k pøekladu: <a href="http://wow.zdechov.net/forum/viewtopic.php?p=5533">Forum</a> 200 200 201 201 </div>
Note:
See TracChangeset
for help on using the changeset viewer.