From 59a9ac263d6dffd353b23c62ce7e5d47843c0f76 Mon Sep 17 00:00:00 2001 From: 20xd6 <20xd6@airmail.cc> Date: Tue, 28 Jun 2022 15:35:40 -0400 Subject: [PATCH] Add the tag search page --- blog/by_tag/index.php | 68 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 blog/by_tag/index.php diff --git a/blog/by_tag/index.php b/blog/by_tag/index.php new file mode 100644 index 0000000..e81a8eb --- /dev/null +++ b/blog/by_tag/index.php @@ -0,0 +1,68 @@ +

Posts by Tag

"; + echo "
"; + + //if(file_exists("tags.csv")){ + //echo "\n"; + //} + + # Tags rewrite + $tags_csv = array_map('str_getcsv', file('tags.csv')); + $tags_rows = sizeof($tags_csv); + $tags_coloums = sizeof($tags_csv[0]); + //echo "
\n";
+  //print_r($tags_csv);
+  //echo $tags_coloums . "\n" . $tags_rows . "\n";
+  //echo "
\n"; + echo "\n"; + include_once ($_SERVER['DOCUMENT_ROOT'].'/common/footer.php'); +?>