| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/nantes/administrator/components/com_djmediatools/ |
Upload File : |
<?php
/**
* @version $Id$
* @package DJ-MediaTools
* @copyright Copyright (C) 2017 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
* DJ-MediaTools is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-MediaTools is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-MediaTools. If not, see <http://www.gnu.org/licenses/>.
*
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
$lang = JFactory::getLanguage();
if ($lang->get('lang') != 'en-GB') {
$lang->load('com_djmediatools', JPATH_ADMINISTRATOR, 'en-GB', false, false);
$lang->load('com_djmediatools', JPATH_COMPONENT_ADMINISTRATOR, 'en-GB', false, false);
$lang->load('com_djmediatools', JPATH_ADMINISTRATOR, null, true, false);
$lang->load('com_djmediatools', JPATH_COMPONENT_ADMINISTRATOR, null, true, false);
}
// Include dependancies
jimport('joomla.application.component.controller');
require_once(JPATH_COMPONENT.'/lib/image.php');
require_once(JPATH_COMPONENT.'/lib/video.php');
require_once(JPATH_COMPONENT.'/lib/upload.php');
require_once(JPATH_COMPONENT.'/lib/djlicense.php');
require_once(JPATH_COMPONENT.'/lib/optimize.php');
$version = new JVersion;
define('DJMT_JOOMLA_VERSION' ,$version->getShortVersion());
$db = JFactory::getDBO();
$db->setQuery("SELECT manifest_cache FROM #__extensions WHERE element='com_djmediatools' LIMIT 1");
$version = json_decode($db->loadResult());
$version = $version->version;
$footer_script = '';
$par = JComponentHelper::getParams( 'com_djmediatools' );
if($par->get('support_widget',1)){
$footer_script = '<script type="text/javascript" > window.ZohoHCAsap=window.ZohoHCAsap||function(a,b){ZohoHCAsap[a]=b;};(function(){var d=document; var s=d.createElement("script");s.type="text/javascript";s.defer=true; s.src="https://desk.zoho.com/portal/api/web/inapp/278546000009352236?orgId=667218498"; d.getElementsByTagName("head")[0].appendChild(s); })(); </script>';
}
define('DJMEDIATOOLSFOOTER', '<div class="djc-footer"><a class="djc-logo" target="_blank" href="http://dj-extensions.com"><img src="'.JURI::base().'components/com_djmediatools/images/logo-djex.svg" alt="DJ-Extensions.com" /></a><ul class="djc-links"><li><a href="https://extensions.joomla.org/extension/dj-mediatools/" target="_blank"><img src="'.JURI::base().'components/com_djmediatools/assets/images/feedback.svg" alt="Feedback" /><span>Leave feedback on JED</span></a></li><li><a href="https://support.dj-extensions.com/portal/en/kb/extensions/dj-mediatools" target="_blank"><img src="'.JURI::base().'components/com_djmediatools/assets/images/support.svg" alt="Support" /><span>Support</span></a></li><li><a href="https://dj-extensions.com/blog/general/join-our-affiliate-program-and-make-money-sending-people-to-dj-extensions" target="_blank"><img src="'.JURI::base().'components/com_djmediatools/assets/images/affiliate.svg" alt="Affiliate" /><span>Become an Affiliate</span></a></li><li><a href="https://support.dj-extensions.com/portal/en/community/dj-extensions/dj-mediatools" target="_blank"><img src="'.JURI::base().'components/com_djmediatools/assets/images/help.svg" alt="Help" /><span>Help us to improve DJ-MediaTools</span></a></li><li><a href="https://dj-extensions.com/blog/dj-mediatools" target="_blank"><img src="'.JURI::base().'components/com_djmediatools/assets/images/documentation.svg" style="height:15px" alt="DJ-MediaTools News" /><span>DJ-MediaTools News</span></a></li></ul><p>© 2009-'.date('Y').' by <a target="_blank" href="https://dj-extensions.com">DJ-Extensions.com</a> | All rights reserved.</p><ul class="djc-social"><li><a href="https://twitter.com/DJExtensions" target="_blank"><img src="'.JURI::base().'components/com_djmediatools/assets/images/follow.svg" alt="Follow" /><span>Follow</span></a></li><li><a href="https://www.facebook.com/djextensions/" target="_blank"><img src="'.JURI::base().'components/com_djmediatools/assets/images/like.svg" alt="Like" /><span>Like</span></a></li><li><a href="https://www.youtube.com/channel/UCii84LGLNgDiGcsWR1u546g" target="_blank"><img src="'.JURI::base().'components/com_djmediatools/assets/images/subscribe.svg" alt="Subscribe" /><span>Subscribe</span></a></li></ul></div>'.$footer_script);
$controller = JControllerLegacy::getInstance('djmediatools');
$document = JFactory::getDocument();
if ($document->getType() == 'html') {
$version = new JVersion;
if (version_compare($version->getShortVersion(), '4.0.0', '<')) {
$document->addStyleSheet(JURI::base(true).'/components/com_djmediatools/assets/legacy_style.css');
}else {
$document->addStyleSheet(JURI::base(true).'/components/com_djmediatools/assets/style.css');
}
}
// Perform the Request task
$controller->execute(JFactory::getApplication()->input->get('task'));
$controller->redirect();
function djdebug($array, $type = 'message'){
$app = JFactory::getApplication();
$app->enqueueMessage("<pre>".print_r($array,true)."</pre>", $type);
}
?>