| 1 |
<?php |
| 2 |
// don't load directly |
| 3 |
if ( !defined('ABSPATH') ) |
| 4 |
die('-1'); |
| 5 |
|
| 6 |
if ( !isset( $email_vars ) ) { |
| 7 |
global $email_vars; |
| 8 |
} |
| 9 |
if ( !isset( $email_heading ) ) { |
| 10 |
global $email_heading; |
| 11 |
} |
| 12 |
?> |
| 13 |
<!DOCTYPE html> |
| 14 |
<html dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>"> |
| 15 |
<head> |
| 16 |
<meta http-equiv="Content-Type" content="text/html; charset=<?php esc_attr( bloginfo( 'charset' ) ); ?>" /> |
| 17 |
<meta name="viewport" content="width=device-width, initial-scale=1"> |
| 18 |
<meta name="robots" content="noindex,nofollow"> |
| 19 |
<title><?php echo esc_html( uwp_get_blogname() ); ?></title> |
| 20 |
</head> |
| 21 |
<body <?php echo is_rtl() ? 'rightmargin' : 'leftmargin'; ?>="0" marginwidth="0" topmargin="0" marginheight="0" offset="0"> |
| 22 |
<div id="wrapper" dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>"> |
| 23 |
<table border="0" cellpadding="0" cellspacing="0" height="100%" class="wrapper-table"> |
| 24 |
<?php if ( ! empty( $header_text ) ) { ?> |
| 25 |
<tr> |
| 26 |
<td align="center" valign="middle" id="template_header"> |
| 27 |
<div id="template_header_logo"> |
| 28 |
<p style="margin-top:0;"><?php echo wp_kses_post( $header_text ); ?></p> |
| 29 |
</div> |
| 30 |
</td> |
| 31 |
</tr> |
| 32 |
<?php } ?> |
| 33 |
<tr> |
| 34 |
<td align="center" valign="middle" id="template_body"> |
| 35 |
<table border="0" cellpadding="0" cellspacing="0" width="100%"> |
| 36 |
<?php if ( !empty( $email_heading ) ) { ?> |
| 37 |
<tr> |
| 38 |
<td align="center" valign="top"> |
| 39 |
<!-- Header --> |
| 40 |
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="template_heading"> |
| 41 |
<tr> |
| 42 |
<td id="header_wrapper"> |
| 43 |
<h1><?php echo wp_kses_post( $email_heading ); ?></h1> |
| 44 |
</td> |
| 45 |
</tr> |
| 46 |
</table> |
| 47 |
<!-- End Header --> |
| 48 |
</td> |
| 49 |
</tr> |
| 50 |
<?php } ?> |
| 51 |
<tr> |
| 52 |
<td align="center" valign="top"> |
| 53 |
<!-- Body --> |
| 54 |
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="email_body"> |
| 55 |
<tr> |
| 56 |
<td valign="top" id="body_content"> |
| 57 |
<!-- Content --> |
| 58 |
<table border="0" cellpadding="20" cellspacing="0" width="100%"> |
| 59 |
<tr> |
| 60 |
<td valign="top"> |
| 61 |
<div id="body_content_inner"> |