<?php include ("phpnewsdetail.php")?>
<!DOCTYPE html>
<html lang="zxx">
    
<head>
        
        <title>Learning Tree - Creche Academy</title>
		<?php include ('header.php');?>
		<!-- Main content Start -->
		<div class="main-content">
			<!-- Breadcrumbs Start -->
			<div class="rs-breadcrumbs breadcrumbs-overlay">
					<div class="breadcrumbs-img">
							<img src="assets/images/breadcrumbs/2.jpg" alt="Breadcrumbs Image">
					</div>
					<div class="breadcrumbs-text white-color">
							<h1 class="page-title">News Details</h1>
							<ul>
								<li>
									<a class="active" href="home.php">Home</a>
								</li>
								<li>News Details</li>
							</ul>
					</div>
			</div>
			<!-- Breadcrumbs End -->

			<!-- Blog Section Start -->
            <div class="rs-inner-blog orange-color pt-100 pb-100 md-pt-70 md-pb-70">
              <div class="container">
                  <div class="row">
				  
                    <div class="col-lg-4 col-md-12 order-last">
					<iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2FMayfairAcademyUmuahia&tabs=timeline&width=340&height=720&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=true&appId" width="340" height="800" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
                    </div>
					
                      <div class="col-lg-8 pr-50 md-pr-15">
                          <div class="row">
						  <?php
        foreach($single_news as $news){
          $news['news_image'] = str_replace($_SERVER['DOCUMENT_ROOT'], "", $news['news_image']);
        echo'
                              <div class="col-lg-12 mb-70">
                                  <div class="blog-item">
                                      <div class="blog-img">
                                          <a href="#"><img src="'.$news['news_image'].'" alt=""></a>
                                      </div>
                                      <div class="blog-content">
                                          <h3 class="blog-title"><a href="#">'.$news['news_title'].'</a></h3>
                                          <div class="blog-meta">
                                              <ul class="btm-cate">
                                                  <li>
                                                      <div class="blog-date">
                                                          <i class="fa fa-calendar-check-o"></i> '.$news['day'].' '.$news['month'].'                                                      
                                                      </div>
                                                  </li>
                                                  <li>
                                                      <div class="author">
                                                          <i class="fa fa-user-o"></i>By: Admin  
                                                      </div>
                                                  </li>
                                              </ul>
                                          </div>
                                          <div class="blog-desc">   
                                              '.$news['news_message'].'                                   
                                          </div>
                                      </div>
                                  </div>
							   </div>';
                }
                ?> 
							  
                          </div>
                      </div>
                  </div> 
              </div>
            </div>
            <!-- Blog Section End -->
		
        </div> 
        <!-- Main content End --> 
		
	<?php include ('footer.php');?>
</html>