<?php global $qaleb;?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<section class="single">
<div id="lin-10"></div>
<header><h2 class="single-post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2><br></header>
<header>
<span>
<?php if($qaleb['singl-date-ac']=='1'){?> تاریخ انتشار : <?php the_time(' d F Y  -  G:i');  ?>    | <?php } ?>
<?php if($qaleb['singl-view-ac']=='1'){?> <?php set_post_views (get_the_ID()); ?><?php echo get_post_views (get_the_ID()); ?>    | <?php } ?>
<?php if($qaleb['singl-user-ac']=='1'){?> ارسال توسط :  <?php the_author_posts_link(); ?> <?php } ?>
</span>
</header>
<div class="post-content clearfix">
<div class="con"><?php the_content(); ?></div>
<div class="page-bottom">
<?php if($qaleb['singl-social-ac']=='1'){?><?php get_template_part('inc/share'); ?><?php } ?>
<?php if($qaleb['singl-link-ac']=='1'){?><?php get_template_part('inc/link'); ?><?php } ?>
</div>
</div>
<!---->
<div id="lin-10"></div>
<div class="box-header"><b><?php echo $qaleb['single-comment-title']; ?></b></div>
<?php comments_template('/comments.php'); ?>
</section>
<?php endwhile; else : ?><?php endif; ?>