19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: bazar.fonct.cal.php,v 1.5 2005-11-30 13:58:45 florian Exp $ |
// CVS : $Id: bazar.fonct.cal.php,v 1.6 2006-01-18 16:02:21 alexandre_tb Exp $ |
/** |
* |
* Fonctions calendrier du module bazar |
29,7 → 29,7 |
*@author David Delon <david.delon@clapas.net> |
//Autres auteurs : |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.5 $ $Date: 2005-11-30 13:58:45 $ |
*@version $Revision: 1.6 $ $Date: 2006-01-18 16:02:21 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
133,7 → 133,9 |
|
// TODO : Selectionner element du mois en cours |
|
$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) =".date('Y',$curStamp)." and month(bf_date_debut_evenement)=".date('m',$curStamp)." and bf_ce_nature=bn_id_nature and bn_label_nature='Évènements'"; |
$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) =". |
date('Y',$curStamp)." and month(bf_date_debut_evenement)=". |
date('m',$curStamp)." and bf_ce_nature=bn_id_nature and bn_label_nature='BAZ_EVENEMENTS'"; |
|
|
$resultat_evenement = $db->query($requete_evenements); |