index.php 2.14 KB
Newer Older
ayolo's avatar
bleh  
ayolo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
<?php
/* Copyright 2009
 *
 * Ce fichier est adapté du site de l'association des étudiants de
 * l'UTBM, http://ae.utbm.fr.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License a
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 */
$topdir = "../";
require_once($topdir. "include/site.inc.php");
require_once($topdir."include/cts/board.inc.php");

$site = new site ();

if ( !$site->user->is_in_group("gestion_bds") )
  $site->error_forbidden("none","group","gestion_bds");

$site->start_page("none","Tâches courantes BDS");

$cts = new contents("Tâches courantes BDS");

$board = new board();

$sublist = new itemlist("Carte BDS");
ayolo's avatar
bleh  
ayolo committed
38 39 40
$sublist->add("<a href=\"cartes.php?view=retrait\">Retrait carte BDS</a>");
$sublist->add("<a href=\"cartes.php?view=bureau\">Arrivée cartes BDS au bureau</a>");
$sublist->add("<a href=\"cartes.php\">Impression cartes BDS</a>");
ayolo's avatar
bleh  
ayolo committed
41 42 43 44 45
$board->add($sublist,true);

$sublist = new itemlist("Cotisations");
$sublist->add("<a href=\"cotisations.php#newstudent\">Nouvelle cotisation</a>");
$sublist->add("<a href=\"cotisations.php\">Renouvellement cotisation/consultation</a> (Possible aussi depuis la fiche utilisateur)");
ayolo's avatar
bleh  
ayolo committed
46
$sublist->add("<a href=\"certificats.php\">Certificats</a>");
ayolo's avatar
bleh  
ayolo committed
47 48 49 50 51
$board->add($sublist,true);

$board->clear();

$sublist = new itemlist("Divers");
ayolo's avatar
bleh  
ayolo committed
52
$sublist->add("<a href=\"users.php\">Rechercher un utilisateur</a>");
ayolo's avatar
bleh  
ayolo committed
53 54 55 56 57 58 59 60 61 62
$sublist->add("<a href=\"activites.php\">Listing des responsables et des trésoriers des activités</a>");
$board->add($sublist,true);

$cts->add($board);

$site->add_contents($cts);

$site->end_page();

?>