| 1 |
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> |
| 2 |
<!doctype html> |
| 3 |
<html lang="en"> |
| 4 |
<head> |
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 7 |
<style media="all" type="text/css"> |
| 8 |
@media all { |
| 9 |
.btn-primary table td:hover { |
| 10 |
background-color: #2B2E33 !important; |
| 11 |
} |
| 12 |
|
| 13 |
.btn-primary a:hover { |
| 14 |
background-color: #2B2E33 !important; |
| 15 |
border-color: #2B2E33 !important; |
| 16 |
} |
| 17 |
} |
| 18 |
@media only screen and (max-width: 640px) { |
| 19 |
.main p, |
| 20 |
.main td, |
| 21 |
.main span { |
| 22 |
font-size: 16px !important; |
| 23 |
} |
| 24 |
|
| 25 |
.wrapper { |
| 26 |
padding: 8px !important; |
| 27 |
} |
| 28 |
|
| 29 |
.content { |
| 30 |
padding: 0 !important; |
| 31 |
} |
| 32 |
|
| 33 |
.container { |
| 34 |
padding: 0 !important; |
| 35 |
padding-top: 8px !important; |
| 36 |
width: 100% !important; |
| 37 |
} |
| 38 |
|
| 39 |
.main { |
| 40 |
border-left-width: 0 !important; |
| 41 |
border-radius: 0 !important; |
| 42 |
border-right-width: 0 !important; |
| 43 |
} |
| 44 |
|
| 45 |
.btn table { |
| 46 |
max-width: 100% !important; |
| 47 |
width: 100% !important; |
| 48 |
} |
| 49 |
|
| 50 |
.btn a { |
| 51 |
font-size: 16px !important; |
| 52 |
max-width: 100% !important; |
| 53 |
width: 100% !important; |
| 54 |
} |
| 55 |
} |
| 56 |
@media all { |
| 57 |
.ExternalClass { |
| 58 |
width: 100%; |
| 59 |
} |
| 60 |
|
| 61 |
.ExternalClass, |
| 62 |
.ExternalClass p, |
| 63 |
.ExternalClass span, |
| 64 |
.ExternalClass font, |
| 65 |
.ExternalClass td, |
| 66 |
.ExternalClass div { |
| 67 |
line-height: 100%; |
| 68 |
} |
| 69 |
|
| 70 |
.apple-link a { |
| 71 |
font-family: inherit !important; |
| 72 |
font-size: inherit !important; |
| 73 |
font-weight: inherit !important; |
| 74 |
line-height: inherit !important; |
| 75 |
} |
| 76 |
|
| 77 |
#MessageViewBody a { |
| 78 |
color: inherit; |
| 79 |
text-decoration: none; |
| 80 |
font-size: inherit; |
| 81 |
font-family: inherit; |
| 82 |
font-weight: inherit; |
| 83 |
line-height: inherit; |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
.footer p { |
| 88 |
margin: 0; |
| 89 |
margin-top: 8px; |
| 90 |
padding: 0; |
| 91 |
font-size: 14px; |
| 92 |
color: #9a9ea6; |
| 93 |
text-align: center; |
| 94 |
} |
| 95 |
.footer p a { |
| 96 |
color: #9a9ea6; |
| 97 |
text-decoration: underline; |
| 98 |
} |
| 99 |
.footer .powered_by a { |
| 100 |
color: #8e8e90; |
| 101 |
} |
| 102 |
|
| 103 |
.user_contents p { |
| 104 |
margin: 7px 0; |
| 105 |
} |
| 106 |
|
| 107 |
blockquote { |
| 108 |
margin: 0; |
| 109 |
padding: 0; |
| 110 |
border-left: 4px solid #959595; |
| 111 |
padding-left: 16px; |
| 112 |
} |
| 113 |
|
| 114 |
blockquote p { |
| 115 |
margin: 3px 0; |
| 116 |
} |
| 117 |
|
| 118 |
</style> |
| 119 |
</head> |
| 120 |
<body style="font-family: Helvetica, sans-serif; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.3; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; background-color: #f4f5f6; margin: 0; padding: 0;"> |
| 121 |
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f4f5f6; width: 100%;" width="100%" bgcolor="#f4f5f6"> |
| 122 |
<?php if($logo): ?> |
| 123 |
<tr> |
| 124 |
<td></td> |
| 125 |
<td> |
| 126 |
<a href="<?php echo esc_url(\FluentCommunity\App\Services\Helper::baseUrl()); ?>"> |
| 127 |
<img src="<?php echo esc_url($logo['url']); ?>" alt="<?php echo esc_attr($logo['alt']); ?>" style="display: block; margin: 0 auto;max-height: 60px; padding: 0; width: auto; margin-top: 12px;"> |
| 128 |
</a> |
| 129 |
</td> |
| 130 |
<td></td> |
| 131 |
</tr> |
| 132 |
<?php endif; ?> |
| 133 |
<tr> |
| 134 |
<td style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top;" valign="top"> |
| 135 |
|
| 136 |
</td> |
| 137 |
<td class="container" style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top; max-width: 600px; padding: 0; padding-top: 24px; width: 600px; margin: 0 auto;" width="600" valign="top"> |
| 138 |
<div class="content" style="box-sizing: border-box; display: block; margin: 0 auto; max-width: 600px; padding-bottom: 20px; padding: 0 0 20px;"> |
| 139 |
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; border: 1px solid #eaebed; border-radius: 16px; width: 100%;" width="100%"> |
| 140 |
<tr> |
| 141 |
<td> |
| 142 |
<?php if(!empty($headingContent)): ?> |
| 143 |
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"> |
| 144 |
<tr> |
| 145 |
<td class="wrapper" style="font-family: Helvetica, sans-serif; font-size: 16px; line-height: 1.4; vertical-align: top; box-sizing: border-box; padding: 20px 20px 10px;" valign="top"> |
| 146 |
<?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($headingContent, true); ?> |
| 147 |
</td> |
| 148 |
</tr> |
| 149 |
</table> |
| 150 |
<?php endif; ?> |
| 151 |
|
| 152 |
<table role="presentation" border="0" cellpadding="0" cellspacing="0" class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"> |
| 153 |
<tr> |
| 154 |
<td class="wrapper user_contents" style="font-family: Helvetica, sans-serif; font-size: 16px; line-height: 1.4; vertical-align: top; box-sizing: border-box; padding: 24px;" valign="top"> |
| 155 |
<?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($bodyContent, true); ?> |
| 156 |
</td> |
| 157 |
</tr> |
| 158 |
</table> |
| 159 |
</td> |
| 160 |
</tr> |
| 161 |
</table> |
| 162 |
<?php if($footerLines): ?> |
| 163 |
<div class="footer" style="clear: both; padding-top: 24px; padding-bottom: 24px; text-align: center; width: 100%;"> |
| 164 |
<table role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"> |
| 165 |
<?php foreach ($footerLines as $line): ?> |
| 166 |
<tr> |
| 167 |
<td class="content-block" style="font-family: Helvetica, sans-serif; vertical-align: top; color: #9a9ea6; font-size: 14px; text-align: center;" valign="top" align="center"> |
| 168 |
<span class="apple-link" style="color: #9a9ea6; font-size: 14px; text-align: center;"><?php \FluentCommunity\App\Services\CustomSanitizer::sanitizeRichText($line, true); ?></span> |
| 169 |
</td> |
| 170 |
</tr> |
| 171 |
<?php endforeach; ?> |
| 172 |
</table> |
| 173 |
</div> |
| 174 |
<?php endif; ?> |
| 175 |
</div> |
| 176 |
</td> |
| 177 |
<td style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top;" valign="top"> </td> |
| 178 |
</tr> |
| 179 |
</table> |
| 180 |
</body> |
| 181 |
</html> |
| 182 |
|