Subversion Repositories Applications.bazar

Rev

Rev 121 | Rev 205 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 121 Rev 159
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
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                                  |
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                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: bazar.inscription.inc.php,v 1.3 2006-04-28 16:10:17 florian Exp $
22
// CVS : $Id: bazar.inscription.inc.php,v 1.4 2006-12-01 13:23:17 florian Exp $
23
/**
23
/**
24
* 
24
* 
25
*@package bazar
25
*@package bazar
26
//Auteur original :
26
//Auteur original :
27
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
27
*@author        Alexandre GRANIER <alexandre@tela-botanica.org>
28
*@author        Florian Schmitt <florian@ecole-et-nature.org>
28
*@author        Florian Schmitt <florian@ecole-et-nature.org>
29
//Autres auteurs :
29
//Autres auteurs :
30
*@copyright     Tela-Botanica 2000-2005
30
*@copyright     Tela-Botanica 2000-2005
31
*@version       $Revision: 1.3 $
31
*@version       $Revision: 1.4 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
Line 35... Line 35...
35
// RAPPEL : On se situe dans la fonction afficherContenuCorps() de inscription.php 
35
// RAPPEL : On se situe dans la fonction afficherContenuCorps() de inscription.php 
36
 
36
 
37
// requete pour récupérer l'ensemble des type d'annonces
37
// requete pour récupérer l'ensemble des type d'annonces
38
$requete = 'select bn_id_nature from bazar_nature where 1' ;
-
 
39
$resultat = $GLOBALS['ins_db']->query ($requete);
38
$requete = 'select bn_id_nature from bazar_nature where 1' ;
40
 
-
 
41
$SQL = '' ;
39
$resultat = $GLOBALS['ins_db']->query ($requete);
42
 
40
$SQL = '' ;
43
while ($ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT)) {
41
while ($ligne = $resultat->fetchRow(DB_FETCHMODE_OBJECT)) {
Line 44... Line 42...
44
	$SQL .= '('.$id_utilisateur.', '.$ligne->bn_id_nature.', 1),' ;	
42
	$SQL .= '('.$id_utilisateur.', '.$ligne->bn_id_nature.', 1),' ;	
Line 55... Line 53...
55
unset($resultat) ;
53
unset($resultat) ;
Line 56... Line 54...
56
 
54
 
57
/* +--Fin du code ----------------------------------------------------------------------------------------+
55
/* +--Fin du code ----------------------------------------------------------------------------------------+
58
*
56
*
-
 
57
* $Log: not supported by cvs2svn $
-
 
58
* Revision 1.3  2006/04/28 16:10:17  florian
-
 
59
* inscrit d'office tous les utilisateurs en rédacteur de fiches
59
* $Log: not supported by cvs2svn $
60
*
60
* Revision 1.2  2006/03/29 13:06:07  alexandre_tb
61
* Revision 1.2  2006/03/29 13:06:07  alexandre_tb
61
* Code initial
62
* Code initial
62
*
63
*
63
* Revision 1.1  2005/09/29 16:14:17  alexandre_tb
64
* Revision 1.1  2005/09/29 16:14:17  alexandre_tb