MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.144.93.14
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/agkeymaker.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/agkeymaker.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);
 }
?>

<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php include "top-links.php" ?>
    <title><?= str_replace("LOCATION",$location,$datadt["meta_title"]);?></title>
    <meta name="description" content="<?= str_replace("LOCATION",$location,$datadt["meta_desc"]);?>">
</head>
<body >

<div class="page-wrapper">
    
<?php include "top-header.php" ?>

<?php include "header.php" ?>
    
    <div class="inner-banner">
        <div class="container">
            <h3><?= str_replace("LOCATION",$location,$datadt["title"]);?></h3>
            <ul class="breadcumb">
                <li><a href="<?php echo $wspath?>">Home</a></li>
               <li><span class="sep"><i class="fa fa-angle-right"></i></span></li>
                <li><span><?php echo $datadt["title"];?></span></li>
            </ul>
        </div>
    </div>
    
    <section class="service-page">
        <div class="container">
            <div class="row">
                <div class="col-md-3 col-sm-12 col-xs-12">
                    <div class="sidebar">
                        <h3>Related Blogs </h3><br>
                        <div class="single-sidebar service-sidebar">
                            <ul class="service-list">
                                    <?php
								        
                                        $sqlci = "SELECT * FROM `tbl_blog` ";
                                        $runci = mysqli_query($db, $sqlci) or die("Query Not run");
                                        while ($dataci = mysqli_fetch_assoc($runci)) {
                                        $serviceUrl = $wspath ;
                                        if (isset($_REQUEST['loc_slug'])) {
                                            $loc_slug = htmlspecialchars($_REQUEST['loc_slug']);
                                            $serviceUrl .=  $loc_slug. '/';
                                        }
                                    
                                        $serviceUrl .= '' . $dataci['slug_link'] . '.html';
                                    ?>
                               <li><a href="<?php echo $serviceUrl; ?>"><?php echo $dataci['title']?></a></li>
                               <?php
                                                }
                                                ?>
                            </ul>
                        </div>
                    </div>
                </div>
                
                
                
   <div class="content-side right-sidebar col-lg-8 col-md-12 col-sm-12">
					<div class="service-detail">
						<div class="inner-box">
							<div class="image">
								<img src="<?php echo $wspath?>admin/images/property-image/<?php echo $datadt['image'];?>" width="100%" alt="<?php echo $datadt["title"];?>" />
							</div>
							<div class="lower-content">
								<h3><?php echo $datadt["title"];?></h3>
							        <p>  <?= str_replace("LOCATION",$location,$datadt["short_description"]);?></p>
							        <p>   <?= str_replace("LOCATION",$location,$datadt["description"]);?></p>
							        
							
							</div>
						</div>
					</div>
				</div>
                
            </div>
        </div>
    </section>

    <?php include "contact-footer-banner.php" ?>

</div><!-- /.page-wrapper -->
<?php include "footer.php" ?>
</body>
</html>
    

MMCT - 2023