Your IP : 3.145.51.35


Current Path : /home/lentoinv/reloxpropertiesltd.com/includes/
Upload File :
Current File : /home/lentoinv/reloxpropertiesltd.com/includes/addlisting.php

<?php
session_start(); ob_start();
require_once('includes/headerquery.php');
$pro->loggedIn();
$sn = $_GET['property']??'';


?>
<!doctype html>
<html class="no-js" lang="zxx">

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>My Properties</title>
    <meta name="robots" content="noindex, follow" />
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Place favicon.png in the root directory -->
    <link rel="shortcut icon" href="img/favicon.png" type="image/x-icon" />
    <!-- Font Icons css -->
    <link rel="stylesheet" href="css/font-icons.css">
    <!-- plugins css -->
    <link rel="stylesheet" href="css/plugins.css">
    <!-- Main Stylesheet -->
    <link rel="stylesheet" href="css/style.css">
    <!-- Responsive css -->
    <link rel="stylesheet" href="css/responsive.css">
        <style type="text/css">
        nav li{text-transform: uppercase;}
    </style>
</head>

<body>
    <!--[if lte IE 9]>
        <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
    <![endif]-->

    <!-- Add your site or application content here -->

<!-- Body main wrapper start -->
<div class="body-wrapper">

  <?php include('head.php'); ?>

    <div class="ltn__utilize-overlay"></div>

    <!-- BREADCRUMB AREA START -->
    <div class="ltn__breadcrumb-area text-left bg-overlay-white-30 bg-image p-5 mb-5"  data-bs-bg="img/bg/14.jpg">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="ltn__breadcrumb-inner">
                        <h1 class="page-title">Account</h1>
                        <div class="ltn__breadcrumb-list">
                            <ul>
                                <li><a href="index.html"><span class="ltn__secondary-color"><i class="fas fa-home"></i></span> Home</a></li>
                                <li>My Properties</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- BREADCRUMB AREA END -->




