| 1 |
<?php |
| 2 |
defined( 'ABSPATH' ) || exit; |
| 3 |
|
| 4 |
$logo_url = YAYMAIL_PLUGIN_URL . 'assets/images/woocommerce-logo.png'; |
| 5 |
$template_data = isset( $args['template_data'] ) ? $args['template_data'] : ''; |
| 6 |
$is_template_enable = ! empty( $template_data ) ? $template_data->is_enabled() : false; |
| 7 |
?> |
| 8 |
|
| 9 |
<!DOCTYPE html> |
| 10 |
<html lang="en"> |
| 11 |
<head> |
| 12 |
<meta charset="UTF-8"> |
| 13 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 14 |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 15 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 16 |
<meta name="x-apple-disable-message-reformatting"> |
| 17 |
</head> |
| 18 |
<body style="background-color: #fff; padding: 0; text-align: center;" bgcolor="#fff"> |
| 19 |
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="background: #f9f9f9; direction: ltr; margin: 0 auto; width: 100%; border-spacing: 0;" bgcolor="#f9f9f9" align="center"> |
| 20 |
<tr> |
| 21 |
<td style="padding: 0;"> |
| 22 |
<table class="yaymail-template-content-container" style="width: 605px; margin: auto; border-spacing: 0;" width="605" align="center" cellspacing="0"> |
| 23 |
<tr> |
| 24 |
<td style="padding: 0;"> |
| 25 |
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="yaymail-customizer-email-template-container yaymail-template-new_order" style="background: #f9f9f9; direction: ltr; margin: 0 auto;" bgcolor="#f9f9f9" align="center"> |
| 26 |
<!-- Notice Section --> |
| 27 |
<tr> |
| 28 |
<div class="yaymail-notice-message" style="width: 605px; direction: initial;"> |
| 29 |
<div> |
| 30 |
<span class="dashicons dashicons-info" style="color: #fbad15; padding-top: 1px;"></span> |
| 31 |
<p style="color: #636363;"> |
| 32 |
<span><?php echo ( $is_template_enable ? esc_html__( 'This template is customized with YayMail, but preview is not currently supported.', 'yaymail' ) : esc_html__( 'This template is not yet supported for preview by WooCommerce.', 'yaymail' ) ); ?></span> |
| 33 |
</p> |
| 34 |
</div> |
| 35 |
</div> |
| 36 |
</tr> |
| 37 |
<!-- Heading Section --> |
| 38 |
<tr> |
| 39 |
<td style="padding: 0;"> |
| 40 |
<div class="yaymail-element" data-yaymail-element-type="heading" data-yaymail-element-id="68356fe0c983b" style="width: 100%; margin: 0 auto;" width="100%"> |
| 41 |
<table cellpadding="0" cellspacing="0" class="yaymail-element__content" style="background-color: #e1e1e1; padding: 40px 50px; border-spacing: 0; width: 100%; direction: ltr; min-width: 100%;" bgcolor="#873EFF" width="100%"> |
| 42 |
<tbody> |
| 43 |
<tr> |
| 44 |
<td> |
| 45 |
<div style="color: #636363; font-family: Helvetica,Roboto,Arial,sans-serif; text-align: left;" align="left"> |
| 46 |
<h1 style="letter-spacing: -1px; font-family: inherit; text-shadow: unset; text-align: inherit; font-size: 30px; font-weight: 300; line-height: normal; margin: 0px; color: #636363;"><?php esc_html_e( 'Email Heading', 'yaymail' ); ?></h1> |
| 47 |
</div> |
| 48 |
</td> |
| 49 |
</tr> |
| 50 |
</tbody> |
| 51 |
</table> |
| 52 |
</div> |
| 53 |
</td> |
| 54 |
</tr> |
| 55 |
|
| 56 |
<!-- Content Section --> |
| 57 |
<tr> |
| 58 |
<td style="padding: 0;"> |
| 59 |
<div class="yaymail-element" data-yaymail-element-type="text" data-yaymail-element-id="8e1e807c-532f-4c25-b85f-81777319f9ba" style="width: 100%; margin: 0 auto;" width="100%"> |
| 60 |
<table cellpadding="0" cellspacing="0" class="yaymail-element__content" style="background-color: #fff; padding: 15px 50px; border-spacing: 0; width: 100%; direction: ltr; min-width: 100%;" bgcolor="#fff" width="100%"> |
| 61 |
<tbody> |
| 62 |
<tr> |
| 63 |
<td> |
| 64 |
<div style="text-align: left; color: #636363; font-family: Helvetica,Roboto,Arial,sans-serif;" align="left"> |
| 65 |
<p style="font-size: 14px; margin: 0px;"><span style="font-size: 18px;"><strong>This is a title</strong></span></p> |
| 66 |
<p style="font-size: 14px; margin: 0px;"> </p> |
| 67 |
<p style="font-size: 14px; margin: 0px;"><span>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy.</span></p> |
| 68 |
<p style="font-size: 14px; margin: 0px;"> </p> |
| 69 |
<p style="font-size: 14px; margin: 0px;"><span>It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.</span></p> |
| 70 |
<p style="font-size: 14px; margin: 0px;"> </p> |
| 71 |
<p style="font-size: 14px; margin: 0px;"><span>Various versions have evolved over the years.</span></p> |
| 72 |
</div> |
| 73 |
</td> |
| 74 |
</tr> |
| 75 |
</tbody> |
| 76 |
</table> |
| 77 |
</div> |
| 78 |
</td> |
| 79 |
</tr> |
| 80 |
|
| 81 |
<!-- Footer Section --> |
| 82 |
<tr> |
| 83 |
<td style="padding: 0;"> |
| 84 |
<div class="yaymail-element" data-yaymail-element-type="footer" data-yaymail-element-id="68356fe0c98b2" style="width: 100%; margin: 0 auto;" width="100%"> |
| 85 |
<table cellpadding="0" cellspacing="0" class="yaymail-element__content" style="background-color: #e1e1e1; padding: 15px 50px; border-spacing: 0; width: 100%; direction: ltr; min-width: 100%;" bgcolor="#f9f9f9" width="100%"> |
| 86 |
<tbody> |
| 87 |
<tr> |
| 88 |
<td> |
| 89 |
<div style="color: #636363; font-family: Helvetica,Roboto,Arial,sans-serif;"> |
| 90 |
<p style="font-size: 14px; margin: 0px 0px 16px; text-align: center;" align="center"> |
| 91 |
yaymail - Built with <a href="https://woocommerce.com" target="_blank" rel="noopener" style="color: #636363; font-weight: normal; text-decoration: underline;">WooCommerce</a> |
| 92 |
</p> |
| 93 |
</div> |
| 94 |
</td> |
| 95 |
</tr> |
| 96 |
</tbody> |
| 97 |
</table> |
| 98 |
</div> |
| 99 |
</td> |
| 100 |
</tr> |
| 101 |
</table> |
| 102 |
</td> |
| 103 |
</tr> |
| 104 |
</table> |
| 105 |
</td> |
| 106 |
</tr> |
| 107 |
</table> |
| 108 |
</body> |
| 109 |
</html> |