<?php
/*
 Template Name: بدون قائمه جانبية
*/
?>
<?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="fullCenterFront">
                      <div id="mainFrontContents">
                      <div id="FullSinglePosts">
                          <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><!--End PostTop-->
                                <div class="postContent">
                                    <div class="postMainContent">
										<?php the_content(); ?>
                                    </div><!--End Post Main Content-->
                                </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-->
                      
                      </div><!--End mainFrontContents-->
                  </div><!--End Center-->
              </div><!--End Main Content Data--> 
          </div><!--End Main Content-->
        </div><!--End Content-->
<?php get_footer();?>
