<commit_before><?php
             //--------------------------------------------------------------------------
            //                      CONNEXION AU RCON POUR ENVOYER DES COMMANDES AU SERVEUR
            //--------------------------------------------------------------------------
            require_once('Rcon.class.php');

            $r = new rcon("127.0.0.1",25567,"<PASSWORD>"); // Remplacer l'ip, le port et le mot de passe par les votres

            if(isset($_POST['submit'])){

                    $command = $_POST['command'];

                            if($r->Auth())
                            {
                            $r->rconCommand($command);
                            }
            }

            //--------------------------------------------------------------------------
            //              CONNEXION AU QUERY POUR RECEVOIR DES INFORMATIONS DE VOTRE SERVEUR
            //--------------------------------------------------------------------------
	// Edit this ->
	define( 'MQ_SERVER_ADDR', '127.0.0.1' );
	define( 'MQ_SERVER_PORT', 25566 );
	define( 'MQ_TIMEOUT', 1 );
	// Edit this <-

	// Display everything in browser, because some people can't look in logs for errors
	Error_Reporting( E_ALL | E_STRICT );
	Ini_Set( 'display_errors', true );

	require __DIR__ . '/MinecraftQuery.class.php';

	$Timer = MicroTime( true );

	$Query = new MinecraftQuery( );

	try
	{
		$Query->Connect( MQ_SERVER_ADDR, MQ_SERVER_PORT, MQ_TIMEOUT );
	}
	catch( MinecraftQueryException $e )
	{
		$Exception = $e;
	}

	$Timer = Number_Format( MicroTime( true ) - $Timer, 4, '.', '' );
?>
<!DOCTYPE html>
<html lang="fr">
<head>
	<meta charset="utf-8">
	<title>Admin Minecraft</title>
	<link rel="shortcut icon" href="http://cedced19.github.io/img/favicon.ico" type="image/x-icon" />
        	<link rel="icon" href="http://cedced19.github.io/img/favicon.ico" type="image/x-icon" />

	<link rel="stylesheet" href="bootstrap.css">
	<style type="text/css">
		.jumbotron {
			margin-top: 30px;
			border-radius: 0;
		}

		.table thead th {
			background-color: #428BCA;
			border-color: #428BCA !important;
			color: #FFF;
		}
	</style>
</head>

<body>
    <div class="container">
    	<div class="jumbotron">
			<h1>Serveur de Cedced19</h1>

			<p>C'est une page d'administration.</p>

                                       <p>
                                       <a class="btn btn-large btn-success" href="serverping.php">Serveur Ping</a>
                                       </p>

			<p>
				<a class="btn btn-large btn-primary" href="http://cedced19.github.io">Crée par Cedced19</a>
				<a class="btn btn-large btn-primary" href="https://github.com/cedced19/CLaunch/tree/gh-pages/admin/">Regarder sur GitHub</a>
				<a class="btn btn-large btn-danger" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
			</p>
		</div>
<commit_msg>Update index.php<commit_after><?php
             //--------------------------------------------------------------------------
            //                      CONNEXION AU RCON POUR ENVOYER DES COMMANDES AU SERVEUR
            //--------------------------------------------------------------------------
            require_once('Rcon.class.php');

            $r = new rcon("127.0.0.1",25567,"ichbinpassword"); // Remplacer l'ip, le port et le mot de passe par les votres

            if(isset($_POST['submit'])){

                    $command = $_POST['command'];

                            if($r->Auth())
                            {
                            $r->rconCommand($command);
                            }
            }

            //--------------------------------------------------------------------------
            //              CONNEXION AU QUERY POUR RECEVOIR DES INFORMATIONS DE VOTRE SERVEUR
            //--------------------------------------------------------------------------
	// Edit this ->
	define( 'MQ_SERVER_ADDR', '127.0.0.1' );
	define( 'MQ_SERVER_PORT', 25566 );
	define( 'MQ_TIMEOUT', 1 );
	// Edit this <-

	// Display everything in browser, because some people can't look in logs for errors
	Error_Reporting( E_ALL | E_STRICT );
	Ini_Set( 'display_errors', true );

	require __DIR__ . '/MinecraftQuery.class.php';

	$Timer = MicroTime( true );

	$Query = new MinecraftQuery( );

	try
	{
		$Query->Connect( MQ_SERVER_ADDR, MQ_SERVER_PORT, MQ_TIMEOUT );
	}
	catch( MinecraftQueryException $e )
	{
		$Exception = $e;
	}

	$Timer = Number_Format( MicroTime( true ) - $Timer, 4, '.', '' );
?>
<!DOCTYPE html>
<html lang="fr">
<head>
	<meta charset="utf-8">
	<title>Admin Minecraft</title>
	<link rel="shortcut icon" href="//cedced19.github.io/img/favicon.ico" type="image/x-icon" />
        	<link rel="icon" href="//cedced19.github.io/img/favicon.ico" type="image/x-icon" />

	<link rel="stylesheet" href="bootstrap.css">
	<style type="text/css">
		.jumbotron {
			margin-top: 30px;
			border-radius: 0;
		}

		.table thead th {
			background-color: #428BCA;
			border-color: #428BCA !important;
			color: #FFF;
		}
	</style>
</head>

<body>
    <div class="container">
    	<div class="jumbotron">
			<h1>Serveur de Cedced19</h1>

			<p>C'est une page d'administration.</p>

                                       <p>
                                       <a class="btn btn-large btn-success" href="serverping.php">Serveur Ping</a>
                                       </p>

			<p>
				<a class="btn btn-large btn-primary" href="//cedced19.github.io">Crée par Cedced19</a>
				<a class="btn btn-large btn-primary" href="//github.com/cedced19/CLaunch/tree/gh-pages/admin/">Regarder sur GitHub</a>
				<a class="btn btn-large btn-danger" href="//creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>
			</p>
		</div>

{'fraction_non_alphanumeric': 0.243445042542108, 'fraction_numerical': 0.01805869074492099, 'mean_word_length': 1.4859732412602504, 'pattern_counts': {'":': 0, '<': 72, '<?xml version=': 0, '>': 78, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2680726', 'n_tokens_mistral': 1956, 'n_tokens_neox': 1755, 'n_words': 365}