Subversion Repositories Applications.bazar

Rev

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

Rev 154 Rev 164
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.fonct.rss.php,v 1.60 2006-10-05 08:53:50 florian Exp $
22
// CVS : $Id: bazar.fonct.rss.php,v 1.61 2006-12-05 13:35:41 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-2006
30
*@copyright     Tela-Botanica 2000-2006
31
*@version       $Revision: 1.60 $
31
*@version       $Revision: 1.61 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
Line 599... Line 599...
599
		if ($req_where==1) {$requete .= ' AND ';}
599
		if ($req_where==1) {$requete .= ' AND ';}
600
		$requete .= 'bn_ce_id_menu='.$categorie_nature.' ';
600
		$requete .= 'bn_ce_id_menu='.$categorie_nature.' ';
601
		$req_where=1;
601
		$req_where=1;
602
	}
602
	}
Line 603... Line 603...
603
	
603
	
604
	$requete .= ' ORDER BY  bf_date_debut_validite_fiche DESC, bf_date_fin_validite_fiche DESC, bf_date_maj_fiche DESC';
604
	$requete .= ' ORDER BY   bf_date_creation_fiche DESC, bf_date_fin_validite_fiche DESC, bf_date_maj_fiche DESC';
605
	if ($nbitem!='') {$requete .= ' LIMIT 0,'.$nbitem;}
605
	if ($nbitem!='') {$requete .= ' LIMIT 0,'.$nbitem;}
606
	$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
606
	$resultat = $GLOBALS['_BAZAR_']['db']->query($requete) ;
607
	if (DB::isError($resultat)) {
607
	if (DB::isError($resultat)) {
608
		die ($resultat->getMessage().$resultat->getDebugInfo()) ;
608
		die ($resultat->getMessage().$resultat->getDebugInfo()) ;
Line 1010... Line 1010...
1010
}
1010
}
Line 1011... Line 1011...
1011
 
1011
 
1012
/* +--Fin du code ----------------------------------------------------------------------------------------+
1012
/* +--Fin du code ----------------------------------------------------------------------------------------+
1013
*
1013
*
-
 
1014
* $Log: not supported by cvs2svn $
-
 
1015
* Revision 1.60  2006/10/05 08:53:50  florian
-
 
1016
* amelioration moteur de recherche, correction de bugs
1014
* $Log: not supported by cvs2svn $
1017
*
1015
* Revision 1.59  2006/09/21 14:19:39  florian
1018
* Revision 1.59  2006/09/21 14:19:39  florian
1016
* amélioration des fonctions liés au wikini
1019
* amélioration des fonctions liés au wikini
1017
*
1020
*
1018
* Revision 1.58  2006/09/15 12:31:40  alexandre_tb
1021
* Revision 1.58  2006/09/15 12:31:40  alexandre_tb