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/verhoevenfourage.komma.pro/wwwroot/index.php
<?php
	session_start();

	 /*
	 * Make sure the user is visiting www.example.com instead of example.com
	 */

	if(substr($_SERVER['HTTP_HOST'],0,3) != 'www')
	{
		header ('HTTP/1.1 301 Moved Permanently');
		$location = 'http://www.' . $_SERVER['HTTP_HOST'];
		if( ! empty($_SERVER['REQUEST_URI'])) $location .= $_SERVER['REQUEST_URI'];

		header('location: ' . $location);
		exit;
	}

	include("all_kms_con.inc.php");

	// added for local development
	if(isset($_SERVER['HTTP_X_ORIGINAL_URL'])) {
        $surl = $_SERVER['HTTP_X_ORIGINAL_URL'];
    } else {
        $surl = $_SERVER['REQUEST_URI'];
    }

	$urls = explode('/', $surl);
	$string = $urls[1];

    $string2 = array_key_exists(2, $urls) ? $urls[2] : "";

	$pagina = trim(urldecode($string));
	$subpagina = trim(urldecode($string2));

	$pagina = checkData($pagina);
	$subpagina = checkData($subpagina);

	$pagina = str_replace("-","_",$pagina);
	$subpagina = str_replace("-","_",$subpagina);

	$error_404 = false;

	if(!empty($pagina) && empty($subpagina)){
		if (in_array($pagina, $aAllowedPages)){
			$pagina_template = $pagina;
			$page_titel = str_replace("_"," ",ucfirst($pagina));
		}else{
			$error_404 = true;
		}
	}else if(!empty($pagina) && !empty($subpagina)){
		if (in_array($pagina, $aAllowedPages)){
			if (in_array($pagina."_".$subpagina, $aAllowedSubPages)){
				$pagina_template = $pagina."_".$subpagina;
				$page_titel = str_replace("_"," ",ucfirst($pagina));
				$page_titel = str_replace("_"," ",ucfirst($subpagina))." - ".$page_titel;
			}else{
				$error_404 = true;
			}
		}else{
			$error_404 = true;
		}
	}else if(empty($pagina)){
		$pagina = "home";
		$pagina_template = $pagina;
		$error_404 = false;
		$page_titel = ucfirst($pagina);
	}
	if($error_404){
		header("HTTP/1.0 404 Not Found");
		header("Location: /404");
		exit;
	}
	if($pagina == "404"){
		$page_titel = "404 - Pagina niet gevonden";
	}
	if(empty($description_data)){
		$description_data = "Fouragehandel Verhoeven is een familiebedrijf dat al ruim 50 jaar stro- en hooiproducten levert. Daarnaast levert Verhoeven ook gehakseld en gemalen stro dat met de modernste technieken ontstoft is.";
	}
?>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="Author" content="Komma, (c) Komma Mediadesign, 2012. All Rights Reserved." />
<meta name="Subject" content="Fouragehandel Verhoeven B.V. Soerendonk" />
<meta name="Description" content="<?php echo($description_data); ?>" />
<meta name="Keywords" content="Fouragehandel, Verhoeven, Soerendonk, stofvrij, gehakseld, gemalen, fourage, strooisels"/>
<meta name="Language" content="Nederlands" />
<meta name="Expires" content="14" />
<meta name="Robots" content="All" />
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<title><?php echo(html_entity_decode($page_titel)); ?> | Fouragehandel Verhoeven B.V. te Soerendonk</title>
<link href="/css-js/screen.css" rel="stylesheet" type="text/css" media="screen" />
<link type="text/css" rel="stylesheet" href="http://fast.fonts.com/cssapi/cbcfb3e3-6a87-455c-a9a3-96b09e199394.css"/>
</head>

<?php if($pagina == "contact"){ ?>
	<body onload="initialize()">
<?php }else{ ?>
	<body>
<?php } ?>
<div id="headerBackground"></div>

