forceDemo()) { $_connection = ConnectionFactory::createInstance(); $_session = $_GET["session"]; if(!$_connection->demo(array("session" => $_session))) $_GET["action"] = ACTION_LOGIN_FAILD; else $_GET["action"] = ACTION_CONTENT; $session->updateQuery(); } elseif($session->forceLogin()) { $_connection = ConnectionFactory::createInstance(); if(!$_connection->login(array("user" => $_username, "password" => $_password, "session" => $_session))) { $_GET["action"] = ACTION_LOGIN_FAILD; $session->updateQuery(); } } } catch(ContentException $e) { $e->toFile(); include_once(DIRECTORY_TREEVIEW . "header" . PHP_EXT); include_once(DIRECTORY_PHP . "error" . PHP_EXT); include_once(DIRECTORY_TREEVIEW . "footer" . PHP_EXT); return; } $top = sprintf("%s%s", FRAMESET_BANNER, $session->getQuery()); $left = sprintf("%s%s", FRAMESET_NAVIGATION, $session->getQuery()); $right = sprintf("%s%s", FRAMESET_VIEW, $session->getQuery()); ?> <br /> <b>Warning</b>: Use of undefined constant APPLICATION_TITLE - assumed 'APPLICATION_TITLE' (this will throw an Error in a future version of PHP) in <b>/var/www/inacon.de/htdocs/inca/index.php</b> on line <b>50</b><br /> <br /> <b>Warning</b>: Use of undefined constant APPLICATION_VERSION - assumed 'APPLICATION_VERSION' (this will throw an Error in a future version of PHP) in <b>/var/www/inacon.de/htdocs/inca/index.php</b> on line <b>50</b><br /> APPLICATION_TITLE - APPLICATION_VERSION