summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authorSebastian Wagner2011-08-02 18:00:40 +0200
committerSebastian Wagner2011-08-02 18:00:40 +0200
commit7239f253e816dbdda4b2a34e4721149d1a98056e (patch)
tree738958600749fcb9f3d48b03181e52a62bf4a880 /application/views
parentsome clean up (diff)
downloadpoolctrl-7239f253e816dbdda4b2a34e4721149d1a98056e.tar.gz
poolctrl-7239f253e816dbdda4b2a34e4721149d1a98056e.tar.xz
poolctrl-7239f253e816dbdda4b2a34e4721149d1a98056e.zip
new files
Diffstat (limited to 'application/views')
-rw-r--r--application/views/scripts/event/calendarEvents.php26
-rw-r--r--application/views/scripts/event/poolEvents.php1
2 files changed, 27 insertions, 0 deletions
diff --git a/application/views/scripts/event/calendarEvents.php b/application/views/scripts/event/calendarEvents.php
new file mode 100644
index 0000000..691c434
--- /dev/null
+++ b/application/views/scripts/event/calendarEvents.php
@@ -0,0 +1,26 @@
+<?php
+
+ $year = date('Y');
+ $month = date('m');
+
+ echo json_encode(array(
+
+ array(
+ 'id' => 111,
+ 'title' => "Event1",
+ 'start' => "$year-$month-10",
+ 'end' => "$year-$month-11",
+ 'url' => "http://yahoo.com/"
+ ),
+
+ array(
+ 'id' => 222,
+ 'title' => "Event2",
+ 'start' => "$year-$month-20",
+ 'end' => "$year-$month-22",
+ 'url' => "http://yahoo.com/"
+ )
+
+ ));
+
+?> \ No newline at end of file
diff --git a/application/views/scripts/event/poolEvents.php b/application/views/scripts/event/poolEvents.php
new file mode 100644
index 0000000..b3d9bbc
--- /dev/null
+++ b/application/views/scripts/event/poolEvents.php
@@ -0,0 +1 @@
+<?php