<?php echo $__env->make('includes.header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<div class="page-background">
        <div class="container rounded text-center mybigfont text-white">
            <h2>Want To Sell, Rent Or Buy Property?</h2>
            <form method="GET" action="/result">
                <div class="row">
                    <div class="col-md-2 offset-md-2">
                    <select class="form-control form-control-lg mr-2" name="query1">
                    <option value="SELL">BUY</option>
                    <option value="RENT">RENT</option>
            </select>
                    </div>
                    <div class="col-md-6">
                        <input type="text" name="query2" class="form-control form-control-lg mr-2" placeholder="Enter city">
                    </div>
                </div>
                <br/>
            <button type="submit" class="btn btn-lg btn-primary">Search Property</button>
            </form>
        </div>
    </div>  
<!-- Header -->
<div class="header1 text-center"><br/>
<h3 class="text-center"><u>Recently Added Property for Sell</u></h3>
  <!-- <p>Find the best place to live in your dream city.</p> -->
</div>
<br/>
<div class="container marginbottom">
    <div class="row">
    <?php if($posts->count() > 0): ?>
    <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <div class="container marginbottom">
        <div class="mymargin">
        <a href="<?php echo e(route('post.single', ['slug' => $post->slug ])); ?>" target="_blank">
            <div class="card">
                <div class="card-body">
                    <div class="row">
                        <div class="col-md-4 col-xs-4">
                          <img src="<?php echo e($post->gallery_one); ?>" class="img-rounded" alt="Notebook" width="100%" height="150">
                        </div>
                    <div class="col-md-6 col-xs-4">
                    <h4 class="text-black"><?php echo e($post->title); ?></h4>
                    <p class="text-black"><?php echo e($post->city); ?></p>
                    <p class="text-black">Super Builtup Area: <?php echo e($post->builtuparea); ?>

                        <br/>Carpet Area: <?php echo e($post->carpetarea); ?>

                    </p>
                    </div>
                    <div class="clo-md-2 col-xs-4">
                    <p class="myprice text-black text-red">₹ <?php echo e($post->price); ?></p> 
                    <br/><br/>
                    <p class="text-black"><?php echo e($post->furnishing); ?><br/>
                    Listed By: <?php echo e($post->listedby); ?><br/>
                    <u><?php echo e($post->subcategory); ?>,  <?php echo e($post->bedrooms); ?> BHK/Bedrooms</u></p>
                    </div>
                </div>
            </div>
        </div>
        </div>
        </div> 
        </a>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php else: ?> 
        <div class="col-md-12">
        <div class="mymargin">
            <div class="card">
                <div class="card-header text-center">
                    <h2>No Results Found!</h2>
                </div>
            </div>
        </div>
        </div>
    <?php endif; ?>     
    </div>
    <?php echo e($posts->links()); ?>

</div>  

<!-- Header -->
<div class="header1 text-center"><br/>
<h3 class="text-center"><u>Recently Added Property for Rent</u></h3>
<br/>
  <!-- <p>Find the best place to live in your dream city.</p> -->
</div>
<div class="container marginbottom">
    <div class="row">
    <?php if($rents->count() > 0): ?>
    <?php $__currentLoopData = $rents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rent): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <div class="container marginbottom">
        <div class="mymargin">
        <a href="<?php echo e(route('post.single', ['slug' => $rent->slug ])); ?>" target="_blank">
            <div class="card">
                <div class="card-body">
                    <div class="row">
                        <div class="col-md-4 col-xs-4">
                          <img src="<?php echo e($rent->gallery_one); ?>" class="img-rounded" alt="Notebook" width="100%" height="150">
                        </div>
                    <div class="col-md-6 col-xs-4">
                    <h4 class="text-black"><?php echo e($rent->title); ?></h4>
                    <p class="text-black"><?php echo e($rent->city); ?></p>
                    <p class="text-black">Super Builtup Area: <?php echo e($rent->builtuparea); ?>

                        <br/>Carpet Area: <?php echo e($rent->carpetarea); ?>

                    </p>
                    </div>
                    <div class="clo-md-2 col-xs-4">
                    <p class="myprice text-black text-red">₹ <?php echo e($rent->price); ?></p> 
                    <br/><br/>
                    <p class="text-black"><?php echo e($rent->furnishing); ?><br/>
                    Listed By: <?php echo e($rent->listedby); ?><br/>
                    <u><?php echo e($rent->subcategory); ?>,  <?php echo e($rent->bedrooms); ?> BHK/Bedrooms</u></p>
                    </div>
                </div>
            </div>
        </div>
        </div>
        </div> 
        </a>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <?php else: ?> 
        <div class="col-md-12">
        <div class="mymargin">
            <div class="card">
                <div class="card-header text-center">
                    <h2>No Results Found!</h2>
                </div>
            </div>
        </div>
        </div>
    <?php endif; ?>     
    </div>
    <?php echo e($rents->links()); ?>

