<?php
get_header(); ?>

		 <div class="container">	
    	<div class="content-ins">
        	<div class="posts">
        	<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>	

			<h2>
				<?php if (trim(get_the_title()) != '') { the_title_attribute();  } else  _e('No title', 'parallax'); ?>
			</h2>

			<div class="entry">
				<?php the_content(); ?>
				<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'parallax' ), 'after' => '</div>' ) ); ?>
			</div>
			<div class="clear"></div>
		    <?php if ( !is_front_page() ) : ?>	
	<?php comments_template( '', true ); ?>
	<?php else:?> 
		<?php endif; ?>
	<?php endwhile; else: ?>

		<div class="no-posts"><?php _e( 'Sorry, the page you requested was not found', 'parallax');?> </div>

	<?php endif; ?>

        </div>
		
<div class="bottom-widget">
<div class="sb-right">
        <?php if ( is_active_sidebar( 'sidebar-page' ) ) : ?>
	        <?php dynamic_sidebar( 'sidebar-page' ); ?>
        <?php endif;?>
    </div>
</div>
<div class="clear"></div>
		<?php 
	include get_template_directory() . '/featured-posts.php'; ?>
	<div class="clearfix"></div>	
</div>
</div>
<div class="clear"> </div>
<?php get_footer(); ?>