diff --git a/index.php b/index.php index 47a5c1d..3063d04 100644 --- a/index.php +++ b/index.php @@ -14,7 +14,7 @@ foreach (scandir("/home/") as $user) { } arsort($files); -$recent = $files; +$recent = array_slice($files, 0, 10); include 'header.php'; @@ -71,10 +71,11 @@ if (!empty($activeUsers)) {

Ostatnio edytowane strony:

-

$ ls -lt /home/

+

$ ls -lt /home/ | head -n 10

$date) { + echo "

drwxr-xr-x @@ -86,6 +87,7 @@ foreach($recent as $user => $date) { ".$user."

"; + } ?> diff --git a/stats.png b/stats.png new file mode 100644 index 0000000..12f67a1 Binary files /dev/null and b/stats.png differ