<?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="fbclone_landing_page_banner" style="height:<?php echo $allParams['height'] ? $allParams['height'] : '650'; ?>px;  background-image:url(<?php echo $allParams['bgimage'] ? Engine_Api::_()->core()->getFileUrl($allParams['bgimage']) : 'application/modules/Fbclone/externals/images/banner_bg.jpg'; ?>);">
  <div class="container">
    <div class="fbclone_landing_page_banner_inner">
      <?php if($allParams['title']) { ?> 
        <h1><?php echo $this->translate($allParams['title']); ?></h1>
      <?php } ?>
        <?php if(!empty($allParams['description'])) { ?>
        <p>
          <?php echo $this->translate($allParams['description']); ?> 
        </p>
      <?php } ?> 
      <?php if(!empty($allParams['btntextlink'])) { ?>
        <a href="<?php echo $allParams['btntextlink']; ?>" class="btn btn-primary">
          <span><?php echo $this->translate($allParams['btntext']); ?></span>
        </a>
      <?php } ?>
    </div>
  </div>
</div>
