MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.117.188.105
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/ltbuildcon.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/ltbuildcon.com/property.php
<?php
    include_once('admin/config.php');
    $slug_name = $_GET['url_link'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $sql1 = "SELECT * FROM `tbl_services` WHERE url_link='$slug_name'";
    $run1 = mysqli_query($db,$sql1) or die("Query Not run");
    $row1 = mysqli_fetch_assoc($run1);
 }
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <title><?php echo $row1['meta_title']?></title>
    <meta name="description" content="<?php echo $row1["meta_desc"];?>">
    <?php include 'top-link.php';?>
</head>
<body>
<div id="page_wrapper">
<?php include 'header.php';?>

        <!--============== Page Banner Start ==============-->
        <div style="background-image: url(https://img.freepik.com/free-photo/modern-architecture-shapes-futuristic-cityscape-reflecting-travel-innovation-generative-ai_188544-15491.jpg?w=1060&t=st=1689238114~exp=1689238714~hmac=c57ef68…);background-size: cover;" class="page-banner-simple bg-secondary py-40">
            <div class="container">
                <div class="row">
                    <div class="col-lg-6">
                      
                    </div>
                </div>
            </div>
        </div>
        <!--============== Page Banner End ==============-->
           <!--============== Page title Start ==============-->
        <div class="full-row py-5">
            <div class="container">
                <div class="row">
                    <div class="col">
                        <h1 class="text-secondary">Properties</h1>
                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb mb-0 bg-transparent p-0">
                                <li class="breadcrumb-item"><a href="<?php echo $wspath?>">Home</a></li>
                                <li class=" active text-primary" aria-current="page"> - <?php echo $row1['property_name']?></li>
                            </ol>
                        </nav>
                    </div>
                </div>
            </div>
        </div>
        <!--============== Page title End ==============-->
        

        <!--============== Property Grid View Start ==============-->
        <div class="full-row pt-0">
            <div class="container">
              
                <div class="row row-cols-xl-3 row-cols-md-2 row-cols-1">
                    <?php     
                        
                        $sqlpd = "SELECT tbl_product.slug_link,tbl_product.img1,tbl_product.type,tbl_product.product_name FROM `tbl_product` INNER JOIN tbl_services ON tbl_product.ser_id = tbl_services.sr_id WHERE url_link = '$slug_name'";
                        $runpd = mysqli_query($db,$sqlpd) or die("Query Not run");
                        while($datapd = mysqli_fetch_assoc($runpd)){
                    ?>
                    <div class="col">
                        <!-- Property Grid -->
                        <div class="property-grid-1 bg-white property-block border transation-this hover-shadow mb-30">
                            <div class="overflow-hidden position-relative transation thumbnail-img bg-secondary hover-img-zoom m-2">
                               
                                <a href="<?php echo $wspath?>property-detail<?php echo $datapd['slug_link']?>.html"><img src="<?php echo $wspath?>admin/images/<?php echo $datapd['img1']?>" alt="<?php echo $datapd['product_name']?>"></a>
                               
                               
                            </div>
                            <div class="property_text p-3">
                                
                                <h5 class="mt-2"><a class="font-400 text-secondary" href="<?php echo $wspath?>property-detail<?php echo $datapd['slug_link']?>.html"><?php echo $datapd['product_name']?></a></h5>
                                <span class="my-3 d-block"><i class="fas fa-map-marker-alt text-primary"></i> <?php echo $datapd['type']?></span>
                                <div class="quantity">
                                    <!--<ul class="d-flex">-->
                                    <!--    <li><span>Rooms:</span> 7</li>-->
                                    <!--    <li><span>Beds:</span> 5</li>-->
                                    <!--    <li><span>Area:</span> 1200 Sqft<sup>2</sup></li>-->
                                    <!--</ul>-->
                                </div>
                            </div>
                            <div class="d-flex align-items-center post-meta mt-2 p-3 border-top">
                                <div class="agent">
                                    <a href="<?php echo $wspath?>property-detail<?php echo $datapd['slug_link']?>.html" class="d-flex text-general align-items-center">View Details</a>
                                </div>
                                <div class="post-date ms-auto"> <button style="margin: auto;display: block; background: black;color: white;" onclick="popup()">Enquiry Now</button> </div>
                            </div>
                        </div>
                    </div>
                    <?php } ?>
                     
                </div>
                <!--<div class="row">-->
                <!--    <div class="col mt-5">-->
                <!--        <nav aria-label="Page navigation example">-->
                <!--            <ul class="pagination pagination-dotted-active justify-content-center">-->
                <!--                <li class="page-item disabled">-->
                <!--                    <a class="page-link">Previous Page</a>-->
                <!--                </li>-->
                <!--                <li class="page-item active"><a class="page-link" href="#">1</a></li>-->
                <!--                <li class="page-item"><a class="page-link" href="#">2</a></li>-->
                <!--                <li class="page-item"><a class="page-link" href="#">3</a></li>-->
                <!--                <li class="page-item">-->
                <!--                    <a class="page-link" href="#">Next Page</a>-->
                <!--                </li>-->
                <!--            </ul>-->
                <!--        </nav>-->
                <!--    </div>-->
                <!--</div>-->
            </div>
        </div>
        <!--============== Property Grid View End ==============-->
        
<?php include 'footer.php';?>
</div>
</body>
</html>

MMCT - 2023