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

function head($adresse) {
require "page.php";
<html lang="fr" id="haut">
<meta charset="UTF-8">
<title><?php echo $page['titre']; ?> · Antopie</title>
<link rel="icon" type="image/ico" href="img/favicon.ico">
<meta name="author" content="Miraty">
<meta name="publisher" content="Antopie">
<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']; ?>">
$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;
<base href="http://localhost:8888/web/">-->
<script src="bibli/konami.js"></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"; }});
<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->checkedCompile("style.less", "style.min.css"); ?>
<link type="text/css" rel="stylesheet" href="style.min.css" />
<?php $less = new lessc;
$less->checkedCompile("bibli/gomez.css", "gomez.min.css"); ?>
<link type="text/css" rel="stylesheet" href="gomez.min.css" />
<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">
<a id="header" href=".">
<div class="logo"><img src="img/antopiev5-600.png" max-width="600px" width="100%" alt="Antopie" /></div>
<?php } ?>