<?php
/* Template Name: No Widgets */
?>
<?php get_header(); ?>

<!-- START FULLWIDTH AREA -->
    <div class="grids_box_sidebar"><div class="widget-title"><h3><?php the_title(); ?></h3></div></div>
    <div id="fullwidth">
    <div class="block">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="post-entry">
<?php the_content(); ?>
    </div>
<br class="clearspace-bottom">
    </div>

 <?php if (is_page() && comments_open()): ?>

   <?php if( get_option('tigu_comments_type_on_pages', 'WordPress') == 'WordPress') : ?>
<div class="grids_box_sidebar" style="border-bottom:#d5d5d5 solid 1px !important">
<div class="widget-title">

<h3><?php _e('Comments', 'Gameleon'); ?>:</h3>

</div>
</div>
<div id="comments">
<div class="gamepage">
<div class="gamepagewhite">
<?php comments_template(); ?>

</div>
</div>
</div>

<?php elseif( get_option('tigu_comments_type_on_pages', 'WordPress') == 'Facebook') : ?>
<div class="grids_box_sidebar" style="border-bottom:#d5d5d5 solid 1px !important">
<div class="widget-title">

<h3><?php _e('Facebook Comments', 'Gameleon'); ?>:</h3>

</div>
</div>
<div id="comments">
<div class="gamepage">
<div class="gamepagewhite">
<?php $url = (!empty($_SERVER['HTTPS'])) ? "https://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] : "http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; ?>	
<div class="fb-comments" data-href="<?php echo $url; ?>" data-num-posts="10" data-width="920"></div>

</div>
</div>
</div>


<?php elseif( get_option('tigu_comments_type_on_pages', 'None') == 'None') : ?>

<?php else: ?>

<?php comments_template(); ?>

<?php endif; ?>

<?php endif; ?>
<?php endwhile; endif; ?>


    </div>
    </div>
<!-- END FULLWIDTH AREA -->

<?php get_footer(); ?>