<?php
/**
  * Ahead WebSoft Technologies Pvt Ltd.
  * @copyright  Copyright 2006-2026 Ahead WebSoft Technologies Pvt Ltd.
  * @license    https://www.socialengine.com/policies
*/
?>

<?php $allParams = $this->allParams; ?>

<div class="harmony_landingpage_why_choose">
  <div class="harmony_landingpage_why_choose_inner">
    <?php //if(!empty($allParams['leftphoto'])) { ?>
      <div class="harmony_landingpage_why_choose_left" style="background-image:url(<?php echo $allParams['leftphoto'] ? Engine_Api::_()->core()->getFileUrl($allParams['leftphoto']) : 'application/modules/Harmony/externals/images/whychoose/whychoosebg.jpg'; ?>);">
      </div> 
    <?php //} ?>
    <div class="harmony_landingpage_why_choose_right">
      <?php if($allParams['title']) { ?> 
        <h3 class="harmony_title"><?php echo $this->translate($allParams['title']); ?></h3>
      <?php } ?>
      <?php for($i=1;$i<=3;$i++) { ?>
        <?php if(!empty($allParams['featuresheading' .$i]) || !empty($allParams['headinglink' .$i]) || !empty($allParams['description' .$i]) ) { ?>
          <div class="harmony_landingpage_features_item">
            <?php //if(!empty($allParams['photo'.$i])) { ?>
              <div class="harmony_landingpage_features_item_icon">
								<?php if(!empty($allParams['photo'.$i])) { ?>
									<?php $path = Engine_Api::_()->core()->getFileUrl($allParams['photo'.$i], true); ?>
									<img src="<?php echo $path['image']; ?>" height="36" width="36" alt="<?php echo $path['alt_text'] ? $path['alt_text'] : 'img'; ?>"/>
								<?php } else { ?>
									<img src="<?php echo 'application/modules/Harmony/externals/images/whychoose/'.$i.'.png'; ?>" height="36" width="36" alt="img"/>
								<?php } ?>
                
              </div>
            <?php //} ?>
            <div class="harmony_landingpage_features_item_cont">
              <?php if(!empty($allParams['featuresheading'.$i])) { ?>
                <h4>
                  <?php echo $this->translate($allParams['featuresheading'.$i]); ?> 
                </h4>
              <?php } ?> 
              <?php if(!empty($allParams['description'.$i])) { ?>
                <p>
                  <?php echo $this->translate($allParams['description'.$i]); ?> 
                </p>
              <?php } ?> 
          </div>  
          </div>
        <?php } ?>
      <?php } ?>
    </div>
  </div>  
</div>  
