query("SELECT e.*, c.first_name, c.last_name, c.email FROM email_logs e JOIN clients c ON c.id = e.client_id ORDER BY e.sent_at DESC"); $logs = $stmt->fetchAll(); require_once Config::includePath('head.php'); require_once Config::includePath('navbar.php'); require_once Config::includePath('pageheader.php'); require_once Config::includePath('pagebodystart.php'); ?>
| დრო | კლიენტი | ელ.ფოსტა | თემა | შეტყობინება |
|---|---|---|---|---|
| = $log['sent_at'] ?> | = htmlspecialchars($log['first_name'] . ' ' . $log['last_name']) ?> | = htmlspecialchars($log['email']) ?> | = htmlspecialchars($log['subject']) ?> | = nl2br(htmlspecialchars($log['message'])) ?> |