PluginProbe ʕ •ᴥ•ʔ
Independent Analytics – WordPress Analytics Plugin / 2.7.2
Independent Analytics – WordPress Analytics Plugin v2.7.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 2 years ago
email.blade.php
129 lines
1 <!doctype html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><title><mj-raw><?php echo esc_html__('Website Analytics Report', 'independent-analytics') . ' ' . $date; ?></mj-raw></title><!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><style type="text/css">#outlook a { padding:0; }
2 body { margin:0;padding:0;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%; }
3 table, td { border-collapse:collapse;mso-table-lspace:0pt;mso-table-rspace:0pt; }
4 img { border:0;height:auto;line-height:100%; outline:none;text-decoration:none;-ms-interpolation-mode:bicubic; }
5 p { display:block;margin:13px 0; }</style><!--[if mso]>
6 <noscript>
7 <xml>
8 <o:OfficeDocumentSettings>
9 <o:AllowPNG/>
10 <o:PixelsPerInch>96</o:PixelsPerInch>
11 </o:OfficeDocumentSettings>
12 </xml>
13 </noscript>
14 <![endif]--><!--[if lte mso 11]>
15 <style type="text/css">
16 .mj-outlook-group-fix { width:100% !important; }
17 </style>
18 <![endif]--><!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" type="text/css"><link href="https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700" rel="stylesheet" type="text/css"><style type="text/css">@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,500,700);
19 @import url(https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700);</style><!--<![endif]--><style type="text/css">@media only screen and (min-width:480px) {
20 .mj-column-per-100 { width:100% !important; max-width: 100%; }
21 .mj-column-per-50 { width:50% !important; max-width: 50%; }
22 .mj-column-per-10 { width:10% !important; max-width: 10%; }
23 .mj-column-per-90 { width:90% !important; max-width: 90%; }
24 }</style><style media="screen and (min-width:480px)">.moz-text-html .mj-column-per-100 { width:100% !important; max-width: 100%; }
25 .moz-text-html .mj-column-per-50 { width:50% !important; max-width: 50%; }
26 .moz-text-html .mj-column-per-10 { width:10% !important; max-width: 10%; }
27 .moz-text-html .mj-column-per-90 { width:90% !important; max-width: 90%; }</style><style type="text/css"></style><style type="text/css">.header-top-container,
28 .header-top-container-outlook {
29 background-color: <?php echo $colors['0']; ?> !important;
30 }
31 .header-bottom-container,
32 .header-bottom-container-outlook {
33 background-color: <?php echo $colors['2']; ?> !important;
34 }
35 .quick-stat-title {
36 background-color: <?php echo $colors['7']; ?> !important;
37 }
38 .quick-stat-value a {
39 color: #000 !important;
40 text-decoration: none !important;
41 }
42 .bar-chart-row td:hover div {
43 background-color: #19053C !important;
44 }
45 .bar-chart-row td:hover span {
46 display: block !important;
47 }
48 .top-ten-table td {
49 font-size: 12px;
50 }
51 .top-ten-table .table-heading {
52 line-height: 2;
53 }
54 .top-ten-table .name {
55 max-width: 130px;
56 overflow: hidden;
57 white-space: nowrap;
58 line-height: 1.8;
59 }
60 .top-ten-table a {
61 color: #000 !important;
62 text-decoration: none !important;
63 }
64 .y-axis {
65 width: 10% !important;
66 width: calc(50px + 0) !important;
67 }
68 .chart-container {
69 width: 90% !important;
70 width: calc(100% - 50px) !important;
71 }
72 .heading-divider,
73 .heading-divider p,
74 .y-axis,
75 .y-axis td,
76 .chart-border,
77 .chart-border p {
78 border-color: <?php echo $colors['6']; ?> !important;
79 }
80 .body-container {
81 background-color: <?php echo $colors['8']; ?>;
82 }
83 .footer,
84 .footer-outlook {
85 background-color: <?php echo $colors['9']; ?> !important;
86 }
87 @media all and (max-width: 599px) {
88 .chart-date-label {
89 font-size: 12px;
90 }
91 }</style></head><body style="word-spacing:normal;"><div class="body-container"><!--[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]--><div class="header-top-container" style="margin:0px auto;max-width:600px;"><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]--><div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"><tbody><tr><td align="center" class="site-title-text" style="font-size:0px;padding:0 0 8px 0;word-break:break-word;"><div 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']; ?>;"><?php echo esc_html($site_title); ?></div></td></tr><tr><td align="center" class="sub-title-text" style="font-size:0px;padding:0;word-break:break-word;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="18px" style="vertical-align:top;height:18px;"><![endif]--><div 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;"><?php esc_html_e('Website performance report', 'independent-analytics'); ?></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table></div><!--[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]--><div class="header-bottom-container" style="margin:0px auto;max-width:600px;"><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:0;text-align:center;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]--><div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"><tbody><tr><td align="center" class="date-title-text" style="font-size:0px;padding:6px 0 0 0;word-break:break-word;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="32px" style="vertical-align:top;height:32px;"><![endif]--><div 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;"><?php echo esc_html($date); ?></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table></div><!--[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]--><div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:12px 0 0 0;text-align:center;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]--><div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"><tbody><tr><td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"><div 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;"><mj-raw><?php esc_html_e('Performance Overview', 'independent-analytics'); ?></mj-raw></div></td></tr><tr><td align="center" class="heading-divider" style="font-size:0px;padding:10px 25px;word-break:break-word;"><p style="border-top:solid 2px <?php echo $colors['6']; ?>;font-size:1px;margin:0px auto;width:100%;"></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;
92 </td></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--> <?php for($x = 0; $x < count($stats); $x++) :
93 $stat = $stats[$x];
94 if ($x % 2 == 0) : ?> <!--[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]--><div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:12px 12px 0 12px;text-align:center;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><![endif]--> <?php endif;?> <!--[if mso | IE]><td class="" style="vertical-align:top;width:288px;" ><![endif]--><div class="mj-column-per-50 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"><tbody><tr><td style="vertical-align:top;padding:6px;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"><tbody><tr><td align="left" class="quick-stat-title" style="font-size:0px;padding:10px 25px;word-break:break-word;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="15px" style="vertical-align:top;height:15px;"><![endif]--><div 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;"><mj-raw><?php echo esc_html($stat->name()); ?></mj-raw></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr><tr><td align="left" class="quick-stat-value" style="font-size:0px;padding:12px 24px 11px;word-break:break-word;"><div 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;"><mj-raw><?php echo wp_kses($stat->formatted_value(), ['span' => []]); ?></mj-raw></div></td></tr> <?php
95 if ($stat->growth_html_class() == 'bad' || $stat->growth_html_class() == 'down bad' ) :
96 ?> <tr><td align="left" style="font-size:0px;padding:0 24px 12px;word-break:break-word;"><div 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;"><mj-raw><?php echo $stat->growth(); ?>%</mj-raw></div></td></tr> <?php else : ?> <tr><td align="left" style="font-size:0px;padding:0 24px 12px;word-break:break-word;"><div 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;"><mj-raw><?php echo $stat->growth(); ?>%</mj-raw></div></td></tr> <?php endif; ?> </tbody></table></td></tr></tbody></table></div><!--[if mso | IE]></td><![endif]--> <?php if ($x % 2 != 0 || $x == count($stats) - 1) : ?> <!--[if mso | IE]></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--> <?php endif; ?><?php endfor; ?> <!--[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]--><div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:6px 0 6px 0;text-align:center;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]--><div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"><tbody><tr><td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"><div 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;"><mj-raw><?php echo esc_html($chart_title); ?></mj-raw></div></td></tr><tr><td align="center" class="heading-divider" style="font-size:0px;padding:10px 25px;word-break:break-word;"><p style="border-top:solid 2px <?php echo $colors['6']; ?>;font-size:1px;margin:0px auto;width:100%;"></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;
97 </td></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table></div><!--[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]--><div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:12px 0 12px;text-align:center;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="width:600px;" ><![endif]--><div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0;line-height:0;text-align:left;display:inline-block;width:100%;direction:ltr;"><!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation" ><tr><td style="vertical-align:top;width:60px;" ><![endif]--><div class="mj-column-per-10 mj-outlook-group-fix y-axis" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:10%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"><tbody><tr><td style="border-right:solid 2px #ECE9F2;vertical-align:top;padding:0;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"><tbody><tr><td align="left" style="font-size:0px;padding:0 6px 20px 0;word-break:break-word;"><table cellpadding="0" cellspacing="0" width="100%" border="0" 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;"><tr align="right" height="67px" style="height: 67px"><td style="vertical-align: top; line-height: 1;"><mj-raw><?php echo esc_html($y_labels['0']) ?></mj-raw></td></tr><tr align="right" height="67px" style="height: 67px"><td><mj-raw><?php echo esc_html($y_labels['1']) ?></mj-raw></td></tr><tr align="right" height="67px" vertical-align="bottom" style="height: 67px"><td style="vertical-align: bottom; line-height: 1;"><span vertical-align="bottom"><mj-raw><?php echo esc_html($y_labels['2']) ?></mj-raw></span></td></tr></table></td></tr></tbody></table></td></tr></tbody></table></div><!--[if mso | IE]></td><td style="vertical-align:top;width:540px;" ><![endif]--><div class="mj-column-per-90 mj-outlook-group-fix chart-container" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:90%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"><tbody><tr><td style="vertical-align:top;padding:0;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%"><tbody><tr><td align="left" style="font-size:0px;padding:0 24px 16px 8px;word-break:break-word;"><table cellpadding="0" cellspacing="0" width="100%" border="0" 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;"><tr class="bar-chart-row" height="200" style="height: 200px; position:"> <?php
98 for ($x = 0; $x < count($chart_views); $x++) :
99 if (count($chart_views) == 24) {
100 $color = ($x + 6) % 6 == 0 ? $colors['5'] : $colors['4'];
101 } elseif (count($chart_views) == 7) {
102 $color = $x%2 == 0 ? $colors['4'] : $colors['5'];
103 } else {
104 $color = ($x + 5) % 5 == 0 ? $colors['5'] : $colors['4'];
105 }
106 if ($chart_views[$x] == 0) {
107 $height = 0;
108 } else {
109 $height = round(($chart_views[$x]/$most_views) * 200);
110 } ?> <td height="200" style="height: 200px; padding: 2px; vertical-align: bottom;"><!--[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]--> <?php
111 echo '<div height="'. esc_attr($height) .'" style="background-color: '. esc_attr($color) .'; height: '. esc_attr($height) .'px; width: 100%"></div>';
112 ?> <span style="display: none; white-space: nowrap; width: 0; height: 0; line-height: 1.45; font-size: 12px;"> <?php echo number_format_i18n($chart_views[$x], 0); ?> </span></td> <?php endfor; ?> </tr></table></td></tr><tr><td align="center" class="chart-border" style="font-size:0px;padding:0 24px 0 0;word-break:break-word;"><p style="border-top:solid 2px #ECE9F2;font-size:1px;margin:0px auto;width:100%;"></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;
113 </td></tr></table><![endif]--></td></tr><tr><td align="left" style="font-size:0px;padding:2px 24px 0 4px;word-break:break-word;"><table cellpadding="0" cellspacing="0" width="100%" border="0" 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;"><tr><mj-raw><?php foreach ($x_labels as $date) : ?></mj-raw><td style="width: <?php echo 100/count($x_labels); ?>%;" class="chart-date-label"><mj-raw><?php echo esc_html($date); ?></mj-raw></td><mj-raw><?php endforeach; ?></mj-raw></tr></table></td></tr></tbody></table></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table></div><!--[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]--><div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:12px 0 0 0;text-align:center;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:600px;" ><![endif]--><div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"><tbody><tr><td align="left" style="font-size:0px;padding:10px 25px;word-break:break-word;"><div 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;"><mj-raw><?php esc_html_e("Top 10's", "independent-analytics"); ?></mj-raw></div></td></tr><tr><td align="center" class="heading-divider" style="font-size:0px;padding:10px 25px;word-break:break-word;"><p style="border-top:solid 2px <?php echo $colors['6']; ?>;font-size:1px;margin:0px auto;width:100%;"></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;
114 </td></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--> <?php
115 $x = 0;
116 foreach($top_ten as $type) :
117 if ($x % 2 == 0) : ?> <!--[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]--><div style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;"><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0;padding-top:6px;text-align:center;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><![endif]--> <?php endif;?> <!--[if mso | IE]><td class="" style="vertical-align:top;width:300px;" ><![endif]--><div class="mj-column-per-50 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"><tbody><tr><td align="left" class="top-ten-table" style="font-size:0px;padding:10px 25px;word-break:break-word;"><table cellpadding="0" cellspacing="0" width="100%" border="0" 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;"><tr class="table-heading"><th align="left"><?php echo $type['title']; ?></th><th align="right"><mj-raw><?php
118 if ($type == 'landing_pages') {
119 esc_html_e('Entrances', 'independent-analytics');
120 } elseif ($type == 'exit_pages') {
121 esc_html_e('Exits', 'independent-analytics');
122 } else {
123 esc_html_e('Views', 'independent-analytics');
124 }
125 ?></mj-raw></th></tr><mj-raw><?php foreach ($type['rows'] as $row) : ?></mj-raw><tr><td class="name"><mj-raw><?php echo esc_html($row['title']); ?></mj-raw></td><td align="right"><mj-raw><?php echo esc_html(number_format_i18n($row['views'])); ?></mj-raw></td></tr><mj-raw><?php endforeach; ?></mj-raw></table></td></tr></tbody></table></div><!--[if mso | IE]></td><![endif]--> <?php if ($x % 2 != 0 || $x == count($top_ten) - 1) : ?> <!--[if mso | IE]><td class="" style="vertical-align:top;width:300px;" ><![endif]--><div class="mj-column-per-50 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"><tbody></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--> <?php endif; ?><?php
126 $x++;
127 endforeach; ?> <!--[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]--><div class="footer" style="margin:0px auto;max-width:600px;"><table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;"><tbody><tr><td style="direction:ltr;font-size:0px;padding:12px;text-align:center;"><!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="vertical-align:top;width:576px;" ><![endif]--><div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;"><table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"><tbody><tr><td align="center" style="font-size:0px;padding:10px 25px;word-break:break-word;"><div 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;"><mj-raw><?php
128 printf(esc_html__('This email was generated and delivered by %s', 'independent-analytics'), $site_url);
129 ?></mj-raw></div></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--></td></tr></tbody></table></div><!--[if mso | IE]></td></tr></table><![endif]--></div></body></html>