486 |
alexandre_ |
1 |
<?php
|
|
|
2 |
/*vim: set expandtab tabstop=4 shiftwidth=4: */
|
|
|
3 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
4 |
// | PHP version 4.1 |
|
|
|
5 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
6 |
// | Copyright (C) 2004 Tela Botanica (accueil@tela-botanica.org) |
|
|
|
7 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
8 |
// | This library is free software; you can redistribute it and/or |
|
|
|
9 |
// | modify it under the terms of the GNU Lesser General Public |
|
|
|
10 |
// | License as published by the Free Software Foundation; either |
|
|
|
11 |
// | version 2.1 of the License, or (at your option) any later version. |
|
|
|
12 |
// | |
|
|
|
13 |
// | This library is distributed in the hope that it will be useful, |
|
|
|
14 |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
15 |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
|
|
16 |
// | Lesser General Public License for more details. |
|
|
|
17 |
// | |
|
|
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
|
|
19 |
// | License along with this library; if not, write to the Free Software |
|
|
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
|
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
1298 |
neiluj |
22 |
// CVS : $Id: bazar.desinscription.inc.php,v 1.3 2007-04-11 08:30:12 neiluj Exp $
|
486 |
alexandre_ |
23 |
/**
|
|
|
24 |
*
|
|
|
25 |
*@package bazar
|
|
|
26 |
//Auteur original :
|
|
|
27 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
|
|
28 |
*@author Florian Schmitt <florian@ecole-et-nature.org>
|
|
|
29 |
//Autres auteurs :
|
|
|
30 |
*@copyright Tela-Botanica 2000-2005
|
1298 |
neiluj |
31 |
*@version $Revision: 1.3 $
|
486 |
alexandre_ |
32 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
33 |
*/
|
|
|
34 |
/* Ce programme est appelé depuis inscription.php et
|
|
|
35 |
* se situe dans la fonction afficherContenuCorps()
|
|
|
36 |
*/
|
|
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
38 |
// | LES CONSTANTES DES ACTIONS DE BAZAR |
|
|
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
40 |
|
|
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
42 |
// | ENTETE du PROGRAMME |
|
|
|
43 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
44 |
|
|
|
45 |
// Suppression des entrée dans bazar_droits
|
1252 |
jp_milcent |
46 |
$requete = 'DELETE FROM bazar_droits WHERE bd_id_utilisateur='.$id_utilisateur ;
|
486 |
alexandre_ |
47 |
$resultat = $GLOBALS['ins_db']->query($requete) ;
|
|
|
48 |
|
|
|
49 |
if (DB::isError($resultat)) {
|
|
|
50 |
echo 'Erreur dans la requete sur bazar_droits<br />'.$requete.'<br />'.$resultat->getMessage() ;
|
|
|
51 |
}
|
|
|
52 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
53 |
// | LISTE de FONCTIONS |
|
|
|
54 |
// +------------------------------------------------------------------------------------------------------+
|
|
|
55 |
|
|
|
56 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
|
|
57 |
*
|
|
|
58 |
* $Log: not supported by cvs2svn $
|
1252 |
jp_milcent |
59 |
* Revision 1.1.4.1 2007/03/07 16:53:45 jp_milcent
|
|
|
60 |
* Mise en majuscule des mots réservés par SQL
|
|
|
61 |
*
|
|
|
62 |
* Revision 1.1 2005/09/29 16:14:17 alexandre_tb
|
|
|
63 |
* version initiale
|
|
|
64 |
*
|
486 |
alexandre_ |
65 |
*
|
|
|
66 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
|
|
67 |
*/
|
|
|
68 |
?>
|