<?php

/* 	AssociationX Theme's Single Page to display Single Post
	Copyright: 2012-2020, D5 Creation, www.d5creation.com
	Based on the Simplest D5 Framework for WordPress
	Since AssociationX 1.0
*/
get_header(); 
$associationx_pagelayout = 'leftcontent';
if(!is_active_sidebar('sidebar-sinpost') ) $associationx_pagelayout = 'fullcontent';
?>
<div id="pagename" class="d5_single_page"></div>
<div id="container" class="sinpagepostcon sinpostcon box90 <?php echo $associationx_pagelayout; ?>">
	<div id="containerin">
		<?php
		get_template_part( 'post-content' );
		if($associationx_pagelayout != 'fullcontent') get_sidebar('sinpost'); 
		?>
	</div>
</div>
<?php get_footer();