This repository has been archived on 2023-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
web/inc/debut.php

71 lines
3.1 KiB
PHP
Raw Normal View History

<?php
2018-08-27 16:00:21 +02:00
function head($adresse) {
require "page.php";
2018-08-27 16:00:21 +02:00
?>
2018-10-11 09:56:04 +02:00
2020-02-09 14:07:08 +01:00
<!DOCTYPE html>
2018-10-11 09:56:04 +02:00
<html lang="fr" id="haut">
<head>
<meta charset="UTF-8">
2019-08-14 22:38:32 +02:00
<title><?php echo $page['titre']; ?> · Antopie</title>
2020-03-11 23:13:55 +01:00
<link rel="icon" type="image/png" href="img/icons/16.png" sizes="16x16">
<link rel="icon" type="image/png" href="img/icons/32.png" sizes="32x32">
<link rel="icon" type="image/png" href="img/icons/64.png" sizes="64x64">
<link rel="icon" type="image/png" href="img/icons/128.png" sizes="128x128">
<link rel="icon" type="image/png" href="img/icons/256.png" sizes="256x256">
<link rel="icon" type="image/png" href="img/icons/512.png" sizes="512x512">
<meta name="author" content="Miraty">
2019-08-14 22:38:32 +02:00
<meta name="publisher" content="Antopie">
2018-10-11 09:56:04 +02:00
<meta name="distribution" content="global">
<meta name="robots" content="index, follow">
<meta name="keywords" content="antopie.org, Miraty, Antopie">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?php echo $page['description']; ?>">
2019-12-31 18:43:40 +01:00
<!--<title><?php
$protocol = $_SERVER['PROTOCOL'] = isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) ? 'https://' : 'http://';
$baseURL = $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME'];
$baseURL = preg_replace("#/[a-zA-Z0-9]*\.php.*$#i", "", $baseURL);
echo $baseURL;
?></title>
<base href="http://localhost:8888/web/">-->
<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>
<link type="text/css" rel="stylesheet" href="bibli/fontello/css/fontello.css" />
<link type="text/css" rel="stylesheet" href="bibli/ubuntu/ubuntu.min.css" />
<?php require("bibli/lessphp/lessc.inc.php");
$less = new lessc;
$less->setFormatter("compressed");
2019-12-31 18:43:40 +01:00
$less->checkedCompile("style.less", "style.min.css"); ?>
<link type="text/css" rel="stylesheet" href="style.min.css" />
<?php $less = new lessc;
$less->setFormatter("compressed");
$less->checkedCompile("bibli/gomez.css", "gomez.min.css"); ?>
<link type="text/css" rel="stylesheet" href="gomez.min.css" />
2018-10-11 09:56:04 +02:00
</head>
2018-08-27 16:00:21 +02:00
<body lang="fr">
2019-10-21 00:50:54 +02:00
<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>
2019-08-30 19:37:43 +02:00
<header>
<a id="header" href=".">
<div class="logo"><img src="img/antopiev5-600.png" max-width="600px" width="100%" alt="Antopie" /></div>
2019-08-30 19:37:43 +02:00
</a>
</header>
2019-08-14 22:38:32 +02:00
<main>
<?php } ?>