feat: add wiki, online users, style changes, cool 404, ssh fingerprints and new slogans #9

Merged
v0id1st merged 8 commits from io/main:main into main 2026-06-22 20:35:59 +02:00
5 changed files with 19 additions and 1 deletions
Showing only changes of commit d2783fc22f - Show all commits

2
.htaccess Normal file
View File

@@ -0,0 +1,2 @@
RewriteEngine On
ErrorDocument 404 http://tylda.org/404/

16
404.php Normal file
View File

@@ -0,0 +1,16 @@
<?php include "header.php"; ?>
<i style="margin-bottom: 2rem;"><?php echo $slogan; ?></i>
<div id="top-bar">
<h1>> BŁĄD 404</h1>
<i>nieznaleziono</i>
</div>
<article id="content">
<p>Halo, co to za strona? Ona istnieje? Nie znaleźliśmy jej, co mam ci powiedzieć...</p>
<img src="/static/img/reaction.png" alt="Tak się teraz mogą czuć czytelnicy">
</article>
<?php include "footer.php"; ?>

BIN
static/img/reaction.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -26,7 +26,7 @@ error_reporting(E_ALL);
<li>Ostatni server load: <?=shell_exec("/usr/bin/top -n 1 | grep Load | cut -d' ' -f3,4,5");?></li> <li>Ostatni server load: <?=shell_exec("/usr/bin/top -n 1 | grep Load | cut -d' ' -f3,4,5");?></li>
<li>Wolny RAM: <?=shell_exec("/usr/bin/free -h | grep Mem | awk '{print \$NF}'");?> <li>Wolny RAM: <?=shell_exec("/usr/bin/free -h | grep Mem | awk '{print \$NF}'");?>
</ul> </ul>
<img src="stats.png" style="max-width: 650px"> <img src="/static/img/stats.png" style="max-width: 650px">
</article> </article>
<?php <?php