From 95112b1eb06a4be531ded59563d53a63a8d614e8 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 8 Aug 2021 12:04:30 +0200 Subject: Opening! --- includes/header.php | 199 ++++++++++++++++++++++++---------------------------- 1 file changed, 91 insertions(+), 108 deletions(-) (limited to 'includes/header.php') diff --git a/includes/header.php b/includes/header.php index 3f16582..36d0fc1 100644 --- a/includes/header.php +++ b/includes/header.php @@ -1,108 +1,91 @@ -

{$name}

{$description}
{$name}"; - } else { - return "{$name}

{$name}

{$description}
"; - } -} - -file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/telemetry.json", json_encode($db, JSON_PRETTY_PRINT)); - -?> - -"> - - - - - - - - <?php - - if (isset($_TITLE)) { - echo($_TITLE . " — "); - } - - ?><?= l("Minteck's space", "L'espace de Minteck") ?> - - - - +

{$name}

{$description}
{$name}"; + } else { + return "{$name}

{$name}

{$description}
"; + } +} + +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/markdown.php"; +$Parsedown = new Parsedown(); + +?> + +"> + + + + + + + + <?php + + if (isset($_TITLE)) { + echo($_TITLE . " — "); + } + + ?><?= l("Minteck's space", "L'espace de Minteck") ?> + + + + -- cgit