Fix full user list layout

This commit is contained in:
litemotiv 2025-02-05 12:02:26 +01:00
parent c3d8a83eed
commit a69e8a93bc
1 changed files with 14 additions and 26 deletions

View File

@ -1,36 +1,24 @@
<?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 id="fancyboi">full user list</h1>
<h1 id="fancyboi">Tilde.club user list</h1>
<div class="grid">
<div class="row">
<div class="col">
<p>here's a full list of users (including those who haven't updated their page from the default)</p>
<p>see <a href="http://tilde.club/tilde.24h.php">users who have updated their page in the last 24 hours</a></p>
<br>
<ul class="user-list">
<?php foreach (glob("/home/*") as $user) {
$user = basename($user); ?>
<li><a href="/~<?=$user?>/">~<?=$user?></a></li>
<?php } ?>
</ul>
<p>Here is a full list of users (including those who haven't updated their page from the default)</p>
<p>Also see users who have updated their page in the <a href="http://tilde.club/tilde.24h.php">last 24 hours</a></p>
<br>
<div class="user-list">
<?php
foreach (glob("/home/*") as $user)
{
$user = basename($user);
echo '<a href="/~'.$user.'/">~'.$user.'</a>';
}
?>
</div>
</div>
</div>
</div>
<?php
include __DIR__.'/../footer.php';
<?php include __DIR__.'/../footer.php';