/[suikacvs]/okuchuu/blue-oceans/katsudou/current.html.cgi
Suika

Contents of /okuchuu/blue-oceans/katsudou/current.html.cgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 2 05:20:47 2002 UTC (22 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +27 -27 lines
*** empty log message ***

1 #!/usr/bin/perl
2
3 (undef, undef, undef, undef, $m, $y) = localtime; $m++;
4
5 $y += 1900 if $y < 1000;
6 $m++ if $m < 9;
7 $m = sprintf('%02d', $m);
8
9 my $myuri = 'http://'.$main::ENV{SERVER_NAME}.':'.$main::ENV{SERVER_PORT}.
10 '/okuchuu/blue-oceans/';
11 my $localpart;
12
13 if ($main::ENV{QUERY_STRING} eq 'year') {
14 $localpart = $y.'/';
15 } elsif ($main::ENV{QUERY_STRING} eq 'theme') {
16 $localpart = $y.'/theme';
17 } elsif ($main::ENV{QUERY_STRING} eq 'taikai') {
18 $localpart = $y.'/taikai';
19 } elsif ($main::ENV{QUERY_STRING} eq 'part') {
20 $localpart = $y.'/part/';
21 } elsif ($main::ENV{QUERY_STRING} eq 'newmember') {
22 $localpart = $y.'/newmember';
23 } else {
24 $localpart = $y.'/'.$m;
25 }
26
27 print "Location: ${myuri}${localpart}\n\n";

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24