1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
namespace Garradin;
require_once __DIR__ . '/../_inc.php';
if ($user['droits']['membres'] < Membres::DROIT_ADMIN)
{
throw new UserException("Vous n'avez pas le droit d'accéder à cette page.");
}
$import = new Membres\Import;
if (isset($_GET['export']))
{
header('Content-type: application/csv');
header('Content-Disposition: attachment; filename="Export membres - ' . $config->get('nom_asso') . ' - ' . date('Y-m-d') . '.csv"');
|
|
<
<
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
namespace Garradin;
require_once __DIR__ . '/../_inc.php';
$session->requireAccess('membres', Membres::DROIT_ADMIN);
$import = new Membres\Import;
if (isset($_GET['export']))
{
header('Content-type: application/csv');
header('Content-Disposition: attachment; filename="Export membres - ' . $config->get('nom_asso') . ' - ' . date('Y-m-d') . '.csv"');
|