<?php
				  foreach($models as $k=>$v){ ?> 
                  <div class="col col-sm-6 col-md-4 plr-3">
                  <div class="card card-property card-link taphover">
                    <div class="card-image">
                      <div class="full-block card-image-inner transition lozad" data-background-image="<?php echo $v->ProfileImage;?>"></div>
                      <div class="full-block overlay transition"></div>
                      <div class="property-media"> <span><i class="fa fa-camera"></i> <?php echo $v->TotalImage;?></span> </div>
                      <div class="card-hover transition"> <span class="icon-click"></span> <span class="click-text"><span class="gold">Click</span> to explore</span> <span class="arrow transition"></span> </div>
                      <?php echo $v->SaveFave;?>
                      <a href="<?php echo $v->DetailUrl;?>" class="full-block"></a>
                      </div>
                    <div class="property-icons">
						<?php
						if(!empty($v->bedrooms)){ ?> 
						<div class="property-icon"><div class="d-align-center"><img src="<?php echo $this->front_asset('images/icon-bedroom.svg');?>" alt="Bedrooms" /> <?php echo $v->BedroomsTitle;?></div> <span>Bedrooms</span></div>
						<?php } ?>
						<?php
						if(!empty($v->bathrooms)){ ?>
						<div class="property-icon"><div class="d-align-center"><img src="<?php echo $this->front_asset('images/icon-bathroom.svg');?>" alt="Bathrooms" /> <?php echo $v->BathroomsTitle;?></div> <span>Bathrooms</span></div>
						<?php } ?>  
						<?php
						if(!empty($v->parking)){ ?> 
						<div class="property-icon"><div class="d-align-center"><img src="<?php echo $this->front_asset('images/icon-reception.svg');?>" alt="parking" /> <?php echo $v->parking;?></div> <span>Parking &nbsp; &nbsp;</span></div>
						<?php } ?> 
                    </div>
                    <div class="card-content  card-contentts">
                      <h3><a href="<?php echo $v->DetailUrl;?>"><?php echo $v->AdTitle;?></a></h3>
                      <?php
                      $loc = $v->LocationTitleOffering;
                      if(!empty($loc)){ ?> 
                      <p><?php  echo  $loc;?></p>
                      <?php } ?> 
                      <p class="price"><?php echo $v->priceWithCurrncy;?></p>
                    </div>
                    
                    <div _ngcontent-serverapp-c39=""><div _ngcontent-serverapp-c39="" class="actions mt-3">
                        <a _ngcontent-serverapp-c39="" class="btn btn-outline-secondary"  href="tel:<?php echo Yii::t('app',$v->agent_phone,array(' '=>'','+'=>''));?>" target="_blank">
                        <img _ngcontent-serverapp-c39="" alt="" src="/assets/img/kphone.svg"><!----><span _ngcontent-serverapp-c39="">Call</span>
                        </a><!---->
                        <a _ngcontent-serverapp-c39="" class="btn btn-outline-secondary"  href="mailto:<?php echo Yii::t('app',$v->agent_email,array(' '=>'','+'=>''));?>" target="_blank">
                        <img _ngcontent-serverapp-c39="" alt="" src="/assets/img/kmail.svg"><!----><span _ngcontent-serverapp-c39="">Email</span>
                        </a>
                        <a _ngcontent-serverapp-c39="" href="<?php echo $v->Whatsaplink;?>" target="_blank" class="btn btn-outline-secondary whatsapp-color">
                         <img _ngcontent-serverapp-c39="" alt="" src="/assets/img/whatsapgreen.svg"><!----><span _ngcontent-serverapp-c39="">WhatsApp</span>
                         </a>
                    </div>
                    </div>
                    <div class="clearfix"></div>
                     </div>
                </div>
             
				<?php } ?>