l = JUri::base(true); $browser = JBrowser::getInstance(); $browserType = $browser->getBrowser(); $browserVersion = $browser->getVersion(); $app = JFactory::getApplication(); $config = JFactory::getConfig(); $detect = new Mobile_Detect(); $this->addStyleSheet($baseUrl . 'templates/' . $this->template . '/media/css/at-bootstrap.min.css', 'text/css'); $this->addStyleSheet($baseUrl . 'templates/' . $this->template . '/media/css/template.css', 'text/css'); $this->addScript($baseUrl . 'templates/' . $this->template . '/media/js/modernizr.min.js', 'text/javascript'); $this->addScript($baseUrl . 'media/slick/slick.min.js', 'text/javascript'); $this->addScript($baseUrl . 'media/jui/js/jquery.parallax.min.js', 'text/javascript'); if ($app->getMenu()->getActive()->home) { $doc = JFactory::getDocument(); $doc->setTitle($config->get('sitename')); } else { $this->addStyleSheet($baseUrl . 'templates/' . $this->template . '/media/css/jquery.fancybox.min.css', 'text/css'); $this->addScript($baseUrl . 'templates/' . $this->template . '/media/js/jquery.fancybox.min.js', 'text/javascript'); } $this->addScript($baseUrl . 'templates/' . $this->template . '/media/js/scripts.js', 'text/javascript'); //*** Remove default JavaScript ***// unset($this->_links[array_search(array('relation' => 'canonical', 'relType' => 'rel', 'attribs' => array()), $this->_links)]); $headlink = $this->getHeadData(); unset($headlink['scripts']['/media/system/js/caption.js']); unset($headlink['scripts']['/media/system/js/mootools-core.js']); unset($headlink['scripts']['/media/system/js/mootools-more.js']); unset($headlink['scripts']['/media/system/js/core.js']); $this->setHeadData($headlink); if (isset($this->_script['text/javascript'])) { $this->_script['text/javascript'] = preg_replace('%jQuery\(window\)\.on\(\'load\',\s*function\(\)\s*{\s*new\s*JCaption\(\'img.caption\'\);\s*}\);\s*%', '', $this->_script['text/javascript']); if (empty($this->_script['text/javascript'])) unset($this->_script['text/javascript']); } //*** Remove default JavaScript ***// ?> kralbetz.com betturkeygiris.org bahis.com hipas.info wiibet.com restbetcdn.com top-casino.biz ebetebet.com mariogame.net Прочие услуги - ПМ-Дизайн - Наружная реклама, вывески и полиграфия в Курске