</div>  

<br/><br/>

<div class="parallax">
<h3 class="text-center text-white">What Makes Us Different!</h3>
<br/><br/>
    <div class="container">
        <div class="row">
            <div class="col-md-4 text-center">
            <i class="fab fa-searchengin fa-5x icon-cog"></i>
            <h4 class="text-center text-white">Easy To Search Property in your city.</h4>
            </div>
            <div class="col-md-4 text-center">
            <i class="fas fa-cart-plus fa-5x icon-cog"></i>
            <h4 class="text-center text-white">Easy To Add Property Details.</h4>
            </div>
            <div class="col-md-4 text-center">
            <i class="fas fa-plug fa-5x icon-cog"></i>
            <h4 class="text-center text-white">Easy To Contact Property Dealers And Owners.</h4>
            </div>
        </div>
        <div class="text-center mymargin">
            <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5b5b691f090278b7"></script>
            <div class="addthis_inline_share_toolbox_9jx4"></div>
            </div>
    </div>
</div>
<!------ Include the above in your HEAD tag ---------->

<!-- Footer -->
	<section id="footer">
		<div class="container">
			<div class="row text-center text-xs-center text-sm-left text-md-left">
			<div class="col-xs-12 col-sm-6 col-md-6 text-white">
					<h5>About us</h5>
					Our Mission is to provide an organized and transparent real estate platform to all citizen to buy, sell and rent/lease residential and commercial property with ease. Do you want to Sell your flat or put your house on rent? BuySellHousing.com has the right solution for you.
				</div>
				<div class="col-xs-12 col-sm-3 col-md-3">
					<h5>Quick links</h5>
					<ul class="list-unstyled quick-links">
						<li><a href="http://buysellhousing.com"><i class="fa fa-angle-double-right"></i>Home</a></li>
						<li><a href="http://buysellhousing.com"><i class="fa fa-angle-double-right"></i>List Property</a></li>
					</ul>
				</div>
				<div class="col-xs-12 col-sm-3 col-md-3">
					<h5>Contact Details</h5>
					<ul class="list-unstyled quick-links">
						<li><a href="javascript:void();"><i class="fa fa-phone"></i>Help Line – +91 91525 21619</a></li>
						<li><a href="javascript:void();"><i class="fa fa-envelope"></i>info@buysellhousing.com</a></li>
					</ul>
				</div>
			</div>
			<div class="row">
				<div class="col-xs-12 col-sm-12 col-md-12 mt-2 mt-sm-5">
					<ul class="list-unstyled list-inline social text-center">
						<li class="list-inline-item"><a href="https://www.facebook.com/" title="TheTechLogy Facebook Link" target="_blank"><i class="fab fa-facebook-f"></i></a></li>
						<li class="list-inline-item"><a href="https://twitter.com/" title="TheTechLogy Twitter Link" target="_blank"><i class="fab fa-twitter"></i></a></li>
						<li class="list-inline-item"><a href="https://www.instagram.com/" title="TheTechLogy Instagram Link" target="_blank"><i class="fab fa-instagram"></i></a></li>
						<li class="list-inline-item"><a href="javascript:void();" title="TheTechLogy Youtube Link" target="_blank"><i class="fab fa-youtube"></i></a></li>
						<li class="list-inline-item"><a href="https://plus.google.com/" title="TheTechLogy Google Plus Link" target="_blank"><i class="fab fa-google-plus-g"></i></a></li>
						<li class="list-inline-item"><a href="www.linkedin.com/in/" title="TheTechLogy LinkedIn Link" target="_blank"><i class="fab fa-linkedin-in"></i></a></li>
						<li class="list-inline-item"><a href="https://in.pinterest.com/" title="TheTechLogy Pinterest Link" target="_blank"><i class="fab fa-pinterest-p"></i></a></li>
					</ul>
				</div>
				</hr>
			</div>	
			<hr class="someclass">
			<div class="row">
				<div class="col-xs-12 col-sm-12 col-md-12 mt-2 mt-sm-2 text-center text-white">
				    <p class="h6"><a href="" title="TheTechLogy Sitemap">Sitemap</a> || <a href="<?php echo e(route('privacy')); ?>" title="TheTechLogy Privacy Policy">Privacy Policy</a> || <a href="<?php echo e(route('disclaimer')); ?>" title="buysellhousing.com">Disclaimer</a> </p>
					<p class="h6">&copy All right Reversed.<a class="text-green ml-2" href="http://buysellhousing.com" target="_blank">buysellhousing.com</a></p>
					<p class="h6"><a class="text-green ml-2" href="http://trickuweb.com" target="_blank">Designed & Developed By: TrickuWeb.Com</a></p>
				</div>
				</hr>
			</div>	
		</div>
	</section>
    <!-- ./Footer -->
    </body>
</html>