PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 3.6.65
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v3.6.65
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / resources / views / email / report / body.php

body.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 3.6.65, at resources/views/email/report/body.php

241 lines 13.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4 style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
5 <head>
6 <meta name="viewport" content="width=device-width"/>
7 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
8 <title>Email Summary</title>
9 <style type="text/css">
10 .summary_table {
11 width: 100%;
12 text-align: left;
13 border-collapse: collapse;
14 }
15
16 .summary_table tr td {
17 border: 1px solid #e0e0e0;
18 padding: 4px 10px;
19 }
20
21 .summary_table tr th {
22 border: 1px solid #e0e0e0;
23 padding: 8px 10px;
24 }
25
26 thead {
27 background: #f6f6f6;
28 }
29
30 img {
31 max-width: 100%;
32 }
33
34 body {
35 -webkit-font-smoothing: antialiased;
36 -webkit-text-size-adjust: none;
37 width: 100% !important;
38 height: 100%;
39 line-height: 1.6em;
40 }
41
42 body {
43 background-color: #f6f6f6;
44 }
45
46 @media only screen and (max-width: 640px) {
47 body {
48 padding: 0 !important;
49 }
50
51 h1 {
52 font-weight: 800 !important;
53 margin: 20px 0 5px !important;
54 }
55
56 h2 {
57 font-weight: 800 !important;
58 margin: 20px 0 5px !important;
59 }
60
61 h3 {
62 font-weight: 800 !important;
63 margin: 20px 0 5px !important;
64 }
65
66 h4 {
67 font-weight: 800 !important;
68 margin: 20px 0 5px !important;
69 }
70
71 h1 {
72 font-size: 22px !important;
73 }
74
75 h2 {
76 font-size: 18px !important;
77 }
78
79 h3 {
80 font-size: 16px !important;
81 }
82
83 .container {
84 padding: 0 !important;
85 width: 100% !important;
86 }
87
88 .content {
89 padding: 0 !important;
90 }
91
92 .content-wrap {
93 padding: 10px !important;
94 }
95
96 .invoice {
97 width: 100% !important;
98 }
99 }
100 </style>
101 </head>
102 <body itemscope itemtype="http://schema.org/EmailMessage"
103 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;"
104 bgcolor="#f6f6f6">
105 <table class="body-wrap"
106 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;"
107 bgcolor="#f6f6f6">
108 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
109 <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
110 valign="top"></td>
111 <td class="container" width="600"
112 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;"
113 valign="top">
114 <div class="content"
115 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
116 <table class="main" width="100%" cellpadding="0" cellspacing="0"
117 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;"
118 bgcolor="#fff">
119 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
120 <td class="alert alert-warning"
121 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 16px; vertical-align: top; color: #fff; font-weight: 500; text-align: center; border-radius: 3px 3px 0 0; background-color: #673ab7; margin: 0; padding: 20px;"
122 align="center" bgcolor="#FF9F00" valign="top">
123 <?php _e('Weekly Email Summary of Your Forms', 'fluentform'); ?>
124 </td>
125 </tr>
126 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
127 <td class="content-wrap"
128 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;"
129 valign="top">
130 <table width="100%" cellpadding="0" cellspacing="0"
131 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
132 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
133 <td class="content-block"
134 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
135 valign="top">
136 <b><?php _e('Hello There,', 'fluentform'); ?></b><br/>
137 <?php printf(esc_html__('Let\'s see how your forms performed in the last %d days.', 'fluentform'), $days);; ?>
138 </td>
139 </tr>
140 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
141 <td class="content-block"
142 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
143 valign="top">
144 <table class="summary_table">
145 <thead>
146 <tr>
147 <th><?php _e('Form', 'fluentform'); ?></th>
148 <th><?php _e('Entries', 'fluentform'); ?></th>
149 </tr>
150 </thead>
151 <tbody>
152 <?php foreach ($submissions as $submission): ?>
153 <tr>
154 <td><?php echo $submission->title; ?></td>
155 <td><?php echo $submission->total; ?></td>
156 </tr>
157 <?php endforeach; ?>
158 </tbody>
159 </table>
160 </td>
161 </tr>
162
163 <?php if ($payments): ?>
164 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
165 <td class="content-block"
166 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
167 valign="top">
168 <h3><?php _e('Payments', 'fluentform'); ?></h3>
169 <table class="summary_table">
170 <thead>
171 <tr>
172 <th><?php _e('Form', 'fluentform'); ?></th>
173 <th><?php _e('Payment Total', 'fluentform'); ?></th>
174 </tr>
175 </thead>
176 <tbody>
177 <?php foreach ($payments as $payment): ?>
178 <tr>
179 <td><?php echo $payment->title; ?></td>
180 <td><?php echo $payment->readable_amount; ?></td>
181 </tr>
182 <?php endforeach; ?>
183 </tbody>
184 </table>
185 </td>
186 </tr>
187 <?php endif; ?>
188
189 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
190 <td class="content-block"
191 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;"
192 valign="top">
193 <?php
194 $generateText = sprintf(
195 __('This email has been generated from Fluent Forms at %1$s%2$s%3$s.', 'fluentform'),
196 '<a href="' . site_url() . '">',
197 get_bloginfo('name'),
198 '</a>'
199 );
200 $generateText = apply_filters('fluentform_email_summary_body_text', $generateText, $submissions);
201 ?>
202 <?php echo $generateText;; ?> .
203 </td>
204 </tr>
205 </table>
206 </td>
207 </tr>
208 </table>
209 <div class="footer"
210 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
211 <table width="100%"
212 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
213 <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
214 <td class="aligncenter content-block"
215 style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;"
216 align="center" valign="top">
217 <?php
218 $footerText = sprintf(
219 __('This email has been sent from %1$syour website%2$s via Fluent Forms. You can disable this email %3$syour website%4$s', 'fluentform'),
220 '<a href="' . site_url() . '">',
221 '</a>',
222 '<a href="' . admin_url('admin.php?page=fluent_forms_settings') . '">',
223 '</a>'
224 );
225 $footerText = apply_filters('fluentform_email_summary_footer_text', $generateText);
226 ?>
227 <p>
228 <?php echo $footerText; ?>
229 </p>
230 </td>
231 </tr>
232 </table>
233 </div>
234 </div>
235 </td>
236 <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;"
237 valign="top"></td>
238 </tr>
239 </table>
240 </body>
241 </html>