Your IP : 216.73.216.84


Current Path : /home/helpink/www/components/com_jbusinessdirectory/views/companies/tmpl/
Upload File :
Current File : /home/helpink/www/components/com_jbusinessdirectory/views/companies/tmpl/listing_announcements.php

<?php
/**
 * @package    J-BusinessDirectory
 *
 * @author     CMSJunkie http://www.cmsjunkie.com/
 * @copyright  Copyright (C) 2007 - 2022 CMSJunkie. All rights reserved.
 * @license    https://www.gnu.org/licenses/agpl-3.0.en.html
 */
defined('_JEXEC') or die('Restricted access');
?>
<div class="listing-announcement">
    <div class="row">
        <?php foreach($this->companyAnnouncements as $index=>$item) { ?>
            <div class="col-md-12">
                <div class="announcement-container ">
                    <i class="<?php echo $item->icon ?>"></i>
                    <p>
                        <strong><?php echo $item->title ?></strong>
                        <span><?php echo $item->description ?></span>
                    </p>
                    <?php if(!empty($item->button_link) && !empty($item->button_text)){ ?>
                        <a target="_blank" href="<?php echo $item->button_link ?>" class="announcement-btn btn-success"><?php echo $item->button_text ?></a>
                    <?php } ?>
                    <div class="clearfix"></div>
                </div>
            </div>
        <?php } ?>
    </div>
</div>