Login   Register  
PHP Classes
elePHPant
Icontem

File: cal.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Fidel Bravo  >  Kalendar  >  cal.php  >  Download  
File: cal.php
Role: Example script
Content type: text/plain
Description: beispiel
Class: Kalendar
Computes the calendar holidays.
Author: By
Last change: A
Date: 11 years ago
Size: 1,037 bytes
 

Contents

Class file image Download
<style>
.top
{
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: White;
    font-weight: bold;
    font-size: 11px;
}
.head
{
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: Black;
    font-size: 11px;
}
.cell
{
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    color: Black;
    font-size: 11px;
}
</style>

<?php

include("class_kalendar.php");

// Invoer afhandelen
if (!empty($_GET['ChosenDay'])) $ChosenDay $_GET['ChosenDay'];        // Get posted vars.
    
else $ChosenDay date("j");
if (!empty(
$_GET['ChosenMonth'])) $ChosenMonth $_GET['ChosenMonth'];    // Get posted vars.
    
else  $ChosenMonth date("n");
if (!empty(
$_GET['ChosenYear'])) $ChosenYear $_GET['ChosenYear'];        // Get posted vars.
    
else $ChosenYear date("Y");


$cal = new Calendar("0000FF","C3C3C3","ffffff","top","head","cell");
$cal->Day $ChosenDay;
$cal->Month $ChosenMonth;
$cal->Year $ChosenYear;

print
"<body  text=000000 link=0000000 vlink=000000>";

$cal->Show();

?>