displayToolbar($data); } ?>
displayTabs($this->steps, 'campaigns'); ?>

config->get('cron_last', 0) < (time() - 43200) ? 'ACYM_QUEUE_READY' : 'ACYM_SENDING'; acym_filterStatus( [ '' => ['ACYM_ALL', $data['numberPerStatus']['all']], 'sending' => [$sendingText, $data['numberPerStatus']['sending']], 'paused' => ['ACYM_PAUSED', $data['numberPerStatus']['paused']], 'automation' => ['ACYM_AUTOMATION', $data['numberPerStatus']['automation']], 'followup' => ['ACYM_FOLLOW_UP', $data['numberPerStatus']['followup']], ], $data['status'], 'cqueue_status' ); ?>
language; if (!empty($row->sending_params['abtest'])) { $afterName = $row->subject; } elseif (!empty($data['languages'][$row->language])) { $afterName = $data['languages'][$row->language]->name; } $afterName = empty($afterName) ? '' : ' - '.$afterName ?>
name.$afterName); ?>
subject ?? ''); ?>

sending_date, acym_getDateTimeFormat())); ?>

iscampaign) { echo esc_html($row->lists); } else { $i = 0; $class = 'acym_subscription acymicon-circle'; foreach ($row->lists as $oneList) { if ($i == 6) { acym_tooltip( [ 'hoveredText' => '', 'textShownInTooltip' => acym_translation('ACYM_SHOW_ALL_LISTS'), ] ); $class .= ' is-hidden'; } acym_tooltip( [ 'hoveredText' => '', 'textShownInTooltip' => $oneList->name, ] ); $i++; } } ?>
recipients)) { echo wp_kses( acym_translationSprintf('ACYM_X_RECIPIENTS', ''.number_format($row->recipients, 0, '.', ' ').''), [ 'strong' => [], ] ); } ?>
iscampaign) { $text = acym_translation('ACYM_SCHEDULED'); $class = 'acym_status_scheduled'; } elseif ($row->active == 0) { $text = acym_translation('ACYM_PAUSED'); $class = 'acym_status_paused'; } else { if ($this->config->get('cron_last', 0) < (time() - 43200)) { $text = acym_translation('ACYM_QUEUE_READY'); $class = 'acym_status_ready'; } else { $text = acym_translation('ACYM_QUEUE_SENDING'); $class = 'acym_status_sending'; } } ?>
nbqueued) && $row->iscampaign) { if (!empty($row->recipients)) { $percentageSent = 100 - ceil($row->nbqueued * 100 / $row->recipients); } echo '
'; } ?>
nbqueued) && $row->iscampaign) { echo ''.esc_html($percentageSent).'%'; } ?>
active == 1) { ?>
id; acym_modal( ' '.acym_translation('ACYM_SEND_NOW'), '', null, ['data-reveal-larger' => true], [ 'data-reload' => 'true', 'data-ajax' => 'true', 'data-iframe' => '&ctrl=queue&task=continuesend&id='.$row->id.'&totalsend='.$row->nbqueued, ] ); ?>
'; $cancelText = 'ACYM_CANCEL_SCHEDULING'; // Play/pause button if (!empty($row->nbqueued) && $row->iscampaign) { $class = $row->active == 0 ? 'acymicon-play-circle-filled' : 'acymicon-pause-circle'; acym_tooltip([ 'hoveredText' => '', 'textShownInTooltip' => acym_translation($row->active == 0 ? 'ACYM_UNPAUSE_CAMPAIGN' : 'ACYM_PAUSE_CAMPAIGN'), ]); $cancelText = 'ACYM_CANCEL_CAMPAIGN'; } // Delete button acym_tooltip( [ 'hoveredText' => '', 'textShownInTooltip' => acym_translation($cancelText), ] ); echo '
'; ?>
display('cqueue'); ?>