<?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="container">
  <div class="fbclone_landingpage_app_section">
    <div class="fbclone_landingpage_app_left">
      <?php if($allParams['title']) { ?> 
        <h3><?php echo $this->translate($allParams['title']); ?></h3>
      <?php } ?>
      <?php if(!empty($allParams['description'])) { ?>
        <p><?php echo $this->translate($allParams['description']); ?></p>
      <?php } ?> 
      <?php if(!empty($allParams['iosapplink']) || !empty($allParams['androidapplink'])) { ?>
        <div class="fbclone_landingpage_app_links">
          <?php if(!empty($allParams['androidapplink'])) { ?>
            <a href="<?php echo $allParams['androidapplink']; ?>"  target="_blank"><img width="168" height="50" src="application/modules/Core/externals/images/android.png" alt=""></a>
          <?php } ?> 
          <?php if(!empty($allParams['iosapplink'])) { ?>
            <a href="<?php echo $allParams['iosapplink']; ?>" target="_blank"><img width="168" height="50" src="application/modules/Core/externals/images/ios.png" alt=""></a>   
          <?php } ?>
        </div>
      <?php } ?>
    </div>
    <div class="fbclone_landingpage_app_right">
			<?php if(!empty($allParams['apprightimage'])) { ?>
				<?php $path = Engine_Api::_()->core()->getFileUrl($allParams['apprightimage'], true); ?>
				<img width="529" height="542" src="<?php echo $path['image'] ?>" alt="<?php echo $path['alt_text'] ? $path['alt_text'] : 'Mobile App' ?>" />
			<?php } else { ?>
				<img width="529" height="542" src="<?php echo 'application/modules/Fbclone/externals/images/mobile-app.png'; ?> " alt="Mobile App" />
			<?php } ?>
    </div>
  </div>
</div>  
