Subversion Repositories Applications.bazar

Rev

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

Rev 201 Rev 213
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.cal.php,v 1.10.2.2 2007-03-07 17:20:19 jp_milcent Exp $
22
// CVS : $Id: bazar.fonct.cal.php,v 1.10.2.3 2007-03-22 14:30:33 jp_milcent Exp $
23
/**
23
/**
24
*
24
*
25
* Fonctions calendrier du module bazar
25
* Fonctions calendrier du module bazar
26
*
26
*
27
*@package bazar
27
*@package bazar
28
//Auteur original :
28
//Auteur original :
29
*@author        David Delon <david.delon@clapas.net>
29
*@author        David Delon <david.delon@clapas.net>
30
//Autres auteurs :
30
//Autres auteurs :
31
*@copyright     Tela-Botanica 2000-2004
31
*@copyright     Tela-Botanica 2000-2004
32
*@version       $Revision: 1.10.2.2 $ $Date: 2007-03-07 17:20:19 $
32
*@version       $Revision: 1.10.2.3 $ $Date: 2007-03-22 14:30:33 $
33
// +------------------------------------------------------------------------------------------------------+
33
// +------------------------------------------------------------------------------------------------------+
34
*/
34
*/
Line 35... Line 35...
35
 
35
 
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
Line 135... Line 135...
135
	    $requete_evenements = 	"SELECT DISTINCT bf_id_fiche, bf_titre, bf_lieu_evenement, DAY(bf_date_debut_evenement) AS bf_jour_debut_evenement , bf_date_fin_evenement, bf_description ".
135
	    $requete_evenements = 	"SELECT DISTINCT bf_id_fiche, bf_titre, bf_lieu_evenement, DAY(bf_date_debut_evenement) AS bf_jour_debut_evenement , bf_date_fin_evenement, bf_description ".
136
								"FROM bazar_fiche, bazar_nature ".
136
								"FROM bazar_fiche, bazar_nature ".
137
								"WHERE YEAR(bf_date_debut_evenement) = ".date('Y',$curStamp)." ".
137
								"WHERE YEAR(bf_date_debut_evenement) = ".date('Y',$curStamp)." ".
138
								"AND month(bf_date_debut_evenement) = ".date('m',$curStamp)." ".
138
								"AND month(bf_date_debut_evenement) = ".date('m',$curStamp)." ".
139
								"AND bf_ce_nature = bn_id_nature ".
139
								"AND bf_ce_nature = bn_id_nature ".
140
								"AND bn_id_nature IN (".BAZ_NUM_ANNONCE_CALENDRIER.")";
140
								"AND bn_id_nature IN (".BAZ_NUM_ANNONCE_CALENDRIER.") ".
-
 
141
								"AND bf_statut_fiche = 1";
Line 141... Line 142...
141
		
142
		
Line 142... Line 143...
142
	   	$resultat_evenement = $db->query($requete_evenements);
143
	   	$resultat_evenement = $db->query($requete_evenements);
143
	   	
144