View file 5555665/file_hosting/index.php

File size: 1.16Kb
<?php
	$pages = Array(
		'1'	=> Array('id' => '1', 'alias' => 'About-us', 'file' => '1.php'),
		'2'	=> Array('id' => '2', 'alias' => 'Events', 'file' => '2.php'),
		'3'	=> Array('id' => '3', 'alias' => 'Package-Tour', 'file' => '3.php'),
		'4'	=> Array('id' => '4', 'alias' => 'Home', 'file' => '4.php'),
		'5'	=> Array('id' => '5', 'alias' => 'Offer', 'file' => '5.php'),
		'6'	=> Array('id' => '6', 'alias' => 'Booking', 'file' => '6.php')
	);
	$forms = Array(

	);
	$base_dir = dirname(__FILE__);
	$base_url = '/';
	include dirname(__FILE__).'/inc.functions.php';
	$home_page = '1';
	$page_id = parse_uri();
	$user_key = "ibqjA/pBFqvYIMO3mjmF9Q==";
	$user_hash = "46320204ee12b9938b86a1eca5207ce1";
	$blog_callback = "http://youbuilding.eu/engine/blog.callback.php";
	$preview = false;
	if (isset($_POST["wb_form_id"])) include dirname(__FILE__).'/wb_scripts/wb_email_send.php';
	ob_start();
	if (isset($_REQUEST['view']) && $_REQUEST['view'] == 'news')
		include dirname(__FILE__).'/news.php';
	else if (isset($_REQUEST['view']) && $_REQUEST['view'] == 'blog')
		include dirname(__FILE__).'/blog.php';
	else
		include dirname(__FILE__).'/'.$pages[$page_id]['file'];
	ob_end_flush();

?>