geno/wp-content/plugins/cartflows/modules/email-report/templates/email-body.php

87 lines
2.2 KiB
PHP
Raw Normal View History

2024-02-01 17:24:18 +05:30
<?php
/**
* Template Name: Email body.
*
* @package CartFlows
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
ob_start();
?>
<!doctype html>
<html>
<head>
<title><?php echo esc_html__( 'CartFlows Weekly Report', 'cartflows' ); ?></title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<!--[if mso]><xml><o:OfficeDocumentSettings><o:PixelsPerInch>96</o:PixelsPerInch><o:AllowPNG/></o:OfficeDocumentSettings></xml><![endif]-->
<style>
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
}
a[x-apple-data-detectors] {
color: inherit !important;
text-decoration: inherit !important;
}
#MessageViewBody a {
color: inherit;
text-decoration: none;
}
p {
line-height: inherit
}
@media (max-width:620px) {
.row-content {
width: 100% !important;
}
.column .border {
display: none;
}
.stack .column {
width: 100%;
display: block;
}
}
</style>
</head>
<body style="background-color: #FFFFFF; margin: 0; padding: 0; -webkit-text-size-adjust: none; text-size-adjust: none;">
<table border="0" cellpadding="0" cellspacing="0" class="nl-container" role="presentation"
style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #FFFFFF;" width="100%">
<tbody>
<tr>
<td>
<?php
require CARTFLOWS_DIR . 'modules/email-report/templates/email-header.php';
require CARTFLOWS_DIR . 'modules/email-report/templates/email-content-section.php';
require CARTFLOWS_DIR . 'modules/email-report/templates/email-stat-content.php';
if ( ! _is_cartflows_pro() ) {
include CARTFLOWS_DIR . 'modules/email-report/templates/email-cf-pro-block.php';
} else {
include CARTFLOWS_DIR . 'modules/email-report/templates/email-other-product-block.php';
}
require CARTFLOWS_DIR . 'modules/email-report/templates/email-footer.php';
?>
</td>
</tr>
</tbody>
</table><!-- End -->
</body>
</html>
<?php
return ob_get_clean();