Estiliza pagina de upload externo - responsiva (novo47)

This commit is contained in:
rodrigo committed 2025-02-07 12:59:53 -03:00
1 parent 05cd7b9c79
commit 2ce717d804
8 files changed
+430 -24

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<title>Documentos Processados</title>
<meta charset="utf-8">
<style>
body { font-family: Arial, sans-serif; margin: 20px; }
.file-list { max-width: 800px; margin: 0 auto; }
.file-item { padding: 10px; border-bottom: 1px solid #eee; }
</style>
</head>
<body>
<div class="file-list">
<h2>Documentos Processados</h2>
<?php
$processed_dir = "processed/";
$files = glob($processed_dir . "*.*");
if (count($files) > 0) {
foreach($files as $file) {
$name = basename($file);
$date = date("d/m/Y H:i:s", filemtime($file));
echo "<div class='file-item'>";
echo "<strong>$name</strong><br>";
echo "Processado em: $date<br>";
echo "<a href='$file' target='_blank'>Visualizar</a>";
echo "</div>";
}
} else {
echo "<p>Nenhum documento processado ainda.</p>";
}
?>
<p><a href="index.php?page=doc_upload">Voltar para upload</a></p>
</div>
</body>
</html>