From 222d3303b4a9e53969ef224c245e028e6a31f989 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Mon, 19 Sep 2022 20:55:29 +0000 Subject: It's nav not header --- nav.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 nav.php (limited to 'nav.php') diff --git a/nav.php b/nav.php new file mode 100644 index 0000000..b9807a4 --- /dev/null +++ b/nav.php @@ -0,0 +1,43 @@ +
+ +
+ + ~floppydisk / '; + $currentDir = basename(getcwd()); + foreach($uriArr as $page) { + if ($page !== $currentDir) { + if ($link !== '/') $link = $link . '/' . $page; + else $link = $link . $page; + $links = $links . '' . $page . ' / '; + } + } + $links = substr($links, 0, -3) . ' / ' . $currentDir; + echo $links; + } + } + ?> + + +
dark / light mode
+
+
\ No newline at end of file -- cgit v1.2.3-54-g00ecf