 <div class="section section-featured section-new-instructions" style="padding-bottom: 0px;padding-top: 0px;">
        <div class="container">
          <div class="row">
            <div class="col col-sm-12 page-content clearfix">
              <div class="featured-title-hold text-center clearfix">
                <h3 class="site-h1 animate"><span class="title">Properties Managed By <span><?php echo $article->title;?><span></h3>
              </div>
              <div class="row properties lis-i">
                 <?php
                 foreach($properties 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">
                         <img _ngcontent-serverapp-c39="" alt="" src="/assets/img/kwhatsap.svg"><!----><span _ngcontent-serverapp-c39="">WhatsApp</span>
                         </a>
                    </div>
                    </div>
                    <div class="clearfix"></div>
                     </div>
                </div>
                <?php } ?>
       
              </div>
              <style>
                @media only screen and (max-width: 480px) {
                .mob-small-a a {
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
}
                }
              </style>
              <div class="row" style="margin-bottom:60px">
                  
                  <div class="col-sm-12 mob-small-a">
                    <?php
                    if(!empty($for_sale)){ ?>
                    <a href="<?php echo Yii::app()->createUrl('searchlist/index',array('sect'=>'for-sale','agent'=>$customer->slug));?>" class="btn btn-primary">View All for Sale (<?php echo $for_sale[0]->id;?>)</a>
                    <?php } ?> 
                    <?php
                    if(!empty($for_rent)){ ?>
                    <a href="<?php echo Yii::app()->createUrl('searchlist/index',array('sect'=>'for-rent','agent'=>$customer->slug));?>" class="btn btn-primary">View All for Rent (<?php echo $for_rent[0]->id;?>)</a>
                    <?php } ?> 
                  </div>
                  
              </div>
            </div>
          </div>
        </div>
      </div>
     
<script>
$(function(){
const observer = lozad(); // lazy loads elements with default selector as '.lozad'
observer.observe();
})
</script>