diff --git a/event.php b/event.php new file mode 100644 index 0000000..f65d2c1 --- /dev/null +++ b/event.php @@ -0,0 +1,32 @@ + + + + + + KiWi calendar : <?php echo $event['titre']?> + + +

+
+ format('Y-m-d') == $dtend->format('Y-m-d')) + echo strftime('Le %d %B %Y, ', strtotime($event['dtstart'])).strftime('de %H:%M ', strtotime($event['dtstart'])).strftime('à %H:%M', strtotime($event['dtend'])); + else + echo strftime('Du %d %B %Y, %H:%M', strtotime($event['dtstart'])).strftime(' à %d %B %Y, %H:%M',strtotime($event['dtend'])); + ?> +
+ +