* @author YouTech Company http://www.smartaddons.com * */ defined('_JEXEC') or die; // includes placehold $yt_temp = JFactory::getApplication()->getTemplate(); include JPATH_BASE . '/templates/' . $yt_temp . '/includes/placehold.php'; $uniquied = 'sj_accordion_' . time() . rand(); JHtml::stylesheet('templates/' . JFactory::getApplication()->getTemplate() . '/html/mod_sj_content_accordion/css/sj-accordion.css'); if (!defined('SMART_JQUERY') && $params->get('include_jquery', 0) == "1") { JHtml::script('modules/mod_sj_content_accordion/assets/js/jquery-1.8.2.min.js'); JHtml::script('modules/mod_sj_content_accordion/assets/js/jquery-noconflict.js'); define('SMART_JQUERY', 1); } JHtml::script('modules/mod_sj_content_accordion/assets/js/jquery.sj_accordion.js'); ImageHelper::setDefault($params); $item_first = (int) $params->get('item_first_display'); if ($item_first >= (int) count($list)) { $item_first = count($list); } else { if ($item_first <= 0) { $item_first = 1; } else { $item_first = $item_first; } } if (!empty($list)) { ?> <script type="text/javascript"> //<![CDATA[