| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template Name: Email body. |
| 4 |
* |
| 5 |
* @package CartFlows |
| 6 |
*/ |
| 7 |
|
| 8 |
// Exit if accessed directly. |
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; |
| 11 |
} |
| 12 |
ob_start(); |
| 13 |
?> |
| 14 |
<!doctype html> |
| 15 |
<html> |
| 16 |
<head> |
| 17 |
<title><?php echo esc_html__( 'CartFlows Weekly Report', 'cartflows' ); ?></title> |
| 18 |
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> |
| 19 |
<meta content="width=device-width, initial-scale=1.0" name="viewport" /> |
| 20 |
<!--[if mso]><xml><o:OfficeDocumentSettings><o:PixelsPerInch>96</o:PixelsPerInch><o:AllowPNG/></o:OfficeDocumentSettings></xml><![endif]--> |
| 21 |
<style> |
| 22 |
* { |
| 23 |
box-sizing: border-box; |
| 24 |
} |
| 25 |
|
| 26 |
body { |
| 27 |
margin: 0; |
| 28 |
padding: 0; |
| 29 |
} |
| 30 |
|
| 31 |
a[x-apple-data-detectors] { |
| 32 |
color: inherit !important; |
| 33 |
text-decoration: inherit !important; |
| 34 |
} |
| 35 |
|
| 36 |
#MessageViewBody a { |
| 37 |
color: inherit; |
| 38 |
text-decoration: none; |
| 39 |
} |
| 40 |
|
| 41 |
p { |
| 42 |
line-height: inherit |
| 43 |
} |
| 44 |
|
| 45 |
@media (max-width:620px) { |
| 46 |
.row-content { |
| 47 |
width: 100% !important; |
| 48 |
} |
| 49 |
|
| 50 |
.column .border { |
| 51 |
display: none; |
| 52 |
} |
| 53 |
|
| 54 |
.stack .column { |
| 55 |
width: 100%; |
| 56 |
display: block; |
| 57 |
} |
| 58 |
} |
| 59 |
</style> |
| 60 |
</head> |
| 61 |
<body style="background-color: #FFFFFF; margin: 0; padding: 0; -webkit-text-size-adjust: none; text-size-adjust: none;"> |
| 62 |
<table border="0" cellpadding="0" cellspacing="0" class="nl-container" role="presentation" |
| 63 |
style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #FFFFFF;" width="100%"> |
| 64 |
<tbody> |
| 65 |
<tr> |
| 66 |
<td> |
| 67 |
<?php |
| 68 |
require CARTFLOWS_DIR . 'modules/email-report/templates/email-header.php'; |
| 69 |
require CARTFLOWS_DIR . 'modules/email-report/templates/email-content-section.php'; |
| 70 |
require CARTFLOWS_DIR . 'modules/email-report/templates/email-stat-content.php'; |
| 71 |
|
| 72 |
if ( ! _is_cartflows_pro() ) { |
| 73 |
include CARTFLOWS_DIR . 'modules/email-report/templates/email-cf-pro-block.php'; |
| 74 |
} else { |
| 75 |
include CARTFLOWS_DIR . 'modules/email-report/templates/email-other-product-block.php'; |
| 76 |
} |
| 77 |
require CARTFLOWS_DIR . 'modules/email-report/templates/email-footer.php'; |
| 78 |
?> |
| 79 |
</td> |
| 80 |
</tr> |
| 81 |
</tbody> |
| 82 |
</table><!-- End --> |
| 83 |
</body> |
| 84 |
</html> |
| 85 |
<?php |
| 86 |
return ob_get_clean(); |
| 87 |
|