MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.117.70.64
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/fastelevator.in/../indiatourbus.com/../ltbuildcon.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/fastelevator.in/../indiatourbus.com/../ltbuildcon.com/search.php
<?php include_once "admin/config.php";?>
<!DOCTYPE html>
<html lang="en">

<head>
    
    <title>Property - LT-Buildcon</title>
 <!--   <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>-->
	<!--<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>-->
    <?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">
                        <h3 class="text-secondary">Properties</h3>
                        <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"> - Properties</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
    if (isset($_POST['search'])) {
        // Get the search parameters
        $area = $_POST['area'];
        $propertyType = $_POST['property_type'];
        $sqlpd = "SELECT tbl_services.property_name, 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 type LIKE '%$area%' AND property_name = '$propertyType'";
        $runpd = mysqli_query($db, $sqlpd) or die("Query Not run");

        if (mysqli_num_rows($runpd) > 0) {
            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
            }
        } else {
            echo "<h1 style='justify-content:center; text-align:center; margin-top:50px; padding-bottom:50px;'>No results found.</h1>";
        }
    } else {
        echo "<h1 style='justify-content:center; text-align:center; margin-top:50px; padding-bottom:50px;'>No results found.</h1>";
    }
    ?>
</div>

            </div>
        </div>
        <!--============== Property Grid View End ==============-->


    <?php include 'footer.php';?>
</div>
</body>
</html>

MMCT - 2023