/[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.3 - (hide annotations) (download)
Wed Jun 5 13:47:07 2002 UTC (22 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.2: +0 -1 lines
2002-06-05  wakaba <w@suika.fam.cx>

	* index.ja.html (Newsflash): Remove the olds.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24