3 % #my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
4 % my ($curmon,$curyear) = (localtime(time))[4,5];
7 % my $syear = 1899+$curyear;
8 % my $smonth = $curmon+1;
10 % #want 12 month by default, not 13
12 % if ( $smonth > 12 ) { $smonth-=12; $syear++ }
15 % my $eyear = 1900+$curyear;
16 % my $emonth = $curmon+1;
19 % 'show_month_abbr' => 1,
20 % 'start_year' => '1999',
21 % 'end_year' => '2012', #haha, well...
29 <TD ALIGN="right">From: </TD>
31 <% include('/elements/select-month_year.html',
33 'selected_mon' => $smonth,
34 'selected_year' => $syear,
42 <TD ALIGN="right">To: </TD>
44 <% include('/elements/select-month_year.html',
46 'selected_mon' => $emonth,
47 'selected_year' => $eyear,