mirror of
https://github.com/quentin-g-dev/afup.git
synced 2026-03-25 01:32:08 +01:00
21 lines
569 B
PHP
21 lines
569 B
PHP
<?php
|
|
|
|
// Impossible to access the file itself
|
|
use Afup\Site\Utils\Logs;
|
|
|
|
/** @var \AppBundle\Controller\LegacyController $this */
|
|
if (!defined('PAGE_LOADED_USING_INDEX')) {
|
|
trigger_error("Direct access forbidden.", E_USER_ERROR);
|
|
exit;
|
|
}
|
|
|
|
if (empty($_GET['numero_page'])) {
|
|
$_GET['numero_page'] = 1;
|
|
}
|
|
$smarty->assign('logs' , Logs::obtenirTous($_GET['numero_page']));
|
|
$smarty->assign('nombre_pages', Logs::obtenirNombrePages());
|
|
$smarty->assign('numero_page' , $_GET['numero_page']);
|
|
$smarty->assign('url' , 'index.php?page=logs');
|
|
|
|
?>
|