<?php require_once('header.php'); ?>
  <body>
  <!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KJ8G6JQ"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
    <?php include_once('menu.php'); ?>

    <div class="container" style="margin-top: 20px;">
		<div class="page-header">
		<?php
		//echo '<pre>'; var_dump($_SERVER); exit;
			//if (isset($_GET['p']))
			if ((strlen($_SERVER['REQUEST_URI']) > 1) && ($_SERVER['REQUEST_URI'] != '/bdeconstans/')) {
				include_once(str_replace('/', '', $_SERVER['REQUEST_URI']).'.php');
				//include_once(str_replace('/bdeconstans/', '', $_SERVER['REQUEST_URI']).'.php'); // remote
			} else {
				//include_once(str_replace('/', '', 'o-firmie.php'));
				include_once('o-firmie.php'); // remote
			}
		?>
		</div>
    </div>
    
    <?php include_once('footer.php'); ?>
  </body>
</html>