HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers18/decoockpit.nl/wwwroot/kes/index.php
<?php

	include("config/all_kes_con.php");
	
	$pagina = $_GET['p'];
		 
	$pagina = mysql_real_escape_string(trim(urldecode($pagina))); 
	
	$aAllowedPages = array('bekijken',
					   'aanmelden',
					   'activeren',
					   'accepteren',
					   'afmelden');
	
	if (!in_array($pagina, $aAllowedPages)) {	
	
		if(empty($pagina)){
			header("HTTP/1.1 301 Moved Permanently"); 
			header("Location: /kes/admin/");
		}else{
			header("HTTP/1.0 404 Not Found");
			$pagina="404";
		}
	}
	
	$pagina_titel = $pagina;
	
	switch($pagina) {
		case 'aanmelden':
			$pagina_titel = $config['metadata']['aanmelden'];
			break;
		case 'activeren':
			$pagina_titel = $config['metadata']['activeren'];
			break;
		case 'afmelden':
			$pagina_titel = $config['metadata']['afmelden'];
			break;
		case 'accepteren':
			$pagina_titel = $config['metadata']['accepteren'];
			break;
		case 'verzenden':
			$pagina_titel = $config['metadata']['verzenden'];
			break;
		case 'bekijken':
			$pagina_titel = $config['metadata']['bekijken'];
			break;
		case '404':
			$pagina_titel = $config['metadata']['404'];
			break;
		default:
			$pagina_titel = $config['metadata']['main_title'];
			break;
	}
	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo($pagina_titel);?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="author" content="Komma, (c) Komma Mediadesign, 2010. All Rights Reserved." />
<meta name="subject" content="<?php echo($config['metadata']['subject']);?>" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<meta name="description" content="<?php echo($config['metadata']['description']);?>" />
<meta name="language" content="<?php echo($config['metadata']['taal']); ?>" />
<meta name="date" content="<?php echo(date("D, d M Y G:i:s")." CET"); ?>" />
<link href="/kes/css-js/kes_style.css" rel="stylesheet" type="text/css" />
<link href="/kes/config/client_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/kes/css-js/mootools-1.2.4-core-yc.js"> </script>
<script type="text/javascript" src="/kes/css-js/kes_js.js"> </script>
<script type="text/javascript" src="/kes/config/client_js.js"> </script>

<!--[if IE 6]>
<script type="text/javascript" src="/kes/css-js/DD_belatedPNG_0.0.8a-min.js"> </script>
<script>
	document.execCommand("BackgroundImageCache", false, true);
	DD_belatedPNG.fix('#logo img');
</script>
<![endif]-->

<?php include("config/client_index.php"); ?> 

<script type="text/javascript">
	inputFieldActive();
</script>

<?php if($config['klant']['google_analytics'] == "ja"){ ?>
<script type="text/javascript">
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
	try {
		var pageTracker = _gat._getTracker("<?php echo($config['klant']['google_code'] );?>");
		pageTracker._trackPageview();
} catch(err) {}</script>
<?php } ?>

</body>
</html>