Subversion Repositories Applications.bazar

Rev

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

Rev 85 Rev 114
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.7 2006-01-26 17:29:44 alexandre_tb Exp $
22
// CVS : $Id: bazar.fonct.cal.php,v 1.8 2006-04-10 13:51:11 alexandre_tb 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.7 $ $Date: 2006-01-26 17:29:44 $
32
*@version       $Revision: 1.8 $ $Date: 2006-04-10 13:51:11 $
33
// +------------------------------------------------------------------------------------------------------+
33
// +------------------------------------------------------------------------------------------------------+
34
*/
34
*/
Line 35... Line 35...
35
 
35
 
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
Line 133... Line 133...
133
		
133
		
Line 134... Line 134...
134
	 	// TODO : Selectionner element du mois en cours 
134
	 	// TODO : Selectionner element du mois en cours 
135
	 	
135
	 	
136
	    $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 FROM bazar_fiche, bazar_nature where year(bf_date_debut_evenement) =".
136
	    $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 FROM bazar_fiche, bazar_nature where year(bf_date_debut_evenement) =".
Line 137... Line 137...
137
	    						date('Y',$curStamp)." and month(bf_date_debut_evenement)=".
137
	    						date('Y',$curStamp)." and month(bf_date_debut_evenement)=".
Line 138... Line 138...
138
	    						date('m',$curStamp)." and bf_ce_nature=bn_id_nature and bn_label_nature='BAZ_EVENEMENTS'";
138
	    						date('m',$curStamp)." and bf_ce_nature=bn_id_nature and bn_id_nature='3'";