<?php /*------------------------------------------------------------------------ # author Marius Hogas # copyright Copyright © 2014 hogash.com. All rights reserved. # @license Commercial License http://themeforest.net/licenses/regular_extended # Website http://www.hogash.com # Version 1.5 -------------------------------------------------------------------------*/ defined('_JEXEC') or die; // if you have strict standard error problems uncomment the line below //ini_set('display_errors', '0'); JHtml::_('jquery.framework'); JLoader::register("TplHelper", dirname(__FILE__) . '/helper.php'); $user_agent = TplHelper::getBrowserAgent(); $site_home = TplHelper::detect_home(); $noTopNav = !$this->countModules('support or hidden_login or top_pos') ? 'noTopNav' : ''; // detecting active variables $option = JRequest::getCmd('option', ''); $view = JRequest::getCmd('view', ''); $layout = JRequest::getCmd('layout', ''); $task = JRequest::getCmd('task', ''); $itemid = JRequest::getCmd('Itemid', ''); // variables $app = JFactory::getApplication(); // Init App $doc = JFactory::getDocument(); // Init Document $params = $app->getParams(); // Get Template Params $templateparams = $app->getTemplate(true)->params;