include_once("sqldb.php");
//$sqldb = new SQLDB("lkw", "localhost", "root", "");
$sqldb = new SQLDB("lkwbudweiser_cz", "localhost", "lkwbudweiser_cz", "Bn872EazXvXN9e8w");
$motivyStranky = Array("standartní"=>"");
include_once("page/lkw.php");
$page->pageDesign = new OptimisticDesign();
$page->title = "LKW Budweiser Spedition";
$rs_page_title = "";
$wwwloging = false;
$backupcontent = true;
$kontext_on = false;
$sm_podurovne = false;
$sm_maxuroven = 0;
//$appAdr = "/app";
$appAdr = "";
$homedirNoLang = "";
$homedir = "/".$jazyk."/";
$dbserver = "localhost";
$dblogin = "root";
$dbpass = "";
$adminPolozkyMenu = Array();
$adminPolozkyMenu[] = Array(
"id" => -1,
"nazev" => "Úprava menu",
"adresa" => $homedir."editmenu"
);
/*$adminPolozkyMenu[] = Array(
"id" => -2,
"nazev" => "Odkazy horního menu",
"adresa" => $homedir."editodkazy/horni_lista"
);
$adminPolozkyMenu[] = Array(
"id" => -3,
"nazev" => "E-Admin",
"adresa" => $homedir."eadmin"
);*/
//$adminPolozkyMenu["Správa"] = "#";
//$adminPolozkyMenu["Úprava menu"] = $homedir."menuedit";
//$adminPolozkyMenu["E-Admin"] = $homedir."eadmin";
//$adminPolozkyMenu["Fotogalerie"] = $homedir.$appAdr."fotogalerie-edit";
function getIndexAddForLanguage($lang) {
global $homedirNoLang;
return $homedirNoLang."/".$lang."/index";
}
$tatoStrankaNeexistuje = Array("cz"=>"Tato stránka se připravuje.", "en"=>"This page is NOT READY yet.");
$stromMenuConfFile = "conf/strommenu-".$defaultJazyk.".cfg";
$eobchoddb = "eobchod";
$fckeditor = "c:\Program Files\EasyPHP1-8\www\eobchod\admin\wisiwyg\fckeditor.php";
//modul pro spravu stranek... zjisti prihlaseneho uzivatele...
$user = false;
if (IsSet($_SESSION["ssided"])) {
//TODO pridat ip
$user = $db->getSession($_SESSION["ssided"], "1");
}
if (($user) && ($sekce != "logout")) {
$page->menu->addPolozku("ADMIN Odhlásit", "/logout", -20);
}
?>
Fatal error: Uncaught Error: Call to a member function outDoContent() on bool in /mnt/storage/var/www/hosting/l/lkwbudweiser.cz/Page.php:18
Stack trace:
#0 /mnt/storage/var/www/hosting/l/lkwbudweiser.cz/idx.php(126): Page->outDoContent()
#1 {main}
thrown in /mnt/storage/var/www/hosting/l/lkwbudweiser.cz/Page.php on line 18