a3f10f08 by Jeff Balicki

email

1 parent ab42f182
...@@ -16794,7 +16794,7 @@ ss3-force-full-width { ...@@ -16794,7 +16794,7 @@ ss3-force-full-width {
16794 @media (max-width: 1300px) { 16794 @media (max-width: 1300px) {
16795 .yellow span.number-big { 16795 .yellow span.number-big {
16796 line-height: 7.5rem; 16796 line-height: 7.5rem;
16797 font-size: 8.5rem; 16797 font-size: 8.125rem;
16798 display: inline-block; 16798 display: inline-block;
16799 padding-right: 10px; 16799 padding-right: 10px;
16800 } 16800 }
...@@ -17409,6 +17409,7 @@ ss3-force-full-width { ...@@ -17409,6 +17409,7 @@ ss3-force-full-width {
17409 .footer-left { 17409 .footer-left {
17410 width: 90%; 17410 width: 90%;
17411 padding-left: 5%; 17411 padding-left: 5%;
17412 margin-bottom: 10px;
17412 } 17413 }
17413 } 17414 }
17414 .footer-left p { 17415 .footer-left p {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -134,7 +134,8 @@ $understrap_inc_dir = 'inc'; ...@@ -134,7 +134,8 @@ $understrap_inc_dir = 'inc';
134 // Array of files to include. 134 // Array of files to include.
135 $understrap_includes = array( 135 $understrap_includes = array(
136 '/emails.php', 136 '/emails.php',
137 '/wpsl.php' 137 '/wpsl.php',
138 '/request-conversation.php'
138 ); 139 );
139 140
140 141
......
...@@ -84,41 +84,3 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3); ...@@ -84,41 +84,3 @@ add_filter( 'cf7_2_post_status_wpsl_stores', 'publish_new_wpsl_stores',10,3);
84 } 84 }
85 } 85 }
86 86
87
88
89 function send_planner_email($data)
90 {
91 $name = $data['name'];
92 $email = $data['email'];
93 $phone = $data['phone'];
94 $panner_id = $data['broker_id'];
95
96 if($email =="" || $name =="" || $phone =="" ){
97 exit;
98 }
99
100 if(strpos($email, 'tenzing') !== false || $_SERVER['HTTP_HOST'] !="yournumbers.ca") {
101 $to = 'support@gotenzing.com';
102 } else {
103 $to = get_post_meta($panner_id, 'wpsl_email', true);
104 }
105
106 $subject = 'Request for Customer Contact from The Commonwell';
107 $headers = array('Content-Type: text/html; charset=UTF-8');
108 $body = "<h1 class='clear-both is-h1'>You're in demand! ".get_the_title($panner_id)."</h1>
109 <div class=' f-16'>A visitor to The yournumber.ca has requested information from you and to start the quote process. That's awesome and good luck! Please reach out to the person listed below within 48 hours. </div>
110 <table class=' f-16'><col width='200'></tr><tr><td>NAME:</td><td>" . $name . "</td></tr><tr><td>EMAIL:</td><td>" .$email . "</td></tr><tr><td>PHONE NUMBER:</td><td>" . $phone . "</td></tr></table><br/><br/>";
111
112 wp_mail($to, $subject, $body, $headers);
113
114
115 $to_customer = $data['email'];
116 $subject_customer = 'Contact Request Confirmationl';
117 $headers_customer = array('Content-Type: text/html; charset=UTF-8');
118 $body_customer = "<h1 class='clear-both is-h1'>Thanks for your information request.</h1>
119 <div class=' f-16'>We received your request for more information about. </div>";
120
121 wp_mail($to_customer, $subject_customer, $body_customer, $headers_customer);
122
123
124 }
......
1 <?php
2
3 function send_planner_email($data)
4 {
5 $name = $data['name'];
6 $email = $data['email'];
7 $phone = $data['phone'];
8 $panner_id = $data['broker_id'];
9
10 if($email =="" || $name =="" || $phone =="" ){
11 exit;
12 }
13
14 if(strpos($email, 'tenzing') !== false || $_SERVER['HTTP_HOST'] !="yournumbers.ca") {
15 $to = 'support@gotenzing.com';
16 } else {
17 $to = get_post_meta($panner_id, 'wpsl_email', true);
18 }
19
20 $subject = 'You\'ve got a new client prospect!';
21 $headers = array('Content-Type: text/html; charset=UTF-8');
22
23 ob_start();?>
24
25 <!DOCTYPE html>
26 <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office">
27 <head>
28 <meta charset="UTF-8">
29 <meta name="viewport" content="width=device-width,initial-scale=1">
30 <meta name="x-apple-disable-message-reformatting">
31 <title></title>
32 <!--[if mso]>
33 <noscript>
34 <xml>
35 <o:OfficeDocumentSettings>
36 <o:PixelsPerInch>96</o:PixelsPerInch>
37 </o:OfficeDocumentSettings>
38 </xml>
39 </noscript>
40 <![endif]-->
41 <style>
42 @font-face { font-family: Calibri;
43 src: url('https://yournumbers.ca/wp-content/themes/understrap-child/Calibri.woff') format('woff'); }
44 @font-face { font-family: Calibri-bold;
45 src: url('https://yournumbers.ca/wp-content/themes/understrap-child/Calibri-Bold.woff') format('woff'); }
46 table, td, div, h1, p {font-family: Calibri;}
47 strong{font-family: Calibri;}
48 </style>
49 </head>
50 <body style="margin:0;padding:0;">
51 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;">
52 <tr>
53 <td align="center" style="padding:0;">
54 <table bgcolor="#005EB8;" role="presentation" style="width:602px;border-collapse:collapse;border-spacing:0;text-align:left;">
55 <tr style="background:#005EB8;">
56 <td align="center">
57 &nbsp;
58 </td>
59 <td align="center">
60 &nbsp;
61 </td>
62 <td align="center" width="135">
63 <img width="135" src="https://yournumbers.ca/wp-content/uploads/2022/01/Group-1073@2x.png" class="img-fluid" alt="FP Canada">
64 </td>
65 <td align="center" width="40">
66 &nbsp;&nbsp;
67 </td>
68 </tr>
69 <tr style="background:#005EB8;">
70 <td colspan="4" style="padding:36px 30px 42px 30px;">
71 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
72 <tr>
73 <td style="padding:0 0 36px 0;color:#153643;">
74 <h1 style="font-size:50px;line-height:55px;color:#fff;margin:0 0 20px 0; font-family: Calibri-bold;">
75 YOU'VE BEEN CONTACTED<br>
76 THROUGH THE WHAT'S YOUR<br>
77 NUMBER CAMPAIGN.
78 </h1>
79 </td>
80 </tr>
81 </table>
82 </td>
83 </tr>
84 <tr style="background:#ffffff;">
85 <td colspan="4" style="padding:36px 30px 42px 30px;">
86 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
87 <tr>
88 <td colspan="3" style="padding:0 0 36px 0;color:#153643;">
89 <p style="margin:0 0 12px 0;font-size:24px;line-height:28px;font-family: Calibri;color:#012169;">Good luck with your new client prospect. Remember to reply to the person who reached out to you within one business day. And keep track of the results - the more we learn, the better we'll do.</p>
90 </td>
91 </tr>
92 <tr>
93 <td colspan="3" style="padding:0 0 36px 0;color:#153643;">
94 <?php echo "<table class=' f-16'><col width='200'></tr><tr><td>NAME:</td><td>" . $name . "</td></tr><tr><td>EMAIL:</td><td>" .$email . "</td></tr><tr><td>PHONE NUMBER:</td><td>" . $phone . "</td></tr></table>"; ?>
95 <br/><br/>
96 </td>
97 </tr>
98 <tr style="background:#ffffff;">
99 <td colspan="4" style="padding-bottom:10px">
100 </td>
101 </tr>
102 <tr>
103 <td align="center">
104 &nbsp;
105 </td>
106 <td align="center">
107 <img width="147" src="https://yournumbers.ca/wp-content/uploads/2022/01/Group-1028@2x.png" class="img-fluid" alt="FP Canada">
108 </td>
109 <td align="center">
110 &nbsp;
111 </td>
112 </tr>
113 </table>
114 </td>
115 </tr>
116 <tr>
117 <td colspan="4" style="padding:30px;background:#fff;">
118 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family:Arial,sans-serif;">
119 <tr>
120 <td style="padding-bottom:50px;width:5%;" align="left">
121 &nbsp;&nbsp;
122 </td>
123 <td style="padding:0;width:90%;border-top: 1px solid #000;" align="left">
124 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
125 <tr>
126 <td colspan="6" style="padding:0;width:5%;" align="left">
127 &nbsp;&nbsp;
128 </td>
129 </tr>
130 <tr>
131 <td style="padding:0;width:5%;" align="center">
132 &nbsp;&nbsp;
133 </td>
134 <td style="padding:0;width:5%;" align="center">
135 <a href="https://twitter.com/OfficialFPCan">
136 <img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/t.png" class="img-fluid" alt="FP Canada">
137 </a>
138 </td>
139 <td style="padding:0;width:5%;" align="center">
140 <a href="https://www.facebook.com/OfficialFPCanada">
141 <img width="8" src="https://yournumbers.ca/wp-content/uploads/2022/01/fb.png" class="img-fluid" alt="FP Canada">
142 </a>
143 </td>
144 <td style="padding:0;width:5%;" align="center">
145 <a href="https://www.youtube.com/c/FPCanadaOfficial">
146 <img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/you.png" class="img-fluid" alt="FP Canada">
147 </a>
148 </td>
149 <td style="padding:0;width:5%;" align="center">
150 <a href="https://www.linkedin.com/company/fpcanada/">
151 <img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/link.png" class="img-fluid" alt="FP Canada">
152 </a>
153 </td>
154 <td style="padding:0;width:5%;" align="center">
155 &nbsp;&nbsp;
156 </td>
157 </tr>
158 </table>
159 </td>
160 <td style="padding:0;width:5%;" align="left">
161 </td>
162 </tr>
163 <tr>
164 <td style="padding-bottom:0px;width:5%;" align="left">
165 &nbsp;&nbsp;
166 </td>
167 </tr>
168 <tr>
169 <td colspan="4" style="padding-bottom:10px;width:5%; font-size:14px;" align="center">
170 <p><strong>FP Canada</strong><br>
171 902-375 University Ave.<br>
172 Toronto, ON M5G 2J5 <br>
173 <a style="color:#5B6770;text-decoration: none;" href="tel:1 800 305 9886">1 800 305 9886</a> | <a style="color:#5B6770;text-decoration: none;" href="mailto:wyncampaign@fpcanada.ca">wyncampaign@fpcanada.ca</a>
174 </p>
175 <p style="color:#5B6770;"><i>Copyright © 2022 FP Canada, All rights reserved.</i></p>
176
177 <p style="color:#5B6770;">CFP®, Certified Financial Planner® and CFP logo are trademarks owned by Financial Planning Standards Board Ltd. (FPSB) and used under license. QAFP™, Qualified Associate Financial Planner, QAFP logo and all other trademarks are owned by FP Canada™. © 2022 FP Canada™. All rights reserved.</p>
178 </td>
179 </tr>
180 </table>
181 </td>
182 </tr>
183 </table>
184 </td>
185 </tr>
186 </table>
187
188 </body>
189 </html>
190
191 <?php
192
193 $body = ob_get_clean();
194
195 wp_mail($to, $subject, $body, $headers);
196
197 $to_customer = $data['email'];
198 $subject_customer = 'What\'s Your Number Request Confirmation';
199 $headers_customer = array('Content-Type: text/html; charset=UTF-8');
200
201 ob_start();?>
202
203 <!DOCTYPE html>
204 <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office">
205 <head>
206 <meta charset="UTF-8">
207 <meta name="viewport" content="width=device-width,initial-scale=1">
208 <meta name="x-apple-disable-message-reformatting">
209 <title></title>
210 <!--[if mso]>
211 <noscript>
212 <xml>
213 <o:OfficeDocumentSettings>
214 <o:PixelsPerInch>96</o:PixelsPerInch>
215 </o:OfficeDocumentSettings>
216 </xml>
217 </noscript>
218 <![endif]-->
219 <style>
220 @font-face { font-family: Calibri;
221 src: url('https://yournumbers.ca/wp-content/themes/understrap-child/Calibri.woff') format('woff'); }
222 @font-face { font-family: Calibri-bold;
223 src: url('https://yournumbers.ca/wp-content/themes/understrap-child/Calibri-Bold.woff') format('woff'); }
224 table, td, div, h1, p {font-family: Calibri;}
225 strong{font-family: Calibri;}
226 </style>
227 </head>
228 <body style="margin:0;padding:0;">
229 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;background:#ffffff;">
230 <tr>
231 <td align="center" style="padding:0;">
232 <table bgcolor="#005EB8;" role="presentation" style="width:602px;border-collapse:collapse;border-spacing:0;text-align:left;">
233 <tr style="background:#005EB8;">
234 <td align="center">
235 &nbsp;
236 </td>
237 <td align="center">
238 &nbsp;
239 </td>
240 <td align="center" width="135">
241 <img width="135" src="https://yournumbers.ca/wp-content/uploads/2022/01/Group-1073@2x.png" class="img-fluid" alt="FP Canada">
242 </td>
243 <td align="center" width="40">
244 &nbsp;&nbsp;
245 </td>
246 </tr>
247 <tr style="background:#005EB8;">
248 <td colspan="4" style="padding:36px 30px 42px 30px;">
249 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
250 <tr>
251 <td style="padding:0 0 36px 0;color:#153643;">
252 <h1 style="font-size:50px;line-height:55px;color:#fff;margin:0 0 20px 0; font-family: Calibri-bold;">
253 LET'S BOOST YOUR FINANCIAL CONFIDENCE TOGETHER.
254 </h1>
255 </td>
256 </tr>
257 </table>
258 </td>
259 </tr>
260 <tr style="background:#ffffff;">
261 <td colspan="4" style="padding:36px 30px 42px 30px;">
262 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
263 <tr>
264 <td colspan="3" style="padding:0 0 36px 0;color:#153643;">
265 <p style="margin:0 0 12px 0;font-size:24px;line-height:28px;font-family: Calibri;color:#012169;">Thank you for requesting a conversation about your most important number and how to ensure the rest add up. You'll receive a reply within one business day and we'll get started.</p>
266 </td>
267 </tr>
268
269 <tr style="background:#ffffff;">
270 <td colspan="4" style="padding-bottom:10px">
271 </td>
272 </tr>
273 <tr>
274 <td align="center">
275 &nbsp;
276 </td>
277 <td align="center">
278 <img width="147" src="https://yournumbers.ca/wp-content/uploads/2022/01/Group-1028@2x.png" class="img-fluid" alt="FP Canada">
279 </td>
280 <td align="center">
281 &nbsp;
282 </td>
283 </tr>
284 </table>
285 </td>
286 </tr>
287 <tr>
288 <td colspan="4" style="padding:30px;background:#fff;">
289 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;font-size:9px;font-family:Arial,sans-serif;">
290 <tr>
291 <td style="padding-bottom:50px;width:5%;" align="left">
292 &nbsp;&nbsp;
293 </td>
294 <td style="padding:0;width:90%;border-top: 1px solid #000;" align="left">
295 <table role="presentation" style="width:100%;border-collapse:collapse;border:0;border-spacing:0;">
296 <tr>
297 <td colspan="6" style="padding:0;width:5%;" align="left">
298 &nbsp;&nbsp;
299 </td>
300 </tr>
301 <tr>
302 <td style="padding:0;width:5%;" align="center">
303 &nbsp;&nbsp;
304 </td>
305 <td style="padding:0;width:5%;" align="center">
306 <a href="https://twitter.com/OfficialFPCan">
307 <img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/t.png" class="img-fluid" alt="FP Canada">
308 </a>
309 </td>
310 <td style="padding:0;width:5%;" align="center">
311 <a href="https://www.facebook.com/OfficialFPCanada">
312 <img width="8" src="https://yournumbers.ca/wp-content/uploads/2022/01/fb.png" class="img-fluid" alt="FP Canada">
313 </a>
314 </td>
315 <td style="padding:0;width:5%;" align="center">
316 <a href="https://www.youtube.com/c/FPCanadaOfficial">
317 <img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/you.png" class="img-fluid" alt="FP Canada">
318 </a>
319 </td>
320 <td style="padding:0;width:5%;" align="center">
321 <a href="https://www.linkedin.com/company/fpcanada/">
322 <img width="16" src="https://yournumbers.ca/wp-content/uploads/2022/01/link.png" class="img-fluid" alt="FP Canada">
323 </a>
324 </td>
325 <td style="padding:0;width:5%;" align="center">
326 &nbsp;&nbsp;
327 </td>
328 </tr>
329 </table>
330 </td>
331 <td style="padding:0;width:5%;" align="left">
332 </td>
333 </tr>
334 <tr>
335 <td style="padding-bottom:0px;width:5%;" align="left">
336 &nbsp;&nbsp;
337 </td>
338 </tr>
339 <tr>
340 <td colspan="4" style="padding-bottom:10px;width:5%; font-size:14px;" align="center">
341 <p><strong>FP Canada</strong><br>
342 902-375 University Ave.<br>
343 Toronto, ON M5G 2J5 <br>
344 <a style="color:#5B6770;text-decoration: none;" href="tel:1 800 305 9886">1 800 305 9886</a> | <a style="color:#5B6770;text-decoration: none;" href="mailto:wyncampaign@fpcanada.ca">wyncampaign@fpcanada.ca</a>
345 </p>
346 <p style="color:#5B6770;"><i>Copyright © 2022 FP Canada, All rights reserved.</i></p>
347
348 <p style="color:#5B6770;">CFP®, Certified Financial Planner® and CFP logo are trademarks owned by Financial Planning Standards Board Ltd. (FPSB) and used under license. QAFP™, Qualified Associate Financial Planner, QAFP logo and all other trademarks are owned by FP Canada™. © 2022 FP Canada™. All rights reserved.</p>
349 </td>
350 </tr>
351 </table>
352 </td>
353 </tr>
354 </table>
355 </td>
356 </tr>
357 </table>
358
359 </body>
360 </html>
361
362 <?php
363
364 $body_customer = ob_get_clean();
365
366
367 wp_mail($to_customer, $subject_customer, $body_customer, $headers_customer);
368 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
43 @media screen and (max-width: 768px) { 43 @media screen and (max-width: 768px) {
44 width: 90%; 44 width: 90%;
45 padding-left: 5%; 45 padding-left: 5%;
46 margin-bottom: 10px;
46 } 47 }
47 p { 48 p {
48 line-height: 17px; 49 line-height: 17px;
......
...@@ -278,7 +278,7 @@ span.number-big{ ...@@ -278,7 +278,7 @@ span.number-big{
278 line-height: 180px; 278 line-height: 180px;
279 @media (max-width: 1300px) { 279 @media (max-width: 1300px) {
280 line-height: 120px; 280 line-height: 120px;
281 font-size: 136px; 281 font-size: 130px;
282 display:inline-block; 282 display:inline-block;
283 padding-right: 10px; 283 padding-right: 10px;
284 } 284 }
......
...@@ -299,7 +299,7 @@ td, th { ...@@ -299,7 +299,7 @@ td, th {
299 } 299 }
300 @media (max-width: 600px){ 300 @media (max-width: 600px){
301 #wpsl-search-input { 301 #wpsl-search-input {
302 width: 90% !important; 302 width: 100% !important;
303 } 303 }
304 #wpsl-search-input { 304 #wpsl-search-input {
305 font-size: 30px; 305 font-size: 30px;
......