403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/icd/administrator/components/com_linkr/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/icd/administrator/components/com_linkr/models/docs.php
<?php
defined('_JEXEC') or die;
jimport( 'joomla.application.component.model' );

/**
 * Bookmarks model for Linkr component
 * 
 * @package	Linkr
 * @author		Frank
 */
class LinkrModelDocs extends JModel
{
	function getTemplate()
	{
		global $mainframe;
		
		$tmpl	= $mainframe->getUserStateFromRequest('linkr.docs', 'about', '', 'word');
		
		switch ( $tmpl )
		{
			case 'bookmarks':
				$template	= 'bookmarks';
				break;
			
			case 'related':
				$template	= 'related';
				break;
			
			default:
				$template	= 'faqs';
		}
		
		return $template;
	}
	
	function &getRssFeed()
	{
		// Disabled
		$params = & JComponentHelper::getParams('com_linkr');
		if (!$params->get('rss', 1)) {
			$false	= false;
			return $false;
		}
		
		// Return feeds
		return JFactory::getXMLparser('RSS', array(
			'rssUrl'	=> 'http://feeds.feedburner.com/JoomlaLinkr'
		));
	}
}


Youez - 2016 - github.com/yon3zu
LinuXploit