PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 10.2.2
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v10.2.2
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
acymailing / back / Views / Stats / tmpl / stats_by_list.php

stats_by_list.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 10.2.2, at back/Views/Stats/tmpl/stats_by_list.php

60 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <form id="acym_form" action="<?php echo acym_completeLink(acym_getVar('cmd', 'ctrl')); ?>" method="post" name="acyForm">
2 <div class="acym__content acym__content__tab" id="acym_stats">
3 <div class="cell grid-x acym_vcenter" id="acym_stats__select">
4 <div class="cell grid-x acym_vcenter">
5 <div class="cell auto"></div>
6 <h2 class="cell shrink text-right acym_stats__title__choose"><?php echo acym_translation('ACYM_SELECT_AN_EMAIL'); ?></h2>
7 <div class="cell large-4 medium-6 margin-left-1"><?php echo $data['mail_filter']; ?></div>
8 <button class="cell margin-1 shrink acy_button_submit button" data-task="listing"><?php echo acym_translation('ACYM_VALIDATE'); ?></button>
9 <div class="cell auto"></div>
10 </div>
11 <?php if (!empty($data['emailVersionsFilters']) && (!empty($data['emailVersions']) || !empty($data['emailTranslations']))) { ?>
12 <div class="cell grid-x margin-top-1 acym_vcenter acym__stats__select__language__container">
13 <h2 class="cell medium-5 text-right acym_stats__title__choose-smaller"><?php echo acym_translation('ACYM_SPECIFY_VERSION'); ?></h2>
14 <div class="cell large-2 medium-4 margin-left-1"><?php echo $data['emailVersionsFilters']; ?></div>
15 </div>
16 <?php } ?>
17 </div>
18 <?php
19 $workflow = $data['workflowHelper'];
20 $this->isMailSelected($data['selectedMailid'], empty($data['no_click_map']));
21 echo $workflow->displayTabs($this->tabs, 'statsByList');
22 ?>
23
24 <div class="acym__content acym__stats">
25 <?php
26 if (count(array_unique($data['selectedMailid'])) != 1) {
27 echo '<h1 class="acym__listing__empty__title text-center cell">'.acym_translation('ACYM_FEATURE_WORKS_WHEN_ONLY_ONE_CAMPAIGN_SELECTED').'</h1>';
28 } elseif (empty($data['listsStats'])) {
29 echo '<h1 class="acym__listing__empty__title text-center cell">'.acym_translation('ACYM_NO_LIST_WITH_THIS_CAMPAIGN').'</h1>';
30 } else {
31 ?>
32 <div class="cell grid-x acym__content align-center">
33 <h2 class="cell acym__title acym__title__secondary"><?php echo acym_translation('ACYM_EMAIL_STATISTICS'); ?></h2>
34 <div class="grid-x padding-top-3">
35 <div class="cell small-12 medium-6">
36 <?php echo acym_pieChart($data['emailsSent'], '', acym_translation('ACYM_EMAILS_SENT'), true, true); ?>
37 </div>
38 <div class="cell small-12 medium-6">
39 <?php echo acym_barChart($data['emailsOpen'], acym_translation('ACYM_EMAILS_OPENED')); ?>
40 </div>
41 </div>
42 <div class="grid-x padding-top-3">
43 <div class="cell small-12 medium-4">
44 <?php echo acym_barChart($data['click'], acym_translation('ACYM_CLICKED_ON_LINK').' (%)'); ?>
45 </div>
46 <div class="cell small-12 medium-4">
47 <?php echo acym_barChart($data['bounces'], acym_translation('ACYM_BOUNCES').' (%)'); ?>
48 </div>
49 <div class="cell small-12 medium-4">
50 <?php echo acym_barChart($data['unsubscribed'], acym_translation('ACYM_ACTION_UNSUBSCRIBED').' (%)'); ?>
51 </div>
52 </div>
53 </div>
54 <?php } ?>
55 </div>
56 </div>
57 <?php acym_formOptions(); ?>
58 </form>
59
60