ok

Mini Shell

Direktori : /home/importfo/public_html/alphainvestmentadvisory.co.in/
Upload File :
Current File : /home/importfo/public_html/alphainvestmentadvisory.co.in/blog-details.php

<?php include("admin/config.php"); ?>
<!DOCTYPE html>
<html lang="en">
   
<!-- Mirrored from themeforest.kreativdev.com/finlance/finlance/blog-details.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 11 Feb 2023 05:07:20 GMT -->
<head>
      <title>Blog Detail - Alpha Investment - paldi</title>
       <?php include('link.php') ?>
   </head>


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


      <!--   hero area end   -->
      <div class="blog-bg blog-details breadcrumb-area">
         <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><a href="blog.php">Blog</a></li>
                        <li>Blog Details</li>
                     </ul>
                  </div>
               </div>
            </div>
         </div>
         <div class="breadcrumb-area-overlay"></div>
      </div>
      <!--   hero area end    -->


      <!--    blog details section start   -->
      <div class="blog-details-section section-padding">
         <div class="container">
            <div class="row">
               <div class="col-lg-7">
                  <?php 
                            if(isset($_GET['slug']))
                            {
                              $slug=$_GET['slug'];
                            }
                            else
                            {
                              $slug=0;
                            }
                             $sql1="select * from `blog` where id='$slug' ";
                            $res1=mysqli_query($db,$sql1);
                            $row6=mysqli_fetch_array($res1);
                            $title=$row6['title'];
                            //$title_slug=$row6['title_slug'];
                            $post_date=$row6['post_date'];
                            $post_by=$row6['post_by'];
                            $post_desc=$row6['post_desc'];
                            $img=$row6['image'];
                            ?>
                  <?php
                         $sql="SELECT * FROM `blog` where id='$slug'";
                           $res=mysqli_query($db,$sql);
                           while($row=mysqli_fetch_array($res))
                           {
                       ?>
                  <div class="blog-details">
                     <img class="blog-details-img-1" src="admin/upload/<?php echo$row['image']; ?>" alt="">
                     <small class="date"><?php echo $row['post_date']; ?>  -  BY <?php echo $row['post_by']; ?></small>
                     <h2 class="blog-details-title"><?php echo $row['title']; ?></h2>
                     <div class="blog-details-body">
                        <p><?php echo $row['post_desc']; ?></p>
                     </div>
                  </div>
               <?php } ?>
               </div>
               <!--    blog sidebar section start   -->
               <div class="col-lg-4 offset-lg-1">
                  <div class="sidebar">
                   
                     <div class="blog-sidebar-widgets">
                        <div class="popular-posts-lists">
                           <h4>Popular Posts</h4>
                           <?php
                         $sql="SELECT * FROM `blog` order by id desc 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 details section 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/blog-details.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 11 Feb 2023 05:07:21 GMT -->
</html>

Zerion Mini Shell 1.0