WizdomWeb/resources/views/layouts/email_layout.php

41 lines
1.4 KiB
PHP

<?php
/**
* File: email_layout.php
* Version: 1.0
* Path: /resources/views/emails/layout/email_layout.php
* Purpose: Base layout for all outgoing Wizdom Networks HTML emails.
* Project: Wizdom Networks Website
*/
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title><?= htmlspecialchars($subject ?? 'Wizdom Networks') ?></title>
<style>
body { font-family: Arial, sans-serif; background-color: #f7f7f7; margin: 0; padding: 0; }
.email-container { width: 100%; max-width: 600px; margin: 0 auto; background: #ffffff; border: 1px solid #ddd; }
.email-header { background: #001e38; padding: 20px; text-align: center; }
.email-header img { max-height: 50px; }
.email-body { padding: 20px; color: #333333; font-size: 16px; line-height: 1.5; }
.email-footer { background: #f1f1f1; padding: 15px; text-align: center; font-size: 12px; color: #777; }
a { color: #0056b3; text-decoration: none; }
</style>
</head>
<body>
<div class="email-container">
<div class="email-header">
<img src="<?= $_ENV['APP_URL'] ?>/assets/img/wizdom-networks-logo-v2.png" alt="Wizdom Networks">
</div>
<div class="email-body">
<?= $body ?? '' ?>
</div>
<div class="email-footer">
&copy; <?= date('Y') ?> Wizdom Networks. All rights reserved.<br>
<a href="<?= $_ENV['APP_URL'] ?>">www.wizdom.ca</a> | 416-USE-WISE
</div>
</div>
</body>
</html>