From 4ace83da3951c37f18fbb9676542239be4d051ee Mon Sep 17 00:00:00 2001 From: Hannah Isopod Date: Fri, 13 Jun 2025 01:13:52 -0600 Subject: various minor changes + blog post a bunch of minor alterations, of particular import is the new blog post and the IP banning function I added to the guestbook --- nav.php | 70 ++++++++++++++++++++++++++--------------------------------------- 1 file changed, 28 insertions(+), 42 deletions(-) (limited to 'nav.php') diff --git a/nav.php b/nav.php index 88d6c16..88a0417 100644 --- a/nav.php +++ b/nav.php @@ -1,4 +1,5 @@ been knowing how to draw.', + 'Upside Down!', + 'RGB Gaming Webpage', + '@'.date("B").'', + 'coke and fries halo', + 'Check it out, I\'m in the house like carpet', 'COUNTER', 'TUEADAY', 'PLACEHIM', - 'UPSIDEDOWN', - 'RGB', - 'BLAHAJ', - '@BEAT', - 'HALO', - 'LIKECARPET' + 'BLAHAJ' ); break; } @@ -175,24 +179,6 @@ if(!preg_match('/(headless.*)/i', $_SERVER['HTTP_USER_AGENT'])) { $cap = ' certified Good Website by blåhaj'; echo ""; break; - case 'Kind of dragon free!': - $cap = 'Kind of dragon free!'; - break; - case 'UPSIDEDOWN': - $cap = 'Upside Down!'; - break; - case 'RGB': - $cap = 'RGB Gaming Webpage'; - break; - case '@BEAT': - $cap = '@'.date("B").''; - break; - case 'HALO': - $cap = 'coke and fries halo'; - break; - case 'LIKECARPET': - $cap = 'Check it out, I\'m in the house like carpet'; - break; } } } @@ -216,21 +202,21 @@ function echolink($url, $name) { "); + if($_SERVER["DOCUMENT_ROOT"] !== getcwd()) { + echo "home "; + } else { + echo("deep twisty"); + } + echolink("about", "about"); + echolink("uses", "uses"); + echolink("music", "music"); + echolink("blog", "blog"); + echolink("links", "links"); + echolink("stuff", "stuff"); + echolink("guestbook", "guestbook"); + echolink("stats", "stats"); + echolink("greenhouse", "greenhouse"); + echolink("etc", "etc"); ?> + \ No newline at end of file -- cgit v1.2.3