| 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 : /Old Sites/ees_request/components/com_jumi/ |
Upload File : |
<?php
/**
* @version $Id: jumi.php 15 2008-11-03 15:42:08Z edo888 $
* @package Jumi
* @copyright Copyright (C) 2008 Edvard Ananyan. All rights reserved.
* @license GNU/GPL, see LICENSE.php
*/
defined("_JEXEC") or die("Restricted access");
$fileid = JRequest::getInt('fileid');
$database = &JFactory::getDBO();
$user = &JFactory::getUser();
$document = &JFactory::getDocument();
$mainframe = &JFactory::getApplication('site');
$database->setQuery("select * from #__jumi where id = '{$fileid}' and access <= {$user->gid} and published = 1");
$appl = $database->loadObject();
if(!is_object($appl))
JError::raiseError(404, JText::_("The Jumi Application is Unpublished or Removed"));
$document->setTitle($appl->title);
eval("?>".$appl->custom_script);
if(!empty($appl->path))
if(is_file($appl->path))
require($appl->path);
elseif(is_file($mainframe->getCfg('absolute_path').DS.$appl->path))
require $mainframe->getCfg('absolute_path').DS.$appl->path;
else
JError::raiseError(404, JText::_("Couldn't find page"));