alroman/CS130-Mashup — pull request #6 by daifu (2011-11-01 07:37:19+00:00)
Title: Alfonso

Merged event calendar to Alfonso's branch and it is working.

Added event_cal_filter function for the event calendar.

To used the event calendar:
1. Get the events object from eventful API and use event_cal_filter to retrive the json object for event calendar:
```PHP
$la_events = $this->eventful->getEvents(array('location' => $city));
$la_events_cal = $this->event_cal_filter($la_events);
$data = array('la_events' => $la_events, 'msg' => $city, 'events_cal' => $la_events_cal);
$this->load->view('events_la', $data);
```

2. Added HTML to view:
```HTML

```
3. Added according javascript library and CSS:

```HTML

```
```HTML

```
And the javascript, and it is too long, please look at events_la.php for example.