Subversion Repositories Applications.bazar

Rev

Rev 442 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 442 Rev 468
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: bazarRSS.php,v 1.8 2007-10-17 08:23:00 alexandre_tb Exp $
22
// CVS : $Id: bazarRSS.php,v 1.7 2007/04/11 08:30:12 neiluj Exp $
23
/**
23
/**
24
* Générateur de flux RSS à partir du bazar 
24
* Générateur de flux RSS à partir du bazar 
25
*
25
*
26
*@package bazar
26
*@package bazar
27
//Auteur original :
27
//Auteur original :
28
*@author        Florian SCHMITT <florian@ecole-et-nature.org>
28
*@author        Florian SCHMITT <florian@ecole-et-nature.org>
29
*@author        Alexandre Granier <alexandre@tela-botanica.org>
29
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*
30
*
31
*@copyright     Tela-Botanica 2000-2004
31
*@copyright     Tela-Botanica 2000-2004
32
*@version       $Revision: 1.8 $
32
*@version       $Revision: 1.7 $
33
// +------------------------------------------------------------------------------------------------------+
33
// +------------------------------------------------------------------------------------------------------+
34
*/
34
*/
Line 35... Line 35...
35
 
35
 
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
Line 45... Line 45...
45
// +------------------------------------------------------------------------------------------------------+
45
// +------------------------------------------------------------------------------------------------------+
Line 46... Line 46...
46
 
46
 
47
if (isset($_GET['annonce'])) { 
47
if (isset($_GET['annonce'])) { 
48
	$annonce=$_GET['annonce'];
48
	$annonce=$_GET['annonce'];
-
 
49
}
-
 
50
else {
-
 
51
	$annonce='';
Line 49... Line 52...
49
}
52
}
50
 
53
 
51
if (isset($_GET['categorie_nature'])) { 
54
if (isset($_GET['categorie_nature'])) { 
52
	$categorie_nature=$_GET['categorie_nature'];
55
	$categorie_nature=$_GET['categorie_nature'];
Line 74... Line 77...
74
}
77
}
75
else {
78
else {
76
	$valide=1;
79
	$valide=1;
77
}
80
}
Line 78... Line -...
78
 
-
 
79
if (isset($_GET['sql'])) { 
-
 
80
	$requeteSQL=$_GET['sql'];
-
 
81
}
-
 
82
else {
81
 
83
	$requeteSQL='';
82
$requeteSQL='';
84
}
-
 
85
// Gestion de la langue
-
 
86
if (isset($_GET['langue'])) {
-
 
87
	$requeteWhere = ' bn_ce_i18n like "'.$_GET['langue'].'%" and ';
-
 
88
} else {
-
 
89
	$requeteWhere = '';
-
 
90
}
83
 
Line 91... Line 84...
91
echo html_entity_decode(gen_RSS($annonce, $nbitem, $emetteur, $valide, $requeteSQL, '', $requeteWhere, $categorie_nature));
84
echo html_entity_decode(gen_RSS($annonce, $nbitem, $emetteur, $valide, $requeteSQL, '', '', $categorie_nature));
92
 
85
 
93
 
86
 
94
/* +--Fin du code ----------------------------------------------------------------------------------------+
87
/* +--Fin du code ----------------------------------------------------------------------------------------+
95
*
88
*
96
* $Log: not supported by cvs2svn $
89
* $Log: bazarRSS.php,v $
97
* Revision 1.7  2007-04-11 08:30:12  neiluj
90
* Revision 1.7  2007/04/11 08:30:12  neiluj
98
* remise en état du CVS...
91
* remise en état du CVS...
99
*
92
*
100
* Revision 1.4  2006/05/19 13:54:32  florian
93
* Revision 1.4  2006/05/19 13:54:32  florian
101
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
94
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
102
*
95
*
103
* Revision 1.3  2005/07/21 19:03:12  florian
96
* Revision 1.3  2005/07/21 19:03:12  florian
104
* nouveautés bazar: templates fiches, correction de bugs, ...
97
* nouveautés bazar: templates fiches, correction de bugs, ...
105
*
98
*
106
* Revision 1.1.1.1  2005/02/17 18:05:11  florian
99
* Revision 1.1.1.1  2005/02/17 18:05:11  florian