PluginProbe
WP Directory Kit / 1.2.7
WP Directory Kit v1.2.7
1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 1.4.0 1.4.1 All 35 releases
wpdirectorykit / application / views / email / reservation_expired.php

reservation_expired.php in WP Directory Kit 1.2.7, at application/views/email/reservation_expired.php

59 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * The template for Email, notify about expired listing.
5 * Receiver: listing owner
6 * This is the template that email layout
7 *
8 */
9
10 if (!defined('ABSPATH')) {
11 exit; // Exit if accessed directly.
12 }
13
14 ?>
15
16
17 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
18 <html xmlns="http://www.w3.org/1999/xhtml">
19
20 <head>
21 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
22 <title><?php echo wp_kses_post($subject); ?></title>
23 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
24 </head>
25
26 <body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="padding: 0;width: 100%; background-color: #f7f7f7; -webkit-text-size-adjust: none;">
27 <div id="wrapper" dir="ltr" style="max-width: 600px; width:calc(100% - 30px); background-color: #fff; margin: 0 auto;border: 1px solid #dedede;box-shadow: 0 1px 4px rgb(0 0 0 / 10%);">
28
29 <!-- header -->
30 <div class="header" style="background-color: #2671cb;padding: 48px 48px;color: #FFF;">
31 <h2 style="margin:0;font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; font-size: 30px; font-weight: 300; line-height: 150%; margin: 0; text-align: left; text-shadow: 0 1px 0 #ab79a1; color: #ffffff; background-color: inherit;"">
32 <?php echo wp_kses_post($subject); ?>
33 </h2>
34 </div>
35
36 <!-- Body -->
37 <div class=" body" style="padding: 48px 48px;color: #636363; font-size: 14px;font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;">
38 <?php echo esc_html__('Purchase time expired, please make new reservation', 'wpdirectorykit') ?> <br/><br/>
39 <?php echo esc_html__('Reservation expired, for listing', 'wpdirectorykit') . ': <a href="' . get_permalink($listing) . '">' . wmvc_show_data('post_title', $listing, '', TRUE, TRUE) . '</a>'; ?> <br/><br/>
40 <?php if(wmvc_show_data('post_id', $listing, false)):?>
41 <p>
42 <a href="<?php echo esc_url(get_permalink($listing));?>">
43 <img src="<?php echo esc_url(wdk_image_src($listing, 'thumb'));?>" alt="<?php echo esc_attr(wdk_field_value('post_title', $listing)) ;?>" style="display: block;max-width: 250px;max-height: 250px;">
44 </a>
45 </p>
46 <?php endif;?>
47 <?php echo esc_html__('Reservation ID', 'wpdirectorykit') ?>: <?php echo esc_html($reservation_id);?><br/><br/>
48 </div>
49
50 <!-- Footer -->
51 <div class="footer" style="padding: 25px 48px;color: #4e5254; font-weight: 500;font-size: 14px;line-height: 1.6;font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;border-top: 1px solid #eee;">
52 <?php echo esc_html__('Thanks', 'wpdirectorykit'); ?>, </br>
53 <?php echo esc_html__('Best regards', 'wpdirectorykit'); ?>, </br>
54 <?php echo esc_html(get_bloginfo('name')); ?> </br>
55 </div>
56 </div>
57 </body>
58
59 </html>