1 |
<?php |
<?php |
2 |
$foo = getdate(); |
$foo = getdate(); |
3 |
$tpl->assign("year", $foo["year"]); |
$tpl->assign("year", $foo["year"]); |
4 |
$tpl->assign("ME", $PHP_SELF.HTMLSpecialChars("?section=$section§ion_menu=$section_menu")); |
$tpl->assign("ME", HTMLSpecialChars("?section=$section§ion_menu=$section_menu")); |
5 |
$godine = array(); |
$godine = array(); |
6 |
for ($i = $foo["year"] - 1; $i <= $foo["year"] + 1; $i++) array_push($godine, $i); |
for ($i = $foo["year"] - 1; $i <= $foo["year"] + 1; $i++) array_push($godine, $i); |
7 |
$tpl->assign("godine", $godine); |
$tpl->assign("godine", $godine); |
67 |
$tpl->assign("CONTENT", $table); |
$tpl->assign("CONTENT", $table); |
68 |
if (!$print) { |
if (!$print) { |
69 |
include_once("print.php"); |
include_once("print.php"); |
70 |
$tpl->assign("PRINT", GetPrint(array("dan", "mjesec", "godina", "trajanje"))); |
$tpl->assign("PRINT", GetPrint(array("dan", "mjesec", "godina", "trajanje", "ime"))); |
71 |
} else $main_template = "wrapper.tpl"; |
} else $main_template = "wrapper.tpl"; |
72 |
} |
} |
73 |
if (!$ns4) { |
if (!$ns4) { |