Subversion Repositories Applications.bazar

Rev

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

Rev 134 Rev 136
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.53 2006-06-29 10:29:51 florian Exp $
22
// CVS : $Id: bazar.fonct.rss.php,v 1.54 2006-07-03 09:51:21 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.53 $
31
*@version       $Revision: 1.54 $
32
// +------------------------------------------------------------------------------------------------------+
32
// +------------------------------------------------------------------------------------------------------+
33
*/
33
*/
Line 34... Line 34...
34
 
34
 
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
Line 911... Line 911...
911
				'FROM bazar_fiche, bazar_nature '.$requeteFrom.' WHERE '.$requeteWhere;
911
				'FROM bazar_fiche, bazar_nature '.$requeteFrom.' WHERE '.$requeteWhere;
912
	if ($valide!=2) {
912
	if ($valide!=2) {
913
		if ($req_where==1) {$requete .= ' AND ';}
913
		if ($req_where==1) {$requete .= ' AND ';}
914
		$req_where=1;
914
		$req_where=1;
915
		$requete .= 'bf_statut_fiche='.$valide;		
915
		$requete .= 'bf_statut_fiche='.$valide;		
-
 
916
	} else {
-
 
917
		$requete .= '1 ' ;
916
	}	
918
	}
Line 917... Line 919...
917
	
919
	
918
	if ($valide!=0) {
920
	if ($valide!=0) {
919
		$utilisateur = new Administrateur_bazar ($GLOBALS['AUTH']) ;
921
		$utilisateur = new Administrateur_bazar ($GLOBALS['AUTH']) ;
920
		if ($utilisateur->isSuperAdmin()) {
922
		if ($utilisateur->isSuperAdmin()) {
Line 990... Line 992...
990
}
992
}
Line 991... Line 993...
991
 
993
 
992
/* +--Fin du code ----------------------------------------------------------------------------------------+
994
/* +--Fin du code ----------------------------------------------------------------------------------------+
993
*
995
*
-
 
996
* $Log: not supported by cvs2svn $
-
 
997
* Revision 1.53  2006/06/29 10:29:51  florian
-
 
998
* correction bug moteur de recherche
994
* $Log: not supported by cvs2svn $
999
*
995
* Revision 1.52  2006/06/02 09:29:07  florian
1000
* Revision 1.52  2006/06/02 09:29:07  florian
996
* debut d'integration de wikini
1001
* debut d'integration de wikini
997
*
1002
*
998
* Revision 1.51  2006/05/23 15:41:27  alexandre_tb
1003
* Revision 1.51  2006/05/23 15:41:27  alexandre_tb