/[health_html]/inc/pgKalendar.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /inc/pgKalendar.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Fri Oct 5 15:10:53 2001 UTC (22 years, 6 months ago) by ravilov
Branch: MAIN
Enhanced Linkovi on PLIVAmed.net and Arhiva. More bugfixes.

1 <?php
2 $date = getdate();
3 if (!isset($type)) $type = 1;
4 $tpl->assign("type", $type);
5 if (!isset($month)) $month = $date["mon"];
6 $tpl->assign("month", $month);
7 if (!isset($year)) $year = $date["year"];
8 $tpl->assign("year", $year);
9 if (!isset($sort)) $sort = 2;
10 $tpl->assign("sort", $sort);
11 $tpl->assign("kreni", $kreni);
12 $godine = array();
13 for ($i = $date["year"] - 2; $i < $date["year"] + 3; $i++) array_push($godine, $i);
14 $tpl->assign("godine", $godine);
15 if ($kreni) {
16 // ...
17 }
18 ?>

  ViewVC Help
Powered by ViewVC 1.1.26