Pourquoi tant de N en ce monde ?
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.php 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE HTML>
  2. <html lang="fr">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Pourquoi tant de N ?</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- <link rel="manifest" href="manifest.php"> -->
  8. <!-- <link rel="search" type="application/opensearchdescription+xml" title="Générer un code QR" href="opensearch.php"> -->
  9. <style>
  10. <?php require "lessphp/lessc.inc.php";
  11. $less = new lessc;
  12. echo $less->compileFile("style.less");
  13. file_get_contents("ubuntu/ubuntu.min.css");
  14. ?>
  15. </style>
  16. </head>
  17. <body lang="fr">
  18. <h1><a href=".">Pourquoi tant de N ?</a></h1>
  19. <form method="post">
  20. <textarea placeholder="Pourquoi tant de N en ce monde ?" name="biloute"></textarea>
  21. <br>
  22. <br>
  23. <input value="Peeeeeeeace" type="submit">
  24. <br>
  25. <br>
  26. </form>
  27. <?php
  28. if (isset($_POST['biloute'])) {
  29. $biloute = preg_replace('#n#i', '', $_POST['biloute']);
  30. echo nl2br(htmlspecialchars($biloute), false);
  31. }
  32. ?>
  33. <footer>
  34. <a class="lienCodeSource" href="https://code.antopie.org/miraty/pkt2n/">Code source</a>
  35. </footer>
  36. </body>
  37. </html>