Subversion Repositories Applications.papyrus

Rev

Rev 427 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 427 Rev 847
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.3 2005-07-21 19:03:12 florian Exp $
22
// CVS : $Id: bazarRSS.php,v 1.4 2006-05-19 13:54:32 florian 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.3 $
32
*@version       $Revision: 1.4 $
33
// +------------------------------------------------------------------------------------------------------+
33
// +------------------------------------------------------------------------------------------------------+
34
*/
34
*/
Line 35... Line 35...
35
 
35
 
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
Line 48... Line 48...
48
	$annonce=$_GET['annonce'];
48
	$annonce=$_GET['annonce'];
49
}
49
}
50
else {
50
else {
51
	$annonce='';
51
	$annonce='';
52
}
52
}
-
 
53
 
-
 
54
if (isset($_GET['categorie_nature'])) { 
-
 
55
	$categorie_nature=$_GET['categorie_nature'];
-
 
56
}
-
 
57
else {
-
 
58
	$categorie_nature='';
-
 
59
}
-
 
60
 
53
if (isset($_GET['nbitem'])) { 
61
if (isset($_GET['nbitem'])) { 
54
	$nbitem=$_GET['nbitem'];
62
	$nbitem=$_GET['nbitem'];
55
}
63
}
56
else {
64
else {
57
	$nbitem='';
65
	$nbitem='';
58
}
66
}
-
 
67
 
59
if (isset($_GET['emetteur'])) { 
68
if (isset($_GET['emetteur'])) { 
60
	$emetteur=$_GET['emetteur'];
69
	$emetteur=$_GET['emetteur'];
61
}
70
}
62
else {
71
else {
63
	$emetteur='';
72
	$emetteur='';
64
}
73
}
-
 
74
 
65
if (isset($_GET['valide'])) { 
75
if (isset($_GET['valide'])) { 
66
	$valide=$_GET['valide'];
76
	$valide=$_GET['valide'];
67
}
77
}
68
else {
78
else {
69
	$valide=1;
79
	$valide=1;
70
}
80
}
-
 
81
 
71
if (isset($_GET['sql'])) { 
82
if (isset($_GET['sql'])) { 
72
	$requeteSQL=$_GET['sql'];
83
	$requeteSQL=$_GET['sql'];
73
}
84
}
74
else {
85
else {
75
	$requeteSQL='';
86
	$requeteSQL='';
76
}
87
}
-
 
88
 
77
echo html_entity_decode(gen_RSS($annonce, $nbitem, $emetteur, $valide, $requeteSQL));
89
echo html_entity_decode(gen_RSS($annonce, $nbitem, $emetteur, $valide, $requeteSQL, '', '', $categorie_nature));
Line 78... Line 90...
78
 
90
 
79
 
91
 
80
/* +--Fin du code ----------------------------------------------------------------------------------------+
92
/* +--Fin du code ----------------------------------------------------------------------------------------+
-
 
93
*
-
 
94
* $Log: not supported by cvs2svn $
-
 
95
* Revision 1.3  2005/07/21 19:03:12  florian
81
*
96
* nouveautés bazar: templates fiches, correction de bugs, ...
82
* $Log: not supported by cvs2svn $
97
*
83
* Revision 1.1.1.1  2005/02/17 18:05:11  florian
98
* Revision 1.1.1.1  2005/02/17 18:05:11  florian
84
* Import initial de Bazar
99
* Import initial de Bazar
85
*
100
*