 <?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 headercontainer">
 				<?php
 							$sf = new Search_Form_SimpleSearch();
							echo $sf;?>

 			<?= $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">
 					<?php
 						echo $this->messenger().PHP_EOL;
 					?>
 					<div class="row homerow">
                        <div class="col-xs-12 col-sm-6">
                            <div class="contentblock whiteorange">
                                <a class="home-biglink" href="<?php echo $this->structureUrl('par-un-legs'); ?>">&gt; Informations sur les testaments</a>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6">
                            <div class="contentblock whiteorange">
                                <?php /* <a class="home-biglink" href="<?php echo $this->structureUrl('par-un-don'); ?>">&gt; Faites un don</a> */ ?>
                                <a class="home-biglink" target="_blank" href="https://lalumiere.iraiser.eu/b?cid=1&lang=fr_FR&amount=4000&frequency=once">&gt; Faites un don</a>
                            </div>
                        </div>
                        <?php /*
                        <div class="col-xs-12 col-sm-6">
                            <div class="contentblock whiteorange">
                                <a class="home-biglink" href="#contentCol">&gt; Notre mission</a>
                            </div>
                        </div>
 						<div class="col-xs-12 col-sm-6">
 							<div class="contentblock whiteorange">
								<a class="home-biglink" href="<?= $this->structureUrl('bulletin-trimestriel') ?>">&gt; Consultez notre dernier bulletin trimestriel</a>
							</div>
 						</div>
 						<?php /*<div class="col-xs-12 col-sm-6 col-sm-pull-6">
 							<header><h1 class="hometitle">Calendrier des activités</h1></header>
 						</div> */ ?>
 					</div>

 					<?php /* echo $this->eventsblock()->trimesterCal() */ ?>
                    <div class="row homerow">
 					<div class="contentCol col-xs-12">
                        <div class="content">
 					        <?php echo $this->cmsContent('home-page-video',array('heading'=>false)); ?>
                        </div>
 					</div>
                    </div>

 					<div class="row homerow homenewsevents row-eq-deep">
                        <div class="col-xs-12">
                            <?php echo $this->eventsblock( array( 'title'=>'#news#' ,'scope'=>'news','count'=>2)); ?>
                        </div>
<!-- 						<div class="col-xs-12 col-sm-9 leftNE">-->
<!-- 							--><?php //echo $this->eventsblock( array( 'title'=>'#news#' ,'scope'=>'news','count'=>2)); ?>
<!-- 						</div>-->
<!-- 						<div class="col-xs-12 col-sm-3 rightNE">-->
<!--                            ddd-->
<!-- 							--><?php ///* echo $this->eventsblock( array( 'title'=>'#events#', 'scope'=>'event','count'=>3)); */ ?>
<!-- 						</div>-->
 					</div>
                  <?php echo $this->render('hp-blocks.phtml') ?>

                    <div class="row homerow">
 						<section id="contentCol"  class="contentCol col-xs-12">
 							<div class="content">
 								<?php
 								echo $this->layout()->content;
 								?>
 							</div>
 						</section>
 						<aside id="leftCol" class="leftCol col-md-6  col-md-pull-6">
							<?php
 							echo $leftCol;
 							?>
 						</aside>
 					</div>
 					<?php /*<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>