Index
this a index of all pl4tform archives.
You can browse trought it by scrolling, searching, filtering.

If you are looking for a more visual way to explore the pl4tform-archive click here !

select a file or filter to start browsing the archive ==>
"; } else { include 'nc-one-file-request.php'; $file_info = getFileInfo($file_id); // Überprüfen, ob die Datei existiert und Daten abgerufen wurden if ($file_info !== null) { // Zuweisung der Werte aus dem Array in eigene Variablen $file_id = $file_info['file_id']; $file_name = $file_info['file_name']; $file_name = htmlentities($file_name); $file_size = $file_info['file_size']; $mimetype_name = $file_info['mimetype_name']; $file_tags = $file_info['file_tags']; $file_year = $file_info['file_year']; $file_month = $file_info['file_month']; $file_day = $file_info['file_day']; $file_hour = $file_info['file_hour']; $file_minute = $file_info['file_minute']; $file_title = $file_info['file_title']; $file_title = htmlentities($file_title); } $file_path_root = '/var/www/nextcloud/data/radio_admin/files/archive/'.$file_name; $file_link = 'https://pl4tform.org/ncdata/'.$file_name; $file_content = file_get_contents($file_path_root); $file_content = str_replace(".attachments.", "/ncdata/.attachments.", $file_content); // echo $Parsedown->text($file_content); if (str_contains($mimetype_name, 'image')) { echo ""; } if (str_contains($mimetype_name, 'audio')) { // $item = $SoundPlayItem; include('soundfile_titleAnalyse.php'); if(str_contains($file_title, "---")) { $file_title = str_replace("---", "
", $file_title); }; $soundInfosFormat = "

$file_title

$file_day.$file_month.$file_year - $file_hour:$file_minute H
"; echo '
' . $soundInfosFormat . '
'; $soundPlayLink = 'https://pl4tform.org/ncdata/'.$file_name; // $soundPlayLink = htmlentities($soundPlayLink); echo ' '; // echo ' '; =====>>> try to load audio by ID but java-maridb-request and php quest ... ! echo ''; echo '
'; // $discriptionItemPath = $filesPath.$itemBeforeAt.'.md'; // include ("$discriptionItemPath"); #### discription file: // Datenbankverbindungsdaten $servername = "localhost"; // oder der Hostname deines DB-Servers $username = "***"; // Dein neuer MariaDB Benutzername $password = "***"; // Dein Passwort für den neuen Benutzer $dbname = "nextcloud"; // Der Name deiner Nextcloud-Datenbank // Verbindung zur MySQL-Datenbank aufbauen $conn = new mysqli($servername, $username, $password, $dbname); // Verbindung prüfen if ($conn->connect_error) { die("Verbindung fehlgeschlagen: " . $conn->connect_error); } // 1. Abfrage: Alle Dateien, deren Pfad '%files/archive/%' enthält $sql1_desc = "SELECT fc.fileid, fc.name AS file_name, fc.path AS file_path, fc.size, fc.mimetype FROM oc_filecache AS fc WHERE (fc.path LIKE '%files/archive/%" . $file_year . $file_month . $file_day . "%" . $file_hour . $file_minute . "%.md%' OR fc.path LIKE '%files/archive/%" . $file_year . $file_month . $file_day . "%" . $file_hour . $file_minute . "%.txt%') ORDER BY fc.name DESC"; $result1_desc = $conn->query($sql1_desc); $row_desc = $result1_desc->fetch_assoc(); $file_id_desc = $row_desc['fileid']; $file_name_desc = $row_desc['file_name']; // echo $file_name_desc; if (str_contains($file_name_desc,".md")) { $file_path_root_desc = '/var/www/nextcloud/data/radio_admin/files/archive/'.$file_name_desc; $file_content_desc = file_get_contents($file_path_root_desc); $file_content_desc = str_replace(".attachments.", "/ncdata/.attachments.", $file_content_desc); echo $Parsedown->text($file_content_desc); } elseif (str_contains($file_name_desc,".txt")) { $file_path_root_desc = '/var/www/nextcloud/data/radio_admin/files/archive/'.$file_name_desc; $file_content_desc = file_get_contents($file_path_root_desc); echo $file_content_desc; } echo '
'; } if (str_contains($mimetype_name, 'markdown')) { $file_path_root = '/var/www/nextcloud/data/radio_admin/files/archive/'.$file_name; $file_content = file_get_contents($file_path_root); $file_content = str_replace(".attachments.", "/ncdata/.attachments.", $file_content); echo $Parsedown->text($file_content); } if (str_contains($mimetype_name, 'text/html') or str_contains($mimetype_name, 'text/plain')) { $file_path_root = '/var/www/nextcloud/data/radio_admin/files/archive/'.$file_name; $file_content = file_get_contents($file_path_root); echo $file_content; } if (str_contains($mimetype_name, 'application/pdf')) { echo "

$file_title

====>>> Open in full-screen

"; echo " "; } } ?>