ob_start();
if (!isset($_GET['page'])) $page= 'start'; else $page= $_GET['page'];
if (!isset($_GET['id'])) $id= '01'; else $id= $_GET['id'];
if (!isset($_POST['pagelogin'])) ; else $pagelogin= $_POST['pagelogin'];
//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!= 'agents.php' &&
$page!= 'agent_data.php' &&
$page!= 'agent_reservation.php' &&
$page!= 'agent_reservation_ho.php' &&
$page!= 'login.php' &&
$page!= 'logout.php' &&
$page!= 'register.php' &&
$page!= 'reservation.php' &&
$page!= 'reservation_ho.php' &&
$page!= 'reservation_gd.php' &&
$page!= 'change_pass.php' &&
$page!= 'poland.php' &&
$page!= 'aboutus.php' &&
$page!= 'hotels.php' &&
$page!= 'terms_conditions.php' &&
$page!= 'terms_conditions_gd_es.php' &&
$page!= 'terms_conditions_gd_fr.php' &&
$page!= 'contact.php' &&
$page!= 'gallery.php' &&
$page!= 'photos.php' &&
$page!= 'forgotpasswd.php' &&
$page!= 'photos_big.php' &&
$page!= 'conditions.php' &&
$page!= 'trip.php' )){
include ("default.php");
}
elseif($user->is_logged()) {
include_once ("$page");
}
elseif($page=='agents.php' ||
$page=='poland.php' ||
$page=='aboutus.php' ||
$page=='hotels.php' ||
$page=='terms_conditions.php'||
$page=='terms_conditions_gd_es.php'||
$page=='terms_conditions_gd_fr.php'||
$page=='contact.php' ||
$page=='gallery.php' ||
$page=='photos.php' ||
$page=='photos_big.php' ||
$page=='login.php' ||
$page=='logout.php' ||
$page=='start.php' ||
$page=='forgotpasswd.php' ||
$page=='register.php' ||
$page=='reservation.php' ||
$page=='conditions.php' ||
$page=='reservation_ho.php' ||
$page== 'reservation_gd.php' ||
$page=='trip.php' ) {
include_once ("$page");
}
else {
include ("start.php");
}
if($pagelogin=='login' )
include_once("login.php");
?>
|
|
include_once("footbar.php");?>
|
|
|
|
|