D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home3
/
encodto1
/
sg.encodersunlimited.com
/
Filename :
index.php
back
Copy
<?php require 'sgadminpr/config.php'; $query = "SELECT * FROM properties ORDER BY created_at DESC"; $result = mysqli_query($conn, $query); $properties = []; if (mysqli_num_rows($result) > 0) { while ($row = mysqli_fetch_assoc($result)) { $properties[] = $row; } } ?> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>SG Property Partner - Home</title> <?php include "style.php" ?> <style> .testimonial-img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; /* Makes it round */ border: 2px solid #f23b3b; /* Optional: red border for style */ } .swiper__nav--btn { width: 40px; height: 40px; background: #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); display: flex; align-items: center; justify-content: center; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; } .swiper-button-prev { left: -20px; /* Adjust based on layout */ } .swiper-button-next { right: -20px; /* Adjust based on layout */ } </style> </head> <body> <!-- Preloader start --> <div id="preloader"> <div class="loader--border"></div> </div> <!-- Preloader end --> <!-- Start header area --> <?php include "header.php" ?> <!-- End header area --> <!-- Start Offcanvas header menu --> <div class="offcanvas__header"> <div class="offcanvas__inner"> <div class="offcanvas__logo"> <a class="offcanvas__logo_link" href="index.php"> <img src="assets/img/logo/Somelogo.png" alt="Logo-img" width="158" height="36"> </a> <button class="offcanvas__close--btn" data-offcanvas>close</button> </div> <nav class="offcanvas__menu"> <ul class="offcanvas__menu_ul"> <li class="offcanvas__menu_li"> <a class="offcanvas__menu_item" href="index.php">Home</a> </li> <li class="offcanvas__menu_li"> <a class="offcanvas__menu_item" href="#">About</a> </li> <li class="offcanvas__menu_li"> <a class="offcanvas__menu_item" href="#">Properties</a> </li> <li class="offcanvas__menu_li"> <a class="offcanvas__menu_item" href="#">Contact Us</a> </li> <li class="offcanvas__menu_li"> <a class="offcanvas__menu_item" href="create-listing.php">Add Listing</a> </li> </ul> </nav> <div class="side__menu--footer mobile__menu--footer"> <div class="side__menu--info"> <div class="side__menu--info__list"> <h3 class="side__menu--info__title">Customer Care Phone</h3> <p><a class="side__menu--info__text" href="#">:1212121212</a></p> </div> <div class="side__menu--info__list"> <h3 class="side__menu--info__title">Need Live Support?</h3> <p><a class="side__menu--info__text" href="mailto:info@apnaghar.com">info@sgpropertypartner.com</a></p> </div> </div> <div class="side__menu--share d-flex align-items-center"> <h3 class="side__menu--share__title">Follow us :</h3> <ul class=" side__menu--share__wrapper d-flex align-items-center"> <li class="side__menu--share__list"> <a class="side__menu--share__icon" target="_blank" href="https://www.facebook.com/"> <svg width="10" height="17" viewBox="0 0 9 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M7.62891 8.625L8.01172 6.10938H5.57812V4.46875C5.57812 3.75781 5.90625 3.10156 7 3.10156H8.12109V0.941406C8.12109 0.941406 7.10938 0.75 6.15234 0.75C4.15625 0.75 2.84375 1.98047 2.84375 4.16797V6.10938H0.601562V8.625H2.84375V14.75H5.57812V8.625H7.62891Z" fill="currentColor"></path> </svg> <span class="visually-hidden">Facebook</span> </a> </li> <li class="side__menu--share__list"> <a class="side__menu--share__icon" target="_blank" href="https://twitter.com/"> <svg width="16" height="14" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12.5508 2.90625C13.0977 2.49609 13.5898 2.00391 13.9727 1.42969C13.4805 1.64844 12.9062 1.8125 12.332 1.86719C12.9336 1.51172 13.3711 0.964844 13.5898 0.28125C13.043 0.609375 12.4141 0.855469 11.7852 0.992188C11.2383 0.417969 10.5 0.0898438 9.67969 0.0898438C8.09375 0.0898438 6.80859 1.375 6.80859 2.96094C6.80859 3.17969 6.83594 3.39844 6.89062 3.61719C4.51172 3.48047 2.37891 2.33203 0.957031 0.609375C0.710938 1.01953 0.574219 1.51172 0.574219 2.05859C0.574219 3.04297 1.06641 3.91797 1.85938 4.4375C1.39453 4.41016 0.929688 4.30078 0.546875 4.08203V4.10938C0.546875 5.50391 1.53125 6.65234 2.84375 6.92578C2.625 6.98047 2.35156 7.03516 2.10547 7.03516C1.91406 7.03516 1.75 7.00781 1.55859 6.98047C1.91406 8.12891 2.98047 8.94922 4.23828 8.97656C3.25391 9.74219 2.02344 10.207 0.683594 10.207C0.4375 10.207 0.21875 10.1797 0 10.1523C1.25781 10.9727 2.76172 11.4375 4.40234 11.4375C9.67969 11.4375 12.5508 7.08984 12.5508 3.28906C12.5508 3.15234 12.5508 3.04297 12.5508 2.90625Z" fill="currentColor"></path> </svg> <span class="visually-hidden">Twitter</span> </a> </li> <li class="side__menu--share__list"> <a class="side__menu--share__icon" target="_blank" href="https://www.instagram.com/"> <svg width="16" height="16" viewBox="0 0 14 13" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M7.125 3.60547C5.375 3.60547 3.98047 5.02734 3.98047 6.75C3.98047 8.5 5.375 9.89453 7.125 9.89453C8.84766 9.89453 10.2695 8.5 10.2695 6.75C10.2695 5.02734 8.84766 3.60547 7.125 3.60547ZM7.125 8.80078C6.00391 8.80078 5.07422 7.89844 5.07422 6.75C5.07422 5.62891 5.97656 4.72656 7.125 4.72656C8.24609 4.72656 9.14844 5.62891 9.14844 6.75C9.14844 7.89844 8.24609 8.80078 7.125 8.80078ZM11.1172 3.49609C11.1172 3.08594 10.7891 2.75781 10.3789 2.75781C9.96875 2.75781 9.64062 3.08594 9.64062 3.49609C9.64062 3.90625 9.96875 4.23438 10.3789 4.23438C10.7891 4.23438 11.1172 3.90625 11.1172 3.49609ZM13.1953 4.23438C13.1406 3.25 12.9219 2.375 12.2109 1.66406C11.5 0.953125 10.625 0.734375 9.64062 0.679688C8.62891 0.625 5.59375 0.625 4.58203 0.679688C3.59766 0.734375 2.75 0.953125 2.01172 1.66406C1.30078 2.375 1.08203 3.25 1.02734 4.23438C0.972656 5.24609 0.972656 8.28125 1.02734 9.29297C1.08203 10.2773 1.30078 11.125 2.01172 11.8633C2.75 12.5742 3.59766 12.793 4.58203 12.8477C5.59375 12.9023 8.62891 12.9023 9.64062 12.8477C10.625 12.793 11.5 12.5742 12.2109 11.8633C12.9219 11.125 13.1406 10.2773 13.1953 9.29297C13.25 8.28125 13.25 5.24609 13.1953 4.23438ZM11.8828 10.3594C11.6914 10.9062 11.2539 11.3164 10.7344 11.5352C9.91406 11.8633 8 11.7812 7.125 11.7812C6.22266 11.7812 4.30859 11.8633 3.51562 11.5352C2.96875 11.3164 2.55859 10.9062 2.33984 10.3594C2.01172 9.56641 2.09375 7.65234 2.09375 6.75C2.09375 5.875 2.01172 3.96094 2.33984 3.14062C2.55859 2.62109 2.96875 2.21094 3.51562 1.99219C4.30859 1.66406 6.22266 1.74609 7.125 1.74609C8 1.74609 9.91406 1.66406 10.7344 1.99219C11.2539 2.18359 11.6641 2.62109 11.8828 3.14062C12.2109 3.96094 12.1289 5.875 12.1289 6.75C12.1289 7.65234 12.2109 9.56641 11.8828 10.3594Z" fill="currentColor"></path> </svg> <span class="visually-hidden">Instagram</span> </a> </li> <li class="side__menu--share__list"> <a class="side__menu--share__icon" target="_blank" href="https://www.pinterest.com/"> <svg width="14" height="16" viewBox="0 0 15 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M14.6713 6.71093C14.6764 7.71873 14.5406 8.65694 14.2638 9.52555C14.0104 10.394 13.6393 11.146 13.1503 11.7813C12.6612 12.3932 12.0778 12.8883 11.4001 13.2668C10.7222 13.6218 9.97304 13.7897 9.15262 13.7705C8.87149 13.7954 8.59012 13.7734 8.30852 13.7045C8.05023 13.6121 7.80366 13.5196 7.56881 13.427C7.35727 13.3109 7.16906 13.1713 7.00416 13.008C6.83926 12.8448 6.70957 12.6931 6.61511 12.553C6.47736 13.1162 6.36257 13.5856 6.27074 13.961C6.17891 14.3365 6.09838 14.6299 6.02915 14.8412C5.98323 15.0289 5.94879 15.1697 5.92584 15.2636C5.9262 15.3339 5.92632 15.3573 5.9262 15.3339C5.85696 15.5452 5.78767 15.7448 5.71832 15.9326C5.64897 16.1205 5.56796 16.3201 5.47529 16.5315C5.3825 16.7195 5.27793 16.8958 5.16158 17.0605C5.06867 17.225 4.97576 17.3896 4.88285 17.5541C4.60256 17.743 4.38033 17.8262 4.21615 17.8036C4.07553 17.8043 3.95804 17.7463 3.86369 17.6296C3.79278 17.5128 3.74531 17.3959 3.72127 17.2788C3.69736 17.1852 3.68534 17.1266 3.68522 17.1032C3.66094 16.9393 3.64832 16.7635 3.64736 16.576C3.64629 16.3651 3.64527 16.1659 3.64431 15.9784C3.66667 15.7673 3.68902 15.5563 3.71138 15.3452C3.75718 15.1341 3.80309 14.9463 3.84913 14.782C3.84901 14.7586 3.86037 14.6882 3.8832 14.5709C3.92936 14.43 3.99829 14.1602 4.09 13.7612C4.18159 13.3389 4.30756 12.764 4.46791 12.0366C4.62825 11.3092 4.84599 10.3472 5.12112 9.15044C5.05009 9.01017 4.9906 8.8347 4.94264 8.624C4.89469 8.41331 4.85863 8.23771 4.83448 8.0972C4.8102 7.93326 4.79776 7.7927 4.79716 7.67551C4.79657 7.55833 4.79633 7.51145 4.79645 7.53489C4.79441 7.13646 4.83948 6.78466 4.93167 6.4795C5.04718 6.15078 5.18637 5.86881 5.34923 5.6336C5.53541 5.37483 5.74538 5.18626 5.97915 5.06787C6.23624 4.92593 6.49363 4.84258 6.75132 4.81782C6.98581 4.84006 7.18527 4.88592 7.34969 4.95539C7.53755 5.02474 7.69049 5.14115 7.80851 5.30461C7.92654 5.46807 8.00947 5.64343 8.0573 5.83069C8.12845 5.99439 8.16463 6.19342 8.16583 6.4278C8.16691 6.63873 8.13307 6.89672 8.06432 7.20176C7.99544 7.48337 7.91491 7.77675 7.82272 8.08192C7.73053 8.38708 7.62674 8.71574 7.51135 9.0679C7.41928 9.3965 7.33887 9.71332 7.27012 10.0184C7.20137 10.3234 7.19103 10.593 7.2391 10.8271C7.31049 11.0377 7.41704 11.2481 7.55874 11.4583C7.72376 11.645 7.92369 11.7846 8.15854 11.8771C8.3934 11.9697 8.63979 12.027 8.89771 12.0491C9.38978 12.0232 9.8343 11.8686 10.2313 11.5853C10.6283 11.302 10.9661 10.9018 11.2447 10.3848C11.5467 9.86758 11.7665 9.29223 11.9038 8.65871C12.0646 8.00163 12.1429 7.28637 12.139 6.51294C12.1362 5.97389 12.0398 5.45875 11.8498 4.96753C11.6598 4.47631 11.3765 4.06759 10.9998 3.74139C10.6464 3.39163 10.1997 3.11266 9.65954 2.90449C9.14285 2.69619 8.533 2.60556 7.83 2.63259C7.05646 2.61311 6.354 2.74561 5.72263 3.03009C5.11471 3.31446 4.58923 3.68043 4.1462 4.12802C3.70317 4.5756 3.36603 5.10467 3.13477 5.71524C2.9034 6.30237 2.78933 6.91234 2.79257 7.54514C2.79388 7.80295 2.80674 8.02554 2.83114 8.21292C2.87885 8.37674 2.92662 8.55228 2.97446 8.73954C3.04561 8.90324 3.1167 9.05522 3.18773 9.19548C3.28208 9.31219 3.38827 9.45227 3.50629 9.61574C3.55329 9.63893 3.58868 9.68563 3.61248 9.75582C3.63615 9.80257 3.64805 9.83767 3.64817 9.86111C3.67173 9.88442 3.68369 9.93124 3.68405 10.0015C3.68429 10.0484 3.67281 10.0954 3.64961 10.1424C3.62653 10.2128 3.60346 10.2832 3.58038 10.3536C3.58062 10.4005 3.56926 10.4709 3.5463 10.5648C3.52334 10.6586 3.50033 10.7408 3.47725 10.8112C3.45405 10.8582 3.44263 10.9169 3.44299 10.9872C3.4198 11.0342 3.38494 11.0929 3.33842 11.1635C3.31523 11.2105 3.28025 11.2458 3.2335 11.2695C3.18662 11.2697 3.13981 11.2817 3.09305 11.3054C3.04618 11.3056 2.98747 11.2825 2.91691 11.236C2.56464 11.0971 2.24722 10.8995 1.96465 10.6432C1.7054 10.3632 1.49291 10.0596 1.32717 9.73235C1.16143 9.40507 1.03061 9.03073 0.934703 8.60934C0.838796 8.18795 0.789764 7.76633 0.787606 7.34446C0.78377 6.59447 0.932275 5.8437 1.23312 5.09215C1.55741 4.34048 2.02261 3.64668 2.62874 3.01076C3.23487 2.37484 3.99401 1.86705 4.90614 1.48737C5.81815 1.08427 6.88346 0.867877 8.10208 0.838206C9.08656 0.856608 9.97807 1.02783 10.7766 1.35188C11.5985 1.65236 12.2921 2.08241 12.8575 2.64203C13.4228 3.20165 13.8597 3.83223 14.1679 4.53379C14.4995 5.21179 14.6673 5.9375 14.6713 6.71093Z" fill="currentColor" /> </svg> <span class="visually-hidden">Pinterest</span> </a> </li> </ul> </div> </div> </div> </div> <!-- End Offcanvas header menu --> <main class="main__content_wrapper"> <!-- Start Hero section --> <div class="hero__section hero__section--bg4 color-accent-2"> <div class="container-fluid"> <div class="hero__section--inner__style4"> <div class="hero__section--wrapper" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="100"> <!-- Search Filter --> <div class="advance__search--filter style2"> <div class="tab-content"> <form class="advance__search--inner d-flex flex-nowrap align-items-center gap-3"> <!-- State Dropdown --> <div class="advance__two--search__items"> <label class="advance__search--label">State</label> <select class="advance__search--select" id="stateSelect"> <option selected disabled>Select State</option> <option value="maharashtra">Maharashtra</option> <option value="karnataka">Karnataka</option> <option value="gujarat">Gujarat</option> </select> </div> <!-- City Dropdown (populated based on selected state) --> <div class="advance__two--search__items"> <label class="advance__search--label">City</label> <select class="advance__search--select" id="citySelect"> <option selected disabled>Select City</option> </select> </div> <!-- Property Type Dropdown --> <div class="advance__two--search__items"> <label class="advance__search--label">Property Type</label> <select class="advance__search--select"> <option selected disabled>Select Type</option> <option value="1bhk">1 BHK</option> <option value="2bhk">2 BHK</option> <option value="3bhk">3 BHK</option> <option value="4bhk">4 BHK</option> <option value="5bhk">5 BHK</option> <option value="5bhkplus">5 BHK+</option> </select> </div> <!-- Search Button --> <button class="advance__search--btn__style2 solid__btn" type="submit"> <svg width="18" height="18" fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 15"> <path d="M6.60519 0C2.96319 0 0 2.96338 0 6.60562C0 10.2481 2.96319 13.2112 6.60519 13.2112C10.2474 13.2112 13.2104 10.2481 13.2104 6.60562C13.2104 2.96338 10.2474 0 6.60519 0ZM6.60519 11.9918C3.6355 11.9918 1.21942 9.57553 1.21942 6.60565C1.21942 3.63576 3.6355 1.2195 6.60519 1.2195C9.57487 1.2195 11.991 3.63573 11.991 6.60562C11.991 9.5755 9.57487 11.9918 6.60519 11.9918Z" /> <path d="M14.8206 13.9597L11.325 10.4638C11.0868 10.2256 10.701 10.2256 10.4628 10.4638C10.2246 10.7018 10.2246 11.088 10.4628 11.326L13.9585 14.8219C14.0776 14.941 14.2335 15.0006 14.3896 15.0006C14.5454 15.0006 14.7015 14.941 14.8206 14.8219C15.0588 14.5839 15.0588 14.1977 14.8206 13.9597Z" /> </svg> </button> </form> </div> </div> </div> <!-- End Search Filter --> </div> </div> </div> <!-- End Hero section --> <!-- Categories section --> <section class="categories__section sectionp" style="top: -156px;"> <div class="container"> <div class="section__heading text-center mb-50" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="50"> <h2 class="section__heading--title">Property Categories</h2> </div> <div class="categories__inner row mb--n30"> <?php $stmt = $conn->prepare("SELECT id, category_name, image FROM categories ORDER BY id ASC"); $stmt->execute(); $result = $stmt->get_result(); $delay = 100; while ($row = $result->fetch_assoc()) { $id = $row['id']; $name = htmlspecialchars($row['category_name']); $image = htmlspecialchars($row['image']); ?> <div class="col-6 col-md-4 col-lg-2 mb-30" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="<?= $delay ?>"> <div class="categories__box"> <div class="categories__thumbnail text-center"> <img src="sgadminpr/uploads/categories/<?= $image ?>" alt="categories-img"> </div> <div class="categories__content text-center"> <h3 class="categories__title"><a href="listing.php?id=<?= $id ?>"><?= $name ?></a></h3> <a class="categories__link" href="listing.php?category_id=<?= $id ?>"> See Properties <i class="fas fa-arrow-right" style="color: #FA4A4A; margin-left: 5px;"></i> </a> </div> </div> </div> <?php $delay += 50; } ?> </div> </div> </section> <!-- Categories section --> <!-- featured section --> <!-- featured section --> <section class="featured__section sectionp color-accent-2 mt-5 p4"> <div class="container-fluid"> <div class="section__heading text-center mb-40" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="100" style="padding-top: 40px;"> <h3 class="section__heading--subtitle h5"> <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <!-- SVG content here --> </svg> SG Property Partner </h3> <h2 class="section__heading--title">Explore our Multiple Property Listings</h2> </div> <div class="featured__inner position-relative" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="150"> <div class="featured__column4 swiper"> <div class="swiper-wrapper"> <?php foreach ($properties as $property): ?> <?php // Fetch property images $property_id = $property['id']; $image_query = "SELECT * FROM property_images WHERE property_id = $property_id LIMIT 1"; $image_result = mysqli_query($conn, $image_query); $image = mysqli_fetch_assoc($image_result); ?> <div class="swiper-slide"> <article class="featured__card"> <div class="featured__thumbnail position-relative"> <div class="media"> <a class="featured__thumbnail--link" href="listing-details.php?id=<?php echo $property['id']; ?>"> <img class="featured__thumbnail--img" src="sgadminpr/<?php echo $image['image_path']; ?>" alt="featured-img"> </a> </div> </div> <div class="featured__content"> <div class="featured__content--top d-flex align-items-center justify-content-between"> <h3 class="featured__card--title"> <a href="listing-details.php?id=<?php echo $property['id']; ?>"><?php echo $property['title']; ?></a> </h3> </div> <p class="featured__content--desc"><?php echo $property['address']; ?></p> <ul class="featured__info d-flex"> <li class="featured__info--items"> <span class="featured__info--icon">Resale</span> <span class="featured__info--text">Transaction</span> </li> <li class="featured__info--items"> <span class="featured__info--icon"><?php echo $property['price']; ?></span> <span class="featured__info--text">Price</span> </li> <li class="featured__info--items"> <span class="featured__info--icon"><?php echo $property['area']; ?></span> <span class="featured__info--text">Sq.ft</span> </li> </ul> </div> </article><br> </div> <?php endforeach; ?> </div> <div class="swiper__nav--btn swiper-button-disabled swiper-button-prev"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> <path d="M15.88 19.88L10 14l5.88-5.88a1 1 0 0 0-1.41-1.41l-7 7a1 1 0 0 0 0 1.41l7 7a1 1 0 0 0 1.41-1.41z" /> </svg> </div> <div class="swiper__nav--btn swiper-button-next"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"> <path d="M8.12 19.88L14 14l-5.88-5.88a1 1 0 0 1 1.41-1.41l7 7a1 1 0 0 1 0 1.41l-7 7a1 1 0 0 1-1.41-1.41z" /> </svg> </div> </div> </div> </div> </section><br> <!-- featured section .\ --> <!-- featured section .\ --> <!-- featured best selling section --> <section class="featured__best--selling__section sectionp pb-0 mt-5"> <div class="container"> <div class="section__heading gap-40 d-flex align-items-center justify-content-between mb-50" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="100"> <div class="section__heading--left"> <h3 class="section__heading--subtitle h5"><svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_15_6)"> <path d="M9.00021 4.72925L2.5806 10.0215C2.5806 10.029 2.57872 10.04 2.57497 10.055C2.57129 10.0698 2.56934 10.0806 2.56934 10.0883V15.4473C2.56934 15.6408 2.64008 15.8085 2.78152 15.9497C2.92292 16.091 3.09037 16.1621 3.2839 16.1621H7.571V11.8747H10.4295V16.1622H14.7165C14.91 16.1622 15.0777 16.0913 15.2189 15.9497C15.3603 15.8086 15.4313 15.6408 15.4313 15.4473V10.0883C15.4313 10.0586 15.4272 10.0361 15.4201 10.0215L9.00021 4.72925Z" fill="#F23B3B" /> <path d="M17.8758 8.81572L15.4309 6.78374V2.2285C15.4309 2.12437 15.3974 2.03872 15.3302 1.9717C15.2636 1.90475 15.178 1.87128 15.0736 1.87128H12.93C12.8258 1.87128 12.7401 1.90475 12.6731 1.9717C12.6062 2.03872 12.5727 2.1244 12.5727 2.2285V4.4056L9.8486 2.12792C9.61069 1.93439 9.3278 1.83765 9.00026 1.83765C8.67275 1.83765 8.3899 1.93439 8.15175 2.12792L0.124063 8.81572C0.0496462 8.87516 0.00885955 8.95517 0.00127316 9.05567C-0.00627412 9.15609 0.0197308 9.2438 0.079366 9.31818L0.771565 10.1444C0.831201 10.2113 0.909254 10.2523 1.00604 10.2673C1.09539 10.2748 1.18475 10.2486 1.27411 10.1891L9.00002 3.74687L16.726 10.1891C16.7857 10.241 16.8637 10.2669 16.9605 10.2669H16.994C17.0907 10.2522 17.1686 10.211 17.2285 10.1442L17.9208 9.31814C17.9803 9.2436 18.0064 9.15605 17.9987 9.05551C17.991 8.95528 17.9501 8.87527 17.8758 8.81572Z" fill="#F23B3B" /> </g> <defs> <clipPath> <rect width="18" height="18" fill="white" /> </clipPath> </defs> </svg> Register Your Property</h3> <h2 class="section__heading--title">Register Your Property Today <br> for the Best Deal!</h2> </div> <div class="section__heading--right"> <p class="section__heading--desc m-0">Register at SG Property Partner today for easy and affordable Property. Find your perfect space now! </p> </div> </div> <div class="featured__best--selling__inner position-relative" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="150"> <div class="best__selling--thumbnail"> <div class="swiper best__selling--column1"> <div class="swiper-wrapper"> <div class="swiper-slide"> <div class="best__selling--thumbnail__items"> <img class="best__selling--media" src="assets/img/other/best-selling-thumb.png" alt="img"> </div> </div> <div class="swiper-slide"> <div class="best__selling--thumbnail__items"> <img class="best__selling--media" src="assets/img/other/best-selling-thumb2.png" alt="img"> </div> </div> <div class="swiper-slide"> <div class="best__selling--thumbnail__items"> <img class="best__selling--media" src="assets/img/other/best-selling-thumb3.png" alt="img"> </div> </div> </div> <div class="swiper__nav--btn swiper-button-disabled swiper-button-prev"> <svg width="16" height="13" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0.223772 5.27955L5.27967 0.223543C5.42399 0.0792188 5.61635 0 5.82145 0C6.02678 0 6.21902 0.0793326 6.36335 0.223543L6.82238 0.682693C6.96659 0.82679 7.04604 1.01926 7.04604 1.22448C7.04604 1.42958 6.96659 1.62854 6.82238 1.77264L3.87285 4.72866H13.2437C13.6662 4.72866 14 5.05942 14 5.48203V6.13115C14 6.55376 13.6662 6.91788 13.2437 6.91788H3.83939L6.82227 9.8904C6.96648 10.0347 7.04593 10.222 7.04593 10.4272C7.04593 10.6322 6.96648 10.8221 6.82227 10.9663L6.36323 11.424C6.21891 11.5683 6.02667 11.647 5.82134 11.647C5.61623 11.647 5.42388 11.5673 5.27955 11.423L0.223659 6.3671C0.0789928 6.22232 -0.000566483 6.02905 1.90735e-06 5.82361C-0.000452995 5.61748 0.0789928 5.4241 0.223772 5.27955Z" fill="currentColor" /> </svg> </div> <div class="swiper__nav--btn swiper-button-next"> <svg width="16" height="13" viewBox="0 0 14 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M13.7762 5.27955L8.72033 0.223543C8.57601 0.0792188 8.38365 0 8.17855 0C7.97322 0 7.78098 0.0793326 7.63665 0.223543L7.17762 0.682693C7.03341 0.82679 6.95396 1.01926 6.95396 1.22448C6.95396 1.42958 7.03341 1.62854 7.17762 1.77264L10.1272 4.72866H0.756335C0.333835 4.72866 0 5.05942 0 5.48203V6.13115C0 6.55376 0.333835 6.91788 0.756335 6.91788H10.1606L7.17773 9.8904C7.03352 10.0347 6.95407 10.222 6.95407 10.4272C6.95407 10.6322 7.03352 10.8221 7.17773 10.9663L7.63677 11.424C7.78109 11.5683 7.97333 11.647 8.17866 11.647C8.38377 11.647 8.57612 11.5673 8.72045 11.423L13.7763 6.3671C13.921 6.22232 14.0006 6.02905 14 5.82361C14.0005 5.61748 13.921 5.4241 13.7762 5.27955Z" fill="currentColor" /> </svg> </div> </div> <!-- <p class="best__selling--advanced__text">The most <span>advanced</span> revenue than this.</p> --> </div> <div class="best__selling--content"> <div class="best__selling--content__heading mb-50"> <h4 class="best__selling--subtitle h5"><svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_15_6)"> <path d="M9.00021 4.72925L2.5806 10.0215C2.5806 10.029 2.57872 10.04 2.57497 10.055C2.57129 10.0698 2.56934 10.0806 2.56934 10.0883V15.4473C2.56934 15.6408 2.64008 15.8085 2.78152 15.9497C2.92292 16.091 3.09037 16.1621 3.2839 16.1621H7.571V11.8747H10.4295V16.1622H14.7165C14.91 16.1622 15.0777 16.0913 15.2189 15.9497C15.3603 15.8086 15.4313 15.6408 15.4313 15.4473V10.0883C15.4313 10.0586 15.4272 10.0361 15.4201 10.0215L9.00021 4.72925Z" fill="currentColor" /> <path d="M17.8758 8.81572L15.4309 6.78374V2.2285C15.4309 2.12437 15.3974 2.03872 15.3302 1.9717C15.2636 1.90475 15.178 1.87128 15.0736 1.87128H12.93C12.8258 1.87128 12.7401 1.90475 12.6731 1.9717C12.6062 2.03872 12.5727 2.1244 12.5727 2.2285V4.4056L9.8486 2.12792C9.61069 1.93439 9.3278 1.83765 9.00026 1.83765C8.67275 1.83765 8.3899 1.93439 8.15175 2.12792L0.124063 8.81572C0.0496462 8.87516 0.00885955 8.95517 0.00127316 9.05567C-0.00627412 9.15609 0.0197308 9.2438 0.079366 9.31818L0.771565 10.1444C0.831201 10.2113 0.909254 10.2523 1.00604 10.2673C1.09539 10.2748 1.18475 10.2486 1.27411 10.1891L9.00002 3.74687L16.726 10.1891C16.7857 10.241 16.8637 10.2669 16.9605 10.2669H16.994C17.0907 10.2522 17.1686 10.211 17.2285 10.1442L17.9208 9.31814C17.9803 9.2436 18.0064 9.15605 17.9987 9.05551C17.991 8.95528 17.9501 8.87527 17.8758 8.81572Z" fill="currentColor" /> </g> <defs> <clipPath> <rect width="18" height="18" fill="currentColor" /> </clipPath> </defs> </svg> Find Your Dream Space: Rent Properties Easily with</h4> <h3 class="best__selling--title"> SG Property Partner</h3> </div> <ul class="best__selling--info mb-50"> <li class="best__selling--info__list d-flex justify-content-between"> <span class="best__selling--info__text">• Buy or sell prime real estate with ease</span> </li> <li class="best__selling--info__list d-flex justify-content-between"> <span class="best__selling--info__text">• Discover luxury flats in top locations</span> </li> <li class="best__selling--info__list d-flex justify-content-between"> <span class="best__selling--info__text">• Invest in profitable hotel and resort properties</span> </li> <li class="best__selling--info__list d-flex justify-content-between"> <span class="best__selling--info__text">• Book cozy homestays for your Special Occasions</span> </li> <li class="best__selling--info__list d-flex justify-content-between"> <span class="best__selling--info__text">• Simplify rental management with our expert team</span> </li> </ul> <button class="best__selling--download__btn solid__btn" href="sign-up.php">Register Now<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M9.5 19C14.7381 19 19 14.7382 19 9.5C19 4.26184 14.738 0 9.5 0C4.26195 0 0 4.26184 0 9.5C0 14.7382 4.26195 19 9.5 19ZM4.98166 8.99164H8.99171V4.98108C8.99171 4.70041 9.21953 4.47276 9.5 4.47276C9.78066 4.47276 10.0083 4.70059 10.0083 4.98108V8.99164H14.0183C14.299 8.99164 14.5266 9.21947 14.5266 9.49996C14.5266 9.78062 14.2988 10.0083 14.0183 10.0083H10.0083V14.0187C10.0083 14.2993 9.78047 14.527 9.5 14.527C9.21934 14.527 8.99171 14.2991 8.99171 14.0187V10.0083H4.98166C4.701 10.0083 4.47336 9.78044 4.47336 9.49996C4.47336 9.21929 4.70083 8.99164 4.98166 8.99164Z" fill="#F23B3B" /> </svg> </button> </div> </div> </div> </section> <!-- featured best selling section end --> <!-- featured section --> <section class="featured__list--section sectionp"> <div class="container"> <div class="section__heading text-center mb-40"> <h3 class="section__heading--subtitle h5"> <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_15_6)"> <path d="M9.00021 4.72925L2.5806 10.0215C2.5806 10.029 2.57872 10.04 2.57497 10.055C2.57129 10.0698 2.56934 10.0806 2.56934 10.0883V15.4473C2.56934 15.6408 2.64008 15.8085 2.78152 15.9497C2.92292 16.091 3.09037 16.1621 3.2839 16.1621H7.571V11.8747H10.4295V16.1622H14.7165C14.91 16.1622 15.0777 16.0913 15.2189 15.9497C15.3603 15.8086 15.4313 15.6408 15.4313 15.4473V10.0883C15.4313 10.0586 15.4272 10.0361 15.4201 10.0215L9.00021 4.72925Z" fill="#F23B3B" /> <path d="M17.8758 8.81572L15.4309 6.78374V2.2285C15.4309 2.12437 15.3974 2.03872 15.3302 1.9717C15.2636 1.90475 15.178 1.87128 15.0736 1.87128H12.93C12.8258 1.87128 12.7401 1.90475 12.6731 1.9717C12.6062 2.03872 12.5727 2.1244 12.5727 2.2285V4.4056L9.8486 2.12792C9.61069 1.93439 9.3278 1.83765 9.00026 1.83765C8.67275 1.83765 8.3899 1.93439 8.15175 2.12792L0.124063 8.81572C0.0496462 8.87516 0.00885955 8.95517 0.00127316 9.05567C-0.00627412 9.15609 0.0197308 9.2438 0.079366 9.31818L0.771565 10.1444C0.831201 10.2113 0.909254 10.2523 1.00604 10.2673C1.09539 10.2748 1.18475 10.2486 1.27411 10.1891L9.00002 3.74687L16.726 10.1891C16.7857 10.241 16.8637 10.2669 16.9605 10.2669H16.994C17.0907 10.2522 17.1686 10.211 17.2285 10.1442L17.9208 9.31814C17.9803 9.2436 18.0064 9.15605 17.9987 9.05551C17.991 8.95528 17.9501 8.87527 17.8758 8.81572Z" fill="#F23B3B" /> </g> <defs> <clipPath> <rect width="18" height="18" fill="white" /> </clipPath> </defs> </svg> Rent That you Need </h3> <h2 class="section__heading--title">Recent Upload Properties</h2> </div> <div class="featured__inner" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="150"> <div class="row mb--n30"> <?php // Modified SQL query without comment causing error $query = " SELECT p.*, pi.image_path FROM properties p LEFT JOIN property_images pi ON p.id = pi.property_id GROUP BY p.id ORDER BY p.created_at DESC LIMIT 4"; $result = mysqli_query($conn, $query); if (mysqli_num_rows($result) > 0) { while ($property = mysqli_fetch_assoc($result)) { $property_id = $property['id']; $property_name = $property['title']; $property_price = $property['price']; $property_bedrooms = $property['year_built']; $property_bathrooms = $property['rooms']; $property_image = $property['image_path']; // Getting image path from the joined table $property_status = $property['status']; ?> <div class="col-xl-6 offset-xl-0 col-lg-10 offset-lg-1 mb-30"> <article class="featured__card--list d-flex"> <div class="featured__card--list__thumbnail position-relative"> <div class="media"> <a class="featured__thumbnail--link" href="listing-details.php?id=<?php echo $property_id; ?>"> <img class="featured__thumbnail--img" src="sgadminpr/<?php echo $property_image; ?>" alt="featured-img"> </a> </div> <div class="featured__badge"> <span class="badge__field style2"><?php echo $property_status; ?></span> </div> </div> <div class="featured__card--list__content"> <div class="featured__content--list__top d-flex justify-content-between"> <h3 class="featured__card--title"> <a href="listing-details.php?id=<?php echo $property_id; ?>"><?php echo $property_name; ?></a> </h3> </div> <ul class="featured__info--list__style d-flex"> <li class="featured__info--items"> <span class="featured__info--icon"><?php echo $property['area']; ?> sqft</span> <span class="featured__info--text">Area</span> </li> <li class="featured__info--items"> <span class="featured__info--icon"><?php echo $property_bedrooms; ?></span> <span class="featured__info--text">Year Built</span> </li> <li class="featured__info--items"> <span class="featured__info--icon"><?php echo $property_bathrooms; ?></span> <span class="featured__info--text">Type</span> </li> </ul> <span class="featured__card--price">Rs. <?php echo $property_price; ?></span> </div> </article> </div> <?php } } else { echo "<p>No recent properties found.</p>"; } ?> </div> </div> </div> </section> <!-- featured section .\ --> <!-- Testimonial section --> <?php // fetch testimonials $query = "SELECT * FROM testimonials ORDER BY id DESC"; $result = mysqli_query($conn, $query); ?> <section class="testimonial__section color-accent-2 sectionp mt-5"> <div class="container"> <div class="section__heading text-center mb-40"> <h3 class="section__heading--subtitle h5 text-danger"> <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <!-- SVG icon omitted for brevity --> </svg> Our Valuable Customers </h3> <h2 class="section__heading--title">Find Clients Feedback</h2> </div> <div class="testimonial__container position-relative" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="150"> <div class="testimonial__inner testimonial__swiper--column2 swiper"> <div class="swiper-wrapper"> <?php while ($row = mysqli_fetch_assoc($result)) : ?> <div class="swiper-slide"> <div class="testimonial__card"> <div class="testimonial__card--top d-flex justify-content-between"> <div class="testimonial__author d-flex align-items-center"> <div class="testimonial__author--thumbnail"> <img src="sgadminpr/<?php echo htmlspecialchars($row['image']); ?>" alt="img" class="testimonial-img"> </div> <div class="testimonial__author--content"> <h3 class="testimonial__author--name"><?php echo htmlspecialchars($row['name']); ?></h3> <span class="testimonial__author--subtitle text-danger"><?php echo htmlspecialchars($row['designation']); ?></span> </div> </div> <span class="testimonial__icon"> <!-- Quote SVG icon here --> </span> </div> <p class="testimonial__desc"><?php echo htmlspecialchars($row['description']); ?></p> </div> </div> <?php endwhile; ?> </div> <div class="swiper-pagination"></div> </div> <div class="swiper__nav--btn swiper-button-prev"> <!-- Left Arrow Icon --> <svg width="24" height="24" viewBox="0 0 24 24" fill="none"> <path d="M15 18l-6-6 6-6" stroke="#333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> </div> <div class="swiper__nav--btn swiper-button-next"> <!-- Right Arrow Icon --> <svg width="24" height="24" viewBox="0 0 24 24" fill="none"> <path d="M9 6l6 6-6 6" stroke="#333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /> </svg> </div> </div> </div> </section> <!-- Testimonial section .\ --> <!-- Start counterup banner section --> <div class="counterup__section" id="funfactId" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="200"> <div class="container"> <div class="row row-cols-1 align-items-center"> <div class="col"> <div class="counterup__inner d-flex align-items-center"> <div class="counterup__items text-center"> <h2 class="counterup__number"> <span class="js-counter" data-count="10">10</span> +</h2> <h5 class="counterup__subtitle"> Year of Experience</h5> </div> <div class="counterup__items text-center"> <h2 class="counterup__number"> <span class="js-counter" data-count="120">120</span> K</h2> <h5 class="counterup__subtitle"> The best property</h5> </div> <div class="counterup__items text-center"> <h2 class="counterup__number"> <span class="js-counter" data-count="50">32</span></h2> <h5 class="counterup__subtitle"> Partners worked</h5> </div> <div class="counterup__items text-center"> <h2 class="counterup__number"> <span class="js-counter" data-count="50">12</span> K</h2> <h5 class="counterup__subtitle"> World Clients</h5> </div> <img class="shape__position" src="assets/img/other/shape1.png" alt="img"> <img class="shape__position2" src="assets/img/other/shape2.png" alt="img"> </div> </div> </div> </div> </div> <!-- End counterup banner section --> <!-- Call action section --> <section class="call__action--section section--padding" data-aos="fade-up" data-aos-duration="1200" data-aos-delay="100"> <div class="container"> <div class="call__action--container"> <div class="call__action--inner d-flex align-items-center justify-content-between"> <h2 class="call__action--title">Find Local Real estate agents</h2> <div class="call__action--right d-flex align-items-center"> <div class="call__action--info d-flex align-items-center"> <span class="call__action--icon"><svg width="36" height="29" viewBox="0 0 36 29" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_1_545)"> <path fill-rule="evenodd" clip-rule="evenodd" d="M24.3068 17.1114L31.1206 20.7877C33.2472 21.9346 30.8923 24.5371 28.982 25.9993C20.5418 32.4577 -1.18891 11.343 5.51137 3.09162C7.01925 1.23441 9.67601 -1.07127 10.8511 1.00439L14.6177 7.65474C14.9646 8.26739 14.7386 8.92125 14.3061 9.47891L12.9491 11.2291C12.5437 11.7524 12.5182 12.4332 12.8823 12.9843C14.5004 15.4301 16.3402 17.2256 18.8462 18.8053C19.411 19.1608 20.1085 19.1359 20.6447 18.74L22.4378 17.4156C23.0093 16.9934 23.6791 16.7729 24.3068 17.1115L24.3068 17.1114Z" fill="currentColor" /> <path d="M30.6793 12.719C30.683 13.1155 31.0149 13.4351 31.4219 13.4313C31.8289 13.4285 32.1556 13.1037 32.1525 12.7065C32.0864 5.78063 26.2294 0.064642 19.1333 1.89285e-05C18.7271 -0.00282808 18.3943 0.315846 18.3906 0.713108C18.3877 1.1096 18.7142 1.43436 19.1213 1.43796C25.4103 1.49433 30.6206 6.58011 30.6794 12.7188L30.6793 12.719Z" fill="currentColor" /> <path d="M27.1166 12.6865C27.1203 13.083 27.4531 13.4026 27.8593 13.3988C28.2663 13.396 28.593 13.0712 28.5899 12.674C28.5427 7.65961 24.3045 3.52373 19.1665 3.47757C18.7603 3.47396 18.4275 3.7934 18.4238 4.18988C18.4209 4.58713 18.7474 4.91186 19.1545 4.91473C23.485 4.9544 27.0764 8.45904 27.1162 12.6865H27.1166Z" fill="currentColor" /> <path d="M23.5543 12.654C23.5572 13.0505 23.89 13.3701 24.297 13.3663C24.7032 13.3634 25.0307 13.0387 25.0268 12.6414C24.9974 9.53841 22.3791 6.98327 19.1997 6.95412C18.7935 6.95127 18.4607 7.26995 18.4571 7.66721C18.4541 8.06446 18.7806 8.38846 19.1877 8.39206C21.5597 8.41331 23.5316 10.3379 23.5542 12.6538L23.5543 12.654Z" fill="currentColor" /> <path d="M4.49937 28.2945C4.48632 28.3011 4.47249 28.3059 4.45807 28.3089C4.44405 28.3123 4.42944 28.3142 4.41444 28.3142C4.36867 28.3142 4.33224 28.3019 4.30536 28.277C4.27887 28.2518 4.26562 28.2178 4.26562 28.1753C4.26562 28.1328 4.27887 28.0992 4.30536 28.0743C4.33224 28.0496 4.36867 28.0371 4.41444 28.0371C4.42944 28.0371 4.44405 28.039 4.45807 28.0424C4.47249 28.0455 4.48632 28.0504 4.49937 28.0568V28.1123C4.48573 28.1032 4.47249 28.0967 4.45963 28.0925C4.44717 28.0885 4.43392 28.0865 4.4199 28.0865C4.39496 28.0865 4.37509 28.0946 4.36068 28.1108C4.34607 28.1265 4.33886 28.148 4.33886 28.1753C4.33886 28.2032 4.34607 28.225 4.36068 28.2406C4.37509 28.2563 4.39496 28.2641 4.4199 28.2641C4.43392 28.2641 4.44717 28.2622 4.45963 28.258C4.47249 28.2541 4.48573 28.2478 4.49937 28.2391V28.2945Z" fill="currentColor" /> <path d="M5.31966 28.0508V28.1077H5.38744V28.1533H5.31966V28.2383C5.31966 28.248 5.32141 28.2546 5.32511 28.258C5.32862 28.2611 5.33621 28.2626 5.3477 28.2626H5.38121V28.3082H5.32511C5.29901 28.3082 5.2807 28.3028 5.26979 28.2922C5.25888 28.2816 5.25343 28.2637 5.25343 28.2383V28.1533H5.2207V28.1077H5.25343V28.0508L5.31966 28.0508Z" fill="currentColor" /> <path d="M5.82126 28.1381V28.0303H5.88749V28.3089H5.82126V28.2801C5.8123 28.2918 5.80256 28.3004 5.79166 28.3059C5.78075 28.3114 5.76789 28.3142 5.75348 28.3142C5.72796 28.3142 5.70712 28.3043 5.69115 28.2846C5.67498 28.2649 5.66699 28.2396 5.66699 28.2087C5.66699 28.1779 5.67498 28.1525 5.69115 28.1328C5.70712 28.113 5.72796 28.1032 5.75348 28.1032C5.76789 28.1032 5.78075 28.106 5.79166 28.1115C5.80256 28.1172 5.8123 28.1259 5.82126 28.1381ZM5.77841 28.2679C5.79243 28.2679 5.80295 28.263 5.81035 28.2527C5.81756 28.2427 5.82126 28.228 5.82126 28.2087C5.82126 28.1895 5.81756 28.1751 5.81035 28.1654C5.80295 28.1554 5.79243 28.1502 5.77841 28.1502C5.76439 28.1502 5.75348 28.1554 5.74569 28.1654C5.73828 28.1751 5.73478 28.1895 5.73478 28.2087C5.73478 28.228 5.73828 28.2427 5.74569 28.2527C5.75348 28.263 5.76439 28.2679 5.77841 28.2679Z" fill="currentColor" /> <path d="M6.19013 28.2679C6.20416 28.2679 6.21468 28.263 6.22208 28.2527C6.22987 28.2427 6.23377 28.228 6.23377 28.2087C6.23377 28.1895 6.22987 28.1751 6.22208 28.1654C6.21468 28.1554 6.20416 28.1502 6.19013 28.1502C6.17611 28.1502 6.1652 28.1554 6.15741 28.1654C6.15001 28.1757 6.1465 28.1901 6.1465 28.2087C6.1465 28.228 6.15001 28.2427 6.15741 28.2527C6.1652 28.263 6.17611 28.2679 6.19013 28.2679ZM6.1465 28.1381C6.15527 28.1259 6.1652 28.1172 6.17611 28.1115C6.18741 28.106 6.20026 28.1032 6.21429 28.1032C6.23961 28.1032 6.26045 28.113 6.27662 28.1328C6.29318 28.1525 6.30155 28.1779 6.30155 28.2087C6.30155 28.2396 6.29318 28.2649 6.27662 28.2846C6.26045 28.3043 6.23961 28.3142 6.21429 28.3142C6.20026 28.3142 6.18741 28.3114 6.17611 28.3059C6.1652 28.3004 6.15527 28.2918 6.1465 28.2801V28.3089H6.08105V28.0303H6.1465V28.1381Z" fill="currentColor" /> <path d="M6.72754 28.0413H6.79844V28.143H6.90285V28.0413H6.97375V28.3085H6.90285V28.1954H6.79844V28.3085H6.72754V28.0413Z" fill="currentColor" /> <path d="M8.29036 28.0508V28.1077H8.35815V28.1533H8.29036V28.2383C8.29036 28.248 8.29211 28.2546 8.29581 28.258C8.29932 28.2611 8.30692 28.2626 8.31841 28.2626H8.35191V28.3082H8.29581C8.26971 28.3082 8.2514 28.3028 8.24049 28.2922C8.22958 28.2816 8.22413 28.2637 8.22413 28.2383V28.1533H8.19141V28.1077H8.22413V28.0508L8.29036 28.0508Z" fill="currentColor" /> <path d="M9.08147 28.1867V28.3089H9.01525V28.2155C9.01525 28.1984 9.01466 28.1865 9.01369 28.1798C9.0131 28.1734 9.01174 28.1685 9.00979 28.1654C9.00707 28.1609 9.00356 28.1576 8.99888 28.1555C8.9946 28.1531 8.98992 28.1517 8.98486 28.1517C8.97084 28.1517 8.95993 28.1571 8.95214 28.1677C8.94434 28.1779 8.94045 28.192 8.94045 28.2102V28.3089H8.875V28.0303H8.94045V28.1381C8.95019 28.1259 8.96071 28.1172 8.97161 28.1115C8.98291 28.106 8.99538 28.1032 9.00901 28.1032C9.03278 28.1032 9.0507 28.1106 9.06277 28.1252C9.07524 28.1394 9.08147 28.1599 9.08147 28.1867Z" fill="#F23B3B" /> </g> <defs> <clipPath id="clip0_1_545"> <rect width="34.8356" height="28.06" fill="white" transform="translate(0.776367)" /> </clipPath> </defs> </svg> </span> <p class="call__action--info__text"> <span>Phone Number</span> <a href="tel:(671)555-0110">(671) 555-0110</a> </p> </div> <a class="call__action--btn solid__btn" href="#">Get a quote</a> </div> </div> </div> </div> </section> <!-- Call action section .\ --> <?php include "footer.php"; ?> </main> <!-- Scroll top bar --> <button id="scroll__top"><svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"> <path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="48" d="M112 244l144-144 144 144M256 120v292" /> </svg></button> <!-- All Script JS Plugins here --> <script src="assets/js/vendor/popper.js" defer="defer"></script> <script src="assets/js/vendor/bootstrap.min.js" defer="defer"></script> <script src="assets/js/plugins/swiper-bundle.min.js"></script> <script src="assets/js/plugins/glightbox.min.js"></script> <script src="assets/js/plugins/aos.js"></script> <!-- Customscript js --> <script src="assets/js/script.js"></script> <script> const stateSelect = document.getElementById('stateSelect'); const citySelect = document.getElementById('citySelect'); const citiesByState = { maharashtra: ['Mumbai', 'Pune', 'Nagpur', 'Nashik'], karnataka: ['Bengaluru', 'Mysuru', 'Mangalore', 'Hubli'], gujarat: ['Ahmedabad', 'Surat', 'Vadodara', 'Rajkot'] }; stateSelect.addEventListener('change', function() { const selectedState = this.value; const cities = citiesByState[selectedState] || []; // Clear previous options citySelect.innerHTML = '<option selected disabled>Select City</option>'; // Add new cities cities.forEach(city => { const option = document.createElement('option'); option.value = city.toLowerCase(); option.textContent = city; citySelect.appendChild(option); }); }); </script> </body> </html>