| @@ -1,20 +1,0 @@ | ||
| 1 | -<?php | |
| 2 | -defined('ABSPATH') || die('Restricted Access'); | |
| 3 | -?> | |
| 4 | - <h5 class="cell acym__title acym__title__secondary"><?php echo esc_html(acym_translation('ACYM_STATISTICS')); ?></h5> | |
| 5 | - <div class="cell grid-x"> | |
| 6 | - <?php | |
| 7 | - acym_displayRoundChart($data['listStats']['deliveryRate'], 'delivery', 'cell large-auto medium-6 small-12', '<label>'.acym_translation('ACYM_DELIVERY_RATE').'</label>'); | |
| 8 | - acym_displayRoundChart($data['listStats']['openRate'], 'open', 'cell large-auto medium-6 small-12', '<label>'.acym_translation('ACYM_OPEN_RATE').'</label>'); | |
| 9 | - acym_displayRoundChart($data['listStats']['clickRate'], 'click', 'cell large-auto medium-6 small-12', '<label>'.acym_translation('ACYM_CLICK_RATE').'</label>'); | |
| 10 | - acym_displayRoundChart($data['listStats']['failRate'], 'fail', 'cell large-auto medium-6 small-12', '<label>'.acym_translation('ACYM_FAIL_RATE').'</label>'); | |
| 11 | - acym_displayRoundChart($data['listStats']['bounceRate'], '', 'cell large-auto medium-6 small-12', '<label>'.acym_translation('ACYM_BOUNCE_RATE').'</label>'); | |
| 12 | - ?> | |
| 13 | - </div> | |
| 14 | -<?php if (!empty($data['evol'])) { ?> | |
| 15 | - <h4 class="cell text-center margin-top-2 "><?php echo esc_html(acym_translation('ACYM_SUBSCRIBERS_EVOLTUION_LAST_YEAR')); ?></h4> | |
| 16 | - <div class="cell grid-x" id="acym__list__settings__stats__evol"> | |
| 17 | - <input type="hidden" id="acym__list__settings__stats-evol__data" value="<?php echo esc_attr(json_encode($data['evol'])); ?>"> | |
| 18 | - <canvas id="chartjs-evol" height="400"></canvas> | |
| 19 | - </div> | |
| 20 | -<?php } | |