PluginProbe ʕ •ᴥ•ʔ
Security Optimizer – The All-In-One Protection Plugin / 1.6.2
Security Optimizer – The All-In-One Protection Plugin v1.6.2
1.6.2 1.6.1 trunk 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0
sg-security / templates / weekly_report.php
sg-security / templates Last commit date
partials 4 weeks ago 2fa-initial-setup-form.php 4 weeks ago 2fa-login-backup-code.php 4 weeks ago 2fa-login.php 4 weeks ago backup-code-used.php 4 weeks ago backup-codes.php 4 weeks ago directory-hardening.tpl 4 weeks ago error.php 4 weeks ago weekly_report.php 4 weeks ago whitelist-file.tpl 4 weeks ago xml-rpc.tpl 4 weeks ago xss-headers.tpl 4 weeks ago
weekly_report.php
161 lines
1 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"
2 xmlns:v="urn:schemas-microsoft-com:vml"
3 xmlns:o="urn:schemas-microsoft-com:office:office">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6 <!--[if !mso]><!-->
7 <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
8 <!--<![endif]-->
9 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
10 <meta name="color-scheme" content="light dark"/>
11 <meta name="supported-color-schemes" content="light dark"/>
12 <meta name="description" content="SiteGround Newsletter"/>
13 <title>Security Optimizer by SiteGround</title>
14 <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600|Roboto:400,700" rel="stylesheet"/>
15 <style type="text/css">
16 :root {
17 color-scheme: light dark;
18 supported-color-schemes: light dark;
19 }
20 body { margin: 0; padding: 0; width: 100% !important; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
21 img { max-width: 100%;outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; display: block !important; border: none;}
22 #backgroundTable { margin: 0; padding: 10px 10px 10px 10px; width: 100% !important; line-height: 100%;}
23 @media screen and (max-width: 480px), screen and (max-device-width: 480px) {
24 .flex, [class=flex] { width: 94% !important; }
25 .dblock, [class=dblock] { display: block !important; width: 100% !important; max-width: 100%; padding: 0 !important; max-height: none !important; }
26
27 #backgroundTable { padding: 10px 0 10px 0px;}
28 a { word-break: break-word;}
29 }
30 @media (prefers-color-scheme: dark) {
31 .dark-img {display:block !important; width: auto !important; overflow: visible !important; float: none !important; max-height:inherit !important; max-width:inherit !important; line-height: auto !important; margin-top:0px !important; visibility:inherit !important; }
32 .light-img { display:none !important; }
33 #backgroundTable, body { background: #363636 !important;}
34 .body-text, h1, h2, p, span, strong, em, b { color: #f2f2f2 !important; }
35 .infobox { background: #666666 !important;}
36 .datatable td, .datatable th{background: #363636 !important;}
37 a{ color: #3adcf7 !important; }
38 [data-ogsc] .dark-img { display:block !important; width: auto !important; overflow: visible !important; float: none !important; max-height:inherit !important; max-width:inherit !important; line-height: auto !important; margin-top:0px !important; visibility:inherit !important; }
39 [data-ogsc] .light-img { display:none !important; }
40 [data-ogsb] #backgroundTable, body { background: #363636 !important;}
41 [data-ogsc] .body-text, h1, h2, p, span, strong, em, b { color: #f2f2f2 !important; }
42 [data-ogsb] .infobox { background: #666666 !important;}
43 [data-ogsb] .datatable td, .datatable th{background: #363636 !important;}
44 [data-ogsc] a{ color: #3adcf7 !important; }
45 }
46 </style>
47 <!--Fallback For Outlook -->
48 <!--[if mso]>
49 <style type=”text/css”>
50 .body-text {
51 font-family: Arial, sans-serif !important;
52 }
53 </style>
54 <![endif]-->
55 <!--MS Outlook 120 DPI fix-->
56 <!--[if gte mso 9]>
57 <xml>
58 <o:OfficeDocumentSettings>
59 <o:AllowPNG/>
60 <o:PixelsPerInch>96</o:PixelsPerInch>
61 </o:OfficeDocumentSettings>
62 </xml>
63 <![endif]-->
64 </head>
65 <body style="margin: 0; padding: 0;">
66 <table border="0" cellpadding="0" cellspacing="0" width="100%" id="backgroundTable" style="background: #ffffff;">
67 <tr>
68 <td>
69 <!-- Main Container -->
70 <table class="flex" align="center" border="0" cellpadding="0" cellspacing="0" width="600"
71 style="border-collapse: collapse; font-family: 'Open Sans', Arial, Helvetica, sans-serif;">
72
73
74 <tr>
75 <td style="padding: 30px 0 30px 0;">
76 <img
77 src="<?php echo esc_url( $args['email_image'] ); ?>"
78 width="600" alt="SiteGround Security Optimizer weekly report"
79 style="max-height: 300px;"/>
80 </td>
81 </tr>
82 <tr>
83 <td class="body-text"
84 style="color: #363636; font-weight: 700; font-family: 'Roboto', Arial, Helvetica, sans-serif; font-size: 26px; line-height: 38px; padding: 0 0 25px 0"><?php esc_html_e( 'Hey there,', 'sg-security' ); ?>
85 </td>
86 </tr>
87 <?php
88 include_once( $args['intro_path'] );
89 ?>
90 <tr>
91 <td class="body-text"
92 style="color: #363636; font-weight: 700; font-family: 'Roboto', Arial, Helvetica, sans-serif; font-size: 20px; line-height: 30px; padding: 0 0 20px 0"><?php esc_html_e( 'Traffic summary for ', 'sg-security' ); echo esc_html( $args['start_time'] ); ?> - <?php echo esc_html( $args['end_time'] ); ?>
93 </td>
94 </tr>
95 <tr>
96 <td style="padding: 0 0 30px 0;">
97 <table class="infobox" border="0" cellpadding="0" cellspacing="0" width="100%"
98 bgcolor="#ececec">
99 <tr>
100 <td style="padding: 30px 30px 30px 30px;">
101 <table border="0" cellpadding="0" cellspacing="0" width="100%">
102 <tr>
103 <td valign="top" align="center" class="body-text" style="width:50%; padding: 0 0 30px 0;">
104 <div class="body-text" style="color: #363636; font-weight: 700; font-family: 'Roboto', Arial, Helvetica, sans-serif; font-size: 26px; line-height: 38px; padding: 0 15px; text-align: center"><?php echo esc_html( $args['total_human'] ); ?></div>
105 <div class="body-text" style="color: #444444; font-weight: 400; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; padding: 0 15px; text-align: center; display: block">
106 <?php esc_html_e( 'Human traffic', 'sg-security' ); ?>
107 </div>
108 </td>
109 <td valign="top" align="center" class="body-text" style="width:50%; padding: 0 0 30px 0;">
110 <div class="body-text" style="color: #363636; font-weight: 700; font-family: 'Roboto', Arial, Helvetica, sans-serif; font-size: 26px; line-height: 38px; padding: 0 15px; text-align: center"><?php echo esc_html( $args['total_bots'] ); ?></div>
111 <div class="body-text" style="color: #444444; font-weight: 400; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; padding: 0 15px; text-align: center; display: block">
112 <?php esc_html_e( 'Bot traffic', 'sg-security' ); ?>
113 </div>
114 </td>
115 </tr>
116 <tr>
117 <td valign="top" align="center" class="body-text" style="width:50%;">
118 <div class="body-text" style="color: #363636; font-weight: 700; font-family: 'Roboto', Arial, Helvetica, sans-serif; font-size: 26px; line-height: 38px; padding: 0 15px; text-align: center"><?php echo esc_html( $args['total_blocked_login'] ); ?></div>
119 <div class="body-text" style="color: #444444; font-weight: 400; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; padding: 0 15px; text-align: center; display: block">
120 <?php esc_html_e( 'Blocked login attempts', 'sg-security' ); ?>
121 </div>
122 </td>
123 <td valign="top" align="center" class="body-text" style="width:50%;">
124 <div class="body-text" style="color: #363636; font-weight: 700; font-family: 'Roboto', Arial, Helvetica, sans-serif; font-size: 26px; line-height: 38px; padding: 0 15px; text-align: center"><?php echo esc_html( $args['total_blocked_visits'] ); ?></div>
125 <div class="body-text" style="color: #444444; font-weight: 400; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 26px; padding: 0 15px; text-align: center; display: block">
126 <?php esc_html_e( 'Blocked visit attempts', 'sg-security' ); ?>
127 </div>
128 </td>
129 </tr>
130 </table>
131 </td>
132 </tr>
133 </table>
134 </td>
135 </tr>
136 <?php
137 include_once( $args['learn_more_path'] );
138 ?>
139 <?php if (
140 0 === $args['is_siteground'] &&
141 1 === $args['agreed_email_consent']
142 ) {
143 include_once( \SG_Security\DIR . '/templates/partials/weekly_report_non_sg.php' );
144 } ?>
145 <tr>
146 <td class="body-text"
147 style="color: #a4a4a4; font-weight: 400; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 13px; line-height: 20px; padding: 0px 0 25px 0">
148 <?php echo esc_html( $args['unsubscribe']['text'] ); ?><a href="<?php echo esc_url( $args['activity_log_link'] ); ?>" target="_blank" rel="noreferrer" style="color: #22b8d1; text-decoration: none;"><?php echo esc_html( $args['unsubscribe']['button'] ); ?></a>.
149 </td>
150 </tr>
151
152 </table>
153
154 <!-- End Main Container -->
155 </td>
156 </tr>
157 </table>
158
159 </body>
160 </html>
161