From 95112b1eb06a4be531ded59563d53a63a8d614e8 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 8 Aug 2021 12:04:30 +0200 Subject: Opening! --- includes/archive/main.php | 62 +++++++++++++++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 21 deletions(-) (limited to 'includes/archive') diff --git a/includes/archive/main.php b/includes/archive/main.php index 28cb438..593c161 100644 --- a/includes/archive/main.php +++ b/includes/archive/main.php @@ -1,22 +1,42 @@ -

. . .

- -
- '.$data['date'].' '.$data['title']); - if ($data['unreleased']) { - echo(' ' . l("Unreleased", "Jamais sorti") . ''); - } - echo(''); - } - } - - ?> -
-
+

. . .

+ +
+ strtoupper($b['rawdate']); + }); + + foreach ($files as $data) { + $file = $data["id"]; + + if (substr($file, -5) === ".json" && file_exists($_SERVER['DOCUMENT_ROOT'] . "/archive/get/" . substr($file, 0, -5) . ".zip")) { + echo(' '.$data['title'] . ' '); + if (isset($data["description"])) { + echo(' · ' . l($data["description"]["en"], $data["description"]["fr"]) . ''); + } + echo(''.$data['date'].''); + if ($data['unreleased']) { + echo(' ' . l("Unreleased", "Jamais sorti") . ''); + } + echo(''); + } + } + + ?> +
+

\ No newline at end of file -- cgit