0) { error_reporting (E_ALL); ini_set ("display_errors", 1); } include_once ('libmysql.php'); $_SESSION['indexPage'] = basename ($_SERVER['PHP_SELF']); // determine language and language file $lg = "de"; file_exists ("$lg/texts.php")? include_once ("$lg/texts.php"): include_once ("de/texts.php"); // determine first current page for main frame $currentPage = (!empty ($_SESSION['newsPage']) or !empty ($_GET['P']))? "tournaments.php": "newslist.php"; $_SESSION['newsPage'] = "newslist.php"; $page = !empty ($_GET['page'])? $_GET['page']: (!empty ($_POST['page'])? $_POST['page']: $_SESSION['newsPage']); $tmpPage = basename ($page); if (!empty ($tmpPage) && file_exists (dirname (__FILE__) . "/" . $tmpPage)) { $currentPage = $tmpPage; } if (!isset ($_SESSION['curPage']) or ($_SESSION['curPage'] != $currentPage)) { $_SESSION['lastPage'] = isset ($_SESSION['curPage'])? $_SESSION['curPage']: $currentPage; $_SESSION['curPage'] = $currentPage; } $queryString = $_SERVER['QUERY_STRING']; if ($page) { $queryString = str_replace ("page=".$page, "", $queryString); if (substr ($queryString, 0, 1) == "&") $queryString = substr ($queryString, 1); } $_SESSION['queryString'] = $queryString; ?> <?=$txt['5erfussball_online'].": ".$txt['metadescr']?> " name=title frameborder=0 marginheight=0 scrolling=no noresize> " name=menu frameborder=0 marginheight=0 scrolling=no noresize> " name=menu frameborder=0 marginheight=0 scrolling=yes>