| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?> |
| 2 |
<html dir="ltr" lang="en"> |
| 3 |
<head> |
| 4 |
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> |
| 5 |
<meta name="x-apple-disable-message-reformatting"> |
| 6 |
<style> |
| 7 |
html { |
| 8 |
background-color: rgb(248, 249, 250); |
| 9 |
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; |
| 10 |
} |
| 11 |
body { |
| 12 |
background-color: rgb(248, 249, 250); |
| 13 |
padding-top: 40px; |
| 14 |
padding-bottom: 40px; |
| 15 |
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; |
| 16 |
} |
| 17 |
|
| 18 |
p { |
| 19 |
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; |
| 20 |
font-size: 14px; |
| 21 |
margin: 0px; |
| 22 |
margin-bottom: 8px; |
| 23 |
line-height: 24px; |
| 24 |
} |
| 25 |
|
| 26 |
.email_footer p { |
| 27 |
font-size: 12px; |
| 28 |
color: rgb(127, 140, 141); |
| 29 |
margin: 0px; |
| 30 |
line-height: 24px; |
| 31 |
margin-bottom: 8px; |
| 32 |
} |
| 33 |
|
| 34 |
hr { |
| 35 |
border-color: rgb(229, 231, 235); |
| 36 |
margin-bottom: 20px; |
| 37 |
width: 100%; |
| 38 |
border: none; |
| 39 |
border-top: 1px solid #eaeaea; |
| 40 |
} |
| 41 |
|
| 42 |
.space_bottom_30 { |
| 43 |
display: block; |
| 44 |
width: 100%; |
| 45 |
margin-bottom: 30px; |
| 46 |
} |
| 47 |
</style> |
| 48 |
</head> |
| 49 |
<body> |
| 50 |
<?php if (!empty($preheader)): ?> |
| 51 |
<div style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0" |
| 52 |
data-skip-in-text="true"> |
| 53 |
<?php echo esc_attr($preheader); ?> |
| 54 |
</div> |
| 55 |
<?php endif; ?> |
| 56 |
|
| 57 |
<?php if (!empty($header)): ?> |
| 58 |
<?php echo $header; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> |
| 59 |
<?php endif; ?> |
| 60 |
|
| 61 |
<table class="email_wrap" align="center" width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" |
| 62 |
style="background-color:rgb(255,255,255);margin-left:auto;margin-right:auto;padding-left:32px;padding-right:32px;padding-top:32px;padding-bottom:32px;max-width:620px"> |
| 63 |
<tbody> |
| 64 |
<tr style="width:100%"> |
| 65 |
<td> |
| 66 |
<?php echo $emailBody; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> |
| 67 |
</td> |
| 68 |
</tr> |
| 69 |
</tbody> |
| 70 |
</table> |
| 71 |
|
| 72 |
<?php if (!empty($emailFooter)): ?> |
| 73 |
<table class="email_footer" align="center" width="100%" border="0" cellpadding="0" cellspacing="0" |
| 74 |
role="presentation" |
| 75 |
style="padding-top:20px;border-top-width:0px;border-style:solid;border-color:rgb(236,240,241); text-align:center"> |
| 76 |
<tbody> |
| 77 |
<tr> |
| 78 |
<td> |
| 79 |
<?php echo $emailFooter; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> |
| 80 |
</td> |
| 81 |
</tr> |
| 82 |
</tbody> |
| 83 |
</table> |
| 84 |
<?php endif; ?> |
| 85 |
</body> |
| 86 |
</html> |
| 87 |
|