woocommerce/templates/emails/email-header.php

58 lines
2.5 KiB
PHP
Raw Normal View History

2012-08-14 18:05:45 +00:00
<?php
/**
* Email Header
*
* @author WooThemes
* @package WooCommerce/Templates/Emails
2014-10-08 21:54:28 +00:00
* @version 2.3.0
2012-08-14 18:05:45 +00:00
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
2012-11-27 16:22:47 +00:00
?>
2013-10-15 15:27:57 +00:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
2014-01-15 05:53:37 +00:00
<title><?php echo get_bloginfo( 'name' ); ?></title>
</head>
2012-09-17 10:36:24 +00:00
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
<div id="wrapper">
2012-09-17 10:36:24 +00:00
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
<tr>
<td align="center" valign="top">
<div id="template_header_image">
<?php
if ( $img = get_option( 'woocommerce_email_header_image' ) ) {
echo '<p style="margin-top:0;"><img src="' . esc_url( $img ) . '" alt="' . get_bloginfo( 'name' ) . '" /></p>';
}
?>
</div>
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container">
<tr>
<td align="center" valign="top">
2012-09-17 10:36:24 +00:00
<!-- Header -->
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_header" bgcolor="<?php echo $base; ?>">
<tr>
<td>
<h1><?php echo $email_heading; ?></h1>
</td>
</tr>
</table>
2012-09-17 10:36:24 +00:00
<!-- End Header -->
</td>
</tr>
<tr>
<td align="center" valign="top">
2012-09-17 10:36:24 +00:00
<!-- Body -->
<table border="0" cellpadding="0" cellspacing="0" width="600" id="template_body">
<tr>
<td valign="top" id="body_content">
2012-09-17 10:36:24 +00:00
<!-- Content -->
<table border="0" cellpadding="20" cellspacing="0" width="100%">
<tr>
<td valign="top">
<div id="body_content_inner">