 <?php
 $this->render( '_init.phtml' );
 $layout = $this->layout()->getLayout();
 $this->tplClass = $layout;
 ?>
 <?= $this->doctype() ?>
 <!--[if lt IE 7]><html class="no-js ie6 oldie <?= $this->tplClass; ?>" lang="<?= $this->lang ?>"> <![endif]-->
 <!--[if IE 7]><html class="no-js ie7 oldie <?= $this->tplClass; ?>" lang="<?= $this->lang ?>"> <![endif]-->
 <!--[if IE 8]><html class="no-js ie8 oldie <?= $this->tplClass; ?>" lang="<?= $this->lang ?>"> <![endif]-->
 <!--[if IE 9]><html class="no-js ie9 <?= $this->tplClass; ?>" lang="<?= $this->lang ?>"> <![endif]-->
 <!--[if gt IE 9]><!--><html class="no-js <?= $this->tplClass; ?>" lang="<?= $this->lang ?>"><!--<![endif]-->
 <head>
 	<?php
 	echo $this->headTitle() . PHP_EOL
 	. $this->headMeta() . PHP_EOL
 	. $this->headLink() . PHP_EOL
 	. $this->headStyle() . PHP_EOL
 	. $this->headScript(). PHP_EOL; 
 	?>
 </head>
 <body>
 	<header class="main">
 		<?= $this->render('_navBar.phtml') ?>
 	</header>
 	<div class="row sliderContainer">
 			<?= $this->banner( array( 'type'=>'home' ) ) ?>		
 	</div>
 	<div id="content-wrapper" class="container border-top">
 		<div class="row" data-equalizer>
 			<section id="contentCol"  class="contentCol medium-6 columns" data-equalizer-watch>
 				<?php
 				echo $this->messenger().PHP_EOL;
 				echo $this->layout()->content;
 				?>
 			</section>
 			<aside id="rightCol" class="rightCol medium-6 columns" data-equalizer-watch>
 				<?= $this->eventsblock( array( 'count' => 2 , 'scope' => array('news'), 'title'=>'#latest news#' ,'dateformat'=>'dd/MM') ) ?>
 				<?= $this->eventsblock( array( 'count' => 2 , 'scope' => array('event'), 'title'=>'#upcoming events#' ,'dateformat'=>'dd/MM','topmeta'=>true) ) ?>
 				<?= $this->eventsblock( array( 'count' => 2 , 'scope' => array('press-review'), 'title'=>'#press reviews#' , 'cssClass'=>'press','dateformat'=>'dd/MM' ) ) ?>
 			</aside>
 		</div>
 	</div>
 	<?= $this->render('_footer.phtml') ?>
 </body>
 <?= $this->render( '_foot.phtml' ); ?>
 </html>