<!-- Page Header Section Start -->
	<!--<div class="page-header parallaxie">
		<div class="container">
			<div class="row">
				<div class="col-md-12">
			
					<div class="page-header-box">
						<h1 class="text-anime">Property Listing</h1>
						<nav class="wow fadeInUp" data-wow-delay="0.25s">
							<ol class="breadcrumb">
								<li class="breadcrumb-item"><a href="#">Home</a></li>
								<li class="breadcrumb-item active" aria-current="page">Listing</li>
							</ol>
						</nav>
					</div>
					
				</div>
			</div>
		</div>
	</div>-->
	<!-- Page Header Section End -->	
	
	<!-- Property Listing Page Start -->
	<div class="page-property-listing">
		<div class="container">
			<div class="row">
				<div class="col-lg-12">
					<!-- Property Listings Start -->
					<div class="property-listings">
						<div class="row">
                        
                        
                        
                         <?php $i=1; if($allproduct): foreach($allproduct as $property):?>
                        
							<div class="col-md-4">
								<!-- Property Item Start -->
								<div class="property-item wow fadeInUp" data-wow-delay="0.25s">
									<!-- Property Item Header Start -->
									<div class="property-header">
										<figure class="image-anime"  style="background-image: url(<?php echo base_url('assets/images/'.$property->img) ; ?>); background-size:cover; min-height:250px;" >
										
										</figure>

										<span class="property-label">Rent</span>
									</div>
									<!-- Property Item Header End -->

									<!-- Property Item Body Start -->
									<div class="property-body">
										<h3><?=$property->title?></h3>
										<p><?=$property->locations?></p>

										<div class="property-meta">
											<div class="property-amenity-item">
												<div class="icon-box">
													<img src="<?php echo base_url('') ; ?>/assets/theme/images/icon-badroom.svg" alt="">
												</div>

												<span><?=$property->bed?> Bedsroom</span>
											</div>

											<div class="property-amenity-item">
												<div class="icon-box">
													<img src="<?php echo base_url('') ; ?>/assets/theme/images/icon-bathroom.svg" alt="">
												</div>

												<span><?=$property->bath?> Bathrooms</span>
											</div>

											<div class="property-amenity-item">
												<div class="icon-box">
													<img src="<?php echo base_url('') ; ?>/assets/theme/images/icon-area.svg" alt="">
												</div>

												<span><?=$property->stock2?>  <?php 
									if ($property->unit_id==1) { echo "Sq-Ft";}
									if ($property->unit_id==2) { echo "Sq-M";}
									if ($property->unit_id==3) { echo "Sq-Yrd";}
									?></span>
											</div>

											<div class="property-amenity-item">
												<div class="icon-box">
													<img src="<?php echo base_url('') ; ?>/assets/theme/images/icon-garage.svg" alt="">
												</div>

												<span><?=$property->land?> <?php 
									if ($property->land_unit==1) { echo "cent";}
									if ($property->land_unit==2) { echo "acre";}
									?></span>
											</div>
										</div>
									</div>
									<!-- Property Item Body End -->

									<!-- Property Item Footer Start -->
									<div class="property-footer">
										<p class="property-price">Rs. <?=$property->price?></p>
										<a href="<?php echo site_url( 'Pro/view/'.$property->aid.'/'.$property->category_id.'/1/'.url_title($property->title, '-', TRUE) ) ; ?>" class="btn-default">View Property</a>
									</div>
									<!-- Property Item Footer Start -->
								</div>
								<!-- Property Item End -->
							</div>

							

							
 <?php $i++; endforeach; endif;
				
				
				if($i==1){ echo "<h3 style='text-align:center; color:#F00;padding-left:15px;' >No Results Found!</h3>";}
				
				
				 ?> 
                
                   
       
                 <div class="col-md-12 " >   <p class="pagination_style" ><?php echo $links;  ?></p></div>
                    
          
                
							

							

							
						</div>

						<!--<div class="row">
							<div class="col-md-12">
							
								<div class="post-pagination wow fadeInUp" data-wow-delay="1.5s">
									<ul class="pagination">
										<li><a href="#"><i class="fa-solid fa-arrow-left-long"></i></a></li>
										<li><a href="#">1</a></li>
										<li class="active"><a href="#">2</a></li>
										<li><a href="#">3</a></li>
										<li><a href="#"><i class="fa-solid fa-arrow-right-long"></i></a></li>
									</ul>
								</div>
								
							</div>
						</div>-->

					</div>
					<!-- Property Listings End -->
				</div>

				
			</div>
		</div>
	</div>
	<!-- Property Listing Page End -->