' . htmlentities($loadedFile, ENT_COMPAT, $encoding) . ''; // Get bytes for this file $bytes = filesize("../data/backups/" . $file); // Change into kilobytes $outputSize = ($bytes / 1024); $outputUnit = "kb"; // Maybe we should show in megabytes? if ($outputSize >= 1024) { $outputSize = ($outputSize / 1024); $outputUnit = "mb"; } $size = number_format($outputSize, 2, '.', '') . $outputUnit . " (" . number_format($bytes) . " bytes)"; // Get date & time of file $datetime = str_replace("-", "
", date("D jS M Y-g:i:sa", filemtime("../data/backups/" . $file))); ?>