PHP Classes

File: phpCal_in_use.php

Recommend this page to a friend!
  Classes of Rick Hopkins  >  phpCal  >  phpCal_in_use.php  >  Download  
File: phpCal_in_use.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: phpCal
Generate customizable calendars in HTML
Author: By
Last change:
Date: 12 years ago
Size: 777 bytes


Class file image Download
    if (
$cal = new phpCal($_GET["month"], $_GET["year"]);
        } else {
$cal = new phpCal(date("m"), date("Y"));
$events = array("11/20/2003", "11/21/2003", "11/22/2003", "11/28/2003", "12/25/2003");
$cal->setLinks("phpCal_in_use.php", "phpCal_in_use.php");
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title>TEST CALENDAR</title>
a {color: #993300; text-decoration: none;}
a:hover {color: #993300; text-decoration: none;}
<table width="100%" height="100%">
<td width="100%" height="100%" align="center" valign="middle"><? print($cal->createCal()); ?></td>