| 1 |
<?php |
| 2 |
defined('ABSPATH') || die('Restricted Access'); |
| 3 |
?> |
| 4 |
<div id="acym__dashboard"> |
| 5 |
<?php include acym_getView('dashboard', 'important_notice'); ?> |
| 6 |
|
| 7 |
<?php if ($this->config->get('show_beginner_steps') === 1) { ?> |
| 8 |
<div class="acym__dashboard__card grid-x grid-margin-x"> |
| 9 |
<?php if (acym_isAllowed('configuration')) { ?> |
| 10 |
<div id="beginner-steps-container" class="cell large-6 margin-bottom-2"> |
| 11 |
<?php include acym_getView('dashboard', 'beginning_steps'); ?> |
| 12 |
</div> |
| 13 |
|
| 14 |
<div class="cell large-6 margin-bottom-2"> |
| 15 |
<?php include acym_getView('dashboard', 'engage_community'); ?> |
| 16 |
</div> |
| 17 |
<?php } ?> |
| 18 |
</div> |
| 19 |
|
| 20 |
<?php if (acym_isAllowed('stats')) { ?> |
| 21 |
<div class="acym__dashboard__card acym__dashboard__stats__wrapper grid-x grid-margin-x"> |
| 22 |
<?php include acym_getView('dashboard', 'stats'); ?> |
| 23 |
</div> |
| 24 |
<?php } ?> |
| 25 |
<?php } else { ?> |
| 26 |
<?php if (acym_isAllowed('stats')) { ?> |
| 27 |
<div class="acym__dashboard__card acym__dashboard__stats__wrapper grid-x grid-margin-x"> |
| 28 |
<?php include acym_getView('dashboard', 'stats'); ?> |
| 29 |
</div> |
| 30 |
<?php } ?> |
| 31 |
|
| 32 |
<?php if (acym_isAllowed('configuration')) { ?> |
| 33 |
<div class="acym__dashboard__card grid-x margin-bottom-2"> |
| 34 |
<?php include acym_getView('dashboard', 'engage_community'); ?> |
| 35 |
</div> |
| 36 |
<?php } ?> |
| 37 |
<?php } ?> |
| 38 |
|
| 39 |
<?php if (acym_isAllowed('campaigns')) { ?> |
| 40 |
<div class="acym__dashboard__card grid-x margin-bottom-2"> |
| 41 |
<?php include acym_getView('dashboard', 'campaign_progress'); ?> |
| 42 |
</div> |
| 43 |
|
| 44 |
<div class="acym__dashboard__card grid-x margin-bottom-2"> |
| 45 |
<?php include acym_getView('dashboard', 'recent_campaign'); ?> |
| 46 |
</div> |
| 47 |
<?php } ?> |
| 48 |
|
| 49 |
<div class="acym__dashboard__card acym__dashboard__small__wrapper grid-x grid-margin-x"> |
| 50 |
<?php if (acym_isAllowed('users')) { ?> |
| 51 |
<div class="cell large-6 margin-bottom-2"> |
| 52 |
<?php include acym_getView('dashboard', 'subscribers'); ?> |
| 53 |
</div> |
| 54 |
<?php } ?> |
| 55 |
<?php if (acym_isAllowed('lists')) { ?> |
| 56 |
<div class="cell large-6"> |
| 57 |
<?php include acym_getView('dashboard', 'main_list'); ?> |
| 58 |
</div> |
| 59 |
<?php } ?> |
| 60 |
</div> |
| 61 |
</div> |
| 62 |
|