Subversion Repositories Applications.bazar

Rev

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

Rev 154 Rev 185
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.35 2006-10-05 08:53:50 florian Exp $
22
// CVS : $Id: bazar.php,v 1.36 2007-02-15 14:18:38 jp_milcent 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.35 $ $Date: 2006-10-05 08:53:50 $
31
*@version       $Revision: 1.36 $ $Date: 2007-02-15 14:18:38 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
Line 99... Line 99...
99
if (isset($_REQUEST['typeannonce'])) {
99
if (isset($_REQUEST['typeannonce'])) {
100
	$GLOBALS['_BAZAR_']['id_typeannonce']=$_REQUEST['typeannonce'];
100
	$GLOBALS['_BAZAR_']['id_typeannonce']=$_REQUEST['typeannonce'];
101
}
101
}
Line 102... Line 102...
102
 
102
 
103
if ((isset($GLOBALS['_BAZAR_']['id_typeannonce']))and($GLOBALS['_BAZAR_']['id_typeannonce']!='toutes')) {
103
if ((isset($GLOBALS['_BAZAR_']['id_typeannonce']))and($GLOBALS['_BAZAR_']['id_typeannonce']!='toutes')) {
104
	$requete = 'SELECT bn_label_nature, bn_condition, bn_template, bn_commentaire, bn_appropriation, bn_image_titre, bn_image_logo FROM bazar_nature WHERE bn_id_nature='.$GLOBALS['_BAZAR_']['id_typeannonce'];
104
	$requete = 'SELECT bn_label_nature, bn_condition, bn_template, bn_commentaire, bn_appropriation, bn_image_titre, bn_image_logo FROM bazar_nature WHERE bn_id_nature = '.$GLOBALS['_BAZAR_']['id_typeannonce'];
105
	$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
105
	$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
106
	if (DB::isError($resultat)) {
106
	if (DB::isError($resultat)) {
107
		die ($resultat->getMessage().$resultat->getDebugInfo()) ;
107
		die ($resultat->getMessage().$resultat->getDebugInfo()) ;
108
	}
108
	}
Line 223... Line 223...
223
 
223
 
224
 
224
 
225
/* +--Fin du code ----------------------------------------------------------------------------------------+
225
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
226
*
-
 
227
* $Log: not supported by cvs2svn $
-
 
228
* Revision 1.35.2.1  2007/02/15 13:42:16  jp_milcent
-
 
229
* Utilisation de IN à la place du = dans les requêtes traitant les catégories de fiches.
-
 
230
* Permet d'utiliser la syntaxe 1,2,3 dans la configuration de categorie_nature.
-
 
231
*
-
 
232
* Revision 1.35  2006/10/05 08:53:50  florian
226
*
233
* amelioration moteur de recherche, correction de bugs
227
* $Log: not supported by cvs2svn $
234
*
228
* Revision 1.34  2006/09/04 15:25:12  alexandre_tb
235
* Revision 1.34  2006/09/04 15:25:12  alexandre_tb
229
* ajout d'un id dans la balise HTML du titre
236
* ajout d'un id dans la balise HTML du titre
230
*
237
*