Login   Register  
PHP Classes
elePHPant
Icontem

File: example.phtml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ricardo Costa  >  DCalendar  >  example.phtml  >  Download  
File: example.phtml
Role: Example script
Content type: text/plain
Description: Example of various views
Class: DCalendar
Show a calendar with options of events color
Author: By
Last change:
Date: 2002-10-04 16:52
Size: 455 bytes
 

Contents

Class file image Download
<?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");
$c->events_hint = Array("Reunião com Cliente - 10:00\nJantar com Familia - 20:00""Dentista - 13:30""Entregar Relatório - 16:00");

$c->show(111);
print(
"<p><p>");
$c->show(110);
print(
"<p><p>");
$c->show(100);
print(
"<p><p>");
$c->show(000);
print(
"<p><p>");
?>