aboutsummaryrefslogtreecommitdiff
path: root/view/allclosed.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--view/allclosed.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/view/allclosed.php b/view/allclosed.php
new file mode 100644
index 0000000..869cbc1
--- /dev/null
+++ b/view/allclosed.php
@@ -0,0 +1,12 @@
+<?php
+
+$upcoming = new Upcoming();
+$events = $upcoming->getNextEvents();
+
+echo $tpl->render(array(
+ 'page' => 'allclosed',
+ 'title' => 'See you soon … somewhere else!',
+
+ 'next' => @$events[0],
+ 'events' => $events,
+));