added custom 404.

This commit is contained in:
deepend 2019-12-03 17:08:42 -07:00
parent b416e42bba
commit bad5229a8e
4 changed files with 56 additions and 1 deletions

7
404.php Normal file
View File

@ -0,0 +1,7 @@
<?php include "header.php"; ?>
<h1>$ ERROR 404</h1>
<?php include "footer.php"; ?>

View File

@ -102,4 +102,4 @@
<p>big kudos and thanks to the people who built the original tilde.club!</p>
<?php include "footer.php";
<?php include "footer.php"; ?>

9
tilde.24h.json Normal file
View File

@ -0,0 +1,9 @@
{ "pagelist": [
{ "username": "jonbell", "homepage": "http://tilde.club/~jonbell/", "modtime": "2019-12-03T17:00:03.2842634280Z" }
, { "username": "mpnordland", "homepage": "http://tilde.club/~mpnordland/", "modtime": "2019-12-03T16:10:02.4263206440Z" }
, { "username": "jeffsj", "homepage": "http://tilde.club/~jeffsj/", "modtime": "2019-12-03T15:41:00.3310751000Z" }
, { "username": "mz721", "homepage": "http://tilde.club/~mz721/", "modtime": "2019-12-03T15:38:36.6883063660Z" }
, { "username": "jusdepatate", "homepage": "http://tilde.club/~jusdepatate/", "modtime": "2019-12-03T14:31:26.3272289610Z" }
, { "username": "karen", "homepage": "http://tilde.club/~karen/", "modtime": "2019-12-03T11:59:09.8996678180Z" }
, { "username": "gikiski", "homepage": "http://tilde.club/~gikiski/", "modtime": "2019-12-03T05:45:12.4475327980Z" }
] }

39
tilde.24h.php Normal file
View File

@ -0,0 +1,39 @@
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?=isset($title) ? $title : "Welcome to ~tilde.club~"?></title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<div id="navbar">
<a href="/">~TILDE.CLUB~</a>
<a href="/">HOME</a>
<a href="/wiki/">WIKI</a>
<a href="https://liberapay.com/tilde.club" target="_blank">DONATE</a>
<a href="https://web.tilde.chat/?join=club" target="_blank">CHAT</a>
<a href="/signup/">SIGN-UP</a>
</div>
<div class="content">
<h2>tilde.club home pages updated in last 24 hours</h2>
<div>
There's also <a href="./tilde.24h.json">a JSON version of this data</a>; it's all updated once a minute, so hold yer damn horses, people. Also, times are in the server's time zone (GMT, it appears).
</div>
<ul>
<li><a class="homepage-link" href="http://tilde.club/~jonbell">jonbell</a> <time datetime="2019-12-03T17:00:03.2842634280Z">12/03/19 05:00:03 PM</time></li>
<li><a class="homepage-link" href="http://tilde.club/~mpnordland">mpnordland</a> <time datetime="2019-12-03T16:10:02.4263206440Z">12/03/19 04:10:02 PM</time></li>
<li><a class="homepage-link" href="http://tilde.club/~jeffsj">jeffsj</a> <time datetime="2019-12-03T15:41:00.3310751000Z">12/03/19 03:41:00 PM</time></li>
<li><a class="homepage-link" href="http://tilde.club/~mz721">mz721</a> <time datetime="2019-12-03T15:38:36.6883063660Z">12/03/19 03:38:36 PM</time></li>
<li><a class="homepage-link" href="http://tilde.club/~jusdepatate">jusdepatate</a> <time datetime="2019-12-03T14:31:26.3272289610Z">12/03/19 02:31:26 PM</time></li>
<li><a class="homepage-link" href="http://tilde.club/~karen">karen</a> <time datetime="2019-12-03T11:59:09.8996678180Z">12/03/19 11:59:09 AM</time></li>
<li><a class="homepage-link" href="http://tilde.club/~gikiski">gikiski</a> <time datetime="2019-12-03T05:45:12.4475327980Z">12/03/19 05:45:12 AM</time></li>
</div>
<br>
</body>
</html>