compta.php 1.71 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
<?php

/* Copyright 2008
 * - Simon Lopez < simon DOT lopez AT ayolo DOT org >
 *
 * Ce fichier fait partie 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 as
 * 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 site 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("compta_admin") )
33
  $site->error_forbidden("accueil");
Ayolo's avatar
bleh  
Ayolo committed
34

35
$site->start_page("accueil","Tâches courantes des trésoriers AE");
Ayolo's avatar
bleh  
Ayolo committed
36 37 38 39 40 41 42 43 44

$cts = new contents("Tâches courantes des trésoriers AE");

$board = new board();

$sublist = new itemlist("Comptabilité de l'AE","boxlist");
$sublist->add("<a href=\"".$topdir."entreprise.php\">Carnet d'adresses</a>");
$sublist->add("<a href=\"".$topdir."compta/\">Comptabilité</a>");
$sublist->add("<a href=\"".$topdir."comptoir/admin.php\">Comptoirs AE</a>");
jlaval's avatar
jlaval committed
45
$sublist->add("<a href=\"".$topdir."compta/eticket.php\">Gestion E-tickets</a>");
Ayolo's avatar
bleh  
Ayolo committed
46 47 48 49 50 51 52 53 54
$board->add($sublist,true);

$cts->add($board);

$site->add_contents($cts);

$site->end_page();

?>