<?php
session_start();
error_reporting(0);
include('backendLTE/phpaccess/linkme.php');

?>
<!DOCTYPE html>
<html class="no-js" lang="en">

<head>
  <!-- Meta Tags -->
  <meta charset="utf-8" />
  <meta http-equiv="x-ua-compatible" content="ie=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <meta name="author" content="taglogictech" />
  
        <meta name="keywords" content="ENLNews update" />
        <meta name="description" content="">
        <meta id="MetaCopyright" name="COPYRIGHT" content="Copyright 2016 by ENL Consortium Limited" />
  
  <!-- Favicon Icon -->
  <link rel="icon" href="assets/img/fav_icon.ico" />
  <!-- Site Title -->
		<title>News and Update  &#8211; ENL Consortium Limited</title>
  <link rel="stylesheet" href="assets/css/plugins/bootstrap.min.css" />
  <link rel="stylesheet" href="assets/css/plugins/swiper.min.css" />
  <link rel="stylesheet" type="text/css" href="assets/fonts/flaticon.css" />
  <link rel="stylesheet" href="assets/css/style.css" />
  
       <meta property="og:determiner" content="the" />
        <meta name="robots" content="index, follow">
        <meta property="og:locale" content="en_US" />
        <meta property="og:locale:alternate" content="en_GB" />
        <meta property="article:author" content="http://www.enlconsortium.com/news"/>
        <meta property="TAG:author" content="TAG Logic Technology http://www.taglogictech.com"/>
        <meta property="og:type" content="website"/>
        <meta property="og:site_name" content="ENL Consortium Limited" />
        <meta property="og:title" content="News and Update  &#8211; ENL Consortium Limited"/>
        <meta property="og:description" content="" />
        
        <meta property="og:url" content="http://www.enlconsortium.com/news"/>
        
  
</head>

<body>
   <!-- Start Preloader -->
     <?php include("move/preload.php");?>    
  <!-- End Preloader -->

  <!-- Start Header Section -->
  <header class="cs_site_header cs-header-with-bg cs_style1 cs_sticky_header">
     <!-- Header Topbar Start -->
   <?php include("move/topbar.php");?>    
    <!-- End Topbar -->

    <!-- Start Main Header Area -->
	<?php include("move/mainheader.php");?>    
    <!-- End Main Header Area -->
   
  </header>
  <!-- End Header Section -->

  <!-- Start Sidebar -->
  	<?php include("move/Sidebar.php");?>    
  <!-- End Sidebar -->

  <!-- Start Common BreadCrumb -->
  <section>
    <div class="cs-braidcrumb-wrap img-scroll-object-zoom" data-src="assets/img/logi-breadcrumb-main1.jpg">
      <div class="container">
        <div class="row cs_center">
          <div class="cs-bread-page-title-area">
            <div class="cs-page-title-in">
              
              <div class="cs-page-title">
                <h2 class="cs_white_color">News and Update</h2>
              </div>
            </div>
          </div>
          <div class="breadcrumb">
            <ul class="cs_mp0">
              <li>
                <a href="index" class="cs-text_b_line"><span>Home</span></a>
              </li>
              <li>.</li>
              <li>News Update</li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </section>
  <!-- End Common BreadCrumb -->

  <div class="cs-section-height"></div>
  <!-- Section to Section Gap -->

  <!-- Start Blog -->
  <section>
    <div class="cs-blog-section-wrapper blog-style-1">
      <div class="cs-blog-content-container">
        
        <!-- Content Area -->
        <div class="container">
          <div class="row cs-blog-items-container cs-item6-cal2">
            
			
			  
		  
<?php 
$query=mysqli_query($con,"select * from news ORDER BY sn ASC LIMIT 2");
while($row=mysqli_fetch_array($query))
{ ?>	
<!--sn	title	type	picture	content	date	  -->

			<div class="col-lg-6">
              <div class="cs-blog-item">
                <div class="cs-blog-img-area">
                  <div class="cs-blog-img">
                    <div class="cs-img-anim-wrap">
                      <div class="cs-img-anim-img">
					  
					  
                        <a href="news_details.php?cid=<?php echo htmlentities($row['sn']);?>" class="cs-img-anim-img-in">
                          <img src="assets/img/news/<?php echo htmlentities($row['picture']);?>" alt="NewsRoom" />
                          <img src="assets/img/news/<?php echo htmlentities($row['picture']);?>" alt="NewsRoom" />
                        </a>
                      </div>
                    </div>
                  </div>
                  <div class="cs-blog-meta">
                    <div class="cs-blog-date">
                      <p><?php echo htmlentities($row['date']);?></p>
                    </div>
					
                  </div>
                </div>
                <div class="cs-blog-content">
                  <div class="cs-blog-title">
                    <a href="news_details.php?cid=<?php echo htmlentities($row['sn']);?>">
                      <h5><?php echo htmlentities($row['title']);?></h5>
                    </a>
                  </div>
                 
				 
                  <div class="cs-blog-btn">
                    <a href="news_details.php?cid=<?php echo htmlentities($row['sn']);?>" class="cs-text_b_line"><span>Read More</span>
                      <i class="flaticon-right-arrow"></i>
                    </a>
                  </div>
                </div>
              </div>
            </div>
			
	 <?php } ?>
	
         
		  
          </div>
        </div>
        <!-- End Content Area -->
      </div>
    </div>
  </section>
  <!-- Start Blog-->

  <div class="cs-section-height"></div>
  <!-- Section to Section Gap -->


  <!-- Start Footer -->
  <?php include("move/footer.php");?>  
  <!-- End Footer -->

  <!-- Start Scrollup -->
  <span class="cs_scrollup">
    <i class="flaticon-top"></i>
  </span>
  <!-- End Scrollup -->

  <!-- Script -->
  <script src="assets/js/plugins/jquery-3.7.0.min.js"></script>
  <script src="assets/js/plugins/swiper.min.js"></script>
  <script src="assets/js/plugins/SplitText.min.js"></script>
  <script src="assets/js/plugins/ScrollToPlugin.min.js"></script>
  <script src="assets/js/plugins/ScrollTrigger.min.js"></script>
  <script src="assets/js/plugins/gsap.min.js"></script>
  <script src="assets/js/main.js"></script>
</body>

</html>