An adaptetion of Arshaw's FullCalendar with php functions added