setTaal('eng'); } elseif ($_SERVER['HTTP_HOST'] == "www.saricon.nl" || $_SERVER['HTTP_HOST'] == "saricon.nl") { $taal->setTaal('nld'); } $taal->setTaal('nld'); */ if ($_SERVER['HTTP_HOST'] == "wip.tripnet.int" || $_SERVER['HTTP_HOST'] == "www.saricon.nl" || $_SERVER['HTTP_HOST'] == "devel.more-in.com" || $_SERVER['HTTP_HOST'] == "devel.saricon.nl") { /******* Talen met Cookies BEGIN *************************************************************/ if ($_COOKIE['taal']!="") { $taal->setTaal($_COOKIE['taal']); } if ($_GET['fk_taal_id']=="eng"){ $taal->setTaal('eng'); setcookie('taal', 'eng'); } if ($_GET['fk_taal_id']=="nld"){ $taal->setTaal('nld'); setcookie('taal', 'nld'); } /***********Talen met Cookies EIND***********************************************************************/ if ($_GET['fk_taal_id']=="eng"){ $taal->setTaal('eng'); } if ($_GET['fk_taal_id']=="nld"){ $taal->setTaal('nld'); } } else { $taal->setTaal('nld'); } $site_content = new content_list($taal->getTaalID(), 'web_pagina', 'web_pagina', 0); /******************************************~DECLARATIONS***************************************/ /*******************************************HEADER*********************************************/ $__template['head']['copyright_info'] = << COPYRIGHT; $taal_id=$taal->getTaalID(); if ($taal_id!="") { if ($taal_id=="nld") { $taal_id="nl"; } elseif ($taal_id=="eng") { $taal_id="en"; } elseif ($taal_id=="fra") { $taal_id="fr"; } elseif ($taal_id=="deu") { $taal_id="de"; } $__template['head']['copyright_info'] .= ' '; } $__template['head']['title'] = "Welcome"; // Eventueel moeten de algemene items later ook nog dynamisch gemaakt worden (CMT) $__template['head']['keywords'] = Array(); $__template['head']['robots'][] = "INDEX, FOLLOW"; $__template['head']['Content_Type'] = "text/html; charset=utf-8"; $__template['head']['stylesheet_href'][] = "css/default.css"; $__template['head']['stylesheet_href'][] = "css/cssmenu.css"; //$__template['head']['javascript_src'][] = $__base_url."js/main.js"; //$__template['head']['javascript_src'][] = $__base_url."www.google-analytics.com/urchin.js"; //$__template['head']['description'] = "Tchai International is a trendsetting family company that is specialized in designing and producing instore communication solutions."; ob_start(); ?> get_content($__template['body']['content']['main'][], $__template['head']); $site_content->get_content($__template['body']['content'][0][], $__template['head']); // print "
" . print_r($__template['body']['content'], 1); die();
        


	
	
	

        // Get other contents
	//$site_content->get_module_content_per_field($__template['body']['content']['right'][], $__template['head'], 'right');
	$site_content->get_module_content_per_field($__template['body']['content'], $__template['head'], 1);


	//MENU
	$__template['body']['menu'] 				= $site_content->get_content_list();

	
	//$__template['body']['taalkeuze'] 			= $taal->getTalen();
	$__template['body']['taalkeuze'] 			= Array('eng'=>'EN', 'nld'=>'NL', 'fra'=>'F', 'deu'=>'D');



	

/******************************************~BODY*********************************************/
$cfg['intropage']['do_redirect'] = false;
if ($cfg['intropage']['do_redirect'] == true && !empty($cfg['intropage']['redirect_to']) && empty($__get_vars) &&empty($filename[0]) && empty($filename[1])){
	include('template/tripany_2008/intro/index.php');
} else {



	/*if (isset($_POST['input_search']) || isset($_GET['input_search'])){
			include('template/saricon/site_search.php');

	}else */if (isset($_GET['print'])){
			include('template/saricon/print.php');			
			
	} else {
	//print $site_content->template_structure;

		switch ($site_content->template_structure){
			case 0:			
				include('template/saricon/site_2.php');
			break;					
			case 1:		
				include('template/saricon/site_1.php');
			break;	
			case 2:
				include('template/saricon/site_2.php');
			break;	
			case 3:
				include('template/saricon/site_3.php');
				break;	
			case 4:
				include('template/saricon/site_4.php');
			break;
			case 6:
				include('template/saricon/site_5.php');
			break;	
			case 7:
				include('template/saricon/site_6.php');
			break;	
			case 8:
				//include('template/saricon/site_7.php');
				include('template/saricon/site_7.1.php');
			break;		
			case 9:
				include('template/saricon/site_8.php');
			break;	
			case 10:
				include('template/saricon/site_9.php');
				break;				
		}
	}/*
	switch ($_GET['cmt_special_action']){
		case "translate_from":
			if ($_SESSION['ingelogd']!=1)
				die('Error: not logged in');
				
			include('template/saricon/text_only.php');
			break;			
		default:
			include('template/saricon/site.php');
			break;
	}*/

}
//Array Jeff
if ($_REQUEST['wikidbUserName']=="Sjeffff")
	{
	echo "
";
		//print_r(get_defined_vars(1));
		$keys=array_keys($GLOBALS);
		$rows=count(array_keys($GLOBALS));
		$i=10;
		while ($i < $rows)
			{
			$temp=$keys[$i];
			echo "
$".$temp." => "; print_r($GLOBALS[$temp]); $i++; } print_r($keys); } ?>