} else { define('_VALID_MOS', 1); require_once JPATH_BASE . DS . 'globals.php'; require_once JPATH_BASE . DS . 'configuration.php'; require_once JPATH_BASE . DS . 'includes' . DS . 'joomla.php'; } require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "config.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "class.joomlawatch.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "class.joomlawatch.block.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "class.joomlawatch.cache.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "class.joomlawatch.config.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "class.joomlawatch.goal.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "class.joomlawatch.helper.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "class.joomlawatch.stat.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "class.joomlawatch.visit.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "class.joomlawatch.html.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "admin.joomlawatch.html.php"; require_once JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "class.ip2country.php"; $joomlaWatch = new JoomlaWatch(); $joomlaWatchHTML = new JoomlaWatchHTML("/components/com_joomlawatch"); $adminJoomlaWatchHTML = new AdminJoomlaWatchHTML("/administrator"); $joomlaWatch->config->checkPermissions(); require JPATH_BASE . DS . "components" . DS . "com_joomlawatch" . DS . "lang" . DS . $joomlaWatch->config->getLanguage() . ".php"; echo $adminJoomlaWatchHTML->renderAdminStyles(); echo $joomlaWatchHTML->renderPrint(); echo $joomlaWatchHTML->renderCloseWindow(); echo $joomlaWatchHTML->renderTrends(); ?>