%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/cwd/html/old/modules/mod_sj_k2_frontpage/tmpl/ |
Upload File : |
<?php /* * @package Sj K2 Frontpage * @version 3.0.0 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL * @copyright (c) 2013 YouTech Company. All Rights Reserved. * @author YouTech Company http://www.smartaddons.com * */ defined('_JEXEC') or die; JHtml::stylesheet('modules/'.$module->module.'/assets/css/sj-frontpage.css'); if (!defined('SMART_JQUERY') && ( int ) $params->get ( 'include_jquery', '1' )) { JHtml::script('modules/'.$module->module.'/assets/js/jquery-1.8.2.min.js'); JHtml::script('modules/'.$module->module.'/assets/js/jquery-noconflict.js'); define('SMART_JQUERY', 1); } if($params->get('theme') == 'theme4') { JHtml::script('modules/'.$module->module.'/assets/js/jquery.sj_frontpage_accordion.js'); } ImageHelper::setDefault($params); $uniqueid = 'sjk2fronpage_'.rand().time(); $wrap_max_size = (int)$params->get('module_width', 560) ? 'style="width:' . (int)$params->get('module_width', 560) . 'px;"': ''; $item0 = array_shift($list); $items = &$list; $onstart = $params->get('onstart_t4',1); $onstart = ($onstart >count($items) || $onstart <= 0 )?1:$onstart; $theme = $params->get('theme','theme1'); $small_image_config=array( 'type' => $params->get('imgcfg_small_type'), 'width' => $params->get('imgcfg_small_width'), 'height' => $params->get('imgcfg_small_height'), 'quality' => 90, 'function' => ($params->get('imgcfg_small_function') == 'none')?null:'resize', 'function_mode' => ($params->get('imgcfg_small_function') == 'none')?null:substr($params->get('imgcfg_small_function'), 7), 'transparency' => $params->get('imgcfg_small_transparency', 1)?true:false, 'background' => $params->get('imgcfg_small_background') ); $image_config=array( 'type' => $params->get('imgcfg_type'), 'width' => $params->get('imgcfg_width'), 'height' => $params->get('imgcfg_height'), 'quality' => 90, 'function' => ($params->get('imgcfg_function') == 'none')?null:'resize', 'function_mode' => ($params->get('imgcfg_function') == 'none')?null:substr($params->get('imgcfg_function'), 7), 'transparency' => $params->get('imgcfg_transparency', 1)?true:false, 'background' => $params->get('imgcfg_background') ); ?> <script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function($){ ;(function(element){ var $element = $(element); var $container = $('.small-items-container', $element); var $children = $container.children(); var $loadding = $('.fp-loading',$element); $loadding.remove(); $element.removeClass('pre-load'); <?php if($theme == 'theme4') { ?> _fpaccrodion(); <?php } ?> function _fpaccrodion(){ $container.sj_frontpage_accordion({ items: '.small-item-wrap', heading: '.small-item-title', content: '.small-item-content', active_class: 'item-active', event: '<?php echo $params->get('event_t4', 'mouseenter'); ?>', delay: <?php echo (int)$params->get('delay_t4', 200); ?>, duration: <?php echo (int)$params->get('duration_t4', 200); ?>, active: <?php echo (int)$onstart; ?> }); onRezie = function(){ $children.each(function(e){ if($(this).hasClass('item-active')){ $('.small-item-content',$(this)).css({height:'auto'}); } }); } $(window).load(onRezie); $(window).resize(onRezie); } })('#<?php echo $uniqueid; ?>') }); //]]> </script> <?php if ($params->get('pretext') !=''){?> <div class="pre-text"><?php echo $params->get('pretext'); ?></div> <?php } ?> <div id="<?php echo $uniqueid; ?>" class="sjk2frontpage <?php echo $theme; ?> pre-load"> <div class="fp-loading"></div> <?php include JModuleHelper::getLayoutPath($module->module, $layout.'_'.$theme); ?> </div> <?php if ($params->get('posttext') !=''){?> <div class="post-text"><?php echo $params->get('posttext'); ?></div> <?php } ?>