 <?php
 $this->render( '_init.phtml' );
 $layout = $this->layout()->getLayout();
 $this->tplClass = $layout;



 $leftCol = trim($this->placeholder('leftCol'));

 ?>
 <?= $this->doctype(); ?>
 <?= $this->render('_head.phtml'); ?>
 <body>
 	<div id="wrapper">
 		<?= $this->render('_sideNav.phtml') ?>

 		<header class="main">
 			<?= $this->render('_navBar.phtml') ?>
 		</header>

 		<div class="container">

 			<?= $this->banner( array(
 				'type' => 'home',
 				'count' => 3,
 				'partial' => "_slider.phtml"
 				)) ?>
 			</div>


 			<?php if( $layout!='home') : ?>
 				<div class="container bread">
 					<?= $this->navigation()->breadcrumbs()->setRenderInvisible(true)->setSeparator(' &gt; ')->setPartial('_breadcrumbs.phtml'); ?>
 				</div>
 			<?php endif; ?>
 			<div id="content-wrapper">

 				<div class="container">
 					<div class="row">
 						<section id="contentCol"  class="contentCol col-md-6 col-md-push-6">
 							<div class="content">
 								<?php
 								echo $this->messenger().PHP_EOL;
 								echo $this->layout()->content;
 								?>
 							</div>
 						</section>
 						<aside id="leftCol" class="leftCol col-md-6  col-md-pull-6">
 							<?php
 							$sf = new Search_Form_SimpleSearch();
							echo $sf;?>
							<div class="contentblock green">
								<a class="home-buletin" href="<?= $this->structureUrl('bulletin-trimestriel') ?>">&gt; Voir notre dernier bulletin trimestriel et consulter nos prochaines activités</a>
							</div>
							<?php
 							echo $this->eventsblock( array( 'title'=>'#news#' ,'scope'=>'news','count'=>2));
 							echo $this->eventsblock( array( 'title'=>'#events#', 'scope'=>'event','count'=>2));
 							echo $leftCol;

 							?>
 						</aside>
 					</div>
 					<div class="row">
 						<div class="col-xs-12">
 							<?php echo $this->eventsblock( array( 'title'=>'Publications', 'scope'=>'publication','count'=>10,'cssClass'=>'publications','partial'=>'index/block-pub.phtml')); ?>
 						</div>
 					</div>
 				</div>

 			</div>

 		</div>
 		<?= $this->render('_footer.phtml') ?>
 	</body>
 	<?= $this->render( '_foot.phtml' ); ?>
 	</html>