mirror of https://github.com/tildeclub/site.git
tidy up html in index.php and add necrotechno to supporters
This commit is contained in:
parent
e20df823fb
commit
e8b4c9fd44
22
index.php
22
index.php
|
@ -64,9 +64,15 @@
|
||||||
Here's who has donated! When you're on the
|
Here's who has donated! When you're on the
|
||||||
server, THANK THEM.</p>
|
server, THANK THEM.</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>7/15/2020 | <a href="/~necrotechno">~necrotechno</a></li>
|
||||||
<li>7/10/2020 | <a href="/~snowdusk">~snowdusk</a></li>
|
<li>7/10/2020 | <a href="/~snowdusk">~snowdusk</a></li>
|
||||||
<li>4/21/2020 | <a href="/~cano">~cano</a></li>
|
<li>4/21/2020 | <a href="/~cano">~cano</a></li>
|
||||||
<li>11/9/2019 | <a href="/~sneak">~sneak</a></li> <li>10/5/2014 | <a href="/~beau">~beau</a></li> <li>10/5/2014 | <a href="/~skk">~skk</a></li> <li>10/5/2014 | <a href="/~joeld">~joeld</a></li> <li>10/5/2014 | <a href="/~john">~john</a></li> <li>10/5/2014 | <a href="/~brendn">~brendn</a></li>
|
<li>11/9/2019 | <a href="/~sneak">~sneak</a></li>
|
||||||
|
<li>10/5/2014 | <a href="/~beau">~beau</a></li>
|
||||||
|
<li>10/5/2014 | <a href="/~skk">~skk</a></li>
|
||||||
|
<li>10/5/2014 | <a href="/~joeld">~joeld</a></li>
|
||||||
|
<li>10/5/2014 | <a href="/~john">~john</a></li>
|
||||||
|
<li>10/5/2014 | <a href="/~brendn">~brendn</a></li>
|
||||||
<li>10/5/2014 | <a href="/~droob">~droob</a></li>
|
<li>10/5/2014 | <a href="/~droob">~droob</a></li>
|
||||||
<li>10/5/2014 | <a href="/~delfuego">~delfuego</a></li>
|
<li>10/5/2014 | <a href="/~delfuego">~delfuego</a></li>
|
||||||
<li>10/5/2014 | <a href="/~jonathan">~jonathan</a></li>
|
<li>10/5/2014 | <a href="/~jonathan">~jonathan</a></li>
|
||||||
|
@ -98,21 +104,19 @@
|
||||||
<p>if you're not seeing yourself listed here, change your page from the default.</p>
|
<p>if you're not seeing yourself listed here, change your page from the default.</p>
|
||||||
<p><a href="/users/">list all users</a></p>
|
<p><a href="/users/">list all users</a></p>
|
||||||
<ul class="user-list">
|
<ul class="user-list">
|
||||||
<?php foreach (glob("/home/*") as $user) {
|
<?php
|
||||||
$index = "$user/public_html/index.html";
|
|
||||||
if (!file_exists($index) ||
|
|
||||||
in_array(sha1_file($index),
|
|
||||||
// these are the hashes of previous and current default pages
|
// these are the hashes of previous and current default pages
|
||||||
[
|
$page_shas = [
|
||||||
"0eb53dab435e2e6e401921146bed85a80e9ad3a1",
|
"0eb53dab435e2e6e401921146bed85a80e9ad3a1",
|
||||||
"61eff8202777bae134ac4b11f1e16ec23dfc97d3",
|
"61eff8202777bae134ac4b11f1e16ec23dfc97d3",
|
||||||
"e9d41eab6edb7cd375c63ecb4a23bca928992547",
|
"e9d41eab6edb7cd375c63ecb4a23bca928992547",
|
||||||
"cb2ce535ab34edebc225e88a321f972ba55763c3",
|
"cb2ce535ab34edebc225e88a321f972ba55763c3",
|
||||||
"13af6898f536265af7dbbe2935b591f5e2ee0d7d",
|
"13af6898f536265af7dbbe2935b591f5e2ee0d7d",
|
||||||
"b51a889545b5f065fd1ac2b8760cab0088a9dc22"
|
"b51a889545b5f065fd1ac2b8760cab0088a9dc22"
|
||||||
]
|
];
|
||||||
)
|
foreach (glob("/home/*") as $user) {
|
||||||
) continue;
|
$index = "$user/public_html/index.html";
|
||||||
|
if (!file_exists($index) || in_array(sha1_file($index), $page_shas)) continue;
|
||||||
$user = basename($user); ?>
|
$user = basename($user); ?>
|
||||||
<li><a href="/~<?=$user?>/">~<?=$user?></a></li>
|
<li><a href="/~<?=$user?>/">~<?=$user?></a></li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
Loading…
Reference in New Issue