getConnection(); // Exclude removed format types (Écriture, Image) $allFormats = $db->query("SELECT id, name FROM format_types WHERE name NOT IN ('Écriture', 'Image') ORDER BY sort_order, id") ->fetchAll(PDO::FETCH_ASSOC); $selectedFormats = isset($_POST['formats']) && is_array($_POST['formats']) ? array_map('intval', $_POST['formats']) : []; $adminMode = ($_POST['admin_mode'] ?? '0') === '1'; $editMode = ($_POST['edit_mode'] ?? '0') === '1'; $websiteUrl = htmlspecialchars($_POST['website_url'] ?? ''); $websiteLabel = htmlspecialchars($_POST['website_label'] ?? ''); ?>
Format(s)
Format(s) du TFE :*' : '' ?>
> Format(s) du TFE
Fichiers
JPG, PNG ou WEBP. Format 4:3 recommandé. Max 20 MB.
> PDF uniquement. Max 100 MB. Si votre fichier est trop lourd, compressez-le avec bentopdf.com.
data-existing-files=''> Glissez pour réordonner.

PDF (max 100 MB) · Images (max 500 MB) · Vidéo & Audio (max 2 GB) · VTT · Archives (max 500 MB).
→ PDFs trop lourds ? https://bentopdf.com/

Vidéos et audio hébergés sur PeerTube.
PDF ou archives ZIP/TAR. Max 500 MB. Glissez pour réordonner.
Le TFE sera affiché comme un site embarqué sur sa page publique.