create.php
46.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
<?php
use Tz\WordPress\Tools;
use Tz\WordPress\Tools\Notifications;
use Tz\WordPress\Tools\Notifications\Settings;
function getInputFormValues($validation, $name)
{
return ($validation->set_value($name) != '') ? $validation->set_value($name) : (!empty($_POST[$name])) ? $_POST[$name] : '';
}
?>
<link rel="stylesheet" href="<?php echo Tools\url('assets/css/notifications.css', __FILE__) ?>" />
<div class="wrap">
<h2>Notifications - Create New</h2>
<?php if (isset($flash) && $flash != ''): ?>
<div class="post-success">
<?php echo $flash; ?>
</div>
<?php endif;?>
<?php if ($validation->validation_errors() != "" || isset($form_error)): ?>
<div class="post-errors">
<div class="post-errors-title"><strong>Oops.</strong> There was an error saving your notification.</div>
<?php if (isset($form_error)): ?>
<p class="post-errors-content">You must include either an Email, System or SMS message.</p>
<?php endif;?>
</div>
<?php endif;?>
<form enctype="multipart/form-data" method="post" id="notifications-create-new" action="/wp-admin/admin.php?page=notifications-create-new">
<input type="hidden" name="_POSTED_" value="yes" />
<table cellspacing="0" class="widefat post fixed" style="margin-top:15px;">
<thead>
<tr>
<th width="150">Notification Details</th>
<th> </th>
</tr>
</thead>
<tbody>
<tr>
<td width="150">Notification Type</td>
<td>
<select name="type" id="notif_type" class="wide-input-field" onchange="updateNotificationType();">
<option value="scheduled" <?php echo ($validation->set_value('type') == "scheduled" || $_POST['type'] == 'scheduled')
? 'selected="selected"' : ""; ?>>Scheduled Notification
</option>
<option value="newsletter" <?php echo ($validation->set_value('type') == "newsletter" || $_POST['type'] == 'newsletter')
? 'selected="selected"' : ""; ?>>Newsletter
</option>
<?php if (current_user_can(Settings\MANAGE_SYSTEM_NOTIFICATIONS)): ?>
<option value="triggered" <?php echo ($validation->set_value('type') == "triggered" || $_POST['type'] == 'triggered')
? 'selected="selected"' : ""; ?>>System Triggered Notification
</option>
<?php endif;?>
</select>
<?php echo $validation->form_error('type'); ?>
</td>
</tr>
<tr>
<td width="150">Notification Description</td>
<td><input type="text" name="title" class="wide-input-field" value="<?php echo getInputFormValues($validation, 'title'); ?>" />
<?php echo $validation->form_error('title'); ?>
</td>
</tr>
<tr class="scheduled_sendto">
<td>Sent To:</td>
<td>
<select name="sendto" class="wide-input-field">
<option value="nousers" <?php echo ($validation->set_value('sendto') == "nousers")
? 'selected="selected"' : ""; ?>>No Users
</option>
<option value="allusers" <?php echo ($validation->set_value('sendto') == "allusers")
? 'selected="selected"' : ""; ?>>All Users
</option>
<optgroup label="By Group:">
<?php foreach (Notifications\getGroups() as $group_id => $group_name): ?>
<option value="<?php echo $group_id ?>" <?php echo ($validation->set_value(
'sendto'
) == $group_id) ? 'selected="selected"'
: ""; ?>><?php echo $group_name; ?></option>
<?php endforeach;?>
</optgroup>
</select>
<?php echo $validation->form_error('sendto'); ?>
</td>
</tr>
<tr class="scheduled-extended">
<td>Execute Date / Time</td>
<td><input type="text" name="execute_date" id="execute_date" class="wide-input-field date-pick" readonly="readonly" value="<?php echo getInputFormValues($validation, 'execute_date'); ?>" /><?php echo $validation->form_error('execute_date'); ?></td>
</tr>
<tr class="trigger-extended">
<td>Trigger</td>
<td><input type="text" name="trigger" id="trigger" class="wide-input-field" value="<?php echo getInputFormValues($validation, 'trigger'); ?>" />
<?php echo $validation->form_error('trigger'); ?></td>
</tr>
</tbody>
</table>
<div id="tabs">
<ul>
<li>
<a href="#tab-1">English</a>
</li>
<li>
<a href="#tab-2">French</a>
</li>
</ul>
<?php foreach (['en', 'fr'] as $index => $lang): ?>
<div id="tab-<?php echo $index + 1; ?>">
<table cellspacing="0" class="widefat post fixed expandable" style="margin-top: 15px;">
<thead>
<tr>
<th width="150" class="toggle">
<h6>Email</h6>
</th>
<th class="action-bar"> </th>
</tr>
</thead>
<tbody style="<?php echo (getInputFormValues($validation, $lang . '_subject')) ||
getInputFormValues($validation, $lang . '_text') ||
getInputFormValues($validation, $lang . '_html') ? '' : 'display: none;'; ?>;">
<tr>
<td width="150">Subject Line</td>
<td>
<input type="text" name="<?php echo $lang; ?>_subject" class="wide-input-field" style="width: 100%;" value="<?php echo getInputFormValues($validation, $lang . '_subject'); ?>" />
<?php echo $validation->form_error($lang . '_subject'); ?>
</td>
</tr>
<tr class="text_verson">
<td>Text Version</td>
<td>
<textarea name="<?php echo $lang; ?>_text" class="wide-input-field text_verson" rows="10" style="width: 100%;"><?php echo getInputFormValues($validation, $lang . '_text'); ?>
</textarea><?php echo $validation->form_error($lang . '_text'); ?>
</td>
</tr>
<tr>
<td colspan="2">HTML Version (optional)</td>
</tr>
<tr>
<td colspan="2">
<?php
$content = getInputFormValues($validation, $lang . '_html');
$settings = array('textarea_name' => $lang . '_html', "media_buttons" => true);
wp_editor($content, $lang . '_html', $settings);
?><?php echo $validation->form_error($lang . '_html'); ?>
</td>
</tr>
<tr class="attachments">
<td width="150">Attachments</td>
<td> </td>
</tr>
<?php
$attachments = $entry->email[$lang . '_attachments'];
$allowedAttachments = 3;
foreach ($attachments as $attachment): ?>
<tr>
<td> </td>
<td>
<?php echo $attachment; ?> (<a href="#" entry_id="<?php echo $_GET['page_id'] ?>" class="attachment" rel="<?php echo $attachment; ?>">remove</a>)
</td>
</tr>
<?php
$allowedAttachments--;
endforeach;
?>
<?php for ($a = 1; $a <= $allowedAttachments; $a++): ?>
<tr class="attachments">
<td> </td>
<td><input type="file" name="<?php echo $lang; ?>_attachment[]" /></td>
</tr>
<?php endfor;?>
</tbody>
</table>
<table cellspacing="0" class="widefat post fixed expandable" style="margin-top: 15px;">
<thead>
<tr>
<th width="150" class="toggle">
<h6>System Message</h6>
</th>
<th class="action-bar"> </th>
</tr>
</thead>
<tbody style="<?php echo ($validation->set_value(
$lang . '_system',
$entry->system[$lang . '_message']
) == '')
? 'display: none'
: ''; ?>;">
<tr>
<td>Message Type</td>
<td>
<?php if ($lang == 'en'): ?>
<select name="system_message_type" class="wide-input-field">
<option value="none" <?php echo ($validation->set_value(
'system_message_type',
$entry->system['system_message_type']
) == 'none') ? 'selected="selected"' : ''; ?>>
General Message
</option>
<option value="action_required" <?php echo ($validation->set_value(
'system_message_type',
$entry->system['system_message_type']
) == 'action_required') ? 'selected="selected"' : ''; ?>>
Action Required
</option>
<option value="e-flash" <?php echo ($validation->set_value(
'system_message_type',
$entry->system['system_message_type']
) == 'e-flash') ? 'selected="selected"' : ''; ?>>
E-Flash
</option>
<option value="new_event" <?php echo ($validation->set_value(
'system_message_type',
$entry->system['system_message_type']
) == 'new_event') ? 'selected="selected"' : ''; ?>>
New Event
</option>
</select>
<?php else: ?>
<span class="system_message_type_value"></span>
<?php endif;?>
</td>
</tr>
<tr>
<td>Message (Text/HTML)</td>
<td>
<textarea name="<?php echo $lang; ?>_system" class="wide-input-field" rows="4" style="width:100%;"><?php echo $validation->set_value(
$lang . '_system',
isset($entry->system[$lang . '_message'])
? $entry->system[$lang . '_message']
: ''
); ?></textarea><?php echo $validation->form_error($lang . '_system'); ?>
</td>
</tr>
</tbody>
</table>
<table cellspacing="0" class="widefat post fixed expandable" style="margin-top: 15px;">
<thead>
<tr>
<th width="150" class="toggle">
<h6>Push Notification</h6>
</th>
<th width="300" class="action-bar"> </th>
<th width="150"> </th>
</tr>
</thead>
<tbody style="background-color: #f5f5f5; display: none;">
<tr class="package-row" style="vertical-align:top;width: 100% !important;background-color: #f5f5f5;">
<td style="background-color: #f5f5f5;width:20%">Time<br /><input style="width:100%;" id="time'" type="text" name="<?php echo $lang; ?>_push_notifications_time" value="" />
<br class="morespace" />Title<br /><input type="text" style="width:100%;" name="<?php echo $lang; ?>_push_notifications_title" value="" /></td>
<td style="background-color: #f5f5f5; width:50%;">Message<br /><textarea style="width: 100%;" name="<?php echo $lang; ?>_push_notifications_message" rows="4" cols="50"></textarea></td>
<td style="background-color: #f5f5f5;width:20%">Link<br /><input style="width:100%;" type="text" name="<?php echo $lang; ?>_push_notifications_link" value="" /><br />
<input type="hidden" name="<?php echo $lang; ?>_push_notifications_status" value="pending" /><input type="hidden" name="<?php echo $lang; ?>_push_notifications_id" value="" /></p>
</td>
</tr>
<?php echo $validation->form_error($lang . '_push'); ?>
</tbody>
</table>
</div>
<?php endforeach;?>
</div>
<p>
<input type="submit" value=" Save " />
<input type="button" value=" Cancel " onclick="document.location.href='/wp-admin/admin.php?page=notifications';" />
</p>
</form>
</div>
<script>
jQuery(document).ready(function($) {
var codeCleaned = false;
$("#notifications-create-new").on("submit", function(e) {
if (!codeCleaned) {
e.preventDefault();
$('#fr_html_ifr').contents().find('img').each(function() {
$(this).removeAttr('height');
$(this).removeAttr('width');
});
$('#en_html_ifr').contents().find('img').each(function() {
$(this).removeAttr('height');
$(this).removeAttr('width');
});
$('#fr_html_ifr').contents().find('table').each(function() {
$(this).removeAttr('style');
});
$('#fr_html_ifr').contents().find('tr').each(function() {
$(this).removeAttr('style');
});
$('#en_html_ifr').contents().find('tr').each(function() {
$(this).removeAttr('style');
});
$('#fr_html_ifr').contents().find('td').each(function() {
$(this).removeAttr('style');
});
$('#en_html_ifr').contents().find('table').each(function() {
$(this).removeAttr('style');
});
$('#en_html_ifr').contents().find('td').each(function() {
$(this).removeAttr('style');
});
$('#fr_html_ifr').contents().find('td:last-child').each(function() {
$(this).addClass('tdlast-child');
});
$('#fr_html_ifr').contents().find('tr:last-child').each(function() {
$(this).addClass('trlast-child');
});
$('#en_html_ifr').contents().find('td:last-child').each(function() {
$(this).addClass('tdlast-child');
});
$('#en_html_ifr').contents().find('tr:last-child').each(function() {
$(this).addClass('trlast-child');
});
codeCleaned = true;
$(this).trigger('submit');
}
});
$('#tabs').tabs();
// Update system message type clone when changing the message type
$('[name="system_message_type"]').change(function() {
$('.system_message_type_value').text($(this).find(':selected').text());
}).change();
//
// jQuery('#execute_date').datetimepicker({
//stepMinute: 05,
//dateFormat: 'yy-mm-dd',
// timeFormat: 'hh:mm:ss'
// });
updateNotificationType();
$('.attachment').live('click', function(e) {
e.preventDefault();
var $link = $(this);
var options = {
action: 'remove_attachment',
ajax: 'yes',
id: $link.attr('entry_id'),
file: $link.attr('rel')
};
var file_element = '<input type="file" name="attachment[]" />';
var c = confirm('Are you sure you want to remove this attachment?');
if (c) {
$.ajax({
url: '/wp-admin/admin-ajax.php',
data: (options),
type: 'POST',
dataType: 'json',
success: function(data) {
if (data.success == "true") {
$link.parent().html(file_element);
}
}
});
}
return false;
});
jQuery('table.expandable thead th').click(function() {
var $table = jQuery(this).parent().parent().parent();
if (jQuery('tbody', $table).is(':visible')) {
jQuery('thead', $table).removeClass('open');
jQuery('tbody', $table).fadeOut();
} else {
jQuery('thead', $table).addClass('open');
jQuery('tbody', $table).fadeIn();
}
});
});
function updateNotificationType() {
var type = jQuery('#notif_type').val();
var date = new Date().toLocaleDateString("en-US", {
year: 'numeric',
month: 'long',
day: 'numeric'
});
// var header ='<div><span style="font-size: 9.5pt;">If you are unable to clearly view the below E-Flash, please click<b><a><span style="font-weight: normal;"> here</span></a></b></span><hr /><img class="alignnone" src="https://cbvinstitute.com/wp-content/uploads/2019/02/email_logo.png" alt="Logo" width="81" height="57" align="left" /><span style="font-size: 9.5pt; line-height: 115%; float: right;">'+date+'</span></div><br/><br/>';
//
// var footer ='<div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><p class="footer"><strong><span style="font-family: GothamLight; font-size: 12px;"> To opt out, please:<br />1. Log in to cicbv.ca<br />2. Click on your name<br />3. From the drop down menu select profile<br />4. Edit E-flash settings<br />If you have any questions, please contact us: admin@cicbv.ca<br /></span></strong></p>';
//
// var header_fr ='<div class="content"><div><span style="font-size: 9.5pt;">If you are unable to clearly view the below E-Flash, please click<b><a><span style="font-weight: normal;"> here</span></a></b></span><hr /><img class="alignnone" src="https://cbvinstitute.com/wp-content/uploads/2019/02/email_logo_fr.png" alt="Logo" width="81" height="57" align="left" /><span style="font-size: 9.5pt; line-height: 115%; float: right;">'+date+'</span></div>><br/><br/>';
//
// var footer_fr ='</div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><p class="footer"><strong><span style="font-family: GothamLight; font-size: 12px;"> To opt out, please:<br />1. Log in to cicbv.ca<br />2. Click on your name<br />3. From the drop down menu select profile<br />4. Edit E-flash settings<br />If you have any questions, please contact us: admin@cicbv.ca<br /></span></strong></p>';
if (type == "triggered") {
jQuery('.scheduled-extended').hide();
jQuery('.scheduled_sendto').hide();
jQuery('.trigger-extended').show();
} else if (type == "newsletter") {
jQuery("#tabs").append('<input type="hidden" id="email_style" name="email_style" class="wide-input-field" />');
jQuery("#email_style").val('newsletter');
jQuery('.scheduled-extended').show();
jQuery('.trigger-extended').hide();
jQuery(".text_verson").hide();
jQuery('.attachments').hide();
jQuery('.scheduled_sendto').show();
//$(tinymce.get('en_html').getBody()).html(header+footer);
//$(tinymce.get('fr_html').getBody()).html(header_fr+footer_fr);
jQuery(tinymce.get('en_html').getBody()).html('<div id="newsletter"><p><img class="header-img alignnone wp-image-125416 size-full" src="https://cbvinstitute.com/wp-content/uploads/2019/02/image001.png" alt="" width="1691" height="441" /></p><p> </p>' +
'<div class="content-block-header"><h2><span style="font-family: MyanmarMN;"><strong><span style="color: #ffffff;">BREAKING</span> <span style="color: #6ac9c8;">NEWS</span></strong></span></h2>'+
'<table> <tbody> <tr class="trlast-child"> <td class="tdlast-child"> <h1 style="text-align: left;"><span style="font-family: MyanmarMN; color: #221d58;">FIRST-EVER CBV INSTITUTE </span><br /> <span style="font-family: MyanmarMN; color: #6ac9c8;">EXPERT WITNESS SYMPOSIUM</span></h1> <p style="text-align: left;">The CICBV is pleased to present its inaugural <strong>Expert Witness Symposium on Nov 19 20, 2018</strong>.'+
' <p>This event will provide CBVs with the unique opportunity to learn from, and with, renowned CBVs, senior legal counsel, and a federal court judge in an interactive and practical format. The Symposium will be of interest to CBVs who are looking to either brush up on, or develop, credible expert witness skills. Participants interested in attending this session should have some litigation support experience.</p> <p style="text-align: left;">Attendees may choose the live in-person <strong><a href="https://cicbv.ca/events/expert-witness-symposium-in-person-2-day-live-event/">2-day session</a></strong> or the <strong>'+
'<a href="https://cicbv.ca/events/livestreaming-day-1-expert-witness-symposium/">live streaming of day 1</a></strong>. Space is very limited don t miss this fantastic opportunity to learn from the best!</p> </td> </tr> </tbody> </table> <p><img class="aligncenter wp-image-129339 size-full" src="https://cbvinstitute.com/wp-content/uploads/2019/07/Summer-Social-Draft-2-1.jpg" alt="" width="1200" height="627" /></p> </div> <table> <tbody> <tr> <td class="tdlast-child"> <h1 style="text-align: left;"><span style="color: #221d58; font-family: MyanmarMN;">CBV INSTITUTE <span style="color: #6ac9c8;">EVENTS</span></span></h1> '+
' <table> <tbody> <tr> <td> <p><span style="color: #221d58;">09/19/18</span></p> </td> <td> <p><span style="color: #221d58;">When is the right time to sell: How do we give the Business Owner comfort on their cash flow in the post transaction period?</span></p> </td> <td> <p><span style="color: #221d58;">WORKSHOP</span></p> </td> <td> <p> </p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/when-is-the-right-time-to-sell-how-do-we-give-the-business-owner-comfort-on-their-cash-flow-in-the-post-transaction-period/">More information/Registration</a></span></p> '+
' </td> </tr> <tr> <td> <p><span style="color: #221d58;">09/20/18</span></p> </td> <td> <p><span style="color: #221d58;">Texas Scramble Golf Tournament</span></p> </td> <td> <p><span style="color: #221d58;">WORKSHOP</span></p> </td> <td> <p><span style="color: #221d58;">CALGARY</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/calgary-workshop-texas-scramble-golf-tournament-5/">More information/Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">09/28/18</span></p> <p> </p> </td> <td> <p><span style="color: #221d58;">The Art & Science of Forecasting</span></p>'+
' </td> <td> <p><span style="color: #221d58;">WEBINAR/</span></p> <p><span style="color: #221d58;">LUNCHEON</span></p> </td> <td> <p><span style="color: #221d58;">TORONTO</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cfainstitute.force.com/s/lt-event?site=a0Wj0000005liezEAA&id=a1Of1000002mbpBEAQ">More information/Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">10/03/18</span></p> </td> <td> <p><span style="color: #221d58;">Key Elements of US Tax Reform for Canadians</span></p> </td> <td> <p><span style="color: #221d58;">WEBINAR</span></p> </td> <td> <p> </p> </td> <td class="tdlast-child"> '+
' <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/key-elements-of-us-tax-reform-for-canadians/">More information/Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">10/17/18</span></p> </td> <td> <p><span style="color: #221d58;">Cannabis in Canada</span></p> </td> <td> <p><span style="color: #221d58;">WEBINAR</span></p> </td> <td> <p> </p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/cannabis-in-canada/">More information/Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">11/19/18</span></p> </td> <td>'+
' <p><span style="color: #221d58;">Expert Witness Symposium (Live streaming Day 1 only)</span></p> </td> <td> <p><span style="color: #221d58;">WEBINAR</span></p> </td> <td> <p> </p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/livestreaming-day-1-expert-witness-symposium/">More information/Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">11/19/18</span></p> </td> <td> <p><span style="color: #221d58;">Expert Witness Symposium </span><br /> <span style="color: #221d58;">(In-person 2 day live event)</span></p> </td> <td> <p><span style="color: #221d58;">SYMPOSIUM</span></p> </td> <td> '+
' <p><span style="color: #221d58;">TORONTO</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/cannabis-in-canada/">More information/Registration</a></span></p> </td> </tr> <tr class="trlast-child"> <td> <p><span style="color: #221d58;">01/16/19</span></p> </td> <td> <p><span style="color: #221d58;">Strategies to address the estate and tax implications of trapped money in a holding company</span></p> </td> <td> <p><span style="color: #221d58;">WEBINAR</span></p> </td> <td> <p> </p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/cannabis-in-canada/">More information/Registration</a></span></p> </td> </tr> </tbody> '+
' </table> </td> </tr> <tr> <td class="tdlast-child"> <h1 style="text-align: left;"><span style="color: #221d58; font-family: MyanmarMN;">POD<span style="color: #6ac9c8;">CASTS</span></span></h1> <table> <tbody> <tr> <td> <p><span style="color: #221d58;">2017 Atlantic PD Day Recordings</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">2017 Atlantic PD Day M&A Update</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> <tr> <td>'+
' <p><span style="color: #221d58;">2017 Atlantic PD Day Bankers Perspective on Current Capital </span><br /> <span style="color: #221d58;">Structure Trends</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">2017 Atlantic PD Day Cross Examination Preparation by Expert Witnesses</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">2017 Atlantic PD Day Family Law Panel Discussion</span></p> </td> '+
'<td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> <tr class="trlast-child"> <td> <p><span style="color: #221d58;">2017 Atlantic PD Day Topical Issues in Business Loss Quantification</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> </tbody> </table> </td> </tr> <tr> <td class="tdlast-child"> <h1 style="text-align: left;"><span style="color: #221d58; font-family: MyanmarMN;">EXTERNAL <span style="color: #6ac9c8;">EVENTS</span></span></h1> <p style="text-align: left;"><span style="color: #221d58;">ASA 2018 ABV Conference '+
'<strong>Huge discount for CICBV Members and Students</strong></span><br /> <span style="color: #221d58;">Save <sup>$</sup>1,100 For only <strong><sup>$</sup>200 CICBV</strong> Members and students can attend the ASA 2018 Advanced Business Valuation Conference in Anaheim <strong>California October 7 10, 2018</strong>.</span></p> <p style="text-align: left;"><span style="color: #221d58;"> Enhance Your Professional Knowledge</span></p> <p style="text-align: left;"><span style="color: #221d58;"> Learn from the Very Best in the BV Profession</span></p> <p style="text-align: left;"><span style="color: #221d58;"> Build Your Business Network and Make New Contacts</span></p> <p style="text-align: left;"><span style="color: #221d58;">CBV INSTITUTE EVENTS</span></p> <p style="text-align: left;"><span style="color: #221d58;">'+
'<strong>1. </strong>Meet and Learn from the World s Most Renowned Thought Leaders </span><br /> <span style="color: #221d58;">in Business Valuation.</span></p> <p style="text-align: left;"><span style="color: #221d58;"><strong>2. </strong>Network with 600+ Appraisal Professionals from 6 Disciplines.</span></p> <p style="text-align: left;"><span style="color: #221d58;"><strong>3. </strong>Pre-Conference BV Courses are Available for an Additional Registration Fee.</span></p> <p> </p> <p><span style="color: #221d58;"><strong> </strong></span></p> <div class="call-to-action"> <h2><span style="color: #ffffff;"><strong>For more information/registration </strong><span style="color: #6ac9c8;"><strong><a style="color: #6ac9c8;" href="https://cicbv.ca/wp-content/uploads/2018/08/ASA-BV-Conference-2018.pdf">click here</a></strong></span></span></h2> </div>'+
' <p><span style="color: #221d58;"><strong><u> </u></strong></span></p> </td> </tr> <tr class="trlast-child"> <td class="tdlast-child"> <h1 style="text-align: left;"><span style="font-family: MyanmarMN; color: #221d58;">EMPLOYMENT <span style="color: #6ac9c8;">OPPORTUNITIES</span></span></h1> <table> <tbody> <tr> <td> <p>08/02/18</p> </td> <td> <p>MDD Forensic Accountants</p> </td> <td> <p>LONDON</p> </td> <td class="tdlast-child"> <p>Senior Manager</p> </td> </tr> <tr> <td> <p>07/26/18</p> </td> <td> <p>Ontario Teachers Pension Plan</p> </td> <td> <p>TORONTO</p> </td> <td class="tdlast-child"> <p><a href="https://cicbv.ca/employment/senior-financial-analyst-valuations/">Senior Financial Analyst, Valuations</a></p> </td> </tr> <tr class="trlast-child"> <td> <p>06/13/16</p> </td> <td> <p>Raymond Chabot Grant Thornton</p> </td> <td> '+
' <p>SHERBROOKE</p> </td> <td class="tdlast-child"> <p><a href="https://cicbv.ca/employment/conseiller-en-evaluation-dentreprise-2/">Conseiller en valuation d entreprises</a></p> </td> </tr> </tbody> </table> <p><img class="alignnone wp-image-129621 " src="https://cbvinstitute.com/wp-content/uploads/2019/07/LI-In-Bug-150x150.png" alt="" width="50" height="50" /></p> </td> </tr> </tbody> </table> </div>');
jQuery(tinymce.get('fr_html').getBody()).html('<div id="newsletter"><p><img class="header-img alignnone wp-image-125416 size-full" src="https://cbvinstitute.com/wp-content/uploads/2019/02/image002.png" alt="" width="1691" height="441" /></p><p> </p>' +
'<div class="content-block-header"><h2><span style="font-family: MyanmarMN;"><strong><span style="color: #ffffff;">DERNIÈRES</span> <span style="color: #6ac9c8;">NOUVELLES</span></strong></span></h2>'+
'<table> <tbody> <tr class="trlast-child"> <td class="tdlast-child"> <h1 style="text-align: left;"><span style="font-family: MyanmarMN; color: #221d58;">FIRST-EVER CBV INSTITUTE </span><br /> <span style="font-family: MyanmarMN; color: #6ac9c8;">EXPERT WITNESS SYMPOSIUM</span></h1> <p style="text-align: left;">The CICBV is pleased to present its inaugural <strong>Expert Witness Symposium on Nov 19 20, 2018</strong>.'+
'<p>This event will provide CBVs with the unique opportunity to learn from, and with, renowned CBVs, senior legal counsel, and a federal court judge in an interactive and practical format. The Symposium will be of interest to CBVs who are looking to either brush up on, or develop, credible expert witness skills. Participants interested in attending this session should have some litigation support experience.</p> <p style="text-align: left;">Attendees may choose the live in-person <strong><a href="https://cicbv.ca/events/expert-witness-symposium-in-person-2-day-live-event/">2-day session</a></strong> or the <strong>'+
'<a href="https://cicbv.ca/events/livestreaming-day-1-expert-witness-symposium/">live streaming of day 1</a></strong>. Space is very limited don t miss this fantastic opportunity to learn from the best!</p> </td> </tr> </tbody> </table> <p><img class="aligncenter wp-image-129339 size-full" src="https://cbvinstitute.com/wp-content/uploads/2019/07/Summer-Social-Draft-2-1.jpg" alt="" width="1200" height="627" /></p> </div> <table> <tbody> <tr> <td class="tdlast-child"> <h1 style="text-align: left;"><span style="color: #221d58; font-family: MyanmarMN;">CBV INSTITUTE <span style="color: #6ac9c8;">EVENTS</span></span></h1> '+
' <table> <tbody> <tr> <td> <p><span style="color: #221d58;">09/19/18</span></p> </td> <td> <p><span style="color: #221d58;">When is the right time to sell: How do we give the Business Owner comfort on their cash flow in the post transaction period?</span></p> </td> <td> <p><span style="color: #221d58;">WORKSHOP</span></p> </td> <td> <p> </p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/when-is-the-right-time-to-sell-how-do-we-give-the-business-owner-comfort-on-their-cash-flow-in-the-post-transaction-period/">More information/Registration</a></span></p> '+
' </td> </tr> <tr> <td> <p><span style="color: #221d58;">09/20/18</span></p> </td> <td> <p><span style="color: #221d58;">Texas Scramble Golf Tournament</span></p> </td> <td> <p><span style="color: #221d58;">WORKSHOP</span></p> </td> <td> <p><span style="color: #221d58;">CALGARY</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/calgary-workshop-texas-scramble-golf-tournament-5/">More information/Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">09/28/18</span></p> <p> </p> </td> <td> <p><span style="color: #221d58;">The Art & Science of Forecasting</span></p>'+
' </td> <td> <p><span style="color: #221d58;">WEBINAR/</span></p> <p><span style="color: #221d58;">LUNCHEON</span></p> </td> <td> <p><span style="color: #221d58;">TORONTO</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cfainstitute.force.com/s/lt-event?site=a0Wj0000005liezEAA&id=a1Of1000002mbpBEAQ">More information/Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">10/03/18</span></p> </td> <td> <p><span style="color: #221d58;">Key Elements of US Tax Reform for Canadians</span></p> </td> <td> <p><span style="color: #221d58;">WEBINAR</span></p> </td> <td> <p> </p> </td> <td class="tdlast-child"> '+
' <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/key-elements-of-us-tax-reform-for-canadians/">More information/Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">10/17/18</span></p> </td> <td> <p><span style="color: #221d58;">Cannabis in Canada</span></p> </td> <td> <p><span style="color: #221d58;">WEBINAR</span></p> </td> <td> <p> </p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/cannabis-in-canada/">More information/Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">11/19/18</span></p> </td> <td>'+
' <p><span style="color: #221d58;">Expert Witness Symposium (Live streaming Day 1 only)</span></p> </td> <td> <p><span style="color: #221d58;">WEBINAR</span></p> </td> <td> <p> </p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/livestreaming-day-1-expert-witness-symposium/">More information/Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">11/19/18</span></p> </td> <td> <p><span style="color: #221d58;">Expert Witness Symposium </span><br /> <span style="color: #221d58;">(In-person 2 day live event)</span></p> </td> <td> <p><span style="color: #221d58;">SYMPOSIUM</span></p> </td> <td> '+
' <p><span style="color: #221d58;">TORONTO</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/cannabis-in-canada/">More information/Registration</a></span></p> </td> </tr> <tr class="trlast-child"> <td> <p><span style="color: #221d58;">01/16/19</span></p> </td> <td> <p><span style="color: #221d58;">Strategies to address the estate and tax implications of trapped money in a holding company</span></p> </td> <td> <p><span style="color: #221d58;">WEBINAR</span></p> </td> <td> <p> </p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/cannabis-in-canada/">More information/Registration</a></span></p> </td> </tr> </tbody> '+
' </table> </td> </tr> <tr> <td class="tdlast-child"> <h1 style="text-align: left;"><span style="color: #221d58; font-family: MyanmarMN;">POD<span style="color: #6ac9c8;">CASTS</span></span></h1> <table> <tbody> <tr> <td> <p><span style="color: #221d58;">2017 Atlantic PD Day Recordings</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">2017 Atlantic PD Day M&A Update</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> <tr> <td>'+
' <p><span style="color: #221d58;">2017 Atlantic PD Day Bankers Perspective on Current Capital </span><br /> <span style="color: #221d58;">Structure Trends</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">2017 Atlantic PD Day Cross Examination Preparation by Expert Witnesses</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> <tr> <td> <p><span style="color: #221d58;">2017 Atlantic PD Day Family Law Panel Discussion</span></p> </td> '+
'<td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> <tr class="trlast-child"> <td> <p><span style="color: #221d58;">2017 Atlantic PD Day Topical Issues in Business Loss Quantification</span></p> </td> <td class="tdlast-child"> <p><span style="color: #221d58;"><a style="color: #221d58;" href="https://cicbv.ca/events/2017-atlantic-pd-day-recordings/">More information/ Registration</a></span></p> </td> </tr> </tbody> </table> </td> </tr> <tr> <td class="tdlast-child"> <h1 style="text-align: left;"><span style="color: #221d58; font-family: MyanmarMN;">EXTERNAL <span style="color: #6ac9c8;">EVENTS</span></span></h1> <p style="text-align: left;"><span style="color: #221d58;">ASA 2018 ABV Conference '+
'<strong>Huge discount for CICBV Members and Students</strong></span><br /> <span style="color: #221d58;">Save <sup>$</sup>1,100 For only <strong><sup>$</sup>200 CICBV</strong> Members and students can attend the ASA 2018 Advanced Business Valuation Conference in Anaheim <strong>California October 7 10, 2018</strong>.</span></p> <p style="text-align: left;"><span style="color: #221d58;"> Enhance Your Professional Knowledge</span></p> <p style="text-align: left;"><span style="color: #221d58;"> Learn from the Very Best in the BV Profession</span></p> <p style="text-align: left;"><span style="color: #221d58;"> Build Your Business Network and Make New Contacts</span></p> <p style="text-align: left;"><span style="color: #221d58;">CBV INSTITUTE EVENTS</span></p> <p style="text-align: left;"><span style="color: #221d58;">'+
'<strong>1. </strong>Meet and Learn from the World s Most Renowned Thought Leaders </span><br /> <span style="color: #221d58;">in Business Valuation.</span></p> <p style="text-align: left;"><span style="color: #221d58;"><strong>2. </strong>Network with 600+ Appraisal Professionals from 6 Disciplines.</span></p> <p style="text-align: left;"><span style="color: #221d58;"><strong>3. </strong>Pre-Conference BV Courses are Available for an Additional Registration Fee.</span></p> <p> </p> <p><span style="color: #221d58;"><strong> </strong></span></p> <div class="call-to-action"> <h2><span style="color: #ffffff;"><strong>For more information/registration </strong><span style="color: #6ac9c8;"><strong><a style="color: #6ac9c8;" href="https://cicbv.ca/wp-content/uploads/2018/08/ASA-BV-Conference-2018.pdf">click here</a></strong></span></span></h2> </div>'+
' <p><span style="color: #221d58;"><strong><u> </u></strong></span></p> </td> </tr> <tr class="trlast-child"> <td class="tdlast-child"> <h1 style="text-align: left;"><span style="font-family: MyanmarMN; color: #221d58;">EMPLOYMENT <span style="color: #6ac9c8;">OPPORTUNITIES</span></span></h1> <table> <tbody> <tr> <td> <p>08/02/18</p> </td> <td> <p>MDD Forensic Accountants</p> </td> <td> <p>LONDON</p> </td> <td class="tdlast-child"> <p>Senior Manager</p> </td> </tr> <tr> <td> <p>07/26/18</p> </td> <td> <p>Ontario Teachers Pension Plan</p> </td> <td> <p>TORONTO</p> </td> <td class="tdlast-child"> <p><a href="https://cicbv.ca/employment/senior-financial-analyst-valuations/">Senior Financial Analyst, Valuations</a></p> </td> </tr> <tr class="trlast-child"> <td> <p>06/13/16</p> </td> <td> <p>Raymond Chabot Grant Thornton</p> </td> <td> '+
' <p>SHERBROOKE</p> </td> <td class="tdlast-child"> <p><a href="https://cicbv.ca/employment/conseiller-en-evaluation-dentreprise-2/">Conseiller en valuation d entreprises</a></p> </td> </tr> </tbody> </table> <p><img class="alignnone wp-image-129621 " src="https://cbvinstitute.com/wp-content/uploads/2019/07/LI-In-Bug-150x150.png" alt="" width="50" height="50" /></p> </td> </tr> </tbody> </table> </div>');
jQuery('#execute_date').datetimepicker({
format: 'Y-m-d, H:i',
defaultDate: new Date()
}).on('dp.change', function(e) {
jQuery('#time').val(e.date);
console.log('changed');
});
} else {
jQuery('.scheduled-extended').show();
jQuery('.trigger-extended').hide();
jQuery('.scheduled_sendto').show();
jQuery('#execute_date').datetimepicker({
format: 'Y-m-d, H:i',
defaultDate: new Date()
}).on('dp.change', function(e) {
jQuery('#time').val(e.date);
console.log('changed');
});
}
}
</script>