<div id="mainframe" class="<?php if($pagina == "404"){ echo("viernulvier"); }else{ echo($pagina); } ?>">

	<div id="mainframeLeft">
        <div id="logo"><a href="/"><img class="normal" src="/img/spirte/logo.svg"/><img class="mobile" src="/img/spirte/logo_mobile.svg"/></a></div>
        <div id="hoofdmenu" class="menubalk disableSelection">
            <ul>
                <li class="<?php if($pagina =="home"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/"><span></span>home</a></li>
                <li class="<?php if($pagina =="over_ons"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/over-ons"><span></span>over ons</a></li>
                <li class="<?php if($pagina =="fourage"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/fourage"><span></span>fourage</a></li>
                <li class="<?php if($pagina =="strooisels"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/strooisels"><span></span>strooisels</a>
                    <ul id="submenu">
                        <li class="<?php if($subpagina =="gehakseld_stro"){ echo("active"); }else{ echo("notActive2"); }  ?>">
                        <a href="/strooisels/gehakseld-stro"><span></span>gehakseld stro</a></li>
                        <li class="<?php if($subpagina =="gehakseld_tarwestro"){ echo("active"); }else{ echo("notActive2"); }  ?>">
                        <a href="/strooisels/gehakseld-tarwestro"><span></span>gehakseld tarwestro</a></li>
                        <li class="<?php if($subpagina =="gemalen_tarwestro"){ echo("active"); }else{ echo("notActive2"); }  ?>">
                        <a href="/strooisels/gemalen-tarwestro"><span></span>gemalen tarwestro</a></li>
                        <li class="<?php if($subpagina =="gehakseld_koolzaadstro"){ echo("active");}else{ echo("notActive2"); } ?>">
                        <a href="/strooisels/gehakseld-koolzaadstro"><span></span>gehakseld koolzaadstro</a></li>
                        <li class="<?php if($subpagina =="gemalen_koolzaadstro"){ echo("active");}else{ echo("notActive2"); } ?>">
                        <a href="/strooisels/gemalen-koolzaadstro"><span></span>gemalen koolzaadstro</a></li>
                        <li class="<?php if($subpagina =="gehakseld_gerstestro"){ echo("active"); }else{ echo("notActive2"); }  ?>">
                        <a href="/strooisels/gehakseld-gerstestro"><span></span>gehakseld gerstestro</a></li>
                    </ul>
                </li>
                <li class="<?php if($pagina =="productie"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/productie"><span></span>productie</a></li>
                <li class="<?php if($pagina =="transport"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/transport"><span></span>transport</a></li>
                <li class="<?php if($pagina =="vacatures"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/vacatures"><span></span>vacatures</a></li>
                <li class="<?php if($pagina =="contact"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/contact"><span></span>contact</a></li>
            </ul>
        </div>
        <div class="mobile-navigation">

            <div class="bar">
                <div class="toggle-menu">
                    <div class="icon">
                        <span></span>
                        <span></span>
                        <span></span>
                    </div>
                </div>
            </div>
            <div class="shader"></div>
            <div class="menu">
                <nav>
                    <ul>
                        <li class="<?php if($pagina =="home"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/"><span></span>home</a></li>
                        <li class="<?php if($pagina =="over_ons"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/over-ons"><span></span>over ons</a></li>
                        <li class="<?php if($pagina =="fourage"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/fourage"><span></span>fourage</a></li>
                        <li class="<?php if($pagina =="strooisels"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/strooisels"><span></span>strooisels</a>
                            <ul id="submenu">
                                <li class="<?php if($subpagina =="gehakseld_stro"){ echo("active"); }else{ echo("notActive2"); }  ?>">
                                    <a href="/strooisels/gehakseld-stro"><span></span>gehakseld stro</a></li>
                                <li class="<?php if($subpagina =="gehakseld_tarwestro"){ echo("active"); }else{ echo("notActive2"); }  ?>">
                                    <a href="/strooisels/gehakseld-tarwestro"><span></span>gehakseld tarwestro</a></li>
                                <li class="<?php if($subpagina =="gemalen_tarwestro"){ echo("active"); }else{ echo("notActive2"); }  ?>">
                                    <a href="/strooisels/gemalen-tarwestro"><span></span>gemalen tarwestro</a></li>
                                <li class="<?php if($subpagina =="gehakseld_koolzaadstro"){ echo("active");}else{ echo("notActive2"); } ?>">
                                    <a href="/strooisels/gehakseld-koolzaadstro"><span></span>gehakseld koolzaadstro</a></li>
                                <li class="<?php if($subpagina =="gemalen_koolzaadstro"){ echo("active");}else{ echo("notActive2"); } ?>">
                                    <a href="/strooisels/gemalen-koolzaadstro"><span></span>gemalen koolzaadstro</a></li>
                                <li class="<?php if($subpagina =="gehakseld_gerstestro"){ echo("active"); }else{ echo("notActive2"); }  ?>">
                                    <a href="/strooisels/gehakseld-gerstestro"><span></span>gehakseld gerstestro</a></li>
                            </ul>
                        </li>
                        <li class="<?php if($pagina =="productie"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/productie"><span></span>productie</a></li>
                        <li class="<?php if($pagina =="transport"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/transport"><span></span>transport</a></li>
                        <li class="<?php if($pagina =="vacatures"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/vacatures"><span></span>vacatures</a></li>
                        <li class="<?php if($pagina =="contact"){ echo("active"); }else{ echo("notActive"); } ?>"><a href="/contact"><span></span>contact</a></li>
                    </ul>
                </nav>
            </div>
        </div>
	</div>
    <div id="mainframeMiddle">
		<?php include($pagina_template.".php"); ?>
    	<div class="columnFooter">
        	<div class="arrowAndShadow"></div>
        	<div id="columnLabel">
            	Fouragehandel Verhoeven B.V.<br />De Branten 8<br />6027 NL Soerendonk<br /><br />
            	T. (+31) (0)495 - 59 12 44<br /><a href="mailto:info@verhoevenfourage.nl">info@verhoevenfourage.nl</a>
	            <div class="labelBackgr"></div>
            </div>
        </div>
    </div>
    <div id="mainframeRight">
    	<div class="keurmerken"><a href="http://www.gmpplus.org/nl/" target="_blank" class="gmp"><span class="up"></span><span class="hover"></span></a></div>
        <div id="talen">
        	<ul>
            	<li class="nl"><a href="/"><span class="up"></span><span class="hover"></span><span class="ballon">ned</span></a></li>
                <li class="uk"><a href="http://www.verhoevenfoddertrading.com/?language=en">
                <span class="up"></span><span class="hover"></span><span class="ballon">eng</span></a></li>
                <li class="de"><a href="http://www.verhoevenfuttermittel.de/?language=de">
                <span class="up"></span><span class="hover"></span><span class="ballon">deu</span></a>
                </li>
            </ul>
        </div>
        <?php if($pagina == "strooisels" && !empty($subpagina)){
				include("strooisels_sub_right.php");
		}else{
				include($pagina_template."_right.php");
		}?>
    </div>
    <div class="clear_both"></div>
