feat: add 404 page
This commit is contained in:
2
.htaccess
Normal file
2
.htaccess
Normal file
@@ -0,0 +1,2 @@
|
||||
RewriteEngine On
|
||||
ErrorDocument 404 http://tylda.org/404/
|
||||
16
404.php
Normal file
16
404.php
Normal 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
BIN
static/img/reaction.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
@@ -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>Wolny RAM: <?=shell_exec("/usr/bin/free -h | grep Mem | awk '{print \$NF}'");?>
|
||||
</ul>
|
||||
<img src="stats.png" style="max-width: 650px">
|
||||
<img src="/static/img/stats.png" style="max-width: 650px">
|
||||
</article>
|
||||
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user