Changeset 89 for db/obsah.php
- Timestamp:
- Sep 30, 2007, 12:28:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
db/obsah.php
r84 r89 5 5 if( $id == "uvod" ){ $file = "uvod"; $nadpis = "Úvod"; } 6 6 elseif( $id == "stats" ){ $file = "stats"; $nadpis = "Statistiky"; } 7 elseif( $id == "bugreport" ){ $file = "bug_report"; $nadpis = "Systém pro opravu chyb"; } 7 8 elseif( $id == "races" ){ $file = "races"; $nadpis = "Rasy"; } 8 9 elseif( $id == "classes" ){ $file = "classes"; $nadpis = "Povolání"; } … … 34 35 } 35 36 elseif( !empty($quest) ){ 36 $quest_dotaz_nadpis = mysql_query("SELECT `Title` FROM `quest_template` WHERE `entry`='".$quest."' LIMIT 1" );37 $quest_dotaz_nadpis = mysql_query("SELECT `Title` FROM `quest_template` WHERE `entry`='".$quest."' LIMIT 1",$DB_mangos); 37 38 if( mysql_num_rows($quest_dotaz_nadpis) == "1" ) { $i = "0"; 38 39 $result = MySQL_Fetch_Array($quest_dotaz_nadpis); … … 43 44 } 44 45 elseif( !empty($creature) ){ 45 $creature_dotaz_nadpis = mysql_query("SELECT `name`,`subname` FROM `creature_template` WHERE `entry`='".$creature."' LIMIT 1" );46 $creature_dotaz_nadpis = mysql_query("SELECT `name`,`subname` FROM `creature_template` WHERE `entry`='".$creature."' LIMIT 1",$DB_mangos); 46 47 if( mysql_num_rows($creature_dotaz_nadpis) == "1" ) { $i = "0"; 47 48 $result = @MySQL_Fetch_Array($creature_dotaz_nadpis);
Note:
See TracChangeset
for help on using the changeset viewer.