Sun | Mon | Tue | Wed | Thu | Fri | Sat | |
|---|---|---|---|---|---|---|---|
| 18 | April 2013 | April 2013 | April 2013 | 1 | 2 | 3 | 4 |
| 19 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 20 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 21 | 19 | 20 | 21 | 22 | 23 | 24
| 25
|
| 22 | 26
| 27
| 28
| 29
| 30
| 31
| June 2013 |
// The above is created with only a few lines of code
// ------------------------------------------------------------------------
include('calendar.class.php'); // No additional js,css or images needed
$cal = new CALENDAR();
$cal->weeknumbers = 'left';
// That's it for the calendar! Now lets add some events.
$cal->addGoogleCalendar(
array(
'xmlfeed'=>'http://www.google.com/calendar/feeds/ckvf91cpb85v3crjn0mpnn53u4%40group.calendar.google.com/public/basic',
'color'=>'#D6FFD6'
)
);
$cal->addEvent(
array(
"title"=>"Normal Event w/all values",
"from"=>"2013-5-24",
"to"=>"2013-5-28",
"starttime"=>"5:30am",
"endtime"=>"7:30pm",
"color"=>"#FFF6D6",
"location"=>"Wisconsin Rapids, WI",
"details"=>"Can be mixed with regular events.",
"link"=>"http://www.klovera.com"
)
);
echo $cal->showcal(); // show the calendar