\n"; echo "Last Update: " . date ("F d Y H:i:s", filemtime($srcfile)) . " UTC"; echo "\n"; // $lines = file($srcfile); // foreach ($lines as $values) { $data = explode(",", $values); if ($data[0] == "Pre-Season") { echo "\n"; echo "\n"; echo "\n"; echo ""; echo ""; echo ""; echo "\n"; } elseif ($data[0] == "Regular Season") { echo "
Pre-Season
Record: "; echo $data[1]; echo "
DATEOPPONENTTIME/
SCORE
TV
\n"; echo " 
\n"; echo "\n"; echo "\n"; echo "\n"; echo ""; echo ""; echo ""; echo "\n"; } elseif ($data[0] == "Bye") { echo " "; echo "\n"; } elseif ($data[0] == "Playoffs") { echo "
Regular Season
Record: "; echo $data[1]; echo "
DATEOPPONENTTIME/
SCORE
TV
$data[1],
$data[2]
* * Bye Week * *
"; echo " 
\n"; echo "\n"; echo "\n"; echo "\n"; echo ""; echo ""; echo ""; echo "\n"; } elseif ($data[0] == "away") { echo ""; echo " "; echo ""; echo "\n"; } else { echo ""; echo " "; echo ""; echo "\n"; } } echo "
Playoffs
Record: "; echo $data[1]; echo "
DATEOPPONENTTIME/
SCORE
TV
$data[1],
$data[2]
at "; echo "$data[4] $data[5] $data[6]
$data[1],
$data[2]
"; echo "$data[4] $data[5] $data[6]
\n"; echo " 
\n"; ?>