ok

Mini Shell

Direktori : /home/importfo/public_html/alphainvestmentadvisory.co.in/
Upload File :
Current File : /home/importfo/public_html/alphainvestmentadvisory.co.in/blogs.php

<?php include("admin/config.php"); ?>
<!DOCTYPE html>
<html lang="en">
   
<!-- Mirrored from themeforest.kreativdev.com/finlance/finlance/blogs.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 11 Feb 2023 05:07:19 GMT -->
<head>
       <title>Blogs - Alpha Investment - paldi</title>
       <?php include('link.php') ?>
       <style type="text/css">
           .para{
             overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2;
   -webkit-box-orient: vertical;
        }
       </style>
   </head>


   <body>
      <!--   header area start   -->
    <?php include('header.php') ?>
      <!--   header area end   -->


      <!--   hero area start   -->
      <div class="breadcrumb-area blogs blog-bg">
         <div class="container">
            <div class="breadcrumb-txt">
               <div class="row">
                  <div class="col-xl-7 col-lg-8 col-sm-10">
                     <span>Latest blog</span>
                     <h1>From the latest news and blog</h1>
                     <ul class="breadcumb">
                        <li><a href="index.php">Home</a></li>
                        <li>Latest Blogs</li>
                     </ul>
                  </div>
               </div>
            </div>
         </div>
         <div class="breadcrumb-area-overlay"></div>
      </div>
      <!--   hero area end    -->


      <!--    blog lists start   -->
      <div class="blog-lists section-padding">
         <div class="container">
            <div class="row">
               <div class="col-lg-8">
                  <div class="row">

                     <?php
                         $sql="SELECT * FROM `blog`";
                           $res=mysqli_query($db,$sql);
                           while($row=mysqli_fetch_array($res))
                           {
                       ?>
                     <div class="col-md-6">
                        <div class="single-blog">
                           <div class="blog-img-wrapper">
                              <img src="admin/upload/<?php echo$row['image']; ?>" alt="">
                           </div>
                           <div class="blog-txt">
                              <p class="date"><small>By <span class="username"><?php echo $row['post_by']; ?></span></small>    |    <small><?php echo $row['post_date']; ?></small> </p>
                              <h4 class="blog-title"><a href="blog-details.php?slug=<?php echo $row['id']; ?>"><?php echo $row['title']; ?></a></h4>
                              <div class="blog-summary para"><?php echo $row['post_desc']; ?></div>
                              <a href="blog-details.php?slug=<?php echo $row['id']; ?>" class="readmore-btn"><span>Read More</span></a>
                           </div>
                        </div>
                     </div>
                     <?php } ?>
                    
                  
                  </div>
                  
               </div>
               <!--    blog sidebar section start   -->
               <div class="col-lg-4">
                  <div class="sidebar">
                     
                     <div class="blog-sidebar-widgets post-widget">
                        <div class="popular-posts-lists">
                           <h4>Popular Posts</h4>
                            <?php
                         $sql="SELECT * FROM `blog` limit 5";
                           $res=mysqli_query($db,$sql);
                           while($row=mysqli_fetch_array($res))
                           {
                       ?>
                           <div class="single-popular-post">
                              <div class="popular-post-img-wrapper">
                                 <img src="admin/upload/<?php echo$row['image']; ?>" alt="">
                              </div>
                              <div class="popular-post-txt">
                                 <h5 class="popular-post-title"><a href="blog-details.php?slug=<?php echo $row['id']; ?>"><?php echo $row['title']; ?></a></h5>
                                 <small class="time"><?php echo $row['post_date']; ?></small>
                              </div>
                           </div>
                         <?php } ?>
                        </div>
                     </div>
                    
                  
                  </div>
               </div>
               <!--    blog sidebar section end   -->
            </div>
         </div>
      </div>
      <!--    blog lists end   -->


      <!--    call to action section start    -->
      <div class="cta-section cta-bg">
         <div class="container">
            <div class="cta-content">
               <div class="row">
                  <div class="col-md-9 col-lg-7">
                     <h3>Contact us for help with your finances.</h3>
                  </div>
                  <div class="col-md-3 col-lg-5 contact-btn-wrapper">
                     <a href="contact.php" class="boxed-btn contact-btn"><span>Contact Us</span></a>
                  </div>
               </div>
            </div>
         </div>
         <div class="cta-overlay"></div>
      </div>
      <!--    call to action section end    -->


     


      <?php include('footer.php') ?>
   </body>

<!-- Mirrored from themeforest.kreativdev.com/finlance/finlance/blogs.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 11 Feb 2023 05:07:20 GMT -->
</html>

Zerion Mini Shell 1.0