forked from miraty/web
52 lines
1.7 KiB
PHP
Executable file
52 lines
1.7 KiB
PHP
Executable file
<?php
|
|
|
|
function head($adresse) {
|
|
|
|
require "page.php";
|
|
|
|
?>
|
|
|
|
<!DOCTYPE HTML>
|
|
<html lang="fr" id="haut">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title><?php echo $page['titre']; ?> · Antopie</title>
|
|
<link rel="icon" type="image/ico" href="img/favicon.ico">
|
|
<meta name="author" lang="fr" content="Miraty">
|
|
<meta name="publisher" content="Antopie">
|
|
<meta name="distribution" content="global">
|
|
<meta name="robots" content="index, follow">
|
|
<meta name="keywords" lang="fr" content="antopie.org, Miraty, Antopie">
|
|
<meta name="description" content="<?php echo $page['description']; ?>">
|
|
<script src="bibli/konami.js"></script>
|
|
<script>
|
|
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"; }});
|
|
</script>
|
|
<style>
|
|
<?php require("bibli/lessphp/lessc.inc.php");
|
|
$less = new lessc;
|
|
echo $less->compileFile("style.less"); ?>
|
|
</style>
|
|
</head>
|
|
|
|
<body lang="fr">
|
|
<aside id="contLRI">
|
|
<img title="<?php
|
|
if (date('W', time())%2 == 0) {
|
|
echo "Bénis soient ses Sabots sacrés";
|
|
} else if (date('W', time())%2 == 1) {
|
|
echo "Bénis soient ses saints Sabots";
|
|
} else {
|
|
echo "Le Jour de l'Avoine et du Foin est arrivé !";
|
|
}
|
|
?>" id="LRI" src="img/lri.png">
|
|
</aside>
|
|
<header>
|
|
<a id="header" href=".">
|
|
<div class="logo"><img src="img/antopie.png" width="100%" alt="Logo Ant" /></div>
|
|
</a>
|
|
</header>
|
|
|
|
|
|
<main>
|
|
<?php } ?>
|