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