2021-02-12 17:06:38 +01:00
|
|
|
<?php echo template::formOpen('statsConfig'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('statsConfigBack', [
|
|
|
|
'class' => 'buttonGrey',
|
2021-02-12 18:37:31 +01:00
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/config',
|
2021-02-12 17:06:38 +01:00
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2021-02-12 18:37:31 +01:00
|
|
|
<div class="col2 offset8">
|
2021-02-12 17:06:38 +01:00
|
|
|
<?php echo template::button('statsConfigAdd', [
|
2021-02-12 18:37:31 +01:00
|
|
|
'class' => 'statsDeleteAll buttonRed',
|
|
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/statsDeleteAll' . '/' . $this->getUrl(2) . '/'. $_SESSION['csrf'] ,
|
|
|
|
'ico' => 'cancel',
|
|
|
|
'value' => 'Tout effacer'
|
2021-02-12 17:06:38 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo template::formClose(); ?>
|
|
|
|
<?php if($module::$items): ?>
|
|
|
|
<?php echo template::table([6, 6], $module::$items, ['Date', 'Adresse IP']); ?>
|
|
|
|
<?php echo $module::$pages; ?>
|
|
|
|
<?php else: ?>
|
|
|
|
<?php echo template::speech('Aucun item.'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
<div class="moduleVersion">Version n°
|
|
|
|
<?php echo $module::VERSION; ?>
|
|
|
|
</div>
|