<?php
/**
* @package      EasyBlog
* @copyright    Copyright (C) 2010 - 2019 Stack Ideas Sdn Bhd. All rights reserved.
* @license      GNU/GPL, see LICENSE.php
* EasyBlog is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined('_JEXEC') or die('Unauthorized Access');
?>
<div id="eb" class="eb-mod mod-easyblogbloggercloud<?php echo $modules->getWrapperClass();?>" data-eb-module-bloggercloud>
    <?php if ($bloggers) { ?>
    <div class="mod-items-compact">
        <?php foreach ($bloggers as $blogger) { ?>
        <div class="mod-item mod-table">
            <div class="mod-cell cell-tight">
                <i class="fdi fa fa-user mr-5 mod-muted"></i>
            </div>
            <div class="mod-cell">
                <a class="blogger-cloud" href="<?php echo $blogger->getPermalink();?>"><?php echo JText::_($blogger->nickname); ?></a>
            </div>
        </div>
        <?php } ?>
    </div>
    <?php } else { ?>
        <?php echo JText::_('MOD_EBBLOGGERCLOUD_NO_POST'); ?>
    <?php } ?>
</div>
