From 7bbb59948928e590841e4af440b0b764a147e450 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 31 Oct 2021 12:44:27 +0100 Subject: Initial commit --- files/index.php | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 files/index.php (limited to 'files/index.php') diff --git a/files/index.php b/files/index.php new file mode 100644 index 0000000..fc3a388 --- /dev/null +++ b/files/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 +
+
+ + + +
+ +
+
+ + -- cgit