57 строки
1.2 KiB
PHP
Исполняемый файл
57 строки
1.2 KiB
PHP
Исполняемый файл
<!DOCTYPE HTML>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Pourquoi tant de N ?</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<!-- <link rel="manifest" href="manifest.php"> -->
|
|
<!-- <link rel="search" type="application/opensearchdescription+xml" title="Générer un code QR" href="opensearch.php"> -->
|
|
<style>
|
|
<?php require "lessphp/lessc.inc.php";
|
|
$less = new lessc;
|
|
echo $less->compileFile("style.less");
|
|
file_get_contents("ubuntu/ubuntu.min.css");
|
|
?>
|
|
</style>
|
|
</head>
|
|
|
|
<body lang="fr">
|
|
|
|
<h1><a href=".">Pourquoi tant de N ?</a></h1>
|
|
|
|
<form method="post">
|
|
|
|
<textarea placeholder="Pourquoi tant de N en ce monde ?" name="biloute"></textarea>
|
|
|
|
<br>
|
|
<br>
|
|
|
|
<input value="Peeeeeeeace" type="submit">
|
|
<br>
|
|
<br>
|
|
|
|
</form>
|
|
|
|
<?php
|
|
|
|
if (isset($_POST['biloute'])) {
|
|
$biloute = preg_replace('#n#i', '', $_POST['biloute']);
|
|
|
|
echo nl2br(htmlspecialchars($biloute), false);
|
|
|
|
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
<footer>
|
|
<a class="lienCodeSource" href="https://code.antopie.org/miraty/pkt2n/">Code source</a>
|
|
</footer>
|
|
|
|
|
|
|
|
</body>
|
|
</html>
|