%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/11585/cwd/html/old/components/com_kunena/template/blue_eagle/html/common/ |
Upload File : |
<?php /** * Kunena Component * @package Kunena.Template.Blue_Eagle * @subpackage Common * * @copyright (C) 2008 - 2014 Kunena Team. All rights reserved. * @copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * @link http://www.kunena.org **/ defined ( '_JEXEC' ) or die (); // Basic logic has been taken from Joomla! 2.5 (mod_menu) // HTML output emulates default Joomla! 1.5 (mod_mainmenu), but only first level is supported // Note. It is important to remove spaces between elements. ?> <ul class="menu<?php echo $this->class_sfx;?>"<?php echo ($this->parameters->get('tag_id')) ? " id=\"{$this->parameters->get('tag_id')}\"" : '' ?>> <?php foreach ($this->list as $i => $item) : $class = 'item'.$item->id; if (in_array($item->id, $this->path)) { $class .= ' active'; } elseif ($item->type == 'alias') { $aliasToId = $item->params->get('aliasoptions'); if (count($this->path) > 0 && $aliasToId == $this->path[count($this->path)-1]) { $class .= ' active'; } elseif (in_array($aliasToId, $this->path)) { $class .= ' alias-parent-active'; } } $class .= ($item->deeper) ? ' deeper' : ''; $class .= ($item->parent) ? ' parent' : ''; $class = !empty($class) ? ' class="'.trim($class) .'"' : ''; $id = ($item->id == $this->active_id) ? ' id="current"' : ''; echo '<li'.$id.$class.'>'; $flink = ' href="'.htmlspecialchars($item->flink).'" '; $class = $item->anchor_css ? ' class="'.$item->anchor_css.'" ' : ''; $title = $item->anchor_title ? ' title="'.$item->anchor_title.'" ' : ''; if ($item->menu_image) { $menu_text = $item->params->get('menu_text', 1); $menu_text ? $linktype = '<img src="'.$item->menu_image.'" alt="'.$item->title.'" /><span class="image-title">'.$item->title.'</span> ' : $linktype = '<img src="'.$item->menu_image.'" alt="'.$item->title.'" />'; } else { $linktype = $item->title; } switch ($item->browserNav) { default: case 0: $extra = ''; break; case 1: // _blank $extra = ' target="_blank"'; break; case 2: // window.open $extra = ' onclick="window.open(this.href,\'targetWindow\',\'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes\');return false;"'; break; } // Render the menu item. if ($item->type == 'separator') { echo "<span class=\"separator\"{$title}>{$linktype}</span>"; } else { echo "<a {$flink}{$class}{$title}{$extra}><span>{$linktype}</span></a>"; } if ($item->deeper) { // The next item is deeper. echo '<ul>'; } elseif ($item->shallower) { // The next item is shallower. echo '</li>'; echo str_repeat('</ul></li>', $item->level_diff); } else { // The next item is on the same level. echo '</li>'; } endforeach; ?></ul>