';
foreach (array_slice($entries, 0, 10) as $entry) { // Show last 10 entries
$lines = explode("\n", $entry);
if (count($lines) >= 2) {
$timestamp = $lines[0];
$error = $lines[1];
$file = isset($lines[2]) ? $lines[2] : '';
echo '
';
echo '
';
echo '
';
echo '
' . htmlspecialchars($timestamp) . '
';
echo '
' . htmlspecialchars($error) . '
';
if ($file) {
echo '
' . htmlspecialchars($file) . '
';
}
echo '
';
echo '
🐛
';
echo '
';
echo '
';
}
}
echo '
';
echo '
✅
';
echo '
No Errors Found
';
echo '
The system is running smoothly with no recent errors.
';
echo '
';
}
} else {
echo '
';
echo '
✅
';
echo '
No Errors Found
';
echo '
The system is running smoothly with no recent errors.
';
echo '
';
echo '
📝
';
echo '
No Log File
';
echo '
Error log file does not exist yet. Errors will appear here when they occur.
';
echo '