? 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/board/administrator/components/com_jupgrade/views/cpanel/
File Upload :
Current File : /home/admin/public_html/old/board/administrator/components/com_jupgrade/views/cpanel/view.html.php

<?php
/**
 * jUpgrade
 *
 * @version		$Id$
 * @package		MatWare
 * @subpackage	com_jupgrade
 * @copyright	Copyright 2006 - 2011 Matias Aguire. All rights reserved.
 * @license		GNU General Public License version 2 or later.
 * @author		Matias Aguirre <maguirre@matware.com.ar>
 * @link		http://www.matware.com.ar
 */

// No direct access.
defined('_JEXEC') or die;

jimport( 'joomla.application.component.view' );

/**
 * @package		MatWare
 * @subpackage	com_jupgrade
 */
class jupgradeViewCpanel extends JView
{
	/**
	 * Display the view.
	 *
	 * @param	string	$tpl	The subtemplate to display.
	 *
	 * @return	void
	 */
	function display($tpl = null)
	{
		JToolBarHelper::title(JText::_( 'jUpgrade' ), 'jupgrade');
		JToolBarHelper::custom('cpanel', 'back.png', 'back_f2.png', 'Back', false, false);
		JToolBarHelper::preferences('com_jupgrade', '500');
		JToolBarHelper::spacer();
		JToolBarHelper::custom('help', 'help.png', 'help_f2.png', 'Help', false, false);
		JToolBarHelper::spacer();

		// get params
		$params		= JComponentHelper::getParams('com_jupgrade');

		// Set timelimit to 0
		if(!@ini_get('safe_mode')) {
			if ($params->get('timelimit') == 0) {
				set_time_limit(0);
			}
		}

		$xmlfile = JPATH_COMPONENT.'/jupgrade.xml';
 		$xml = new JSimpleXML;
 		$xml->loadFile($xmlfile);
		$attrib = $xml->document->version[0];

		$this->assignRef('version',	$attrib->data());
		$this->assignRef('params',	$params);

		parent::display($tpl);
	}
}

T1KUS90T
  root-grov@210.1.60.28:~$