Source for file 12.php
Documentation is available at 12.php
* Description: a complete year
return ((float) $usec + (float) $sec);
if ( !@include 'Calendar/Calendar.php' ) {
define ('CALENDAR_ROOT','../../');
require_once CALENDAR_ROOT. 'Year.php';
define ('CALENDAR_MONTH_STATE',CALENDAR_USE_MONTH_WEEKDAYS );
if ( !isset ($_GET['year']) ) $_GET['year'] = date('Y');
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<title> <?php echo ( $Year->thisYear () ); ?> </title>
font-family: Georgia, serif;
border: thin groove #800080
<?php echo ( $Year->thisYear () ); ?>
<a href="?year= <?php echo ( $Year->nextYear () ); ?>">>></a>
<a href="?year= <?php echo ( $Year->prevYear () ); ?>"><<</a>
while ( $Month = $Year->fetch () ) {
echo ( "</tr>\n<tr>\n" );
echo ( "<td>\n<table class=\"month\">\n" );
echo ( "<caption class=\"month\">". date('F',$Month->thisMonth (TRUE )). "</caption>" );
echo ( "<tr>\n<th>M</th><th>T</th><th>W</th><th>T</th><th>F</th><th>S</th><th>S</th>\n</tr>" );
while ( $Day = $Month->fetch () ) {
echo ( "<td> </td>\n" );
echo ( "<td>". $Day->thisDay (). "</td>\n" );
echo ( "</table>\n</td>\n" );
Documentation generated on Mon, 11 Mar 2019 15:37:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|