website

Code for the bare sturcture of concealed.world.
git clone git://git.concealed.world/website
Log | Files | Refs | README | LICENSE

commit 6810f2e978e714060d266c0821130122994be999
parent 83a780a95786e0af4bdf3baa18e97b3312c9df98
Author: Nixx <nixx@firemail.cc>
Date:   Wed, 29 Dec 2021 01:04:31 +0000

Not strictly necessary for example

Diffstat:
Minc/nav.php | 21---------------------
1 file changed, 0 insertions(+), 21 deletions(-)

diff --git a/inc/nav.php b/inc/nav.php @@ -16,26 +16,5 @@ echo "\n\t\t<div class='nav'>\n"; navlink('links'); navlink('other'); echo "\t\t\t</ul>\n"; - - $host = explode('.', $_SERVER['HTTP_HOST']); $host = end($host); - if($host == 'onion'){ - $lgit = 'http://opxr3vfzliykjbkqf6uvvmagscsc77iyq5xe6dglnh63yip4b7zkhpqd.onion'; - $lrnc = 'http://fvmquvda235lwlvdec5nhdwtajlwitfwutsnhsxwcc5wzwzrgcsrc3qd.onion'; - $lirc = 'http://rk35egmweeepm4ypflmfvysf73o24ivmzzh6kk6cgxpmstns3d7qznid.onion'; - $luse = 'https://concealed.world'; - $lnme = 'Clearnet'; - }else{ - $lgit = 'https://git.concealed.world'; - $lrnc = 'https://boards.concealed.world'; - $lirc = 'https://irc.concealed.world'; - $luse = 'http://kpzscgdqezpen5zpnc4gky5vx4r56thl5syq2x45j6hbjy5w7tjilwid.onion'; - $lnme = 'Tor'; - } - echo "\n\t\t\t<br />\n"; - echo "\t\t\t<p class='nomargin'>&gt;&gt; <a href='".$lgit."' target='_blank'>Git</a></p>\n"; - echo "\t\t\t<p class='nomargin'>&gt;&gt; <a href='/other/minetest_server_and_files.php'>Minetest</a></p>\n"; - echo "\t\t\t<p class='nomargin'>&gt;&gt; <a href='".$lrnc."' target='_blank'>Rainchan</a> <a href='".$lirc."' target='_blank'>[IRC]</a></p>\n"; - - echo "\n\t\t\t<br /><p class='nomargin'><a href='".$luse.$_SERVER['REQUEST_URI']."' target='_blank'>[[Use ".$lnme."]]</a></p>\n"; echo "\t\t</div>\n"; ?>