From 6c7f055505abd83c8ce1230455e4034293f93f98 Mon Sep 17 00:00:00 2001 From: Hannah Isopod Date: Wed, 11 Jun 2025 04:43:23 -0600 Subject: Move site title and random caption from landing page body to header --- nav.php | 248 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 216 insertions(+), 32 deletions(-) (limited to 'nav.php') diff --git a/nav.php b/nav.php index 07d7ca8..3d2f1eb 100644 --- a/nav.php +++ b/nav.php @@ -1,35 +1,4 @@ $name "; - } else { - echo "$name "; - } -} -echo ""); - function bg($rightside = false, $dfs = 1000, $title = null) { $cpath = preg_replace("/\/[^\/]*$/", "", $_SERVER['REQUEST_URI']); $output = "
Kind of dragon free!', + 'This site uses cookies (chocolate chip)', + 'Now with reduced centralization!', + 'your gay', + 'the fuck is a gender', + 'The Only Website', + '𝓘𝓷𝓪𝓬𝓬𝓮𝓼𝓼𝓲𝓫𝓵𝓮!', + 'Follow me on Google+!', + '404: caption not found', + 'Web π compliant!', + 'If you\'re seeing this, something is seriously wrong.', + 'cringe', + 'don\'t smoke cigarettes kids they\'ll make your lungs sus', + 'real life isopod', + 'holy fucking bingle', + 'AI (Aquatic Isopod) generated', + 'crubge', + 'Only unpickle data you trust.', + 'Tested in prod!', + 'pwetty epic B)', + 'Known to the state of California to cause cancer', + 'Semi-modular!', + 'Did you know?', + 'shrimps is bugs', + 'Delicious!', + 'trnasgener', + 'Opinionated!', + 'Eurorack compatible!', + 'Hackable!', + 'HiDPI!', + '— addict', + '3D printed!', + 'Federated!', + 'Chitinous!', + 'is this a bedbuge?', + 'is this buge trans gener?', + 'Now in HD!', + 'Hard Disk Drive!', + '"Tablet or smartphone device"', + 'Free Palestine!', + 'COUNTER', + 'TUEADAY', + 'PLACEHIM', + 'UPSIDEDOWN', + 'RGB', + 'BLAHAJ', + '@BEAT', + 'HALO', + 'LIKECARPET' + ); + break; + } + $cap = $captions[array_rand($captions)]; + if($_GET['caption']) { + $cap = $captions[$_GET['caption']]; + } + if(!$seasonal) { + switch($cap) { + case 'COUNTER': + $num = (int) filter_var(file_get_contents($datadir."caption_views.txt"), FILTER_SANITIZE_NUMBER_INT); + $num++; + file_put_contents($datadir."caption_views.txt", $num); + $cap = "This caption has been viewed $num times!"; + break; + case 'TUEADAY': + $day = array("suday", "moday", "tueaday", "weaday", "thuday", "friaday", "satuaday")[date('w')]; + $cap = "wait it's fucking $day. god."; + echo ""; + break; + case 'PLACEHIM': + $cap = 'place him on your site immediately'; + echo ""; + break; + case 'BLAHAJ': + $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; + } + } +} + +$host = $_SERVER['HTTP_HOST']; + +function echolink($url, $name) { + global $host; + if("/$url/" != $_SERVER['REQUEST_URI']) { + echo "$name "; + } else { + echo "$name "; + } +} +?> +
+
+

isopod dot coolv3.1

+

+
+ "); + ?> +
\ No newline at end of file -- cgit v1.2.3