<?php
require("inc.date_functions.phtml");
require("class.calendar.phtml");
$c = new calendar();
$c->events = Array("2002-10-10", "2002-10-06", "2002-10-29","2003-10-04");
/*
Changes by DesK
Hi, i make some changes ..
On my maschine .. it dosn't show me the events i add.
the title from given events was not set
so now u have to set the day of the event_hints like this
first the days .. then the hints .. with he index of the day !
$c->events_hint = Array(10 => "Reunião com Cliente - 10:00\nJantar com Familia - 20:00", 06 => "Dentista - 13:30", 29 => "Entregar Relatório - 16:00", 04 => "GEBURTSTAG");
*/
$c->events_hint = Array(10 => "Reunião com Cliente - 10:00\nJantar com Familia - 20:00", 06 => "Dentista - 13:30", 29 => "Entregar Relatório - 16:00", 04 => "GEBURTSTAG");
$c->show(1, 1, 1);
print("<p><p>");
$c->show(1, 1, 0);
print("<p><p>");
$c->show(1, 0, 0);
print("<p><p>");
$c->show(0, 1, 0);
print("<p><p>");
?>
|