2019-01-25 17:55:04 +00:00
|
|
|
<?php
|
2021-01-03 23:57:28 +00:00
|
|
|
$filepath = __FILE__;
|
2019-01-25 17:55:04 +00:00
|
|
|
include __DIR__.'/../header.php';
|
|
|
|
|
2021-03-30 19:21:30 +00:00
|
|
|
$online_users = shell_exec("online-users | head -n1 | awk '{print $3}'");
|
2019-01-25 17:55:04 +00:00
|
|
|
$total_users = shell_exec("members team | wc -w");
|
|
|
|
?>
|
|
|
|
|
|
|
|
<div class="row">
|
2020-07-17 21:21:41 +00:00
|
|
|
<h1>users</h1>
|
|
|
|
|
2022-09-29 18:53:09 +00:00
|
|
|
<p><a href="https://tilde.chat/kiwi/#team">
|
2021-03-30 19:21:30 +00:00
|
|
|
<img src="https://tilde.chat/badges/badge.php?channel=%23team" alt="users online in #team">
|
|
|
|
</a></p>
|
|
|
|
<p><?=$online_users?> of <?=$total_users?> total users logged in</p>
|
|
|
|
<p><em><a href="/tilde.24h.html"><i class="fa fa-clock-o"></i> recent updates</a></em></p>
|
2019-01-25 17:55:04 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-5">
|
|
|
|
<div class="list-group">
|
|
|
|
<ul>
|
|
|
|
<?php
|
|
|
|
foreach (glob("/home/*") as $user):
|
|
|
|
$user = basename($user); ?>
|
|
|
|
<li style="list-style: none; margin-left: -40px;">
|
|
|
|
<a href="/~<?=$user?>/" class="list-group-item">
|
2022-01-15 21:52:46 +00:00
|
|
|
<h6 class="list-group-item-heading">~<?=$user?></h6>
|
2019-01-25 17:55:04 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php
|
|
|
|
include __DIR__.'/../footer.php';
|