<?php

/**
 * @package    Matukio
 * @author     Yves Hoppe <*****@*****.**>
 * @date       05.10.13
 *
 * @copyright  Copyright (C) 2008 - {YEAR} Yves Hoppe - compojoom.com . All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */
defined('_JEXEC') or die('Restricted access');
$stats = $this->stats;
$mstats = $this->mstats;
$html = '<div class="box-info full">';
$html .= MatukioHelperUtilsBasic::printFormstart(2) . "\n<script type=\"text/javascript\">";
$html .= "function semauf(semy, semm) {";
$html .= "document.adminForm.year.value = semy;";
$html .= "document.adminForm.month.value = semm;";
$html .= "document.adminForm.submit();}";
$html .= "</script>";
JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css');
// Load bootstrap in Joomla 2.5
echo CompojoomHtmlCtemplate::getHead(MatukioHelperUtilsBasic::getMenu(), 'statistics', 'COM_MATUKIO_STATS', 'COM_MATUKIO_SLOGAN_STATS');
JHTML::_('stylesheet', 'media/com_matukio/backend/css/matukio.css');
// Header
$n = count($stats);
if ($n == 2) {
    $o = 1;
} else {
    $o = 0;
}