Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/com_djimageslider.tar
Назад
djimageslider.xml 0000604 00000003133 15245570527 0010101 0 ustar 00 <?xml version="1.0" encoding="utf-8"?> <extension type="component" version="3.8" method="upgrade" client="admin"> <name>com_djimageslider</name> <creationDate>2018-12-19</creationDate> <author>DJ-Extensions.com</author> <copyright>Copyright (C) 2017 DJ-Extensions.com, All rights reserved.</copyright> <license>http://www.gnu.org/licenses GNU/GPL</license> <authorEmail>contact@dj-extensions.com</authorEmail> <authorUrl>http://dj-extensions.com</authorUrl> <version>4.5.1</version> <description>DJ-ImageSlider component</description> <scriptfile>script.djimageslider.php</scriptfile> <install> <sql> <file charset="utf8" driver="mysql">sql/install.sql</file> </sql> </install> <uninstall> <sql> <file charset="utf8" driver="mysql">sql/uninstall.sql</file> </sql> </uninstall> <update> <schemas> <schemapath type="mysql">sql/updates</schemapath> </schemas> </update> <administration> <menu img="components/com_djimageslider/assets/icon-16-djimageslider.png">COM_DJIMAGESLIDER</menu> <files folder="administrator"> <filename>djimageslider.php</filename> <filename>controller.php</filename> <filename>index.html</filename> <filename>config.xml</filename> <filename>access.xml</filename> <folder>assets</folder> <folder>controllers</folder> <folder>helpers</folder> <folder>language</folder> <folder>models</folder> <folder>sql</folder> <folder>tables</folder> <folder>views</folder> </files> </administration> </extension> djimageslider.php 0000604 00000004335 15245570527 0010075 0 ustar 00 <?php /** * @version $Id$ * @package DJ-ImageSlider * @subpackage DJ-ImageSlider Component * @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-ImageSlider 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-ImageSlider 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-ImageSlider. If not, see <http://www.gnu.org/licenses/>. * */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); defined('DS') or define('DS', DIRECTORY_SEPARATOR); // Include dependancies jimport('joomla.application.component.controller'); $db = JFactory::getDBO(); $db->setQuery("SELECT manifest_cache FROM #__extensions WHERE element='com_djimageslider' LIMIT 1"); $version = json_decode($db->loadResult()); $version = $version->version; define('DJIMAGESLIDERFOOTER', '<div style="text-align: center; margin: 10px 0;">DJ-ImageSlider (version '.$version.'), © 2010-'.JFactory::getDate()->format('Y').' Copyright by <a target="_blank" href="http://dj-extensions.com">DJ-Extensions.com</a>, All Rights Reserved.<br /><a target="_blank" href="http://dj-extensions.com"><img src="'.JURI::base().'components/com_djimageslider/assets/logo.png" alt="DJ-Extensions.com" style="margin: 20px 0 0;" /></a></div>'); $document = JFactory::getDocument(); if ($document->getType() == 'html') { $document->addStyleSheet(JURI::base(true).'/components/com_djimageslider/assets/admin.css'); } $controller = JControllerLegacy::getInstance('djimageslider'); // Perform the Request task $controller->execute( JFactory::getApplication()->input->get('task') ); $controller->redirect(); ?>