Login   Register  
PHP Classes
elePHPant
Icontem

File: Example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jose-Manuel Contardo  >  BaseCalendar II  >  Example.php  >  Download  
File: Example.php
Role: ???
Content type: text/plain
Description: Example File
Class: BaseCalendar II
Simple calendar display for a given month
Author: By
Last change:
Date: 2002-05-09 05:32
Size: 601 bytes
 

Contents

Class file image Download
<html>
<head>
<title>Page title</title>
</head>
<body>

<table bgcolor="#c0c0c0" border =1>
<tr>
	<td><table width="100%"><tr>
	
		<td><center><?php echo "<a href=\"example.php?mes=".($mes-1)."\"><<</a>"; ?></center></td>
		<td><center><?php echo "<a href=\"example.php?mes=0\">hoy</a>"; ?></center></td>
    <td><center><?php echo "<a href=\"example.php?mes=".($mes+1)."\">>></a>"; ?></center></td>
 </tr></table></td>
</tr>
<tr><td>
<?php 
			include("BaseCalendar.inc");
			$newCal = new BaseCalendar();
			$newCal->displayMonth($mes);
?>
</td></tr>
</table>
</body>
</html>