Your IP : 52.14.204.52


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

<!-- PRODUCT SLIDER AREA START -->
<div class="ltn__product-slider-area ltn__product-gutter pt-115 pb-90 plr--7">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <div class="section-title-area ltn__section-title-2--- text-center">
                    <h6 class="section-subtitle ltn__secondary-color">Properties for Sale</h6>
                    <h1 class="section-title">Latest Listings</h1>
                </div>
            </div>
        </div>
        <div class="row ltn__product-slider-item-four-active-full-width slick-arrow-1">
            <!-- ltn__product-item -->
            
  <?php $sql = $db->query("SELECT * FROM properties  WHERE uri = 'allproperties' ORDER BY sn DESC "); 
            while ($row = mysqli_fetch_assoc($sql)) { if(time()<strtotime($row['expire'])){ $sn = $row['sn']; 
             ?>
            <!-- ltn__product-item -->
            <div class="col-lg-12">
                <div class="ltn__product-item ltn__product-item-4 text-center---">
                    <div class="product-img">
                        <a href="property-detail.php?property=<?= $row['sn'] ?>"><img src="assets/uploads/<?= sqLx('property_images','property_sn',$sn,'imageA'); ?>" alt="#"></a>
                        <div class="product-badge">
                            <ul>
                                <li class="sale-badge bg-green---"><?= strtoupper($row['type']) ?></li>
                            </ul>
                        </div>
                        <div class="product-img-location-gallery">
                            <div class="product-img-location">
                                <ul>
                                    <li>
                                        <a href="#"><i class="flaticon-pin"></i> <?= $row['address'].', '.$row['city'].', '.$row['country'] ?></a>
                                    </li>
                                </ul>
                            </div>
                           <!--  <div class="product-img-gallery">
                                <ul>
                                    <li>
                                        <a href="product-details.html"><i class="fas fa-camera"></i> 4</a>
                                    </li>
                                    <li>
                                        <a href="product-details.html"><i class="fas fa-film"></i> 2</a>
                                    </li>
                                </ul>
                            </div> -->
                        </div>
                    </div>
                    <div class="product-info">
                        <div class="product-price">
                            <span>NGN<?= number_format($row['currentprice'],2) ?> </span>
                        </div>
                        <h2 class="product-title"><a href="property-detail.php?property=<?= $row['sn'] ?>"><?= $row['name'] ?></a></h2>
                        <div class="product-description">
                            <p><?= $row['des'] ?></p>
                        </div>
                       
                        <ul class="ltn__list-item-2 ltn__list-item-2-before">
                           <?php if($row['type'] != 'Land'){ ?>  
                            <li><span><?= $row['room'] ?> <i class="flaticon-bed"></i></span>
                                Bedrooms
                            </li>
                            <li><span><?= $row['bathroom'] ?> <i class="flaticon-clean"></i></span>
                                Bathrooms
                            </li> <?php } ?>
                            <li><span><?= $row['size'] ?> <i class="flaticon-square-shape-design-interface-tool-symbol"></i> Square Meters</span>
                                
                            </li>
                        </ul>
                  
                    </div>
                    <div class="product-info-bottom" style="padding-bottom: 0; margin-bottom: 0;">
                               <div> <h6><a href="#"><?= $row['slot'] ?> Trading Blocks</a></h6></div>
                                <div style="float:right;"><h6 class="product-price">NGN<?= number_format($row['currentprice']/$row['slot']) ?>/Block</h6></div>
                  
                         
                    </div>
                   <center><b>Trading Window Closes: <?= date('jS M, Y', strtotime($row['expire'])) ?></b></center>
                </div>
            </div>

        <?php } } ?>            <!-- ltn__product-item -->
            
          
            <!--  -->
        </div>
    </div>
</div>
<!-- PRODUCT SLIDER AREA END -->



?>