Subversion Repositories Applications.bazar

Rev

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

Rev 71 Rev 72
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.php,v 1.22 2006-01-16 15:11:28 alexandre_tb Exp $
22
// CVS : $Id: bazar.php,v 1.23 2006-01-17 10:07:36 alexandre_tb 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-2004
30
*@copyright     Tela-Botanica 2000-2004
31
*@version       $Revision: 1.22 $ $Date: 2006-01-16 15:11:28 $
31
*@version       $Revision: 1.23 $ $Date: 2006-01-17 10:07:36 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
Line 183... Line 183...
183
		if (($_GET['action']!=BAZ_ACTION_NOUVEAU_V)and($_GET['action']!=BAZ_ACTION_MODIFIER_V)) unset($_SESSION['formulaire_annonce_valide']);
183
		if (($_GET['action']!=BAZ_ACTION_NOUVEAU_V)and($_GET['action']!=BAZ_ACTION_MODIFIER_V)) unset($_SESSION['formulaire_annonce_valide']);
184
		switch ($_GET['action']) {
184
		switch ($_GET['action']) {
185
			case BAZ_VOIR_VOS_ANNONCES : $res .= mes_fiches(); break;
185
			case BAZ_VOIR_VOS_ANNONCES : $res .= mes_fiches(); break;
186
			case BAZ_VOIR_TOUTES_ANNONCES : $res .= baz_liste($GLOBALS['_BAZAR_']['id_nature']); break;
186
			case BAZ_VOIR_TOUTES_ANNONCES : $res .= baz_liste($GLOBALS['_BAZAR_']['id_nature']); break;
187
			case BAZ_DEPOSER_ANNONCE : $res .= baz_formulaire(BAZ_DEPOSER_ANNONCE); break;
187
			case BAZ_DEPOSER_ANNONCE : $res .= baz_formulaire(BAZ_DEPOSER_ANNONCE); break;
188
			case BAZ_ANNONCES_A_VALIDER : $res .= fiches_a_valider(); break;
188
			case BAZ_ANNONCES_A_VALIDER : $res .= fiches_a_valider().baz_liste(); break;
189
			case BAZ_ADMINISTRER_ANNONCES : $res .= baz_administrer_annonces(); break;
189
			case BAZ_ADMINISTRER_ANNONCES : $res .= baz_administrer_annonces(); break;
190
			case BAZ_MODIFIER_FICHE : $res .= baz_formulaire(BAZ_ACTION_MODIFIER); break;
190
			case BAZ_MODIFIER_FICHE : $res .= baz_formulaire(BAZ_ACTION_MODIFIER); break;
191
			case BAZ_SUPPRIMER_FICHE : $res .= baz_suppression().baz_liste('',$GLOBALS['id_user'],''); break;
191
			case BAZ_SUPPRIMER_FICHE : $res .= baz_suppression().baz_liste('',$GLOBALS['id_user'],''); break;
192
			case BAZ_VOIR_FICHE : $res .= baz_voir_fiche(1); break;
192
			case BAZ_VOIR_FICHE : $res .= baz_voir_fiche(1); break;
193
			case BAZ_ACTION_NOUVEAU : $res .= baz_formulaire(BAZ_ACTION_NOUVEAU); break;
193
			case BAZ_ACTION_NOUVEAU : $res .= baz_formulaire(BAZ_ACTION_NOUVEAU); break;
Line 211... Line 211...
211
 
211
 
212
 
212
 
213
/* +--Fin du code ----------------------------------------------------------------------------------------+
213
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
214
*
-
 
215
* $Log: not supported by cvs2svn $
-
 
216
* Revision 1.22  2006/01/16 15:11:28  alexandre_tb
214
*
217
* simplification code
215
* $Log: not supported by cvs2svn $
218
*
216
* Revision 1.21  2006/01/13 14:12:52  florian
219
* Revision 1.21  2006/01/13 14:12:52  florian
217
* utilisation des temlates dans la table bazar_nature
220
* utilisation des temlates dans la table bazar_nature
218
*
221
*