= $docs["articles"] ?> article= (int)$docs["articles"] > 1 ? "s" : "" ?>,
_= ucwords(strtolower(explode(" ", $_FULLNAME)[0])) ?>">voir le votre
$b["date"];
}
$list = scandir("/mnt/faminema/data/films/metadata");
$films = [];
foreach ($list as $item) {
if ($item !== "." && $item !== "..") {
$films[substr($item, 0, -5)] = json_decode(file_get_contents("/mnt/faminema/data/films/metadata/" . $item), true);
$films[substr($item, 0, -5)]["id"] = substr($item, 0, -5);
}
}
usort($films, function ($a, $b) {
return $a['date'] <=> $b['date'];
});
$films = array_reverse($films);
$seconds = 0;
foreach ($times as $titem => $tdata) {
if ($titem !== "@items") {
$seconds = $seconds + $tdata["seconds"];
}
}
$secstr = $seconds . " secondes";
if ($seconds > 60) {
$secstr = round($seconds / 60) . " minutes";
if ($seconds > 3600) {
$secstr = round($seconds / 3600) . " heures";
}
}
?>
= $secstr ?> de contenu,
regarder un film
= $count ?> photos,
galerie aléatoire
= count(json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/app/genealogy/private/data/people.json"), true)) ?> personnes,
voir ma fiche
0) {
$used = allfilessize();
$total = 200000000;
$usedm = ($used/1000)/1000;
$totalm = ($total/1000)/1000;
$perc = ($used/$total)*100;
$usedmp = round(($used/1000)/1000, 2);
$totalmp = round(($total/1000)/1000, 2);
$percp = round(($used/$total)*100, 2);
echo($usedmp . " Mo/200 Mo");
} else {
echo("0 Mo/200 Mo");
}
} else {
echo("0 Mo/200 Mo");
}
?> utilisés,
partager un fichier
En ce moment...