</div>
<div id="backgroundPhotos">
	<?php
		$backgrNummer = rand(1, 3);
		if($_SESSION['backgrNummer'] == $backgrNummer){
			$backgrNummer = $backgrNummer + 1;
			if($backgrNummer > 3){ $backgrNummer = 1; }
		}
		$_SESSION['backgrNummer'] = $backgrNummer;
	?>
    <img src="/img/backgr_foto<?php echo($backgrNummer); ?>.jpg" />
</div>
<div id="footer">
	<div id="footerContent">
        <div id="footermenu" class="menubalk disableSelection">
            <ul>
                <li class="<?php if($pagina =="home"){ echo("active"); }else{ echo("notActive"); }  ?>"><a href="/">home</a></li>
                <li class="<?php if($pagina =="over_ons"){ echo("active"); }else{ echo("notActive"); }  ?>"><a href="/over-ons">over ons</a></li>
                <li class="minderMargin <?php if($pagina =="fourage"){ echo("active"); }else{ echo("notActive"); }  ?>">
                	<a class="hoofditem" href="/fourage">fourage</a>
                    <ul class="submenu">
                        <li class="notActive"><a href="/fourage">tarwestro</a></li>
                        <li class="notActive"><a href="/fourage">gerstestro</a></li>
                        <li class="notActive"><a href="/fourage">koolzaadstro</a></li>
                        <li class="notActive"><a href="/fourage">weidehooi</a></li>
                        <li class="notActive"><a href="/fourage">graszaadhooi</a></li>
                    </ul>
                </li>
                <li class="minderMargin <?php if($pagina =="strooisels"){ echo("active"); }else{ echo("notActive"); }  ?>">
                	<a class="hoofditem" href="/strooisels">strooisels</a>
                    <ul class="submenu">
                        <li class="<?php if($subpagina =="gehakseld_stro"){ echo("active"); }else{ echo("notActive"); }  ?>">
                        <a href="/strooisels/gehakseld-stro">gehakseld stro</a></li>
                        <li class="<?php if($subpagina =="gehakseld_tarwestro"){ echo("active"); }else{ echo("notActive"); }  ?>">
                        <a href="/strooisels/gehakseld-tarwestro">gehakseld tarwestro</a></li>
                        <li class="<?php if($subpagina =="gemalen_tarwestro"){ echo("active"); }else{ echo("notActive"); }  ?>">
                        <a href="/strooisels/gemalen-tarwestro">gemalen tarwestro</a></li>
                        <li class="<?php if($subpagina =="gehakseld_koolzaadstro"){ echo("active");}else{ echo("notActive"); } ?>">
                        <a href="/strooisels/gehakseld-koolzaadstro">gehakseld koolzaadstro</a></li>
                        <li class="<?php if($subpagina =="gemalen_koolzaadstro"){ echo("active");}else{ echo("notActive"); } ?>">
                        <a href="/strooisels/gemalen-koolzaadstro">gemalen koolzaadstro</a></li>
                        <li class="<?php if($subpagina =="gehakseld_gerstestro"){ echo("active"); }else{ echo("notActive"); }  ?>">
                        <a href="/strooisels/gehakseld-gerstestro">gehakseld gerstestro</a></li>
                    </ul>
                </li>
                <li class="<?php if($pagina =="productie"){ echo("active"); }else{ echo("notActive"); }  ?>"><a href="/productie">productie</a></li>
                <li class="<?php if($pagina =="transport"){ echo("active"); }else{ echo("notActive"); }  ?>"><a href="/transport">transport</a></li>
                <li class="<?php if($pagina =="vacatures"){ echo("active"); }else{ echo("notActive"); }  ?>"><a href="/vacatures">vacatures</a></li>

                <li class="<?php if($pagina =="contact"){ echo("active"); }else{ echo("notActive"); }  ?>"><a href="/contact">contact</a></li>
            </ul>
        </div>
        <div id="contactgegevens">
        	<strong>&copy;2012 Fouragehandel<br />Verhoeven B.V.</strong><br /><br />
            De branten 8<br />
            6027NL Soerendonk<br /><br />
            T. +31 (0)495 59 12 44<br />
            F. +31 (0)495 59 40 97<br /><br />
            <a href="mailto:info@verhoevenfourage.nl">info@verhoevenfourage.nl</a><br />
            KvK Brabant 17015511
        </div>
        <div id="sideMenu">
        	<ul>
            	<li class="<?php if($pagina =="sitemap"){ echo("active"); }else{ echo("notActive"); }  ?>"><a href="/sitemap">sitemap</a></li>
                <li class="<?php if($pagina =="disclaimer"){ echo("active"); }else{ echo("notActive"); }  ?>"><a href="/disclaimer">disclaimer</a></li>
                <li class="<?php if($pagina =="algemene_voorwaarden"){ echo("active"); }else{ echo("notActive"); }  ?>">
                <a href="/algemene-voorwaarden">algemene voorwaarden</a></li>
            </ul>
        </div>

        <div id="komma">
            <div class="komma_logo">
                <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 102.52 102"><defs><style>.cls-1{fill:#28348a;}</style></defs><title>komma_logo_los</title><path class="cls-1" d="M101.26,65.2c-2.4-17-11.5-27.2-27.2-30.6,6.9-5,12.9-4.9,18.2.3l4.4-4.4c1.7-1.7,1.9-3.3,0-4.9h0C83,15.4,69.26,14.7,55.86,23.3c1.3-8.4,5.7-12.6,13.1-12.6V4.5h0C69,2,68,.7,65.56.9c-17,2.4-27.1,11.5-30.6,27.2-5-6.9-4.9-12.9.4-18.2L31,5.5h0c-1.8-1.8-3.3-2-4.9-.1h0Q10.61,26,23.66,46.2c-8.4-1.3-12.6-5.7-12.6-13.1H4.76c-2.5,0-3.7,1-3.5,3.4h0c2.4,17,11.5,27.1,27.2,30.5-6.9,5-12.9,4.9-18.2-.3l-4.4,4.4h0c-1.8,1.8-2,3.3-.1,4.9h0q20.55,15.45,40.8,2.4c-1.3,8.4-5.7,12.6-13.1,12.6v6.2h0c0,2.5,1,3.8,3.4,3.6h0c17-2.4,27.1-11.5,30.5-27.2,5,6.9,4.9,12.9-.4,18.2l4.4,4.4h0c1.8,1.8,3.3,2,4.9.1q15.45-20.55,2.4-40.8c8.4,1.3,12.6,5.7,12.6,13.1h6.2C100.16,68.7,101.46,67.7,101.26,65.2ZM59.46,51.1c0,10.4-4.5,16.6-13.3,18.5-2.3.2-3.2-1-3.2-3.3V63.5c4.2,0,8.1-2.8,8.1-8.6h-4.7c-2.3,0-3.3-.9-3.3-3.2V41.9h0c0-2.4.9-3.4,3.3-3.4h9.9c2.4,0,3.3,1,3.3,3.4v9.2Z"/></svg>
            </div>
            <a href="http://www.komma-mediadesign.nl" target="_blank">website ontwikkeld door<br />Komma Mediadesign</a>
        </div>

        <div class="clear_both"></div>
	</div>
    <div class="clear_both"></div>
</div>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="/css-js/libs/jquery-1.7.2.min.js"%3E%3C/script%3E'))</script>
<script type="text/javascript" src="/css-js/combined.js.min.js"> </script>

<?php
	if($_SESSION['taalPopUp'] != "nietWeergeven"){
		$_SESSION['taalPopUp'] = "nietWeergeven";
		$language = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);

		if(empty($_GET['language']) && $language != "nl"){ ?>
			<script type="text/javascript">
                $(document).ready(function(){ $.colorbox({href:"/taal_popup.php"}); });
            </script>
        <?php }
	} ?>

<?php if($pagina == "contact"){ ?>
	<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
	<script type="text/javascript" src="/css-js/googlemaps.js"></script>
<?php } ?>
<script type="text/javascript" src="/css-js/throttleDebounce.js"> </script>
<script type="text/javascript" src="/css-js/verhoeven.js"> </script>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-34542938-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

</body>
</html>