<!doctype html>


<html lang="en" class="no-js">

<head>
	<title><?php echo $site_name; ?></title>

	<meta charset="utf-8">

	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

	<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,700,600,300' rel='stylesheet' type='text/css'>


 <link rel='shortcut icon' href="<?php echo URL::base();?>favicon.ico" type='image/x-icon'/> 
<?php foreach ($styles as $style) : ?>
<link rel="stylesheet" href="<?php echo URL::base();?>media/css/<?php echo $style; ?>.css" type="text/css" media="all"/>
<?php endforeach; ?>
 
<?php foreach ($scripts as $script) : ?>
<script type="text/javascript" src="<?php echo URL::base(); ?>media/js/<?php echo $script; ?>.js"></script>
<?php endforeach; ?>

	
	<!--[if lt IE 9]>
		<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
	
	<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-104965858-1', 'auto');
  ga('send', 'pageview');

</script>

</head>

<body>
	<!-- Container -->
	<div id="container" class="boxed">
		<?php echo View::factory('common/header'); ?>
	       <!-- content 
			================================================== -->
		<div id="content">	
				<?php 
                  echo $content;
				?>	
	            <?php if($menu_curent=='Accueil'){echo View::factory('common/slider');}; ?>
				<?php if($menu_curent=='Accueil'){echo View::factory('pages/partners');}; ?>
				<?php if($menu_curent=='Accueil'){echo View::factory('accueil/welcome');}; ?>
				<?php if($menu_curent=='Accueil'){echo View::factory('accueil/la_une');}; ?>
		</div>
		<!-- End content -->
<?php echo View::factory('common/footer'); ?>
	</div>
	<!-- End Container -->

	<!--
	##############################
	 - ACTIVATE THE BANNER HERE -
	##############################
	-->
<?php if($menu_curent=='Accueil'){echo View::factory('common/slider_scripts');}; ?>
<?php if($menu_curent=='Contact'){echo View::factory('common/contact_scripts');}; ?>
<?php if($menu_curent=='Services'){echo View::factory('common/produit_scripts');}; ?>
	
</body>
</html>