
<?php \Laravel\Section::start('content'); ?>
	
<div id="slideInterne" class="fadeTopJs">
	<h1><?php echo  $article->contentLocale()->title ; ?></h1>
	<h2>Article du <?php echo  DateFunctions::format_date($article->display_date) ; ?></h2>
</div>
<div class="wrapperPadding blanc">
	<div class="wrapper details">
		<div class="blogBig">
		
			<div id="socialshare">
				<a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php echo urlencode(URL::full()); ?>" title="Partager sur Facebook" class="fac"><span style="position:absolute;margin-top:2px">Partager sur Facebook</span></a>
				<a target="_blank" href="https://twitter.com/intent/tweet?original_referer=<?php echo urlencode(URL::full()); ?>&text=<?php echo  urlencode( $article->contentLocale()->title ) ; ?>&url=<?php echo urlencode(URL::full()); ?>" title="Partager sur Twitter" class="twi"><span style="position:absolute;margin-top:2px">Partager sur Twitter</span></a>
				<a target="_blank" href="https://plusone.google.com/_/+1/confirm?hl=fr-FR&amp;url=<?php echo urlencode(URL::full()); ?>" title="Partager sur Google+" class="goo"><span style="position:absolute;margin-top:2px">Partager sur Google+</span></a>
			</div>
			<script type="text/javascript">
			$(window).load(function(){
				var scrollingDiv = $('#socialshare');
				var bottom_page = $('.lienBackB').offset();
				var max_position = bottom_page.top - 510;
				$(window).scroll(function(){
					var new_position = $(window).scrollTop();
					if(new_position > max_position){new_position = max_position;}
					scrollingDiv.stop().animate({'marginTop': new_position + 'px'}, 400 );
				});
			});
			</script>
		
			<img src="<?php echo  str_replace('fr/','',URL::to_action('photoblogthumb',array('2000','800',$article->id))); ; ?>" alt="<?php echo  $article->contentLocale()->title ; ?>" title="<?php echo  $article->contentLocale()->title ; ?>" />
		</div>
		<div class="blogTxt">
			<?php echo  $article->contentLocale()->html ; ?>
		</div>
		<a href="<?php echo  URL::to('blog') ; ?>" class="lienBackB" title="Retour au blog CKC-Net"><i class="icon-chevron-left"></i>&nbsp;&nbsp;&nbsp;&nbsp;<u>Retour au blog CKC-Net</u></a>
		<div class="clear"></div>
	</div>
</div>

<?php if($populaires && count($populaires)>=1): ?>
<div class="wrapperPadding grey">
	<div class="wrapper">
		<h1>Articles populaires</h1>
		
		<?php echo view('blog.populaires')->with(get_defined_vars())->render(); ?>
		
		<div class="clear"></div>
	</div>
</div>
<?php endif; ?>

<?php echo view('includes.pre_footer')->with(get_defined_vars())->render(); ?>

<?php \Laravel\Section::stop(); ?>
<?php echo view('template')->with(get_defined_vars())->render(); ?>