<?php
// default Language
if (!$_GET['lang']) {
$GLOBALS['lang'] = "de";
}
// default Country
if (!$_GET['country']) {
$GLOBALS['country'] = "de";
}
include ("lang/conf.php");
include ("lang/locallang.php");
if ($GLOBALS['country']) {
if (file_exists('country/extcountry_'.$GLOBALS['country'].'.php')) {
include ('country/extcountry_'.$GLOBALS['country'].'.php');
} else {
include ('country/extcountry_de.php');
}
}
include ("class/class.kalendar.php");
include ("class/class.template.php");
$day = (!empty ($_GET['day'])) ? $_GET['day'] : date("j");
$month = (!empty ($_GET['month'])) ? $_GET['month'] : date("n");
$year = (!empty ($_GET['year'])) ? $_GET['year'] : date("Y");
$cal = new Calendar($day, $month, $year);
$cal->showTemplate($GLOBALS['INI']['skin']);
?>
|