#!/usr/local/bin/perl ##----製作者----############################################ # # Football League Table Type R Version 1.00 # # This is Freeware. # Script written by Masayoshi # Created on: 2003.03.05 # Update: 2003.03.05 # Copyright (C) 2002-2003 Masayoshi. All Rights Reserved. # I can be reached at: masayosi@mahoroba.ne.jp # Scripts Found at: http://www3.mahoroba.ne.jp/~masayosi/jfl/top.shtml # ############################################################ require 'cgi-lib.pl'; &ReadParse(in); ##----設定----## # タイトル $title = "Football League Table Type R"; # タイトルフォント $tfont = "Times New Roman"; # 記録ファイル $tdat = "table.dat"; $rdat = "result.dat"; $rd = "rd.dat"; # Home Page URL $home = "../jfl/index.html"; # 色設定 $bgcolor = "#FFCC00"; $text = "#000000"; $tabgc = "#FFA042"; $link = "#CC6600"; $vlink = "#990000"; $alink = "#FF3300"; $hlink = "#FF0000"; ## パスワード # 入力キー $addpas = "1234"; ##----設定終了----## $in{'pas'} =~ s/</g; $in{'pas'} =~ s/>/>/g; $in{'setu'} =~ s/</g; $in{'setu'} =~ s/>/>/g; $in{'date'} =~ s/</g; $in{'date'} =~ s/>/>/g; $in{'stad'} =~ s/</g; $in{'stad'} =~ s/>/>/g; $in{'hscore'} =~ s/</g; $in{'hscore'} =~ s/>/>/g; $in{'ascore'} =~ s/</g; $in{'ascore'} =~ s/>/>/g; $hteam = "$in{'hteam'}"; $ateam = "$in{'ateam'}"; $hscore = "$in{'hscore'}"; $ascore = "$in{'ascore'}"; print "Content-type: text/html\n\n"; print <<"EOM";
パスワードが一致しません
EOM exit; } ##----表示----## sub table{ print <<"EOM";Team | PD | W | D | L | GF | GA | GD | Pts. |
$team | $pd | $win | $draw | $lost | $gf | $ga | $gd | $pts |
第 $n2 節 | Stadium | Home | Score | Away |
$da | $st | $ht | $hs - $as | $at |