<?php } ?> <?php echo $extraWatch->block->checkBlocked(ExtraWatchVisit::getRemoteIPAddress()); ?> <div <?php echo $extraWatch->helper->getTooltipOnEventHide(); ?> > <div id="visits"> <table class="table"> <span style="color: #888"><?php echo ExtraWatchDate::getActualDateTime(); ?> </span> <h2><?php echo _EW_VISITS_PANE_LOADING; ?> </h2> <?php echo $extraWatchVisitHTML->getVisitorsCached(FALSE); echo $extraWatchVisitHTML->getVisitorsCached(TRUE); ?> </table> </div> <!-- <div id="stats" valign='top' align='left'>
require_once JPATH_BASE2 . DS . "components" . DS . "com_extrawatch" . DS . "includes.php"; $extraWatch = new ExtraWatchMain(); $extraWatch->helper->setNoindexHttpHeaders(); //setting explicitly for ajax requests $extraWatch->config->initializeTranslations(); $extraWatchHTML = new ExtraWatchHTML(); $extraWatchVisitHTML = new ExtraWatchVisitHTML($extraWatch); $extraWatchBlockHTML = new ExtraWatchBlockHTML($extraWatch); $extraWatchHeatmapHTML = new ExtraWatchHeatmapHTML($extraWatch->database); $extraWatch->block->checkBackendTokenFromUrl(); $t1 = time() + microtime(); $last = $extraWatch->visit->getLastVisitId(); echo "<span style='display: none;'>{$last}</span>\n\n"; $day = $extraWatch->date->jwDateToday(); ExtraWatchLog::debug("<br/>date today: " . $day); ExtraWatchLog::debug("<br/>actual dateTime: " . ExtraWatchDate::getActualDateTime()); ExtraWatchLog::debug("<br/>server time: " . ExtraWatchDate::getUTCTimestamp()); ExtraWatchLog::debug("<br/>date today: " . $extraWatch->date->getDateByDay($day, "d.m.Y H:i:s")); ExtraWatchLog::debug("<br/>"); require_once JPATH_BASE2 . DS . "components" . DS . "com_extrawatch" . DS . "view" . DS . "visits.php"; ?> <br/><br/> <span style='color: #ddd'><?php echo _EW_RENDERED_IN; ?> <?php echo sprintf("%.2f", time() + microtime() - $t1); ?> s</span>