function renderExtraWatchVisitors() { $output = ""; $extraWatch = new ExtraWatchMain(); $extraWatch->config->initializeTranslations(); $extraWatchStatHTML = new ExtraWatchStatHTML($extraWatch); $output .= $extraWatchStatHTML->renderFrontendStats($extraWatch); return $output; }
function sendNightlyEmails() { ExtraWatchLog::debug("function sendNightlyEmails"); $this->config->initializeTranslations(); if ($this->config->getCheckboxValue("EXTRAWATCH_EMAIL_REPORTS_ENABLED")) { ExtraWatchLog::debug("function sendNightlyEmails - email reports are enabled"); $extraWatch = new ExtraWatchMain(); $extraWatchStatHTML = new ExtraWatchStatHTML($extraWatch); $extraWatchStatHTML->sendNightlyEmail(); } }