*/ // no direct access defined('_JEXEC') or die('Restricted access'); /* ------------------------------------------------------------------------------------------------ */ // BEGIN: SHOW DIGIT COUNTER $html = '<!-- Vinaora Visitors Counter for Joomla! -->'; $html .= '<div>'; if ($pretext != "") { $html .= '<div>' . $pretext . '</div>'; } // Show digit counter if ($s_digit) { $html .= '<div style="text-align: center;">'; $arr =& modVisitCounterHelper::getDigits($all_visitors, $number_digits); foreach ($arr as $digit) { $html .= modVisitCounterHelper::showDigitImage($digit_type, $digit); } $html .= '</div>'; } // END: SHOW DIGIT COUNTER /* ------------------------------------------------------------------------------------------------ */ /* ------------------------------------------------------------------------------------------------ */ // BEGIN: TABLE STATISTICS if ($s_stats) { $html .= '<div><table cellpadding="0" cellspacing="0" '; $html .= 'style="margin: 3px; text-align: center; align: center; '; $html .= 'width: ' . $widthtable . '%;" class="vinaora_counter">'; $html .= '<tbody align="center">'; // Show today, yestoday, this week, this month, and all visitors if ($s_today) { $timeline = modVisitCounterHelper::showTimeLine($local_daystart, 0, $offset);