From c451cbe0b6de0707d891937d7f61596491e81565 Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 23 Dec 2021 19:41:28 +0100 Subject: Commit --- quota/index.php | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 quota/index.php (limited to 'quota/index.php') diff --git a/quota/index.php b/quota/index.php new file mode 100644 index 0000000..d0c0d74 --- /dev/null +++ b/quota/index.php @@ -0,0 +1,87 @@ + + +
+
+

Mes fichiers partagés

+ +

Vous n'avez encore rien partagé. Vous avez droit à 200 Mo gratuitement, alors profitez-en !

+ Commencer + +

Voici la liste de tous les fichiers partagés qui sont actuellement en circulation. Les fichiers expirés ne sont pas affichés ici et il n'y a aucun moyen de les récupérer.

+
+ + + + + + + + + + + + + + + + + + +
Nom du fichierExpirationActions
Dans diff($old, true); + + if ($diff->m > 0) { + echo($diff->m . " mois"); + } else if ($diff->d > 0) { + if ($diff->d > 1) { + echo($diff->d . " jours"); + } else { + echo($diff->d . " jour"); + } + } else if ($diff->h > 0) { + if ($diff->h > 1) { + echo($diff->h . " heures"); + } else { + echo($diff->h . " heure"); + } + } else if ($diff->i > 0) { + if ($diff->i > 1) { + echo($diff->i . " minutes"); + } else { + echo($diff->i . " minute"); + } + } else { + echo("moins d'une minute"); + } + + ?> +
+ Voir + + Copier + Supprimer +
+
+ + + +
+ +
+
+ + \ No newline at end of file -- cgit