mirror of https://github.com/tildeclub/site.git
Fix full user list layout
This commit is contained in:
parent
c3d8a83eed
commit
a69e8a93bc
|
@ -1,36 +1,24 @@
|
||||||
<?php
|
<?php
|
||||||
ini_set('display_errors', 1);
|
|
||||||
ini_set('display_startup_errors', 1);
|
|
||||||
error_reporting(E_ALL);
|
|
||||||
|
|
||||||
$title = 'tilde.club users';
|
$title = 'tilde.club users';
|
||||||
include __DIR__.'/../header.php';
|
include __DIR__.'/../header.php';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
<h1 id="fancyboi">Tilde.club user list</h1>
|
||||||
<h1 id="fancyboi">full user list</h1>
|
|
||||||
|
|
||||||
<div class="grid">
|
<div class="grid">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
|
<p>Here is a full list of users (including those who haven't updated their page from the default)</p>
|
||||||
<p>here's 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>
|
||||||
|
|
||||||
<p>see <a href="http://tilde.club/tilde.24h.php">users who have updated their page in the last 24 hours</a></p>
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<ul class="user-list">
|
<div class="user-list">
|
||||||
|
|
||||||
<?php foreach (glob("/home/*") as $user) {
|
|
||||||
$user = basename($user); ?>
|
|
||||||
<li><a href="/~<?=$user?>/">~<?=$user?></a></li>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?php
|
<?php
|
||||||
include __DIR__.'/../footer.php';
|
foreach (glob("/home/*") as $user)
|
||||||
|
{
|
||||||
|
$user = basename($user);
|
||||||
|
echo '<a href="/~'.$user.'/">~'.$user.'</a>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<?php include __DIR__.'/../footer.php';
|
||||||
|
|
Loading…
Reference in New Issue