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/SBogers10/molen.komma.pro/wwwroot/kms/index.php
<?php

//ini_set('display_errors',1);
//error_reporting(E_ALL);

include("../all_kms_con.inc.php");
	
$aAllowedPages_admin = array('home',
   					   'contact',
					   'bestelling_overzicht',
					   'bestelling_info',
					   'bestelling_wijzigen',
   					   'bestelling_verzending_aanmaken',
					   'bestelling_label_printen',
					   'categorie_overzicht',
					   'categorie_toevoegen',
					   'categorie_wijzigen',
					   'categorie_verwijderen',
					   'artikel_overzicht',
					   'artikel_toevoegen',
					   'artikel_image',
					   'artikel_wijzigen',
					   'artikel_verwijderen',
					   'ordenen_overzicht',
					   'ordenen_categorie',
					   '404'
					   );
	
	$pagina = $_GET['p'];
		 
	$pagina = mysql_real_escape_string(trim(urldecode($pagina))); 
	
	if(empty($pagina)){
		$pagina = "home";	
	}
	
	if (!in_array($pagina, $aAllowedPages_admin)) {	
		header("HTTP/1.0 404 Not Found");
		$pagina="404";
	}
	

?>
<!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>Komma Management Systeem Molen Nooit Gedagt Budel.nl</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="author" content="Komma, (c) Komma Mediadesign, 2011. All Rights Reserved." />
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
<meta name="description" content="Komma E-mail Systeem Administrator" />
<meta name="language" content="Nederlands" />
<meta name="date" content="<?php echo(date("D, d M Y G:i:s")." CET"); ?>" />
<link href="css-js/kms_admin_style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="css-js/jquery-1.5.1.min.js"> </script>
<script type="text/javascript" src="css-js/kms_admin_js.js"> </script>

<?php if($pagina == "ordenen_categorie"){ ?>
<script type="text/javascript" src="css-js/jquery-ui.js"> </script>
<script type="text/javascript" src="css-js/kms_admin_js_sort.js"> </script>
<?php } ?>

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

<body>

<div id="container">

    <div id="content_container">
		<div id="header">

				<div id="kms_logo"><a href="index.php?p=home"><img src="img/kms_logo.png" alt="Komma Management System" width="200" /></a></div>

                <div id="kms_menu">
                
                    <ul>
                        <li><a <?php if($pagina == "bestelling_overzicht" || $pagina == "bestelling_info" || $pagina == "bestelling_wijzigen"){ 
                        echo("class=\"active\""); } ?> href="index.php?p=bestelling_overzicht" title="Bestellingen">Bestellingen</a></li>

                        <li><a <?php if($pagina == "artikel_overzicht" || $pagina == "artikel_toevoegen" || $pagina == "artikel_wijzigen" || $pagina == "artikel_verwijderen"
                                || $pagina == "artikelfoto_overzicht" || $pagina == "artikelfoto_toevoegen" || $pagina == "artikelfoto_wijzigen" || $pagina == "artikelfoto_verwijderen" ){
                                echo("class=\"active\""); } ?> href="index.php?p=artikel_overzicht" title="Artikelen">Artikelen</a></li>
                        
                        <li><a <?php if($pagina == "categorie_overzicht" || $pagina == "categorie_toevoegen" || $pagina == "categorie_wijzigen" || $pagina == "categorie_verwijderen"){
                        echo("class=\"active\""); } ?> href="index.php?p=categorie_overzicht" title="Categorie&euml;n">Categorie&euml;n</a></li>
                                      
                        <li><a <?php if($pagina == "contact"){ 
                        echo("class=\"active\""); } ?> href="index.php?p=contact" title="Contact">Contact</a></li>
                           
                    </ul>
                
                </div>
                
              
                <div class="clear"></div>

		</div>
        
        <div id="pagina_inhoud">
		
			<?php include($pagina.".php"); ?> 
            
        </div>
    
    </div>
    
    <div id="footer">
    	<div id="footer_tekst">&copy;2011 <a href="http://www.komma-mediadesign.nl" target="_blank">Komma Mediadesign</a> | <a href="index.php?p=algemene_voorwaarden">Algemene voorwaarden</a> | <a href="index.php?p=disclaimer">Disclaimer</a></div>
     <div id="kes_tandwielen"><img src="img/kms_tandwielen.png" alt="Komma E-mailsystem" width="97" /></div>
    </div>
    
</div>

</body>
</html>