<div class="calll"></div>
<!-- APPOINTMENT AREA START -->
<div class="ltn__appointment-area pt-115--- pb-120">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <form method="POST" enctype="multipart/form-data">
                    <div class="ltn__tab-menu ltn__tab-menu-3 ltn__tab-menu-top-right-- text-uppercase--- text-center">
                        <div class="nav">
                            <a  class="active show" data-bs-toggle="tab" href="#liton_tab_3_1">1. Description</a>
                            <a data-bs-toggle="tab" href="#liton_tab_3_2" class="">2. Media</a>
                            <a data-bs-toggle="tab" href="#liton_tab_3_3" class="">3. Location</a>
                            <a data-bs-toggle="tab" href="#liton_tab_3_4" class="">4. Details</a>
                            <a data-bs-toggle="tab" href="#liton_tab_3_5" class="">5. Amenities</a>
                        </div>
                    </div>
                    <div class="tab-content">
                        <div class="tab-pane fade active show" id="liton_tab_3_1">
                            <div class="ltn__apartments-tab-content-inner">
                                <h6>Update Property Description</h6>
                               <form method="post" enctype="multipart/form-data"> 
                                    
                                     <div class="row">
                                         <div class="col-md-12">
                                             <div class="input-item">
                                               
                                                  <select name="cat" class="nice-select" required>
                                                    <option value="" >Property Type</option>
                                                    <option value="Land" >Land Property</option>
                                                    <option value="House" >House Property</option>
                                                    <option value="<?= sqLx('properties','sn',$sn,'type') ?>" selected ><?= sqLx('properties','sn',$sn,'type') ?> Property</option>
                                                </select> 
                                            
                                             <label>Title</label>
                                             <input type="text" name="title" value="<?= sqLx('properties','sn',$sn,'name') ?>">
                                             <label>Description</label>
                                             <textarea name="note"><?= sqLx('properties','sn',$sn,'des') ?></textarea>
                                             <label>Property Price</label>
                                             <input type="text" name="price" value="<?= sqLx('properties','sn',$sn,'currentprice') ?>">
                                             <label>Old Price</label>
                                             <input type="text" name="oldprice" value="<?= sqLx('properties','sn',$sn,'prevprice') ?>"> <label>Trading Slots</label>
                                             <input type="text" name="slot" value="<?= sqLx('properties','sn',$sn,'slot') ?>">
                                         </div>
                                     </div> 
                                 </div>
                           
                                 <div class="btn-wrapper">

                                     <button type="submit" name="UpdateProperty1" class="btn theme-btn-1 btn-effect-1 text-uppercase">Update Property Information</button>
                                 </div>


                             </form>
                            </div>
                        </div>
                        <div class="tab-pane fade" id="liton_tab_3_2">
                            <div class="ltn__product-tab-content-inner">
                                <div class="row">
                                    <div class="col-md-4">
                                        <div class="input-item">
                                            <h6>Listing Media</h6>
                                            <input type="file" id="photoA" name="imageA" class="btn theme-btn-3 mb-10"><br>
                                            <p>
                                                <small>* Minimum size is 500/500px.</small><br>
                                                
                                               
                                            </p>
                                        </div>
                                    </div>
                                    <div class="col-md-4">
                                        <div class="input-item">
                                            <h6>Listing Media</h6>
                                            <input type="file" id="photoB"  name="imageB" class="btn theme-btn-3 mb-10"><br>
                                            <p>
                                                <small>* Minimum size is 500/500px.</small><br>
                                                
                                               
                                            </p>
                                        </div>
                                    </div>
                                    <div class="col-md-4">
                                        <div class="input-item">
                                            <h6>Listing Media</h6>
                                            <input type="file" id="photoC" name="imageC" class="btn theme-btn-3 mb-10"><br>
                                            <p>
                                                <small>* Minimum size is 500/500px.</small><br>
                                                
                                               
                                            </p>
                                        </div>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-md-4">
                                        <div class="input-item">
                                            <h6>Listing Media</h6>
                                            <input type="file" id="photoD" name="imageD" class="btn theme-btn-3 mb-10"><br>
                                            <p>
                                                <small>* Minimum size is 500/500px.</small><br>
                                                
                                               
                                            </p>
                                        </div>
                                    </div>
                                    <div class="col-md-4">
                                        <div class="input-item">
                                            <h6>Listing Media</h6>
                                            <input type="file" id="photoE"  name="imageE" class="btn theme-btn-3 mb-10"><br>
                                            <p>
                                                <small>* Minimum size is 500/500px.</small><br>
                                                
                                               
                                            </p>
                                        </div>
                                    </div>
                                    <div class="col-md-4">
                                        <div class="input-item">
                                            <h6>Listing Media</h6>
                                            <input type="file" id="photoF" name="imageF" class="btn theme-btn-3 mb-10"><br>
                                            <p>
                                                <small>* Minimum size is 500/500px.</small><br>
                                                
                                               
                                            </p>
                                        </div>
                                    </div>
                                </div>

                                <!-- <small id="images"></small><br> -->
                                <h6>Video Option</h6>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="input-item">
                                            <select name="videooption" class="nice-select">
                                                <option selected disabled>Video from</option>
                                                <option value="vimeo">vimeo</option>
                                                <option class="youtube">youtube</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="video" placeholder="Embed Video ID">
                                        </div>
                                    </div>
                                </div>
                              
                                <div class="btn-wrapper text-center--- mt-0">
                                    <button type="submit" name="UpdateProperty2" class="btn theme-btn-1 btn-effect-1 text-uppercase">Update Property Information</button>
                                </div>
                            </div>
                        </div>
                        <div class="tab-pane fade" id="liton_tab_3_3">
                            <div class="ltn__product-tab-content-inner">
                                <h6>Listing Location</h6>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" id="add" onchange="thed()" name="address" value="<?= sqLx('properties','sn',$sn,'address') ?>" placeholder="*Address">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="country" placeholder="Country" value="<?= sqLx('properties','sn',$sn,'country') ?>">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="state" value="<?= sqLx('properties','sn',$sn,'state') ?>" placeholder="State">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" id="ci" onchange="thed()" name="city" value="<?= sqLx('properties','sn',$sn,'city') ?>" placeholder="City">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="neighborhood" placeholder="Neighborhood" value="<?= sqLx('properties','sn',$sn,'neighborhood') ?>">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="zip" value="<?= sqLx('properties','sn',$sn,'zip') ?>" placeholder="Zip">
                                        </div>
                                    </div>
                                    <div class="col-lg-12">
                                        <div id="calll">
                                           
                                        </div>
                                    </div>
                                   
                                </div>
                                <div class="btn-wrapper text-center--- mt-0">
                                     <button type="submit" class="btn theme-btn-1 btn-effect-1 text-uppercase" name="UpdateProperty3">Update Property Location</button>
                                   
                                </div>
                            </div>
                        </div>
                        <div class="tab-pane fade" id="liton_tab_3_4">
                            <div class="ltn__product-tab-content-inner">
                                <h6>Listing Details</h6>
                                <div class="row">
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="size" placeholder="Size in ft2 (*only numbers)">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="lotsize" placeholder="Lot Size in ft2 (*only numbers)">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="room" placeholder="Rooms (*only numbers)">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="bedroom" placeholder="Bedrooms (*only numbers)">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="bathroom" placeholder="Bathrooms (*only numbers)">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="cid" placeholder="Custom ID (*text)">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="garage" placeholder="Garages (*text)">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="year" placeholder="Year Built (*numeric)">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="garagesize" placeholder="Garage Size (*text)">
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <input type="text" name="avdate" placeholder="Available from (*date)">
                                        </div>
                                    </div>
                                  
                                 
                                    <div class="col-lg-12">
                                        <div class="input-item input-item-textarea ltn__custom-icon">
                                            <textarea name="note" placeholder="Owner/Agent notes (*not visible on front end)"></textarea>
                                        </div>
                                    </div>
                                </div>
                             
                                <div class="btn-wrapper text-center--- mt-0">
                                   <button type="submit" class="btn theme-btn-1 btn-effect-1 text-uppercase" name="UpdateProperty4">Update Property Details</button>
                                   
                                </div>
                            </div>
                        </div>
                        <div class="tab-pane fade" id="liton_tab_3_5">
                            <div class="ltn__product-tab-content-inner">
                                <h6>Amenities and Features</h6>
                                <h6>Interior Details</h6>
                                <div class="row">
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Equipped Kitchen
                                            <input name="amenities[]" value="Equipped Kitchen" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Gym
                                            <input name="amenities[]" value="Gym" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Laundry
                                            <input name="amenities[]" value="Laundry" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Media Room
                                            <input name="amenities[]" value="Media Room"  type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                </div>
                                <h6 class="mt-20">Outdoor Details</h6>
                                <div class="row">
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Back yard
                                            <input name="amenities[]" value="Back yard" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Basketball court
                                            <input name="amenities[]" value="Basketball court" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Front yard
                                            <input name="amenities[]" value="Front yard" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Garage Attached
                                            <input  name="amenities[]" value="Garage Attached" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Hot Bath
                                            <input name="amenities[]" value="Hot Bath" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Pool
                                            <input name="amenities[]" value="Pool" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                </div>
                                <h6 class="mt-20">Utilities</h6>
                                <div class="row">
                                   
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Electricity
                                            <input name="amenities[]" value="Electricity" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Heating
                                            <input name="amenities[]" value="Heating" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Natural Gas
                                            <input name="amenities[]" value="Natural Gas" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Ventilation
                                            <input name="amenities[]" value="Ventilation" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Borehole Water
                                            <input name="amenities[]" value="Borehole Water" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                </div>
                                <h6 class="mt-20">Other Features</h6>
                                <div class="row">
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Wheel Chair Accessible
                                            <input name="amenities[]" value="Wheel Chair Accessible" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Elevator
                                            <input name="Elevator" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Fireplace
                                            <input name="amenities[]" value="Fireplace" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Smoke detectors
                                            <input name="amenities[]" value="Smoke detectors" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">Washer and dryer
                                            <input name="amenities[]" value="Washer and dryer" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                    <div class="col-lg-4 col-md-6">
                                        <label class="checkbox-item">WiFi
                                            <input name="amenities[]" value="WiFi" type="checkbox">
                                            <span class="checkmark"></span>
                                        </label>
                                    </div>
                                </div>
                                
                                <div class="btn-wrapper text-center--- mt-30">
                                    <button type="submit" class="btn theme-btn-1 btn-effect-1 text-uppercase" name="UpdateProperty5">Update Property Amenities</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<!-- APPOINTMENT AREA END -->


    <!-- LOGIN AREA END -->
  <?php include('modals.php') ?>
  <?php include('foot.php') ?>



</div>
<!-- Body main wrapper end -->

    <!-- All JS Plugins -->
    <script src="js/plugins.js"></script>
    <!-- Main JS -->
    <script src="js/main.js"></script>

    <script type="text/javascript">

    function thed(){ 
    var a = document.getElementById('add').value;
    var b = document.getElementById('ci').value;
    var adrr = a+', '+b; 

        var embed='<div class="property-details-google-map mb-60"><iframe src="https://maps.google.com/maps?&amp;q='+encodeURIComponent(adrr)+'&amp;output=embed" width="100%" height="100%" frameborder="0" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe></div>';  

        $('#calll').html(embed);
    }

  var a = document.getElementById('add').value;
  if(a != ''){
thed();
}

    </script>
  
</body>
</html>


?>