Here is the code I’m using:
[code]<?php
date_default_timezone_set(‘EST’);
?>
body {font-family:"Arial";}
p.ncfa {background-color:#016938;color:#e6e7e8;font-size:13px;}
p.fsu {background-color:#cccc99;color:#660000;font-size:13px;}
p.ind {background-color:#821800;color:#ffffff;font-size:13px;}
p.iowa {background-color:#ffcc00;color:#000000;font-size:13px;}
p.ohst {background-color:#adafaa;color:#a51414;font-size:13px;}
p.wis {background-color:#961414;color:#ffffff;font-size:13px;}
p.neb {background-color:#af1919;color:#ffffff;font-size:13px;}
p.bay {background-color:#ffb500;color:#245824;font-size:13px;}
p.bg {background-color:#7d4b0f;color:#ff5d0a;font-size:13px;}
p.ore {background-color:#efd91c;color:#044520;font-size:13px;}
p.ucla {background-color:#f3cc01;color:#003399;font-size:13px;}
p.flo {background-color:#fd5a1e;color:#ffffff;font-size:13px;}
p.alb {background-color:#cbcbcb;color:#8b0000;font-size:13px;}
p.pur {background-color:#c0b08d;color:#000000;font-size:13px;}
<?php
$filename = 'NCFA/NCFA.zip';
echo " ";
echo "Latest NCFA League File Update ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo " ";
?>
|
<?php
$filename = 'NCFA/exports/Team6.coa';
echo " ";
echo "Florida State Seminoles ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo " ";
?>
|
<td align="center" width="50%">
<?php
$filename = 'NCFA/exports/Team98.coa';
echo "<p class=\"alb\"><b>";
echo "Alabama Crimson Tide </b><br> ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<?php
$filename = 'NCFA/exports/Team20.coa';
echo " ";
echo "Indiana Hoosiers ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo " ";
?>
|
<td align="center" width="50%">
<?php
$filename = 'NCFA/exports/Team21.coa';
echo "<p class=\"iowa\"><b>";
echo "Iowa Hawkeyes </b><br> ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<?php
$filename = 'NCFA/exports/Team24.coa';
echo " ";
echo "Ohio State Buckeyes ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo " ";
?>
|
<td align="center" width="50%">
<?php
$filename = 'NCFA/exports/Team29.coa';
echo "<p class=\"wis\"><b>";
echo "Wisconsin Badgers </b><br> ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<?php
$filename = 'NCFA/exports/Team35.coa';
echo " ";
echo "Nebraska Cornhuskers ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo " ";
?>
|
<td align="center" width="50%">
<?php
$filename = 'NCFA/exports/Team36.coa';
echo "<p class=\"bay\"><b>";
echo "Baylor Bears </b><br> ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<?php
$filename = 'NCFA/exports/Team65.coa';
echo " ";
echo "Bowling Green Falcons ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo " ";
?>
|
<td align="center" width="50%">
<?php
$filename = 'NCFA/exports/Team82.coa';
echo "<p class=\"ore\"><b>";
echo "Oregon Ducks </b><br> ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<?php
$filename = 'NCFA/exports/Team85.coa';
echo " ";
echo "UCLA Bruins ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo " ";
?>
|
<td align="center" width="50%">
<?php
$filename = 'NCFA/exports/Team92.coa';
echo "<p class=\"flo\"><b>";
echo "Florida Gators </b><br> ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo "</p>";
?>
</td>
<?php
$filename = 'NCFA/exports/Team28.coa';
echo " ";
echo "Purdue Boilermakers ";
if (file_exists($filename)) {
echo date ("F d Y h:i:s A e", filemtime($filename)) . " ... " . filesize($filename) . ' bytes';}
else {
echo "File doesn't exist!";}
echo " ";
?>
|
[/code]
And here’s the output:
http://cfa-football.com/NCFA.php