Changeset 89 for db/obsah.php


Ignore:
Timestamp:
Sep 30, 2007, 12:28:52 PM (17 years ago)
Author:
hosiplan
Message:

Šmelím config.php takže tu možá teď proběhne pár verzí bez komentáře

File:
1 edited

Legend:

Unmodified
Added
Removed
  • db/obsah.php

    r84 r89  
    55            if( $id == "uvod" ){ $file = "uvod"; $nadpis = "Úvod"; }
    66            elseif( $id == "stats" ){ $file = "stats"; $nadpis = "Statistiky"; }
     7            elseif( $id == "bugreport" ){ $file = "bug_report"; $nadpis = "Systém pro opravu chyb"; }
    78            elseif( $id == "races" ){ $file = "races"; $nadpis = "Rasy"; }
    89            elseif( $id == "classes" ){ $file = "classes"; $nadpis = "Povolání"; }
     
    3435            }
    3536          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);
    3738            if( mysql_num_rows($quest_dotaz_nadpis) == "1" ) { $i = "0";
    3839              $result = MySQL_Fetch_Array($quest_dotaz_nadpis);
     
    4344            }
    4445          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);
    4647            if( mysql_num_rows($creature_dotaz_nadpis) == "1" ) { $i = "0";
    4748              $result = @MySQL_Fetch_Array($creature_dotaz_nadpis);
Note: See TracChangeset for help on using the changeset viewer.