L'ancien dépot du générateur de sites d'Antopie https://antopie.org
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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

65 lines
2.7 KiB

2 years ago
2 years ago
  1. <?php
  2. function head($adresse) {
  3. require "page.php";
  4. ?>
  5. <!DOCTYPE html>
  6. <html lang="fr" id="haut">
  7. <head>
  8. <meta charset="UTF-8">
  9. <title><?php echo $page['titre']; ?> · Antopie</title>
  10. <link rel="icon" type="image/ico" href="img/favicon.ico">
  11. <meta name="author" content="Miraty">
  12. <meta name="publisher" content="Antopie">
  13. <meta name="distribution" content="global">
  14. <meta name="robots" content="index, follow">
  15. <meta name="keywords" content="antopie.org, Miraty, Antopie">
  16. <meta name="viewport" content="width=device-width, initial-scale=1">
  17. <meta name="description" content="<?php echo $page['description']; ?>">
  18. <!--<title><?php
  19. $protocol = $_SERVER['PROTOCOL'] = isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) ? 'https://' : 'http://';
  20. $baseURL = $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'];
  21. $baseURL = preg_replace("#/[a-zA-Z0-9]*\.php.*$#i", "", $baseURL);
  22. echo $baseURL;
  23. ?></title>
  24. <base href="http://localhost:8888/web/">-->
  25. <script src="bibli/konami.js"></script>
  26. <script>
  27. var gomez = new Konami(function() { var div = document.getElementById('gomeza'), display = getComputedStyle(div, null).display; if(display == "block") { document.getElementById("gomeza").style.display = "none"; } else { document.getElementById("gomeza").style.display = "block"; }});
  28. </script>
  29. <link type="text/css" rel="stylesheet" href="bibli/fontello/css/fontello.css" />
  30. <link type="text/css" rel="stylesheet" href="bibli/ubuntu/ubuntu.min.css" />
  31. <?php require("bibli/lessphp/lessc.inc.php");
  32. $less = new lessc;
  33. $less->setFormatter("compressed");
  34. $less->checkedCompile("style.less", "style.min.css"); ?>
  35. <link type="text/css" rel="stylesheet" href="style.min.css" />
  36. <?php $less = new lessc;
  37. $less->setFormatter("compressed");
  38. $less->checkedCompile("bibli/gomez.css", "gomez.min.css"); ?>
  39. <link type="text/css" rel="stylesheet" href="gomez.min.css" />
  40. </head>
  41. <body lang="fr">
  42. <aside id="contLRI">
  43. <img title="<?php
  44. if (date('W', time())%2 == 0) {
  45. echo "Bénis soient ses Sabots sacrés";
  46. } else if (date('W', time())%2 == 1) {
  47. echo "Bénis soient ses saints Sabots";
  48. } else {
  49. echo "Le Jour de l'Avoine et du Foin est arrivé !";
  50. }
  51. ?>" id="LRI" src="img/lri.png">
  52. </aside>
  53. <header>
  54. <a id="header" href=".">
  55. <div class="logo"><img src="img/antopiev5-600.png" max-width="600px" width="100%" alt="Antopie" /></div>
  56. </a>
  57. </header>
  58. <main>
  59. <?php } ?>