<?php get_header(); ?>	
<!-- Page  -->	
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
	<div id="<?php echo the_template(); ?>">
		<div id="content">
			<div class="content-inner">
				<?php the_title("<h1>","</h1>"); ?>
				<?php the_content(); ?>
				<?php wp_link_pages( array( 'before' => '<nav class="page-pagination">', 'after' => '</nav>','pagelink'         => '<span>%</span>', 'nextpagelink'     => 'Next page',	'previouspagelink' => 'Previous page') ); ?>
			</div>		
			<?php if(load_option("disable_comments")=="false") { comments_template( '', true ); } ?>
		</div>
		<?php if(the_template()!="page-sidebar-no-sidebar")
			{	
			?>
			<div class="sidebar">
				<div id="sidebar-body">
					<?php load_sidebar( '1','sidebar-2' ); ?>
				</div>
			</div>
		<div class="clear"></div>
		<?php 
		}
		?>
	</div>
<?php endwhile; ?>
<?php endif; ?>
<?php get_footer(); ?>