<?php 
/**
 * @version    2.8.x
 * @package    K2
 * @author     JoomlaWorks http://www.joomlaworks.net
 * @copyright  Copyright (c) 2006 - 2017 JoomlaWorks Ltd. All rights reserved.
 * @license    GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
 */

// no direct access
defined('_JEXEC') or die;

?>

<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2ArchivesBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>">

    <?php foreach ($months as $month): ?>

<span style="float:left; background:#e1e1e1; border: #CCCCCC 1px dotted; padding:3px; margin-bottom:3px; text-transform:uppercase; width:100%; color:#73879c; font-size:110%;">

        <?php echo $month->name.' '.$month->y; ?>
       <strong style="color:#3c8dbc; float:right;"> <?php if ($params->get('archiveItemsCounter')) echo '('.$month->numOfItems.')'; ?></strong>
</span>

    <?php endforeach; ?>

</div>
