ob_start();
if (!isset($_GET['page'])) $page= 'start'; else $page= $_GET['page'];
if (!isset($_GET['id'])) $id= '01'; else $id= $_GET['id'];
//error_reporting (0);
include ('../common/session.php');
include ('../common/top_funkcje.php');
setcookie("polandtour",$user->user());
ob_end_flush();
?>
POLAND TOUR
include_once('../stats.php');?>
if(!$page)
$page = 'start';
$page .= '.php';
?>
|
|
|
|
|
|
|
|
if ($page!="start.php")
include_once("other_menu.php");
else
include_once("main_menu.php");
?>
|
include_once("../common/lang.php");?>
|
|
|
|
// only page == start | trip
if(!file_exists("$page") ||
(file_exists("$page") &&
$page!= 'start.php' &&
$page!= 'poland.php' &&
$page!= 'aboutus.php' &&
$page!= 'terms_conditions.php' &&
$page!= 'terms_conditions_gd_es.php' &&
$page!= 'terms_conditions_gd_fr.php' &&
$page!= 'contact.php' &&
$page!= 'gallery.php' &&
$page!= 'hotels.php' &&
$page!= 'conditions.php' &&
$page!= 'photos.php' &&
$page!= 'photos_big.php' &&
$page!= 'trip.php' )){
include ("default.php");
}
elseif($user->is_logged()) {
include_once ("$page");
}
elseif($page=='poland.php' ||
$page=='aboutus.php' ||
$page=='terms_conditions.php'||
$page=='terms_conditions_gd_es.php'||
$page=='terms_conditions_gd_fr.php'||
$page=='contact.php' ||
$page=='gallery.php' ||
$page=='hotels.php' ||
$page=='conditions.php' ||
$page=='photos.php' ||
$page=='photos_big.php' ||
$page=='start.php' ||
$page=='reservation.php' ||
$page=='trip.php' ) {
include_once ("$page");
}
else {
include ("start.php");
}
?>
|
|
include_once("footbar.php");?>
|
|
|
|
|