コード例 #1
0
ファイル: default.php プロジェクト: jeprodev/jeprovisitors
        $statistics .= modJVCounterHelper::showStatisticsRows($jvcstatstype, 'w_visits', $timeline, JText::_('MOD_JVCOUNTER_THIS_WEEK_LABEL'), $thisweekvisitors);
    }
    if ($jvcshowlastweek) {
        $timeline = modJVCounterHelper::showTimeLine($datetime["locallastweekstart"], 0, $offset);
        $statistics .= modJVCounterHelper::showStatisticsRows($jvcstatstype, 'lw_visits', $timeline, JText::_('MOD_JVCOUNTER_LAST_WEEK_LABEL'), $lastweekvisitors);
    }
    if ($jvcshowthismonth) {
        $timeline = modJVCounterHelper::showtimeline($datetime["localmonthstart"], 0, $offset);
        $statistics .= modJVCounterHelper::showStatisticsRows($jvcstatstype, 'm_visits', $timeline, JText::_('MOD_JVCOUNTER_THIS_MONTH_LABEL'), $thismonthvisitors);
    }
    if ($jvcshowlastmonth) {
        $timeline = modJVCounterHelper::showTimeLine($datetime["locallastmonthstart"], 0, $offset);
        $statistics .= modJVCounterHelper::showStatisticsRows($jvcstatstype, 'lm_visits', $timeline, JText::_('MOD_JVCOUNTER_LAST_MONTH_LABEL'), $lastmonthvisitors);
    }
    if ($jvcshowall) {
        $timeline = modJVCounterHelper::showTimeLine($datetime["localyesterdaystart"], 0, $offset);
        $statistics .= modJVCounterHelper::showStatisticsRows($jvcstatstype, 'all_visits', $timeline, JText::_('MOD_JVCOUNTER_ALL_LABEL'), $allvisitors);
    }
    echo $statistics;
    ?>
        </table>
    </div>
    <?php 
}
?>
    <?php 
if ($jvcshowdigit) {
    ?>
    <div id="jvcounterdigit">
        <?php 
    $arr = modJVCounterHelper::getDigits($allvisitors, $jvcnumberofdigits);