Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/fluent-smtp/app/views/admin/digest_email.php
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
<!doctype html>
2
+
<html lang="en">
3
+
<head>
4
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+
<meta name="viewport" content="width=device-width">
7
+
<title><?php esc_html_e('FluentSMTP Email Health Report', 'fluent-smtp') ?></title>
8
+
<style type="text/css">@media only screen and (max-width: 599px) {
9
+
table.body .container {
10
+
width: 95% !important;
11
+
}
12
+
13
+
.header {
14
+
padding: 15px 15px 12px 15px !important;
15
+
}
16
+
17
+
.header img {
18
+
width: 200px !important;
19
+
height: auto !important;
20
+
}
21
+
22
+
.content, .aside {
23
+
padding: 30px 40px 20px 40px !important;
24
+
}
25
+
}</style>
26
+
27
+
<style type="text/css">
28
+
body {
29
+
font-family: 'Helvetica', 'Arial', sans-serif;
30
+
font-size: 14px;
31
+
background: #eeeeee;
32
+
}
33
+
34
+
/* GENERAL STYLE RESETS */
35
+
body, #bodyTable {
36
+
height: 100% !important;
37
+
width: 100% !important;
38
+
margin: 0;
39
+
padding: 0;
40
+
}
41
+
42
+
img, a img {
43
+
border: 0;
44
+
outline: none;
45
+
text-decoration: none;
46
+
}
47
+
48
+
table, td {
49
+
mso-table-lspace: 0pt;
50
+
mso-table-rspace: 0pt;
51
+
border-collapse: collapse;
52
+
}
53
+
54
+
img {
55
+
-ms-interpolation-mode: bicubic;
56
+
}
57
+
58
+
body, table, td, p, a, li, blockquote {
59
+
-ms-text-size-adjust: 100%;
60
+
-webkit-text-size-adjust: 100%;
61
+
}
62
+
</style>
63
+
64
+
</head>
65
+
<body
66
+
style="height: 100% !important; width: 100% !important; min-width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; margin: 0; Margin: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; background-color: #f1f1f1; text-align: center;">
67
+
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%" class="body"
68
+
style="border-collapse: collapse; border-spacing: 0; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; height: 100% !important; width: 100% !important; min-width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important; background-color: #f1f1f1; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; margin: 0; Margin: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%;">
69
+
<tr style="padding: 0; vertical-align: top; text-align: left;">
70
+
<td align="center" valign="top" class="body-inner fluent-smtp"
71
+
style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; padding: 0; margin: 0; Margin: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; text-align: center;">
72
+
<!-- Container -->
73
+
<table border="0" cellpadding="0" cellspacing="0" class="container"
74
+
style="border-collapse: collapse; border-spacing: 0; padding: 0; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; width: 600px; margin: 0 auto 30px auto; Margin: 0 auto 30px auto; text-align: inherit;">
75
+
<!-- Header -->
76
+
<tr style="padding: 0; vertical-align: top; text-align: left;">
77
+
<td valign="middle" class="header"
78
+
style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: white; border: 1px solid #7D3492; background: #7D3492; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; text-align: left; padding: 10px 20px 10px 20px;">
79
+
<table width="100%">
80
+
<tr>
81
+
<td>
82
+
<h3 style="margin: 5px 0; color: white;"><?php esc_html_e('Email Sending Health', 'fluent-smtp') ?></h3>
83
+
<p style="margin: 0;color: white;font-size: 12px;"><?php echo esc_html($date_range); ?></p>
84
+
</td>
85
+
<td style="text-align: right;">
86
+
<img src="<?php echo esc_url(fluentMailMix('images/fluentsmtp-white.png')); ?>"
87
+
width="164px" alt="Fluent SMTP Logo"
88
+
style="outline: none; text-decoration: none; max-width: 100%; clear: both; -ms-interpolation-mode: bicubic; display: inline-block !important; width: 164px;">
89
+
</td>
90
+
</tr>
91
+
</table>
92
+
</td>
93
+
</tr>
94
+
<!-- Content -->
95
+
<tr style="padding: 0; vertical-align: top; text-align: left;">
96
+
<td align="left" valign="top" class="content"
97
+
style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; background-color: #ffffff; padding: 20px 20px 30px 20px; border-right: 1px solid #ddd; border-left: 1px solid #ddd;">
98
+
<table width="100%">
99
+
<tr>
100
+
<td>
101
+
<h3 style="font-size: 18px; font-weight: normal; margin: 0;"><?php echo wp_kses_post($sent['title']); ?></h3>
102
+
<?php if ($sent['subject_items']): ?>
103
+
<p style="margin: 4px 0 0 0;font-size: 12px;"><?php echo wp_kses_post($sent['subtitle']); ?></p>
104
+
<?php endif; ?>
105
+
</td>
106
+
</tr>
107
+
<tr>
108
+
<td style="padding: 10px 0">
109
+
<?php if ($sent['subject_items']): ?>
110
+
<table width="100%"
111
+
style="border: 1px solid #ccd0d4; border-collapse: collapse;">
112
+
<tr style="background-color: #f9f9f9;">
113
+
<th style="padding: 8px 10px;"
114
+
align="left"><?php esc_html_e('Subject', 'fluent-smtp'); ?></th>
115
+
<th style="width:85px; padding: 8px 10px;"><?php esc_html_e('Emails Sent', 'fluent-smtp'); ?></th>
116
+
</tr>
117
+
<?php foreach ($sent['subject_items'] as $index => $item): ?>
118
+
<tr <?php if($index % 2 == 1) { echo 'style="background-color: #f9f9f9;"'; }?>>
119
+
<td style="padding: 8px 10px;"><?php echo wp_kses_post($item['subject']); ?></td>
120
+
<td style="padding: 8px 10px;"
121
+
align="center"><?php echo esc_html(number_format_i18n($item['emails_sent'])); ?></td>
122
+
</tr>
123
+
<?php endforeach; ?>
124
+
</table>
125
+
<?php else: ?>
126
+
<table width="100%" cellpadding="20">
127
+
<tr>
128
+
<td bgcolor="#eeeeee"
129
+
style="background-color: #eeeeee;border-radius: 5px;"
130
+
align="center">
131
+
<h3 style="font-size: 24px; line-height: 30px; font-weight: normal;"><?php esc_html_e('Looks like no email has been sent to the time period', 'fluent-smtp'); ?></h3>
132
+
<p>
133
+
<?php esc_html_e('If this is unusual you should probably check if your site is broken.', 'fluent-smtp');
134
+
?>
135
+
</p>
136
+
</td>
137
+
</tr>
138
+
</table>
139
+
<?php endif; ?>
140
+
</td>
141
+
</tr>
142
+
</table>
143
+
</td>
144
+
</tr>
145
+
146
+
<!-- Fails -->
147
+
<tr style="padding: 0; vertical-align: top; text-align: left;">
148
+
<td align="left" valign="top" class="content"
149
+
style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #444; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; text-align: left; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; background-color: #ffffff; padding: 20px 20px 30px 20px; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; border-left: 1px solid #ddd;">
150
+
<table width="100%">
151
+
<tr>
152
+
<td>
153
+
<h3 style="font-size: 18px; font-weight: normal; margin: 0;"><?php echo wp_kses_post($fail['title']); ?></h3>
154
+
<?php if ($fail['subject_items']): ?>
155
+
<p style="margin: 4px 0 0 0;"><?php echo wp_kses_post($fail['subtitle']); ?></p>
156
+
<?php endif; ?>
157
+
</td>
158
+
</tr>
159
+
<tr>
160
+
<td style="padding: 10px 0">
161
+
<?php if ($fail['subject_items']): ?>
162
+
<table width="100%" style="border: 1px solid #ccd0d4; border-collapse: collapse;">
163
+
<tr style="background-color: #f9f9f9;">
164
+
<th style="padding: 8px 10px;" align="left"><?php esc_html_e('Subject', 'fluent-smtp'); ?></th>
165
+
<th style="width:85px; padding: 8px 10px;"><?php esc_html_e('Failed Count', 'fluent-smtp'); ?></th>
166
+
</tr>
167
+
<?php foreach ($fail['subject_items'] as $index => $item): ?>
168
+
<tr <?php if($index % 2 == 1) { echo 'style="background-color: #f9f9f9;"'; }?>>
169
+
<td style="padding: 8px 10px;"><?php echo wp_kses_post($item['subject']); ?></td>
170
+
<td style="padding: 8px 10px;"
171
+
align="center"><?php echo esc_html(number_format_i18n($item['emails_sent'])); ?></td>
172
+
</tr>
173
+
<?php endforeach; ?>
174
+
</table>
175
+
<?php else: ?>
176
+
<table width="100%" cellpadding="20">
177
+
<tr>
178
+
<td bgcolor="#eeeeee"
179
+
style="background-color: #eeeeee;border-radius: 5px;" align="center">
180
+
<h3 style="font-size: 24px; line-height: 30px; font-weight: normal;"><?php esc_html_e('Awesome! no failures! 🎉', 'fluent-smtp'); ?></h3>
181
+
<p>
182
+
<?php esc_html_e('Your email sending health is perfect', 'fluent-smtp');
183
+
?>
184
+
</p>
185
+
</td>
186
+
</tr>
187
+
</table>
188
+
<?php endif; ?>
189
+
</td>
190
+
</tr>
191
+
</table>
192
+
</td>
193
+
</tr>
194
+
<!-- Footer -->
195
+
<tr style="padding: 0; vertical-align: top; text-align: left;">
196
+
<td valign="middle" class="header" style="word-wrap: break-word; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; border-collapse: collapse !important; vertical-align: top; mso-table-lspace: 0pt; mso-table-rspace: 0pt; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: white; border: 1px solid #7D3492; background: #7D3492; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-weight: normal; margin: 0; Margin: 0; font-size: 14px; mso-line-height-rule: exactly; line-height: 140%; text-align: left; padding: 10px 20px 10px 20px;">
197
+
<table width="100%">
198
+
<tr>
199
+
<td>
200
+
<p style="font-size: 10px; line-height: 12px; color: white;"><?php esc_html_e('You received this email because the Email Sending Health Report is enabled in your FluentSMTP settings. Simply turn it off to stop these emails at ', 'fluent-smtp') ?><?php echo esc_html($domain_name); ?>.</p>
201
+
</td>
202
+
<td style="text-align: right;width: 100px; padding-left: 15px;">
203
+
<img src="<?php echo esc_url(fluentMailMix('images/fluentsmtp-white.png')); ?>"
204
+
width="164px" alt="Fluent SMTP Logo"
205
+
style="outline: none; text-decoration: none; max-width: 100%; clear: both; -ms-interpolation-mode: bicubic; display: inline-block !important; width: 164px;">
206
+
</td>
207
+
</tr>
208
+
</table>
209
+
</td>
210
+
</tr>
211
+
</table>
212
+
</td>
213
+
</tr>
214
+
</table>
215
+
</body>
216
+
</html>
217
+