<?php get_header();?>
        <div id="content">
            <div id="entry">
            	<?php require SalahElimam_DIR . '/searchform.php';?>
                <?php require SalahElimam_TM . '/social.php';?>
            </div><!--End Entry-->
            <div id="mainContent">
              <div id="mainContentData">
                  <div id="singleCenterFront">
                      <div id="mainFrontContents">
                      <div id="SinglePosts">
                          <div id="latestPostsContent">
                          	  <?php if(have_posts()) : while(have_posts()) : the_post('');?>
                              <div class="post">
                              	<div class="postTop">
                                	 <a href="<?php the_permalink();?>" class="latestPostTitle"><h1><?php the_title();?></h1></a>
                                     <div class="postMeta">
                                        <ul>
                                            <li class="postCat"><?php the_category(', ') ?></li>
                                            <li class="postAuthor"><?php the_author_posts_link(); ?></li>
                                            <li class="postComments">التعليقات  : <a href="<?php comments_link();?>"><?php comments_number('0','1','%');?></a></li>
                                        </ul>
                                    </div><!--End LatestPost Meta-->
                                </div><!--End PostTop-->
                                <div class="postContent">
                                    <div class="postMainContent">
										<?php the_content(); ?>
                                    </div><!--End Post Main Content-->
                                    <?php if ($Webcolors['posts-btns'] == 1) : ?>
                                    <div class="postShare">
										<?php include TEMPLATEPATH .'/templates/post.social.php';?>
                                    </div><!--End Post Share-->
                                    <?php endif;?>
                                </div><!--End PostContent-->
                                <div class="postBtm">
                                	<?php if ($Webcolors['posts-btns'] == 1) : ?>
                                	<?php include TEMPLATEPATH .'/templates/author.php';?>
                                    <?php endif;?>
                                </div><!--End PostBtm-->
                              </div><!--End Post-->
                              <?php if ($Webcolors['related'] == 1) : ?>
                              <div class="post">
                              	<div class="postTop">
                                	 <h3 class="RelatedTitle">مقالات ذات صلة </h3>
                                </div><!--End PostTop-->
                                <div class="postContent">
                                    <?php include TEMPLATEPATH .'/templates/related.php';?>
                                </div><!--End PostContent-->
                                <div class="postBtm">
                                
                                </div><!--End PostBtm-->
                              </div><!--End Post-->
                              <?php endif;?>
                              <div class="post">
                              	<div class="postTop">
                                	 <div id="tags">
                                        <ul>
                                            <li><?php the_tags(''.__('','inanis').'', ' ', ''); ?></li>
                                        </ul>
                                    </div>
                                </div><!--End PostTop-->
                                <div class="postContent">
                                    <div class="comments-div">
										<?php comments_template(); ?>
                                    </div>
                                </div><!--End PostContent-->
                                <div class="postBtm">
                                
                                </div><!--End PostBtm-->
                              </div><!--End Post-->
                              
                              <?php endwhile; ?>
							  <?php  else:  ?>
                              <div class="no-res" >
                                  <p class="nop">المعذرة, ما تبحث عته غير متوفر هنا</p>
                                  <?php include TEMPLATEPATH .'/searchform.php';?>
                              </div>
                              <?php  endif; ?>
                              <div class="pagination">
                                      <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
                              <?php wp_reset_query(); ?>
                              </div><!--End Pagination-->
                          </div><!--End Latest Posts Content-->
                      </div><!--End Latest Posts-->
                      <?php require SalahElimam_TM . '/randoms.php';?>
                      </div><!--End mainFrontContents-->
                  </div><!--End Center-->
                  <?php get_sidebar();?>
              </div><!--End Main Content Data--> 
          </div><!--End Main Content-->
        </div><!--End Content-->
<?php get_footer();?>
