add all user list

This commit is contained in:
root
2019-09-21 14:47:51 -04:00
parent c5671542a0
commit 34e9706cb2
2 changed files with 26 additions and 0 deletions

25
users/index.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$title = 'tilde.club users';
include __DIR__.'/../header.php';
?>
<h1>full user list</h1>
<p>here's a full list of users (including those who haven't updated their page from the default)</p>
<p>see <a href="/~delfuego/tilde.24h.html">users who have updated their page in the last 24 hours</a></p>
<ol>
<?php foreach (glob("/home/*") as $user) {
$user = basename($user); ?>
<li><a href="/~<?=$user?>/">~<?=$user?></a></li>
<?php } ?>
</ol>
<?php
include __DIR__.'/../footer.php';