%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 : User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/modules/mod_sj_megamenu_res/tmpl/ |
Upload File : |
<?php /** * @package Sj Megamenu * @version 2.5 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL * @copyright (c) 2012 YouTech Company. All Rights Reserved. * @author YouTech Company http://www.smartaddons.com * */ defined('_JEXEC') or die; $db =& JFactory::getDBO(); $document = &JFactory::getDocument(); $renderer = $document->loadRenderer('module'); $module_id = $item->params->get('xmp_modules'); $query = "SELECT * FROM `#__modules` AS a WHERE a.id =".$module_id[0]; $db->setQuery($query); $result = $db->loadObject(); if( $result != null ){ $_module = JModuleHelper::renderModule($result); } $module_float = $item->params->get('xmp_position'); if( $module_float == "right" ){ $module_float = "module_right"; }else{ $module_float = "module_left"; } // Note. It is important to remove spaces between elements. $class = $item->anchor_css ? 'class="'.$item->anchor_css.'" ' : ''; $title = $item->anchor_title ? 'title="'.$item->anchor_title.'" ' : ''; $show_image = ''; $show_descr = $item->params->get('xmp_desc', ''); $show_descr = trim($show_descr); $show_title = $item->title; if ( $item->menu_image ) { $show_image = '<img class="menu-image" src="'.$item->menu_image.'" alt="'.$item->title.'" />'; // add text (title) if( !$item->params->get('menu_text', 1) ){ $show_title = ''; } } $linktype = $show_image; if ($show_title || $show_descr){ $linktype .= '<span class="menu-title">'; if ($show_title){ $linktype .= '<span>'.$show_title.'</span>'; } if ($show_descr){ $linktype .= '<em>'.$show_descr.'</em>'; } $linktype .= '</span>'; } $flink = $item->flink; $flink = JFilterOutput::ampReplace(htmlspecialchars($flink)); $anchor_htm5 = ''; $anchor_htm5 .= $show_image ? ' data-image="on"' : ' data-image="off"'; $anchor_htm5 .= $show_title ? ' data-title="on"' : ' data-title="off"'; $anchor_htm5 .= $show_descr ? ' data-description="on"' : ' data-description="off"';?> <?php if( $item->params->get('xmp_showlink', '1') == "1" ){ switch ($item->browserNav) : default: case 0: ?><a <?php echo $class.$title.$anchor_htm5; ?> href="<?php echo $flink; ?>"><?php echo $linktype; ?></a><?php break; case 1: // _blank ?><a <?php echo $class.$title.$anchor_htm5; ?> href="<?php echo $flink; ?>" target="_blank"><?php echo $linktype; ?></a><?php break; case 2: // window.open $options = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,'.$params->get('window_open'); ?><a <?php echo $class.$title.$anchor_htm5; ?> href="<?php echo $flink; ?>" onclick="window.open(this.href,'targetWindow','<?php echo $options;?>');return false;"><?php echo $linktype; ?></a><?php break; endswitch; }?> <div class="sj-megamenu-child" <?php if ( $fixed_width ): ?> style="width: <?php echo $fixed_width;?>px" <?php endif; ?> > <ul class="submenu sj-magamenu-jmod"> <li class="jmod-output"> <div class="module-content"><?php echo $_module;?></div> </li> </ul> </div>