PluginProbe
ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce / 1.3.13
ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce v1.3.13
1.17.9 1.17.8 1.17.7 1.17.6 1.17.5 1.17.4 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.3.0 1.3.1 1.3.11 1.3.12 1.3.13 1.3.14 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 All 143 releases
erp / includes / email / email-header.php

email-header.php in ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce 1.3.13, at includes/email/email-header.php

59 lines 3.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Email Header
4 */
5
6 if ( ! defined( 'ABSPATH' ) ) {
7 exit; // Exit if accessed directly
8 }
9
10 ?>
11 <!DOCTYPE html>
12 <html dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>">
13 <head>
14 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
15 <title><?php echo get_bloginfo( 'name', 'display' ); ?></title>
16 </head>
17 <body <?php echo is_rtl() ? 'rightmargin' : 'leftmargin'; ?>="0" marginwidth="0" topmargin="0" marginheight="0" offset="0">
18 <div id="wrapper" dir="<?php echo is_rtl() ? 'rtl' : 'ltr'?>">
19 <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
20 <tr>
21 <td align="center" valign="top">
22 <div id="template_header_image">
23 <?php
24 $settings = get_option( 'erp_settings_erp-email_general', [] );
25 if ( isset( $settings['header_image'] ) && !empty( $settings['header_image'] ) ) {
26 echo '<p style="margin-top:0;"><img src="' . esc_url( $settings['header_image'] ) . '" alt="' . get_bloginfo( 'name', 'display' ) . '" /></p>';
27 }
28 ?>
29 </div>
30 <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_container">
31
32 <?php if ( $email_heading ) { ?>
33 <tr>
34 <td align="center" valign="top">
35 <!-- Header -->
36 <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_header">
37 <tr>
38 <td id="header_wrapper">
39 <h1><?php echo $email_heading; ?></h1>
40 </td>
41 </tr>
42 </table>
43 <!-- End Header -->
44 </td>
45 </tr>
46 <?php } ?>
47
48 <tr>
49 <td align="center" valign="top">
50 <!-- Body -->
51 <table border="0" cellpadding="0" cellspacing="0" width="600" id="template_body">
52 <tr>
53 <td valign="top" id="body_content">
54 <!-- Content -->
55 <table border="0" cellpadding="20" cellspacing="0" width="100%">
56 <tr>
57 <td valign="top">
58 <div id="body_content_inner">
59