AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/a/w/e/awebpaca/blog/components/com_kunena/template/crypsis/layouts/widget/menu/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/a/w/e/awebpaca/blog/components/com_kunena/template/crypsis/layouts/widget/menu/default.php
<?php
/**
 * Kunena Component
 * @package     Kunena.Template.Crypsis
 * @subpackage  Layout.Widget
 *
 * @copyright   (C) 2008 - 2018 Kunena Team. All rights reserved.
 * @license     http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link        https://www.kunena.org
 **/
defined('_JEXEC') or die;

// Basic logic has been taken from Joomla! 2.5 (mod_menu)
// Note. It is important to remove spaces between elements.
?>

<ul class="nav">
<?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, ENT_COMPAT, 'UTF-8') . '" ';
	$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);

		if ($menu_text)
		{
			$linktype = '<img src="' . $item->menu_image . '" alt="' . $item->title . '" /><span class="image-title">'
				. $item->title . '</span> ';
		}
		else
		{
			$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}>{$linktype}</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>';
	}
}
?>
</ul>

Anon7 - 2022
AnonSec Team