You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

$filepath = __FILE__;
include __DIR__.'/../header.php';
$online_users = shell_exec("online-users | head -n1 | awk '{print $3}'");
$total_users = shell_exec("members team | wc -w");
<div class="row">
<p><a href="">
<img src="" alt="users online in #team">
<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>
<div class="row">
<div class="col-md-5">
<div class="list-group">
foreach (glob("/home/*") as $user):
$user = basename($user); ?>
<li style="list-style: none; margin-left: -40px;">
<a href="/~<?=$user?>/" class="list-group-item">
<h6 class="list-group-item-heading">~<?=$user?></h6>
<?php endforeach; ?>
include __DIR__.'/../footer.php';