PluginProbe
WP Directory Kit / 1.3.4
WP Directory Kit v1.3.4
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 / messages_unread_notify.php

messages_unread_notify.php in WP Directory Kit 1.3.4, at application/views/email/messages_unread_notify.php

75 lines 4.0 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 related did no read messages.
5 * Receiver: save search 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 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
17 <html xmlns="http://www.w3.org/1999/xhtml">
18
19 <head>
20 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
21 <title><?php echo wp_kses_post($subject); ?></title>
22 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
23 </head>
24
25 <body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="padding: 0;width: 100%; background-color: #f7f7f7; -webkit-text-size-adjust: none;">
26 <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%);">
27
28 <!-- header -->
29 <div class="header" style="background-color: #2671cb;padding: 48px 48px;color: #FFF;">
30 <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;"">
31 <?php echo wp_kses_post($subject); ?>
32 </h2>
33 </div>
34
35 <!-- Body -->
36 <div class=" body" style="padding: 48px 48px;color: #636363; font-size: 14px;font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;">
37
38 <?php foreach ($chats as $key => $chat) : ?>
39 <h2 style="margin-top:0;color:#000">
40 <?php echo esc_html__('New Messsages from', 'wpdirectorykit').' ' . wmvc_show_data('display_name', $chat['user_from'], '-').'('.$chat['count'].') : <a href="' . esc_url(wdk_dash_url('dash_page=messages&function=chat&id='.wmvc_show_data('idmessage', $chat['inbox'], '-'))) . '">' . esc_html__('Check Chat', 'wpdirectorykit') . '</a>'; ?>
41 </h2>
42 <p> <?php echo esc_html__('Latest messages', 'wpdirectorykit');?>:</p>
43 <table style="border: 1px solid;border-collapse: collapse;width:100%;">
44 <thead>
45 <tr>
46 <th style="padding:10px 10px; border: 1px solid;border-collapse: collapse;text-align: left;"><?php echo __('Message', 'wpdirectorykit'); ?></th>
47 <th style="padding:10px 10px; border: 1px solid;border-collapse: collapse;text-align:center"><?php echo __('Date', 'wpdirectorykit'); ?></th>
48 </tr>
49 </thead>
50 <tbody>
51 <?php foreach ($chat['messages'] as $key => $message) : if($key>=3) break; ?>
52 <tr>
53 <td style="padding:10px 10px; border: 1px solid;border-collapse: collapse;">
54 <?php echo wmvc_show_data('message', $message, '-'); ?>
55 </td>
56 <td style="padding:10px 10px; border: 1px solid;border-collapse: collapse;text-align: center;">
57 <?php echo wdk_get_date(strtotime($message->date)); ?>
58 </td>
59 </tr>
60 <?php endforeach; ?>
61 </tbody>
62 </table>
63 <br>
64 <?php endforeach; ?>
65 </div>
66 <!-- Footer -->
67 <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;">
68 <?php echo esc_html__('Thanks', 'wpdirectorykit'); ?>, </br>
69 <?php echo esc_html__('Best regards', 'wpdirectorykit'); ?>, </br>
70 <?php echo esc_html(get_bloginfo('name')); ?> </br>
71 </div>
72 </div>
73 </body>
74
75 </html>