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/modules/mod_pixsearch/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/icd/modules/mod_pixsearch/helper.php
<?php
/**
* @package mod_pixsearch
* @copyright	Copyright (C) 2007 PixPro Stockholm AB. All rights reserved.
* @license		http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
* PixSearch is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*/

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

class modPixsearchHelper
{
	function inizialize( $css_style, $offset, $display_icon, $params )
	{
		JHTML::_('behavior.mootools');
		$document =& JFactory::getDocument();
		if( $css_style == 1 )
			$document->addStyleSheet( JURI::base().'modules/mod_pixsearch/css/pixsearch_default.css' );
		$document->addScript( JURI::base().'modules/mod_pixsearch/js/pixsearch.js' );
		$document->addStyleDeclaration( '#ps_results{margin-left:'.$offset.'px;}' );
		if( $display_icon == 0 )
			$document->addStyleDeclaration( '#ps_icon_background{display:none;}' );

		$script = 'setSpecifiedLanguage("'.
			JText::_('RESULTS').'","'.
			JText::_('CLOSE').'","'.
			JText::_('SEARCH').'","'.
			JText::_('READMORE').'","'.
			JText::_('NORESULTS').'","'.
			JText::_('ADVSEARCH').'","'.
			JURI::Base().htmlentities($params->get('search_page')).'","'.
			JURI::Base().'","'.
			$params->get('limit', '10').'","'.
			$params->get('ordering', 'newest').'","'.
			$params->get('searchphrase', 'any').'","'.
			$params->get('hide_divs', '').'",'.
			$params->get('include_link', 1).',"'.
			JText::_('VIEWALL').'",'.
			$params->get('include_category', 1).','.
			$params->get('show_readmore', 1).','.
			$params->get('show_description', 1).
			');';
		$script = 'window.addEvent("domready", function() {'.$script.'});';
		$document->addScriptDeclaration( $script );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit