From 95112b1eb06a4be531ded59563d53a63a8d614e8 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 8 Aug 2021 12:04:30 +0200 Subject: Opening! --- blog/.htaccess | 4 +-- blog/_article.php | 76 +++++++++++++++++++++++++++---------------------------- blog/index.php | 34 ++++++++++++------------- 3 files changed, 57 insertions(+), 57 deletions(-) (limited to 'blog') diff --git a/blog/.htaccess b/blog/.htaccess index ec30801..b67accb 100644 --- a/blog/.htaccess +++ b/blog/.htaccess @@ -1,3 +1,3 @@ -RewriteEngine on -RewriteBase /blog +RewriteEngine on +RewriteBase /blog RewriteRule ^/?article-([a-zA-Z0-9_@\-]+)$ /blog/_article.php?i=$1 [L] \ No newline at end of file diff --git a/blog/_article.php b/blog/_article.php index 819d7b1..1a43d14 100644 --- a/blog/_article.php +++ b/blog/_article.php @@ -1,38 +1,38 @@ - -
-
-

-
format("U")); ?>
- -
-
- -
- -
-

-
- -
-
- + +
+
+

+
format("U")); ?>
+ +
+
+ text(l(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/blog/data/" . $_GET['i'] . ".json.md"), file_exists($_SERVER['DOCUMENT_ROOT'] . "/includes/blog/data/" . $_GET['i'] . ".json.fr.md") ? file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/blog/data/" . $_GET['i'] . ".json.fr.md") : file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/blog/data/" . $_GET['i'] . ".json.md"))) ?> +
+ +
+

+
+ +
+
+ diff --git a/blog/index.php b/blog/index.php index 203e1ba..b915fbe 100644 --- a/blog/index.php +++ b/blog/index.php @@ -1,17 +1,17 @@ - - -
-
- -
-

-
- Note: UnchainedTech -
- - -
- -
-
- + + +
+
+ +
+

+
+ Note: UnchainedTech +
+ + +
+ +
+
+ -- cgit