<?PHP
include("CALENDARIO.class");
?>
<html>
<head>
</head>
<title>Agenda do Samuca :o)</title>
<?PHP
if ($HTTP_GET_VARS["dia"] != "") {
$dia = $HTTP_GET_VARS["dia"]; } else {
$dia = date("d"); }
if ($HTTP_GET_VARS["mes"]) {
$mes = $HTTP_GET_VARS["mes"]; } else {
$mes = date("m"); }
if ($HTTP_GET_VARS["ano"]) {
$ano = $HTTP_GET_VARS["ano"]; } else {
$ano = date("Y"); }
$cal = new CALENDARIO($dia,$mes,$ano);
$cal->HKSetaPaginaRaiz("?");
?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?PHP
$cal->HKShow();
?></body>
</html>
|