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:/Old Sites/moke/modules/mod_thick_rss/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Old Sites/moke/modules/mod_thick_rss//mod_thick_rss.php
<?php
/**
* @file mod_thick_rss.php  2011-07-08 11:49:59 +0200 
* @package mod_thick_rss
* @author Horst Lindlbauer info@lbm-services.de
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @version 3.0 (build $version$)
* @credit: Boris Popoff (smoothbox), Ryan Parman, Geoffrey Sneddon (SimplePie), Codey Lindley (Thickbox), David Thomas (Slick RSS)
* @description: Joomla module to show list of RSS feeds and link to news in modal window
**/
// no direct access
defined('_JEXEC') or die('Restricted access');
// Include the helper functions only once
require_once (dirname(__FILE__).DS.'helper.php');


$live_site= JURI::base(true) ; 

$mod_path = $live_site . "/" . str_replace('\\', '/', substr( dirname(__FILE__), strlen(JPATH_BASE)+1,(strlen(__FILE__)-1)));

// vorhandene Scripte laden
$document =& JFactory::getDocument();
$scripts =& $document->_scripts ;
$loaded = false;
$html = '';

foreach($scripts as $script=>$value)
{
         if (stripos($script,"smoothbox") !== false) {
            $loaded = true;
            break;
            }
}

//print_r($scripts);
// Experimental: smoothbox nicht 2x laden, Thickbox installiert?
$html .= '<script type="text/javascript">
			var basepath = "'. $live_site .'";
			</script>'.PHP_EOL;

if (!$loaded) $html .="<script type=\"text/javascript\" src=\"" . $mod_path . "/includes/smoothbox.js\"></script>".PHP_EOL;
$html .="<link rel=\"stylesheet\" href=\"". $mod_path. "/includes/smoothbox.css\" type=\"text/css\" media=\"screen\" />".PHP_EOL;
$document->addCustomTag( $html );

// Get data from helper class
$rss_content = modThickRSSHelper::getFeed($params);
// Run default template script for output
require(JModuleHelper::getLayoutPath('mod_thick_rss'));



Youez - 2016 - github.com/yon3zu
LinuXploit