JHTML::stylesheet('templates/' . $mainframe->getTemplate() . '/html/' . $module->module . '/' . $theme . '/style.css'); } } $cache_id = ''; $use_cache = 1; //$mainframe->getCfg("caching"); if ($params->get('jacache') == "1" && $use_cache == "1") { $options = array('lifetime' => (int) ($params->get('jacache_time', 30) * 60), 'caching' => true); jimport('joomla.cache.cache'); $cache = new JCache($options); /* Make cache id */ $cache_id = $helper->_makeId($params, $module->id); if ($cache_id != '') { $oldlen = strlen(ob_get_contents()); } if ($helper->check_cache($cache, $cache_id, 'mod_janewspro')) { if (JRequest::getBool('janewspro_linear_ajax')) { exit; } if (JRequest::getBool('janajax')) { exit; } return; } } $helper->_load($params, $module->id); if (JRequest::getBool('janewspro_linear_ajax')) { $path = JModuleHelper::getLayoutPath($module->module, $theme . '/blog_item'); if (file_exists($path)) { ob_clean(); $rows = array();