PluginProbe ʕ •ᴥ•ʔ
Independent Analytics – WordPress Analytics Plugin / 2.14.2
Independent Analytics – WordPress Analytics Plugin v2.14.2
2.15.0 2.14.10 trunk 1.1 1.10 1.10.1 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.17.1 1.17.2 1.17.3 1.17.4 1.18 1.18.1 1.19.0 1.19.1 1.2 1.20.0 1.21.0 1.22.0 1.22.1 1.23.0 1.23.1 1.24.0 1.24.1 1.25.0 1.25.1 1.26.0 1.27.0 1.28.0 1.28.1 1.28.2 1.28.3 1.29.0 1.3 1.30.0 1.30.1 1.4 1.5 1.6 1.7 1.8 1.9 2.0.0 2.0.1 2.1.4 2.1.5 2.1.6 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.10 2.11.2 2.11.3 2.11.4 2.11.5 2.11.6 2.11.7 2.11.8 2.11.9 2.12.0 2.12.1 2.12.2 2.13.1 2.13.2 2.13.5 2.13.6 2.14.0 2.14.1 2.14.2 2.14.4 2.14.6 2.14.7 2.14.8 2.14.9 2.2.0 2.2.1 2.3.1 2.3.2 2.4.2 2.4.3 2.5.0 2.5.1 2.6.0 2.6.1 2.6.2 2.6.3 2.6.4 2.7.0 2.7.1 2.7.2 2.7.3 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7
independent-analytics / views / email / email.blade.php
independent-analytics / views / email Last commit date
email.blade.php 9 months ago
email.blade.php
685 lines
1 <!doctype html>
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
3 xmlns:o="urn:schemas-microsoft-com:office:office">
4
5 <head>
6 <title><mj-raw><?php echo esc_html__('Website Analytics Report', 'independent-analytics') . ' ' . $date; ?></mj-raw></title><!--[if !mso]><!-->
7 <meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]-->
8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
9 <meta name="viewport" content="width=device-width,initial-scale=1">
10 <style type="text/css">
11 #outlook a {
12 padding: 0;
13 }
14
15 body {
16 margin: 0;
17 padding: 0;
18 -webkit-text-size-adjust: 100%;
19 -ms-text-size-adjust: 100%;
20 }
21
22 table,
23 td {
24 border-collapse: collapse;
25 mso-table-lspace: 0pt;
26 mso-table-rspace: 0pt;
27 }
28
29 img {
30 border: 0;
31 height: auto;
32 line-height: 100%;
33 outline: none;
34 text-decoration: none;
35 -ms-interpolation-mode: bicubic;
36 }
37
38 p {
39 display: block;
40 margin: 13px 0;
41 }
42 </style><!--[if mso]>
43 <noscript>
44 <xml>
45 <o:OfficeDocumentSettings>
46 <o:AllowPNG/>
47 <o:PixelsPerInch>96</o:PixelsPerInch>
48 </o:OfficeDocumentSettings>
49 </xml>
50 </noscript>
51 <![endif]--><!--[if lte mso 11]>
52 <style type="text/css">
53 .mj-outlook-group-fix { width:100% !important; }
54 </style>
55 <![endif]--><!--[if !mso]><!-->
56 <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" type="text/css">
57 <link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css">
58 <style type="text/css">
59 @import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);
60 @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700);
61 </style><!--<![endif]-->
62 <style type="text/css">
63 @media only screen and (min-width:480px) {
64 .mj-column-per-100 {
65 width: 100% !important;
66 max-width: 100%;
67 }
68
69 .mj-column-per-50 {
70 width: 50% !important;
71 max-width: 50%;
72 }
73
74 .mj-column-per-10 {
75 width: 10% !important;
76 max-width: 10%;
77 }
78
79 .mj-column-per-90 {
80 width: 90% !important;
81 max-width: 90%;
82 }
83 }
84 </style>
85 <style media="screen and (min-width:480px)">
86 .moz-text-html .mj-column-per-100 {
87 width: 100% !important;
88 max-width: 100%;
89 }
90
91 .moz-text-html .mj-column-per-50 {
92 width: 50% !important;
93 max-width: 50%;
94 }
95
96 .moz-text-html .mj-column-per-10 {
97 width: 10% !important;
98 max-width: 10%;
99 }
100
101 .moz-text-html .mj-column-per-90 {
102 width: 90% !important;
103 max-width: 90%;
104 }
105 </style>
106 <style type="text/css"></style>
107 <style type="text/css">
108 .header-top-container,
109 .header-top-container-outlook {
110 background-color: <?php echo $colors['0']; ?> !important;
111 }
112
113 .header-bottom-container,
114 .header-bottom-container-outlook {
115 background-color: <?php echo $colors['2']; ?> !important;
116 }
117
118 .quick-stat-title {
119 background-color: <?php echo $colors['7']; ?> !important;
120 }
121
122 .quick-stat-value a {
123 color: #000 !important;
124 text-decoration: none !important;
125 }
126
127 .bar-chart-row td:hover div {
128 background-color: #19053C !important;
129 }
130
131 .bar-chart-row td:hover span {
132 display: block !important;
133 }
134
135 .top-ten-table td {
136 font-size: 12px;
137 }
138
139 .top-ten-table .table-heading {
140 line-height: 2;
141 }
142
143 .top-ten-table .name {
144 max-width: 130px;
145 overflow: hidden;
146 white-space: nowrap;
147 line-height: 1.8;
148 }
149
150 .top-ten-table a {
151 color: #000 !important;
152 text-decoration: none !important;
153 }
154
155 .y-axis {
156 width: 10% !important;
157 width: calc(50px + 0) !important;
158 }
159
160 .chart-container {
161 width: 90% !important;
162 width: calc(100% - 50px) !important;
163 }
164
165 .heading-divider,
166 .heading-divider p,
167 .y-axis,
168 .y-axis td,
169 .chart-border,
170 .chart-border p {
171 border-color: <?php echo $colors['6']; ?> !important;
172 }
173
174 .body-container {
175 background-color: <?php echo $colors['8']; ?>;
176 }
177
178 .footer,
179 .footer-outlook {
180 background-color: <?php echo $colors['9']; ?> !important;
181 }
182
183 @media all and (max-width: 599px) {
184 .chart-date-label {
185 font-size: 12px;
186 }
187 }
188 </style>
189 </head>
190
191 <body style="word-spacing:normal;">
192 <div class="body-container">
193 <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="header-top-container-outlook" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
194 <div class="header-top-container" style="margin:0px auto;max-width:600px;">
195 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
196 style="width:100%;">
197 <tbody>
198 <tr>
199 <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
200 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
201 <div class="mj-column-per-100 mj-outlook-group-fix"
202 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
203 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
204 style="vertical-align:top;" width="100%">
205 <tbody>
206 <tr>
207 <td align="center" class="site-title-text"
208 style="font-size:0px;padding:0 0 8px 0;word-break:break-word;">
209 <div
210 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:24px;font-weight:700;line-height:1;text-align:center;color:<?php echo $colors['1']; ?>;">
211 <?php echo esc_html($site_title); ?></div>
212 </td>
213 </tr>
214 <tr>
215 <td align="center" class="sub-title-text"
216 style="font-size:0px;padding:0;word-break:break-word;">
217 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="18px" style="vertical-align:top;height:18px;"><![endif]-->
218 <div
219 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:16px;line-height:1;text-align:center;color:<?php echo $colors['1']; ?>;height:18px;">
220 <?php esc_html_e('Website performance report', 'independent-analytics'); ?></div>
221 <!--[if mso | IE]></td></tr></table><![endif]-->
222 </td>
223 </tr>
224 </tbody>
225 </table>
226 </div><!--[if mso | IE]></td></tr></table><![endif]-->
227 </td>
228 </tr>
229 </tbody>
230 </table>
231 </div>
232 <!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="header-bottom-container-outlook" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
233 <div class="header-bottom-container" style="margin:0px auto;max-width:600px;">
234 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
235 style="width:100%;">
236 <tbody>
237 <tr>
238 <td style="direction:ltr;font-size:0px;padding:0;text-align:center;">
239 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
240 <div class="mj-column-per-100 mj-outlook-group-fix"
241 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
242 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
243 style="vertical-align:top;" width="100%">
244 <tbody>
245 <tr>
246 <td align="center" class="date-title-text"
247 style="font-size:0px;padding:6px 0 0 0;word-break:break-word;">
248 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="32px" style="vertical-align:top;height:32px;"><![endif]-->
249 <div
250 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:16px;letter-spacing:0.03em;line-height:1.5;text-align:center;text-transform:uppercase;color:<?php echo $colors['3']; ?>;height:32px;">
251 <?php echo esc_html($date); ?></div>
252 <!--[if mso | IE]></td></tr></table><![endif]-->
253 </td>
254 </tr>
255 </tbody>
256 </table>
257 </div><!--[if mso | IE]></td></tr></table><![endif]-->
258 </td>
259 </tr>
260 </tbody>
261 </table>
262 </div>
263 <!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#ffffff" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
264 <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;">
265 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
266 style="background:#ffffff;background-color:#ffffff;width:100%;">
267 <tbody>
268 <tr>
269 <td style="direction:ltr;font-size:0px;padding:12px 0 0 0;text-align:center;">
270 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
271 <div class="mj-column-per-100 mj-outlook-group-fix"
272 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
273 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
274 style="vertical-align:top;" width="100%">
275 <tbody>
276 <tr>
277 <td align="left"
278 style="font-size:0px;padding:10px 25px;word-break:break-word;">
279 <div
280 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:21px;font-weight:700;line-height:1;text-align:left;color:#000000;">
281 <mj-raw><?php esc_html_e('Performance Overview', 'independent-analytics'); ?></mj-raw></div>
282 </td>
283 </tr>
284 <tr>
285 <td align="center" class="heading-divider"
286 style="font-size:0px;padding:10px 25px;word-break:break-word;">
287 <p
288 style="border-top:solid 2px <?php echo $colors['6']; ?>;font-size:1px;margin:0px auto;width:100%;">
289 </p><!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 2px <?php echo $colors['6']; ?>;font-size:1px;margin:0px auto;width:550px;" role="presentation" width="550px" ><tr><td style="height:0;line-height:0;"> &nbsp;
290 </td></tr></table><![endif]-->
291 </td>
292 </tr>
293 </tbody>
294 </table>
295 </div><!--[if mso | IE]></td></tr></table><![endif]-->
296 </td>
297 </tr>
298 </tbody>
299 </table>
300 </div><!--[if mso | IE]></td></tr></table><![endif]--> <?php for($x = 0; $x < count($stats); $x++) :
301 $stat = $stats[$x];
302 if ($x % 2 == 0) : ?>
303 <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#ffffff" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
304 <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;">
305 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
306 style="background:#ffffff;background-color:#ffffff;width:100%;">
307 <tbody>
308 <tr>
309 <td style="direction:ltr;font-size:0px;padding:12px 12px 0 12px;text-align:center;">
310 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><![endif]-->
311 <?php endif;?>
312 <!--[if mso | IE]><td class="" style="vertical-align:top;width:288px;" ><![endif]-->
313 <div class="mj-column-per-50 mj-outlook-group-fix"
314 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
315 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
316 width="100%">
317 <tbody>
318 <tr>
319 <td style="vertical-align:top;padding:6px;">
320 <table border="0" cellpadding="0" cellspacing="0"
321 role="presentation" width="100%">
322 <tbody>
323 <tr>
324 <td align="left" class="quick-stat-title"
325 style="font-size:0px;padding:10px 25px;word-break:break-word;">
326 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="15px" style="vertical-align:top;height:15px;"><![endif]-->
327 <div
328 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:14px;line-height:1;text-align:left;color:#000000;height:15px;">
329 <mj-raw><?php echo esc_html($stat->name()); ?></mj-raw></div>
330 <!--[if mso | IE]></td></tr></table><![endif]-->
331 </td>
332 </tr>
333 <tr>
334 <td align="left" class="quick-stat-value"
335 style="font-size:0px;padding:12px 24px 11px;word-break:break-word;">
336 <div
337 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:24px;line-height:1;text-align:left;color:#000000;">
338 <mj-raw><?php echo wp_kses($stat->formatted_value(), ['span' => []]); ?></mj-raw></div>
339 </td>
340 </tr> <?php
341 if ($stat->growth_html_class() == 'bad' || $stat->growth_html_class() == 'down bad' ) :
342 ?> <tr>
343 <td align="left"
344 style="font-size:0px;padding:0 24px 12px;word-break:break-word;">
345 <div
346 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:16px;line-height:1;text-align:left;color:#D93B29;">
347 <mj-raw><?php echo $stat->growth(); ?>%</mj-raw></div>
348 </td>
349 </tr> <?php else : ?> <tr>
350 <td align="left"
351 style="font-size:0px;padding:0 24px 12px;word-break:break-word;">
352 <div
353 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:16px;line-height:1;text-align:left;color:#36B366;">
354 <mj-raw><?php echo $stat->growth(); ?>%</mj-raw></div>
355 </td>
356 </tr> <?php endif; ?>
357 </tbody>
358 </table>
359 </td>
360 </tr>
361 </tbody>
362 </table>
363 </div><!--[if mso | IE]></td><![endif]--> <?php if ($x % 2 != 0 || $x == count($stats) - 1) : ?>
364 <!--[if mso | IE]></tr></table><![endif]-->
365 </td>
366 </tr>
367 </tbody>
368 </table>
369 </div><!--[if mso | IE]></td></tr></table><![endif]--> <?php endif; ?><?php endfor; ?>
370 <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#ffffff" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
371 <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;">
372 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
373 style="background:#ffffff;background-color:#ffffff;width:100%;">
374 <tbody>
375 <tr>
376 <td style="direction:ltr;font-size:0px;padding:6px 0 6px 0;text-align:center;">
377 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
378 <div class="mj-column-per-100 mj-outlook-group-fix"
379 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
380 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
381 style="vertical-align:top;" width="100%">
382 <tbody>
383 <tr>
384 <td align="left"
385 style="font-size:0px;padding:10px 25px;word-break:break-word;">
386 <div
387 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:21px;font-weight:700;line-height:1;text-align:left;color:#000000;">
388 <mj-raw><?php echo esc_html($chart_title); ?></mj-raw></div>
389 </td>
390 </tr>
391 <tr>
392 <td align="center" class="heading-divider"
393 style="font-size:0px;padding:10px 25px;word-break:break-word;">
394 <p
395 style="border-top:solid 2px <?php echo $colors['6']; ?>;font-size:1px;margin:0px auto;width:100%;">
396 </p><!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 2px <?php echo $colors['6']; ?>;font-size:1px;margin:0px auto;width:550px;" role="presentation" width="550px" ><tr><td style="height:0;line-height:0;"> &nbsp;
397 </td></tr></table><![endif]-->
398 </td>
399 </tr>
400 </tbody>
401 </table>
402 </div><!--[if mso | IE]></td></tr></table><![endif]-->
403 </td>
404 </tr>
405 </tbody>
406 </table>
407 </div>
408 <!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#ffffff" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
409 <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;">
410 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
411 style="background:#ffffff;background-color:#ffffff;width:100%;">
412 <tbody>
413 <tr>
414 <td style="direction:ltr;font-size:0px;padding:12px 0 12px;text-align:center;">
415 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="width:600px;" ><![endif]-->
416 <div class="mj-column-per-100 mj-outlook-group-fix"
417 style="font-size:0;line-height:0;text-align:left;display:inline-block;width:100%;direction:ltr;">
418 <!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation" ><tr><td style="vertical-align:top;width:60px;" ><![endif]-->
419 <div class="mj-column-per-10 mj-outlook-group-fix y-axis"
420 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:10%;">
421 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
422 width="100%">
423 <tbody>
424 <tr>
425 <td
426 style="border-right:solid 2px #ECE9F2;vertical-align:top;padding:0;">
427 <table border="0" cellpadding="0" cellspacing="0"
428 role="presentation" width="100%">
429 <tbody>
430 <tr>
431 <td align="left"
432 style="font-size:0px;padding:0 6px 20px 0;word-break:break-word;">
433 <table cellpadding="0" cellspacing="0"
434 width="100%" border="0"
435 style="color:#000000;font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
436 <tr align="right" height="67px"
437 style="height: 67px">
438 <td
439 style="vertical-align: top; line-height: 1;">
440 <mj-raw><?php echo esc_html($y_labels['0']); ?></mj-raw>
441 </td>
442 </tr>
443 <tr align="right" height="67px"
444 style="height: 67px">
445 <td><mj-raw><?php echo esc_html($y_labels['1']); ?></mj-raw>
446 </td>
447 </tr>
448 <tr align="right" height="67px"
449 vertical-align="bottom"
450 style="height: 67px">
451 <td
452 style="vertical-align: bottom; line-height: 1;">
453 <span
454 vertical-align="bottom"><mj-raw><?php echo esc_html($y_labels['2']); ?></mj-raw></span>
455 </td>
456 </tr>
457 </table>
458 </td>
459 </tr>
460 </tbody>
461 </table>
462 </td>
463 </tr>
464 </tbody>
465 </table>
466 </div><!--[if mso | IE]></td><td style="vertical-align:top;width:540px;" ><![endif]-->
467 <div class="mj-column-per-90 mj-outlook-group-fix chart-container"
468 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:90%;">
469 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
470 width="100%">
471 <tbody>
472 <tr>
473 <td style="vertical-align:top;padding:0;">
474 <table border="0" cellpadding="0" cellspacing="0"
475 role="presentation" width="100%">
476 <tbody>
477 <tr>
478 <td align="left"
479 style="font-size:0px;padding:0 24px 16px 8px;word-break:break-word;">
480 <table cellpadding="0" cellspacing="0"
481 width="100%" border="0"
482 style="color:#000000;font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
483 <tr class="bar-chart-row" height="200"
484 style="height: 200px; position:">
485 <?php
486 for ($x = 0; $x < count($chart_views); $x++) :
487 if (count($chart_views) == 24) {
488 $color = ($x + 6) % 6 == 0 ? $colors['5'] : $colors['4'];
489 } elseif (count($chart_views) == 7) {
490 $color = $x%2 == 0 ? $colors['4'] : $colors['5'];
491 } else {
492 $color = ($x + 5) % 5 == 0 ? $colors['5'] : $colors['4'];
493 }
494 if ($chart_views[$x] == 0) {
495 $height = 0;
496 } else {
497 $height = round(($chart_views[$x]/$most_views) * 200);
498 } ?> <td height="200"
499 style="height: 200px; padding: 2px; vertical-align: bottom;">
500 <!--[if mso]><?php echo '<table height="200"><tr><td height="' . esc_attr($height) . '" style="background-color: ' . esc_attr($color) . '; height: ' . esc_attr($height) . 'px; width: 100%; color: ' . esc_attr($color) . '">A</td></tr></table>'; ?><![endif]-->
501 <?php
502 echo '<div height="' . esc_attr($height) . '" style="background-color: ' . esc_attr($color) . '; height: ' . esc_attr($height) . 'px; width: 100%"></div>';
503 ?> <span
504 style="display: none; white-space: nowrap; width: 0; height: 0; line-height: 1.45; font-size: 12px;">
505 <?php echo number_format_i18n($chart_views[$x], 0); ?> </span></td>
506 <?php endfor; ?> </tr>
507 </table>
508 </td>
509 </tr>
510 <tr>
511 <td align="center" class="chart-border"
512 style="font-size:0px;padding:0 24px 0 0;word-break:break-word;">
513 <p
514 style="border-top:solid 2px #ECE9F2;font-size:1px;margin:0px auto;width:100%;">
515 </p><!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 2px #ECE9F2;font-size:1px;margin:0px auto;width:516px;" role="presentation" width="516px" ><tr><td style="height:0;line-height:0;"> &nbsp;
516 </td></tr></table><![endif]-->
517 </td>
518 </tr>
519 <tr>
520 <td align="left"
521 style="font-size:0px;padding:2px 24px 0 4px;word-break:break-word;">
522 <table cellpadding="0" cellspacing="0"
523 width="100%" border="0"
524 style="color:#000000;font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
525 <tr><mj-raw><?php foreach ($x_labels as $date) : ?></mj-raw>
526 <td style="width: <?php echo 100 / count($x_labels); ?>%;"
527 class="chart-date-label">
528 <mj-raw><?php echo esc_html($date); ?></mj-raw>
529 </td><mj-raw><?php endforeach; ?></mj-raw>
530 </tr>
531 </table>
532 </td>
533 </tr>
534 </tbody>
535 </table>
536 </td>
537 </tr>
538 </tbody>
539 </table>
540 </div><!--[if mso | IE]></td></tr></table><![endif]-->
541 </div><!--[if mso | IE]></td></tr></table><![endif]-->
542 </td>
543 </tr>
544 </tbody>
545 </table>
546 </div>
547 <!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#ffffff" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
548 <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;">
549 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
550 style="background:#ffffff;background-color:#ffffff;width:100%;">
551 <tbody>
552 <tr>
553 <td style="direction:ltr;font-size:0px;padding:12px 0 0 0;text-align:center;">
554 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]-->
555 <div class="mj-column-per-100 mj-outlook-group-fix"
556 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
557 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
558 style="vertical-align:top;" width="100%">
559 <tbody>
560 <tr>
561 <td align="left"
562 style="font-size:0px;padding:10px 25px;word-break:break-word;">
563 <div
564 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:21px;font-weight:700;line-height:1;text-align:left;color:#000000;">
565 <mj-raw><?php esc_html_e("Top 10's", 'independent-analytics'); ?></mj-raw></div>
566 </td>
567 </tr>
568 <tr>
569 <td align="center" class="heading-divider"
570 style="font-size:0px;padding:10px 25px;word-break:break-word;">
571 <p
572 style="border-top:solid 2px <?php echo $colors['6']; ?>;font-size:1px;margin:0px auto;width:100%;">
573 </p><!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 2px <?php echo $colors['6']; ?>;font-size:1px;margin:0px auto;width:550px;" role="presentation" width="550px" ><tr><td style="height:0;line-height:0;"> &nbsp;
574 </td></tr></table><![endif]-->
575 </td>
576 </tr>
577 </tbody>
578 </table>
579 </div><!--[if mso | IE]></td></tr></table><![endif]-->
580 </td>
581 </tr>
582 </tbody>
583 </table>
584 </div><!--[if mso | IE]></td></tr></table><![endif]--> <?php
585 $x = 0;
586 foreach($top_ten as $type) :
587 if ($x % 2 == 0) : ?>
588 <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#ffffff" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
589 <div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;">
590 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
591 style="background:#ffffff;background-color:#ffffff;width:100%;">
592 <tbody>
593 <tr>
594 <td
595 style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;padding-top:6px;text-align:center;">
596 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><![endif]-->
597 <?php endif;?>
598 <!--[if mso | IE]><td class="" style="vertical-align:top;width:300px;" ><![endif]-->
599 <div class="mj-column-per-50 mj-outlook-group-fix"
600 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
601 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
602 style="vertical-align:top;" width="100%">
603 <tbody>
604 <tr>
605 <td align="left" class="top-ten-table"
606 style="font-size:0px;padding:10px 25px;word-break:break-word;">
607 <table cellpadding="0" cellspacing="0" width="100%" border="0"
608 style="color:#000000;font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:13px;line-height:22px;table-layout:auto;width:100%;border:none;">
609 <tr class="table-heading">
610 <th align="left"><?php echo $type['title']; ?></th>
611 <th align="right"><mj-raw><?php
612 if ($type['title'] == 'Link Patterns') {
613 esc_html_e('Clicks', 'independent-analytics');
614 } elseif ($type['title'] == 'Forms') {
615 esc_html_e('Submissions', 'independent-analytics');
616 } elseif ($type['title'] == 'Landing Pages') {
617 esc_html_e('Entrances', 'independent-analytics');
618 } elseif ($type['title'] == 'Exit Pages') {
619 esc_html_e('Exits', 'independent-analytics');
620 } else {
621 esc_html_e('Views', 'independent-analytics');
622 }
623 ?></mj-raw></th>
624 </tr><mj-raw><?php foreach ($type['rows'] as $row) : ?></mj-raw>
625 <tr>
626 <td class="name"><mj-raw><?php echo esc_html($row['title']); ?></mj-raw></td>
627 <td align="right"><mj-raw><?php echo esc_html(number_format_i18n($row['views'])); ?></mj-raw></td>
628 </tr><mj-raw><?php endforeach; ?></mj-raw>
629 </table>
630 </td>
631 </tr>
632 </tbody>
633 </table>
634 </div><!--[if mso | IE]></td><![endif]--> <?php if ($x % 2 != 0 || $x == count($top_ten) - 1) : ?>
635 <!--[if mso | IE]><td class="" style="vertical-align:top;width:300px;" ><![endif]-->
636 <div class="mj-column-per-50 mj-outlook-group-fix"
637 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
638 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
639 style="vertical-align:top;" width="100%">
640 <tbody></tbody>
641 </table>
642 </div><!--[if mso | IE]></td></tr></table><![endif]-->
643 </td>
644 </tr>
645 </tbody>
646 </table>
647 </div><!--[if mso | IE]></td></tr></table><![endif]--> <?php endif; ?><?php
648 $x++;
649 endforeach; ?>
650 <!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="footer-outlook" role="presentation" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
651 <div class="footer" style="margin:0px auto;max-width:600px;">
652 <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
653 style="width:100%;">
654 <tbody>
655 <tr>
656 <td style="direction:ltr;font-size:0px;padding:12px;text-align:center;">
657 <!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:576px;" ><![endif]-->
658 <div class="mj-column-per-100 mj-outlook-group-fix"
659 style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
660 <table border="0" cellpadding="0" cellspacing="0" role="presentation"
661 style="vertical-align:top;" width="100%">
662 <tbody>
663 <tr>
664 <td align="center"
665 style="font-size:0px;padding:10px 25px;word-break:break-word;">
666 <div
667 style="font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;font-size:13px;line-height:1.5;text-align:center;color:#000000;">
668 <mj-raw><?php
669 echo esc_html($footer_text);
670 ?></mj-raw></div>
671 </td>
672 </tr>
673 </tbody>
674 </table>
675 </div><!--[if mso | IE]></td></tr></table><![endif]-->
676 </td>
677 </tr>
678 </tbody>
679 </table>
680 </div><!--[if mso | IE]></td></tr></table><![endif]-->
681 </div>
682 </body>
683
684 </html>
685