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.7 2007-04-11 08:30:12 neiluj Exp $
|
22 |
// CVS : $Id: bazarRSS.php,v 1.8 2007-10-17 08:23:00 alexandre_tb 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.7 $
|
32 |
*@version $Revision: 1.8 $
|
33 |
// +------------------------------------------------------------------------------------------------------+
|
33 |
// +------------------------------------------------------------------------------------------------------+
|
34 |
*/
|
34 |
*/
|
Line 35... |
Line 35... |
35 |
|
35 |
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
Line 83... |
Line 83... |
83 |
$requeteSQL=$_GET['sql'];
|
83 |
$requeteSQL=$_GET['sql'];
|
84 |
}
|
84 |
}
|
85 |
else {
|
85 |
else {
|
86 |
$requeteSQL='';
|
86 |
$requeteSQL='';
|
87 |
}
|
87 |
}
|
- |
|
88 |
// Gestion de la langue
|
- |
|
89 |
if (isset($_GET['langue'])) {
|
- |
|
90 |
$requeteWhere = ' bn_ce_i18n like "'.$_GET['langue'].'%" and ';
|
- |
|
91 |
} else {
|
- |
|
92 |
$requeteWhere = '';
|
88 |
|
93 |
}
|
89 |
echo html_entity_decode(gen_RSS($annonce, $nbitem, $emetteur, $valide, $requeteSQL, '', '', $categorie_nature));
|
94 |
echo html_entity_decode(gen_RSS($annonce, $nbitem, $emetteur, $valide, $requeteSQL, '', $requeteWhere, $categorie_nature));
|
Line 90... |
Line 95... |
90 |
|
95 |
|
91 |
|
96 |
|
92 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
97 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
98 |
*
|
- |
|
99 |
* $Log: not supported by cvs2svn $
|
- |
|
100 |
* Revision 1.7 2007-04-11 08:30:12 neiluj
|
93 |
*
|
101 |
* remise en état du CVS...
|
94 |
* $Log: not supported by cvs2svn $
|
102 |
*
|
95 |
* Revision 1.4 2006/05/19 13:54:32 florian
|
103 |
* Revision 1.4 2006/05/19 13:54:32 florian
|
96 |
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
|
104 |
* stabilisation du moteur de recherche, corrections bugs, lien recherche avancee
|
97 |
*
|
105 |
*
|