123456789101112131415161718 |
- <?php
- #declare(strict_types=1);
-
- enforce_login();
-
- if (!isset($_REQUEST['action'])) {
- error(404);
- } else {
- switch ($_REQUEST['action']) {
- case 'users':
- include SERVER_ROOT.'/sections/stats/users.php';
- break;
-
- case 'torrents':
- include SERVER_ROOT.'/sections/stats/torrents.php';
- break;
- }
- }
|