index.php
26.6 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
511
512
513
514
515
516
517
518
519
520
521
522
<?php
if(!defined('ABSPATH')) {
die();
}
$addons = new \Wpae\App\Service\Addons\AddonService();
function is_broken($item) {
return is_null($item['options']) || !$item['options'];
}
?>
<div class="wpallexport-header" style="overflow:hidden; height: 70px; padding-top: 10px; margin-bottom: -15px;">
<div class="wpallexport-logo"></div>
<div class="wpallexport-title">
<h3><?php esc_html_e('Manage Exports', 'wp_all_export_plugin'); ?></h3>
</div>
</div>
<!-- TO DO: REMOVE THIS SNIPPET -->
<script type="text/javascript">
(function ($, ajaxurl, wp_all_export_security) {
$(document).ready(function () {
$('.test').on('click', function () {
var addon = 'wooco';
openUpgradeNotice(addon, $(this), '<?php echo PMXE_ROOT_URL; ?>/static/img/preloader.gif');
});
});
})(jQuery, ajaxurl, wp_all_export_security);
</script>
<!-- END TO DO -->
<h2></h2> <!-- Do not remove -->
<script type="text/javascript">
(function ($, ajaxurl, wp_all_export_security) {
$(document).ready(function () {
$('.open_cron_scheduling').on('click', function () {
var itemId = $(this).data('itemid');
openSchedulingDialog(itemId, $(this), '<?php echo PMXE_ROOT_URL; ?>/static/img/preloader.gif');
});
});
})(jQuery, ajaxurl, wp_all_export_security);
window.pmxeHasSchedulingSubscription = <?php echo PMXE_Plugin::hasActiveSchedulingLicense() ? 'true' : 'false'; ?>;
</script>
<?php if ($this->errors->get_error_codes()): ?>
<?php $this->error() ?>
<?php endif ?>
<form method="get">
<input type="hidden" name="page" value="<?php echo esc_attr($this->input->get('page')) ?>"/>
<p class="search-box">
<label for="search-input" class="screen-reader-text"><?php esc_html_e('Search Exports', 'wp_all_export_plugin') ?>
:</label>
<input id="search-input" type="text" name="s" value="<?php echo esc_attr($s) ?>"/>
<input type="submit" class="button" value="<?php esc_html_e('Search Exports', 'wp_all_export_plugin') ?>">
</p>
</form>
<?php
// define the columns to display, the syntax is 'internal name' => 'display name'
$columns = array(
'id' => __('ID', 'wp_all_export_plugin'),
'name' => __('Name', 'wp_all_export_plugin'),
'actions' => '',
'data' => __('Query', 'wp_all_export_plugin'),
//'format' => __('Format', 'wp_all_export_plugin'),
'summary' => __('Summary', 'wp_all_export_plugin'),
//'registered_on' => __('Last Export', 'wp_all_export_plugin'),
'info' => __('Info & Options', 'wp_all_export_plugin'),
);
//if ( ! wp_all_export_is_compatible()) unset($columns['info']);
$columns = apply_filters('pmxe_manage_imports_columns', $columns);
?>
<form method="post" id="import-list" action="<?php echo esc_url_raw(remove_query_arg('pmxe_nt')); ?>">
<input type="hidden" name="action" value="bulk"/>
<?php wp_nonce_field('bulk-exports', '_wpnonce_bulk-exports') ?>
<div class="tablenav">
<div class="alignleft actions">
<select name="bulk-action">
<option value="" selected="selected"><?php esc_html_e('Bulk Actions', 'wp_all_export_plugin') ?></option>
<option value="delete"><?php esc_html_e('Delete', 'wp_all_export_plugin') ?></option>
</select>
<input type="submit" value="<?php esc_attr_e('Apply', 'wp_all_export_plugin') ?>" name="doaction"
id="doaction" class="button-secondary action"/>
</div>
<?php if ($page_links): ?>
<div class="tablenav-pages">
<?php echo $page_links_html = sprintf(
'<span class="displaying-num">' . __('Displaying %s–%s of %s', 'wp_all_export_plugin') . '</span>%s',
number_format_i18n((intval($pagenum) - 1) * intval($perPage) + 1),
number_format_i18n(min(intval($pagenum) * $perPage, intval($list->total()))),
number_format_i18n(intval($list->total())),
$page_links
) ?>
</div>
<?php endif ?>
</div>
<div class="clear"></div>
<table class="widefat pmxe-admin-exports">
<thead>
<tr>
<th class="manage-column column-cb check-column" scope="col">
<input type="checkbox" />
</th>
<?php
$col_html = '';
foreach ($columns as $column_id => $column_display_name) {
$column_link = "<a href='";
$order2 = 'ASC';
if ($order_by == $column_id)
$order2 = ($order == 'DESC') ? 'ASC' : 'DESC';
$column_link .= esc_url(add_query_arg(array('order' => $order2, 'order_by' => $column_id), $this->baseUrl));
$column_link .= "'>" . esc_html($column_display_name) . "</a>";
$col_html .= '<th scope="col" class="column-' . esc_attr($column_id) . ' ' . ($order_by == $column_id ? esc_attr($order) : '') . '">' . $column_link . '</th>';
}
echo $col_html;
?>
</tr>
</thead>
<tfoot>
<tr>
<th class="manage-column column-cb check-column" scope="col">
<input type="checkbox" />
</th>
<?php echo wp_kses_post($col_html); ?>
</tr>
</tfoot>
<tbody id="the-pmxi-admin-import-list" class="list:pmxe-admin-exports">
<?php if ($list->isEmpty()): ?>
<tr>
<td colspan="<?php echo count($columns) + 1 ?>"><?php esc_html_e('No previous exports found.', 'wp_all_export_plugin') ?></td>
</tr>
<?php else: ?>
<?php
$is_secure_import = PMXE_Plugin::getInstance()->getOption('secure');
$class = '';
?>
<?php foreach ($list as $item):
if ( is_array($item['options']['cpt']) && isset($item['options']['cpt'][0]) ) {
$cpt = $item['options']['cpt'][0];
} else if ( !empty($item['options']['cpt']) ) {
$cpt = $item['options']['cpt'];
} else {
$cpt = '';
}
$is_rapid_addon_export = true;
if (strpos($cpt, 'custom_') !== 0) {
$is_rapid_addon_export = false;
}
?>
<?php $class = ('alternate' == $class) ? '' : 'alternate'; ?>
<tr class="<?php echo esc_attr($class); ?>" valign="middle">
<th scope="row" class="check-column">
<input type="checkbox" id="item_<?php echo $item['id'] ?>" name="items[]" value="<?php echo esc_attr($item['id']) ?>" />
</th>
<?php foreach ($columns as $column_id => $column_display_name): ?>
<?php
switch ($column_id):
case 'id':
?>
<th valign="top" scope="row">
<?php echo esc_html($item['id']); ?>
</th>
<?php
break;
case 'name':
?>
<td style="min-width: 325px;">
<strong><?php echo wp_all_export_clear_xss(esc_html($item['friendly_name'])); ?></strong> <br>
<div class="row-actions">
<span class="edit"><a class="edit" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'template'), $this->baseUrl)) ?>"><?php esc_html_e('Edit Template', 'wp_all_export_plugin') ?></a></span> |
<span class="edit"><a class="edit" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'options'), $this->baseUrl)) ?>"><?php esc_html_e('Settings', 'wp_all_export_plugin') ?></a></span> |
<?php if ( ! $is_secure_import and $item['attch_id']): ?>
<span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'get_file', '_wpnonce' => wp_create_nonce( '_wpnonce-download_feed' )), $this->baseUrl)) ?>"><?php echo esc_html(strtoupper(wp_all_export_get_export_format($item['options']))); ?></a></span> |
<?php if (! empty($item['options']['bundlepath']) and PMXE_Export_Record::is_bundle_supported($item['options'])):?>
<span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'bundle', '_wpnonce' => wp_create_nonce( '_wpnonce-download_bundle' )), $this->baseUrl)) ?>"><?php esc_html_e('Bundle', 'wp_all_export_plugin'); ?></a></span> |
<?php endif; ?>
<?php endif; ?>
<?php if ($is_secure_import and ! empty($item['options']['filepath'])): ?>
<span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'get_file', '_wpnonce' => wp_create_nonce( '_wpnonce-download_feed' )), $this->baseUrl)) ?>"><?php echo esc_html(strtoupper(wp_all_export_get_export_format($item['options']))); ?></a></span> |
<?php if (! empty($item['options']['bundlepath']) and PMXE_Export_Record::is_bundle_supported($item['options'])):?>
<span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'bundle', '_wpnonce' => wp_create_nonce( '_wpnonce-download_bundle' )), $this->baseUrl)) ?>"><?php esc_html_e('Bundle', 'wp_all_export_plugin'); ?></a></span> |
<?php endif; ?>
<?php endif; ?>
<?php if ( ! empty($item['options']['split_large_exports']) and ! empty($item['options']['split_files_list']) ): ?>
<span class="update"><a class="update" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'split_bundle', '_wpnonce' => wp_create_nonce( '_wpnonce-download_split_bundle' )), $this->baseUrl)) ?>"><?php printf(esc_html__('Split %ss', 'wp_all_export_plugin'), strtoupper(wp_all_export_get_export_format($item['options']))); ?></a></span> |
<?php endif; ?>
<span class="delete"><a class="delete" href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'delete'), $this->baseUrl)) ?>"><?php esc_html_e('Delete', 'wp_all_export_plugin') ?></a></span>
</div>
</td>
<?php
break;
case 'info':
?>
<td style="min-width: 180px;">
<?php if (current_user_can(PMXE_Plugin::$capabilities)) { ?>
<a
<?php
if (!is_array($item['options']['cpt'])) {
$item['options']['cpt'] = array($item['options']['cpt']);
}
// Disable scheduling options for User exports if User Export Add-On isn't enabled
if (
((in_array('users', $item['options']['cpt']) || in_array('shop_customer', $item['options']['cpt'])) && !$addons->isUserAddonActive()) ||
($item['options']['export_type'] == 'advanced' && $item['options']['wp_query_selector'] == 'wp_user_query' && !$addons->isUserAddonActive())
) {
?>
href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'options'), $this->baseUrl)) ?>"
<?php
// Disable scheduling options for WooCo exports if WooCo Export Add-On isn't enabled
} else if (
(( (
in_array('product', $item['options']['cpt']) &&
in_array('product_variation', $item['options']['cpt']) && !$addons->isWooCommerceProductAddonActive() ) ||
(in_array('shop_order', $item['options']['cpt']) && !$addons->isWooCommerceOrderAddonActive()) ||
in_array('shop_coupon', $item['options']['cpt']) ||
in_array('shop_review', $item['options']['cpt']) ) && !$addons->isWooCommerceAddonActive())
||
($item['options']['export_type'] == 'advanced' && in_array($item['options']['exportquery']->query['post_type'], array(array('product', 'product_variation'), 'shop_order', 'shop_coupon')) && !$addons->isWooCommerceAddonActive())
) {
?>
href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'options'), $this->baseUrl)) ?>"
<?php
// Disable scheduling options for ACF exports if ACF Export Add-On isn't enabled
} else if (
(isset($item['options']['cpt']) && (!in_array('comments', $item['options']['cpt']) || !in_array('shop_review', $item['options']['cpt'])) && isset($item['options']['cc_type']) && in_array('acf', $item['options']['cc_type']) && !$addons->isAcfAddonActive()) ||
($item['options']['export_type'] == 'advanced' && $item['options']['wp_query_selector'] != 'wp_comment_query' && in_array('acf', $item['options']['cc_type']) && !$addons->isAcfAddonActive())
) {
?>
href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'options'), $this->baseUrl)) ?>"
<?php
} else {
?>
href="javascript:void(0);" class="open_cron_scheduling"
<?php } ?>
data-itemid="<?php echo esc_attr($item['id']); ?>"><?php esc_html_e('Scheduling Options', 'wp_all_export_plugin'); ?></a>
<br>
<?php } ?>
<?php
$is_re_import_allowed = true;
if ( ! empty($item['options']['ids']) )
{
if (in_array('shop_order', $item['options']['cpt']) and class_exists('WooCommerce')) {
$required_fields = array('woo_order' => 'id');
}
else {
$required_fields = array('id' => 'id');
}
// re-import products
if ((in_array('product', $item['options']['cpt']) or $item['options']['export_type'] == 'advanced') and class_exists('WooCommerce') and (empty($item['options']['wp_query_selector']) or $item['options']['wp_query_selector'] == 'wp_query')) {
$required_fields['woo'] = '_sku';
$required_fields['cats'] = 'product_type';
$required_fields['parent'] = 'parent';
}
if ((in_array('users', $item['options']['cpt']) or $item['options']['export_type'] == 'advanced') and (!empty($item['options']['wp_query_selector']) and $item['options']['wp_query_selector'] == 'wp_user_query')) {
$required_fields['user_email'] = 'user_email';
$required_fields['user_login'] = 'user_login';
}
if ($item['options']['export_type'] == 'advanced' and (empty($item['options']['wp_query_selector']) or $item['options']['wp_query_selector'] == 'wp_query')){
$required_fields['post_type'] = 'post_type';
}
$defined_fields = array();
foreach ($item['options']['ids'] as $ID => $value)
{
foreach ($required_fields as $type => $field)
{
if (strtolower($item['options']['cc_type'][$ID]) == $type && strtolower($item['options']['cc_label'][$ID]) == strtolower($field)){
$defined_fields[] = $field;
}
}
}
foreach ($required_fields as $type => $field) {
if ( ! in_array($field, $defined_fields) ){
$is_re_import_allowed = false;
break;
}
}
}
?>
<?php if ( $item['options']['export_to'] == 'csv' || ( empty($item['options']['xml_template_type']) || ! in_array($item['options']['xml_template_type'], array('custom', 'XmlGoogleMerchants'))) ): ?>
<?php if ( wp_all_export_is_compatible() and !empty($item['options']['import_id']) and $is_re_import_allowed): ?>
<a href="<?php echo esc_url(add_query_arg(array('page' => 'pmxi-admin-import', 'id' => $item['options']['import_id'], 'deligate' => 'wpallexport'), remove_query_arg('page', $this->baseUrl))); ?>"><?php esc_html_e("Import with WP All Import", "wp_all_export_plugin"); ?></a><br/>
<?php endif;?>
<?php
if ( !in_array($item['options']['wp_query_selector'], array('wp_comment_query')) and (empty($item['options']['cpt']) or ! in_array('comments', $item['options']['cpt']))) {
if ( ! empty($item['options']['tpl_data'])) {
//$template->getByName($item['options']['template_name']);
//if ( ! $template->isEmpty() ){
?>
<a href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'templates'), $this->baseUrl)); ?>"><?php esc_html_e('Download Import Templates', 'wp_all_export_plugin'); ?></a>
<?php
//}
}
}
?>
<?php endif; ?>
</td>
<?php
break;
case 'data':
?>
<td>
<?php
if(is_broken($item)) {
?>
<strong>Broken:</strong> please delete
<?php
}
?>
<?php
if (!empty($item['options']['cpt'])) {
echo '<strong>' . __('Post Types: ') . '</strong> <br/>';
if ($is_rapid_addon_export) {
$form = GFAPI::get_form($item['options']['sub_post_type_to_export']);
echo 'Gravity Form Entries:<br/>';
echo $form['title'];
} else {
echo implode(', ', $item['options']['cpt']);
}
} else {
echo $item['options']['wp_query'];
} ?>
</td>
<?php
break;
case 'format':
?>
<td>
<strong><?php echo ($item['options']['export_to'] == 'csv' && ! empty($item['options']['export_to_sheet'])) ? esc_html($item['options']['export_to_sheet']) : esc_html($item['options']['export_to']); ?></strong>
</td>
<?php
break;
case 'registered_on':
?>
<td>
<?php if ('0000-00-00 00:00:00' == $item['registered_on']): ?>
<em>never</em>
<?php else: ?>
<?php echo esc_html(mysql2date(__('Y/m/d g:i a', 'wp_all_export_plugin'), $item['registered_on'])); ?>
<?php endif ?>
</td>
<?php
break;
case 'summary':
?>
<td>
<?php
if ($item['triggered'] and ! $item['processing']){
_e('triggered with cron', 'wp_all_export_plugin');
if ($item['last_activity'] != '0000-00-00 00:00:00'){
$diff = ceil((time() - strtotime($item['last_activity']))/60);
?>
<br>
<span <?php if ($diff >= 10) echo 'style="color:red;"';?>>
<?php
printf(esc_html__('last activity %s ago', 'wp_all_export_plugin'), human_time_diff(strtotime($item['last_activity']), time()));
?>
</span>
<?php
}
}
elseif ($item['processing']){
_e('currently processing with cron', 'wp_all_export_plugin'); echo '<br/>';
printf('Records Processed %s', intval($item['exported']));
if ($item['last_activity'] != '0000-00-00 00:00:00'){
$diff = ceil((time() - strtotime($item['last_activity']))/60);
?>
<br>
<span <?php if ($diff >= 10) echo 'style="color:red;"';?>>
<?php
printf(esc_html__('last activity %s ago', 'wp_all_export_plugin'), human_time_diff(strtotime($item['last_activity']), time()));
?>
</span>
<?php
}
}
elseif($item['executing']){
_e('Export currently in progress', 'wp_all_export_plugin');
if ($item['last_activity'] != '0000-00-00 00:00:00'){
$diff = ceil((time() - strtotime($item['last_activity']))/60);
?>
<br>
<span <?php if ($diff >= 10) echo 'style="color:red;"';?>>
<?php
printf(esc_html__('last activity %s ago', 'wp_all_export_plugin'), human_time_diff(strtotime($item['last_activity']), time()));
?>
</span>
<?php
}
}
elseif($item['canceled'] and $item['canceled_on'] != '0000-00-00 00:00:00'){
printf(esc_html__('Export Attempt at %s', 'wp_all_export_plugin'), get_date_from_gmt($item['canceled_on'], "m/d/Y g:i a")); echo '<br/>';
_e('Export canceled', 'wp_all_export_plugin');
}
else {
printf(esc_html__('Last run: %s', 'wp_all_export_plugin'), ($item['registered_on'] == '0000-00-00 00:00:00') ? __('never', 'wp_all_export_plugin') : get_date_from_gmt($item['registered_on'], "m/d/Y g:i a")); echo '<br/>';
printf(esc_html__('%d Records Exported', 'wp_all_export_plugin'), $item['exported']); echo '<br/>';
$export_to = ($item['options']['export_to'] == 'csv' && ! empty($item['options']['export_to_sheet'])) ? $item['options']['export_to_sheet'] : $item['options']['export_to'];
printf(esc_html__('Format: %s', 'wp_all_export_plugin'), esc_html($export_to)); echo '<br/>';
}
if ($item['settings_update_on'] != '0000-00-00 00:00:00' and $item['last_activity'] != '0000-00-00 00:00:00' and strtotime($item['settings_update_on']) > strtotime($item['last_activity'])){
?>
<strong><?php esc_html_e('settings edited since last run', 'wp_all_export_plugin'); ?></strong>
<?php
}
?>
</td>
<?php
break;
case 'actions':
?>
<td style="min-width: 130px;">
<?php
if(!is_broken($item)) {
?>
<?php if (!$item['processing'] and !$item['executing']): ?>
<h2 style="float:left;"><a class="add-new-h2"
href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'update'), $this->baseUrl)); ?>"><?php esc_html_e('Run Export', 'wp_all_export_plugin'); ?></a>
</h2>
<?php elseif ($item['processing']) : ?>
<h2 style="float:left;"><a class="add-new-h2"
href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'cancel'), $this->baseUrl)); ?>"><?php esc_html_e('Cancel Cron', 'wp_all_export_plugin'); ?></a>
</h2>
<?php elseif ($item['executing']) : ?>
<h2 style="float:left;"><a class="add-new-h2"
href="<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'cancel'), $this->baseUrl)); ?>"><?php esc_html_e('Cancel', 'wp_all_export_plugin'); ?></a>
</h2>
<?php endif; ?>
<?php
}
?>
</td>
<?php
break;
default:
?>
<td>
<?php do_action('pmxe_manage_imports_column', $column_id, $item); ?>
</td>
<?php
break;
endswitch;
?>
<?php endforeach; ?>
</tr>
<?php endforeach; ?>
<?php endif ?>
</tbody>
</table>
<div class="tablenav">
<?php if ($page_links): ?><div class="tablenav-pages"><?php echo $page_links_html ?></div><?php endif ?>
<div class="alignleft actions">
<select name="bulk-action2">
<option value="" selected="selected"><?php esc_html_e('Bulk Actions', 'wp_all_export_plugin') ?></option>
<?php if ( empty($type) or 'trash' != $type): ?>
<option value="delete"><?php esc_html_e('Delete', 'wp_all_export_plugin') ?></option>
<?php else: ?>
<option value="restore"><?php esc_html_e('Restore', 'wp_all_export_plugin')?></option>
<option value="delete"><?php esc_html_e('Delete Permanently', 'wp_all_export_plugin')?></option>
<?php endif ?>
</select>
<input type="submit" value="<?php esc_attr_e('Apply', 'wp_all_export_plugin') ?>" name="doaction2" id="doaction2" class="button-secondary action" />
</div>
</div>
<div class="clear"></div>
<div class="wpallexport-negative-margin">
<?php echo apply_filters('wpallexport_footer', ''); ?>
</div>
</form>
<div class="wpallexport-overlay"></div>
<div class="wpallexport-loader" style="border-radius: 5px; z-index: 999999; display:none; position: fixed;top: 200px; left: 50%; width: 100px;height: 100px;background-color: #fff; text-align: center;">
<img style="margin-top: 45%;" src="<?php echo PMXE_ROOT_URL; ?>/static/img/preloader.gif" />
</div>
<div class="wpallexport-super-overlay"></div>
<fieldset class="optionsset column rad4 wp-all-export-scheduling-help">
<div class="title">
<span style="font-size:1.5em;" class="wpallexport-add-row-title"><?php esc_html_e('Automatic Scheduling', 'wp_all_export_plugin'); ?></span>
</div>
<?php
include_once __DIR__.'/../../../src/Scheduling/views/SchedulingHelp.php';
?>
</fieldset>