| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template Name: Email stat block |
| 4 |
* |
| 5 |
* @package CartFlows |
| 6 |
*/ |
| 7 |
|
| 8 |
// Exit if accessed directly. |
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; |
| 11 |
} |
| 12 |
?> |
| 13 |
|
| 14 |
<table align="center" border="0" cellpadding="0" cellspacing="0" class="row row-4" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 15 |
<tbody> |
| 16 |
<tr> |
| 17 |
<td> |
| 18 |
<table align="center" border="0" cellpadding="0" cellspacing="0" class="row-content stack" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #000000; width: 600px;" width="600"> |
| 19 |
<tbody> |
| 20 |
<tr> |
| 21 |
<td class="column column-1" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; padding-top: 50px; padding-bottom: 20px; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="100%"> |
| 22 |
<table border="0" cellpadding="0" cellspacing="0" class="heading_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 23 |
<tr> |
| 24 |
<td style="text-align:center;width:100%;"> |
| 25 |
<h1 style="margin: 0; color: #1f2937; direction: ltr; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 28px; font-weight: 400; letter-spacing: normal; line-height: 120%; text-align: center; margin-top: 0; margin-bottom: 0;"> |
| 26 |
<?php echo esc_html__( 'Full Overview', 'cartflows' ); ?></h1> |
| 27 |
</td> |
| 28 |
</tr> |
| 29 |
</table> |
| 30 |
<table border="0" cellpadding="5" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%"> |
| 31 |
<tr> |
| 32 |
<td> |
| 33 |
<div style="font-family: sans-serif"> |
| 34 |
<div style="font-size: 14px; mso-line-height-alt: 16.8px; color: #393d47; line-height: 1.2; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;"> |
| 35 |
<p style="margin: 0; font-size: 14px; text-align: center;"> |
| 36 |
<span style="font-size:16px;"><?php echo esc_html( $from_date . ' - ' . $to_date ); ?> |
| 37 |
</span> |
| 38 |
</p> |
| 39 |
</div> |
| 40 |
</div> |
| 41 |
</td> |
| 42 |
</tr> |
| 43 |
</table> |
| 44 |
</td> |
| 45 |
</tr> |
| 46 |
</tbody> |
| 47 |
</table> |
| 48 |
</td> |
| 49 |
</tr> |
| 50 |
</tbody> |
| 51 |
</table> |
| 52 |
|
| 53 |
<?php |
| 54 |
|
| 55 |
if ( _is_cartflows_pro() ) { |
| 56 |
?> |
| 57 |
|
| 58 |
<table align="center" border="0" cellpadding="0" cellspacing="0" class="row row-5" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 59 |
<tbody> |
| 60 |
<tr> |
| 61 |
<td> |
| 62 |
<table align="center" border="0" cellpadding="0" cellspacing="0" class="row-content stack" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #000000; width: 600px;" width="600"> |
| 63 |
<tbody> |
| 64 |
<tr> |
| 65 |
<td class="column column-1" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="25%"> |
| 66 |
<table border="0" cellpadding="0" cellspacing="0" class="heading_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 67 |
<tr> |
| 68 |
<td style="text-align:center;width:100%;padding-top:5px;"> |
| 69 |
<h1 style="margin: 0; color: #1f2937; direction: ltr; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 30px; font-weight: 400; letter-spacing: normal; line-height: 120%; text-align: center; margin-top: 0; margin-bottom: 0;"> |
| 70 |
<?php echo esc_attr( $total_orders ); ?></h1> |
| 71 |
</td> |
| 72 |
</tr> |
| 73 |
</table> |
| 74 |
<table border="0" cellpadding="0" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%"> |
| 75 |
<tr> |
| 76 |
<td style="padding-bottom:70px;padding-left:10px;padding-right:10px;padding-top:10px;"> |
| 77 |
<div style="font-family: sans-serif"> |
| 78 |
<div style="font-size: 14px; mso-line-height-alt: 16.8px; color: #393d47; line-height: 1.2; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;"> |
| 79 |
<p style="margin: 0; font-size: 14px; text-align: center;"> |
| 80 |
<span style="font-size:16px;"> |
| 81 |
<?php |
| 82 |
echo esc_html__( |
| 83 |
'Order Placed', |
| 84 |
'cartflows' |
| 85 |
) |
| 86 |
?> |
| 87 |
</span> |
| 88 |
</p> |
| 89 |
</div> |
| 90 |
</div> |
| 91 |
</td> |
| 92 |
</tr> |
| 93 |
</table> |
| 94 |
</td> |
| 95 |
<td class="column column-2" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="16.666666666666668%"> |
| 96 |
<table border="0" cellpadding="0" cellspacing="0" class="heading_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 97 |
<tr> |
| 98 |
<td style="text-align:center;width:100%;padding-top:5px;"> |
| 99 |
<h1 style="margin: 0; color: #1f2937; direction: ltr; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 30px; font-weight: 400; letter-spacing: normal; line-height: 120%; text-align: center; margin-top: 0; margin-bottom: 0;"> |
| 100 |
<?php echo esc_attr( $total_visits ); ?></h1> |
| 101 |
</td> |
| 102 |
</tr> |
| 103 |
</table> |
| 104 |
<table border="0" cellpadding="0" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%"> |
| 105 |
<tr> |
| 106 |
<td style="padding-bottom:70px;padding-left:10px;padding-right:10px;padding-top:10px;"> |
| 107 |
<div style="font-family: sans-serif"> |
| 108 |
<div style="font-size: 14px; mso-line-height-alt: 16.8px; color: #393d47; line-height: 1.2; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;"> |
| 109 |
<p style="margin: 0; font-size: 14px; text-align: center;"> |
| 110 |
<span style="font-size:16px;"> |
| 111 |
<?php |
| 112 |
echo esc_html__( |
| 113 |
'Total Visits', |
| 114 |
'cartflows' |
| 115 |
) |
| 116 |
?> |
| 117 |
</span> |
| 118 |
</p> |
| 119 |
</div> |
| 120 |
</div> |
| 121 |
</td> |
| 122 |
</tr> |
| 123 |
</table> |
| 124 |
</td> |
| 125 |
<td class="column column-3" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="33.333333333333336%"> |
| 126 |
<table border="0" cellpadding="0" cellspacing="0" class="heading_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 127 |
<tr> |
| 128 |
<td style="text-align:center;width:100%;padding-top:5px;"> |
| 129 |
<h1 style="margin: 0; color: #1f2937; direction: ltr; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 30px; font-weight: 400; letter-spacing: normal; line-height: 120%; text-align: center; margin-top: 0; margin-bottom: 0;"> |
| 130 |
<?php echo wp_kses_post( $order_bump_revenue ); ?></h1> |
| 131 |
</td> |
| 132 |
</tr> |
| 133 |
</table> |
| 134 |
<table border="0" cellpadding="0" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%"> |
| 135 |
<tr> |
| 136 |
<td style="padding-bottom:70px;padding-left:10px;padding-right:10px;padding-top:10px;"> |
| 137 |
<div style="font-family: sans-serif"> |
| 138 |
<div style="font-size: 14px; mso-line-height-alt: 16.8px; color: #393d47; line-height: 1.2; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;"> |
| 139 |
<p dir="ltr" style="margin: 0; font-size: 14px; text-align: center; letter-spacing: normal;"> |
| 140 |
<span style="font-size:16px;"> |
| 141 |
<?php |
| 142 |
echo esc_html__( |
| 143 |
'Order Bumps Revenue', |
| 144 |
'cartflows' |
| 145 |
) |
| 146 |
?> |
| 147 |
</span> |
| 148 |
</p> |
| 149 |
</div> |
| 150 |
</div> |
| 151 |
</td> |
| 152 |
</tr> |
| 153 |
</table> |
| 154 |
</td> |
| 155 |
<td class="column column-4" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="25%"> |
| 156 |
<table border="0" cellpadding="0" cellspacing="0" class="heading_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 157 |
<tr> |
| 158 |
<td style="text-align:center;width:100%;padding-top:5px;"> |
| 159 |
<h1 style="margin: 0; color: #1f2937; direction: ltr; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 30px; font-weight: 400; letter-spacing: normal; line-height: 120%; text-align: center; margin-top: 0; margin-bottom: 0;"> |
| 160 |
<?php echo wp_kses_post( $offers_revenue ); ?></h1> |
| 161 |
</td> |
| 162 |
</tr> |
| 163 |
</table> |
| 164 |
<table border="0" cellpadding="0" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%"> |
| 165 |
<tr> |
| 166 |
<td style="padding-bottom:70px;padding-left:10px;padding-right:10px;padding-top:10px;"> |
| 167 |
<div style="font-family: sans-serif"> |
| 168 |
<div style="font-size: 14px; mso-line-height-alt: 16.8px; color: #393d47; line-height: 1.2; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;"> |
| 169 |
<p style="margin: 0; font-size: 14px; text-align: center;"> |
| 170 |
<span style="font-size:16px;"> |
| 171 |
<?php |
| 172 |
echo esc_html__( |
| 173 |
'Offers Revenue', |
| 174 |
'cartflows' |
| 175 |
) |
| 176 |
?> |
| 177 |
</span> |
| 178 |
</p> |
| 179 |
</div> |
| 180 |
</div> |
| 181 |
</td> |
| 182 |
</tr> |
| 183 |
</table> |
| 184 |
</td> |
| 185 |
</tr> |
| 186 |
</tbody> |
| 187 |
</table> |
| 188 |
</td> |
| 189 |
</tr> |
| 190 |
</tbody> |
| 191 |
</table> |
| 192 |
|
| 193 |
<?php |
| 194 |
} else { |
| 195 |
?> |
| 196 |
<table align="center" border="0" cellpadding="0" cellspacing="0" class="row row-5" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 197 |
<tbody> |
| 198 |
<tr> |
| 199 |
<td> |
| 200 |
<table align="center" border="0" cellpadding="0" cellspacing="0" class="row-content stack" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #000000; width: 600px;" width="600"> |
| 201 |
<tbody> |
| 202 |
<tr> |
| 203 |
<td class="column column-1" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="25%"> |
| 204 |
<table border="0" cellpadding="0" cellspacing="0" class="heading_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 205 |
<tr> |
| 206 |
<td style="text-align:center;width:100%;padding-top:5px;"> |
| 207 |
<h1 style="margin: 0; color: #1f2937; direction: ltr; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; font-size: 30px; font-weight: 400; letter-spacing: normal; line-height: 120%; text-align: center; margin-top: 0; margin-bottom: 0;"> |
| 208 |
<?php echo esc_attr( $total_orders ); ?></h1> |
| 209 |
</td> |
| 210 |
</tr> |
| 211 |
</table> |
| 212 |
<table border="0" cellpadding="0" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%"> |
| 213 |
<tr> |
| 214 |
<td style="padding-bottom:70px;padding-left:10px;padding-right:10px;padding-top:10px;"> |
| 215 |
<div style="font-family: sans-serif"> |
| 216 |
<div style="font-size: 14px; mso-line-height-alt: 16.8px; color: #393d47; line-height: 1.2; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;"> |
| 217 |
<p style="margin: 0; font-size: 14px; text-align: center;"> |
| 218 |
<span style="font-size:16px;"> |
| 219 |
<?php |
| 220 |
echo esc_html__( |
| 221 |
'Order Placed', |
| 222 |
'cartflows' |
| 223 |
) |
| 224 |
?> |
| 225 |
</span> |
| 226 |
</p> |
| 227 |
</div> |
| 228 |
</div> |
| 229 |
</td> |
| 230 |
</tr> |
| 231 |
</table> |
| 232 |
</td> |
| 233 |
<td class="column column-2" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="16.666666666666668%"> |
| 234 |
<table border="0" cellpadding="0" cellspacing="0" class="image_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 235 |
<tr> |
| 236 |
<td style="width:100%;padding-right:0px;padding-left:0px;padding-top:5px;"> |
| 237 |
<div align="center" style="line-height:10px"><img src=<?php echo esc_url( $lock_icon ); ?> style="display: block; height: auto; border: 0; width: 35px; max-width: 100%;" width="35" /></div> |
| 238 |
</td> |
| 239 |
</tr> |
| 240 |
</table> |
| 241 |
<table border="0" cellpadding="0" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%"> |
| 242 |
<tr> |
| 243 |
<td style="padding-bottom:70px;padding-left:10px;padding-right:10px;padding-top:10px;"> |
| 244 |
<div style="font-family: sans-serif"> |
| 245 |
<div style="font-size: 14px; mso-line-height-alt: 16.8px; color: #393d47; line-height: 1.2; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;"> |
| 246 |
<p style="margin: 0; font-size: 14px; text-align: center;"> |
| 247 |
<span style="font-size:16px;"><?php echo esc_html__( 'Total Visits', 'cartflows' ); ?></span> |
| 248 |
</p> |
| 249 |
<p style="margin: 0; font-size: 14px; text-align: center;"> |
| 250 |
<span style="font-size:12px;"><?php echo esc_html__( 'CartFlows Pro', 'cartflows' ); ?></span> |
| 251 |
</p> |
| 252 |
</div> |
| 253 |
</div> |
| 254 |
</td> |
| 255 |
</tr> |
| 256 |
</table> |
| 257 |
</td> |
| 258 |
<td class="column column-3" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="33.333333333333336%"> |
| 259 |
<table border="0" cellpadding="0" cellspacing="0" class="image_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 260 |
<tr> |
| 261 |
<td style="width:100%;padding-right:0px;padding-left:0px;padding-top:5px;"> |
| 262 |
<div align="center" style="line-height:10px"><img src=<?php echo esc_url( $lock_icon ); ?> style="display: block; height: auto; border: 0; width: 35px; max-width: 100%;" width="35" /></div> |
| 263 |
</td> |
| 264 |
</tr> |
| 265 |
</table> |
| 266 |
<table border="0" cellpadding="0" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%"> |
| 267 |
<tr> |
| 268 |
<td style="padding-bottom:70px;padding-left:10px;padding-right:10px;padding-top:10px;"> |
| 269 |
<div style="font-family: sans-serif"> |
| 270 |
<div style="font-size: 14px; mso-line-height-alt: 16.8px; color: #393d47; line-height: 1.2; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;"> |
| 271 |
<p dir="ltr" style="margin: 0; font-size: 14px; text-align: center; letter-spacing: normal;"> |
| 272 |
<span style="font-size:16px;"> |
| 273 |
<?php |
| 274 |
echo esc_html__( |
| 275 |
'Order Bumps Revenue', |
| 276 |
'cartflows' |
| 277 |
) |
| 278 |
?> |
| 279 |
</span> |
| 280 |
</p> |
| 281 |
<p dir="ltr" style="margin: 0; font-size: 14px; text-align: center; letter-spacing: normal;"> |
| 282 |
<span style="font-size:12px;"><?php echo esc_html__( 'CartFlows Pro', 'cartflows' ); ?></span> |
| 283 |
</p> |
| 284 |
</div> |
| 285 |
</div> |
| 286 |
</td> |
| 287 |
</tr> |
| 288 |
</table> |
| 289 |
</td> |
| 290 |
<td class="column column-4" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;" width="25%"> |
| 291 |
<table border="0" cellpadding="0" cellspacing="0" class="image_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"> |
| 292 |
<tr> |
| 293 |
<td style="width:100%;padding-right:0px;padding-left:0px;padding-top:5px;"> |
| 294 |
<div align="center" style="line-height:10px"><img src=<?php echo esc_url( $lock_icon ); ?> style="display: block; height: auto; border: 0; width: 35px; max-width: 100%;" width="35" /></div> |
| 295 |
</td> |
| 296 |
</tr> |
| 297 |
</table> |
| 298 |
<table border="0" cellpadding="0" cellspacing="0" class="text_block" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;" width="100%"> |
| 299 |
<tr> |
| 300 |
<td style="padding-bottom:70px;padding-left:10px;padding-right:10px;padding-top:10px;"> |
| 301 |
<div style="font-family: sans-serif"> |
| 302 |
<div style="font-size: 14px; mso-line-height-alt: 16.8px; color: #393d47; line-height: 1.2; font-family: Arial, Helvetica Neue, Helvetica, sans-serif;"> |
| 303 |
<p style="margin: 0; font-size: 14px; text-align: center;"> |
| 304 |
<span style="font-size:16px;"><?php echo esc_html__( 'Offers Revenue', 'cartflows' ); ?></span> |
| 305 |
</p> |
| 306 |
<p style="margin: 0; font-size: 14px; text-align: center;"> |
| 307 |
<span style="font-size:12px;"><?php echo esc_html__( 'CartFlows Pro', 'cartflows' ); ?></span> |
| 308 |
</p> |
| 309 |
</div> |
| 310 |
</div> |
| 311 |
</td> |
| 312 |
</tr> |
| 313 |
</table> |
| 314 |
</td> |
| 315 |
</tr> |
| 316 |
</tbody> |
| 317 |
</table> |
| 318 |
</td> |
| 319 |
</tr> |
| 320 |
</tbody> |
| 321 |
</table> |
| 322 |
<?php |
| 323 |
} |
| 324 |
|