diff --git a/index.php b/index.php
index 60e75b1..c339967 100644
--- a/index.php
+++ b/index.php
@@ -1,3 +1,8 @@
+
@@ -81,6 +86,8 @@
');
for($date = strtotime('last monday +'.$week.' weeks'); $date < strtotime('next monday +'.$week.' weeks'); $date = strtotime('+1 day', $date))
{
+ $events = getEventsByDate($db, $date);
+
$class = '';
if(date('m', $date) != date('m'))
$class .= ' otherMonth';
@@ -91,8 +98,11 @@
echo('
-
'.date("d", $date).'
-
- - 10h : Conférence - Domotique
+ ');
+
+ foreach($events as $event)
+ echo('- '.$event['titre']."
");
+ echo('
');
}