CSTV

CSTV: College Sports Television
Programming Schedule*

SEARCH TERMS
date:

sport:

school:

conference:

series:

game schedule:


$prevPrs AND datetimestamp <= $nowPrs ORDER by datetimestamp"; $result = @ mysql_query ($query, $connection) or showerror(); if (mysql_query ($query, $connection)) { while ($row = mysql_fetch_array($result)) { $dateRaw = substr($row['datetimestamp'],0,8); $datePrs = strtotime($dateRaw); if (substr($row['datetimestamp'],4,2)=="05") $datePrsFmt = date('D, M j',$datePrs); else $datePrsFmt = date('D, M. j',$datePrs); $hour = substr($row['datetimestamp'],-4,2); $minute = substr($row['datetimestamp'],-2,2); if ($hour==12) $ap = "pm"; else if ($hour==00) { $hour = 12; $ap = "am"; } else if ($hour>12) { $hour="0".($hour-12); $ap = "pm"; } else $ap = "am"; if (substr($hour,0,1)==0) $hour=substr($hour,1); $currentProgram=""; $currentProgram .= "\n"; $currentProgram .= "\n"; $currentProgram .= "\n"; $currentProgram .= "\n"; $currentProgram .= "\n"; } } echo $currentProgram; # grab remaining 24 hours $tomorrowRaw =(strtotime("tomorrow"))+7200; $tomorrowPrs = strftime('%Y%m%d%H%M',$tomorrowRaw); $query = "SELECT datetimestamp, series, episode, link, firstBroadcast FROM schedulelive WHERE datetimestamp > $nowPrs AND datetimestamp REGEXP '^$id' ORDER by datetimestamp"; $result = @ mysql_query ($query, $connection) or showerror(); if (mysql_query ($query, $connection)) { while ($row = mysql_fetch_array($result)) { $dateRaw = substr($row['datetimestamp'],0,8); $datePrs = strtotime($dateRaw); if (substr($row['datetimestamp'],4,2)=="05") $datePrsFmt = date('D, M j',$datePrs); else $datePrsFmt = date('D, M. j',$datePrs); $hour = substr($row['datetimestamp'],-4,2); $minute = substr($row['datetimestamp'],-2,2); if ($hour==12) $ap = "pm"; else if ($hour==00) { $hour = 12; $ap = "am"; } else if ($hour>12) { $hour="0".($hour-12); $ap = "pm"; } else $ap = "am"; if (substr($hour,0,1)==0) $hour=substr($hour,1); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } } ?>
Date Time (ET) Program
".$datePrsFmt."
".$hour.":".$minute." ".$ap."
".$row['series'].""; if ($row['episode']!="") $currentProgram .= "
".$row['episode']; $firstBroadcast = $row['firstBroadcast']; if ($firstBroadcast != "") { $firstBroadcastDate = substr($firstBroadcast,1); if ($firstBroadcastDate == $row['datetimestamp']) { if (substr($firstBroadcast,0,1)=="L") $currentProgram .= "
(Live)"; if (substr($firstBroadcast,0,1)=="T") $currentProgram .= "
(Tape Delay)"; if (substr($firstBroadcast,0,1)=="S") $currentProgram .= "
(Same Day Tape Delay)"; } else { $fbYear = substr($firstBroadcastDate,2,2); $fbMonth = substr($firstBroadcastDate,4,2); $fbDay = substr($firstBroadcastDate,6,2); if (substr($fbMonth,0,1)=="0") $fbMonth = substr($fbMonth,1); if (substr($fbDay,0,1)=="0") $fbDay = substr($fbDay,1); $currentProgram .= "
(DoubleTake, Played on ".$fbMonth."/".$fbDay."/".$fbYear.")"; } } $currentProgram .= "
".$datePrsFmt."
".$hour.":".$minute." ".$ap."
".$row['series'].""; if ($row['episode']!="") echo"
".$row['episode']; $firstBroadcast = $row['firstBroadcast']; if ($firstBroadcast != "") { $firstBroadcastDate = substr($firstBroadcast,1); if ($firstBroadcastDate == $row['datetimestamp']) { if (substr($firstBroadcast,0,1)=="L") echo "
(Live)"; if (substr($firstBroadcast,0,1)=="T") echo "
(Tape Delay)"; if (substr($firstBroadcast,0,1)=="S") echo "
(Same Day Tape Delay)"; } else { $fbYear = substr($firstBroadcastDate,2,2); $fbMonth = substr($firstBroadcastDate,4,2); $fbDay = substr($firstBroadcastDate,6,2); if (substr($fbMonth,0,1)=="0") $fbMonth = substr($fbMonth,1); if (substr($fbDay,0,1)=="0") $fbDay = substr($fbDay,1); echo "
(DoubleTake, Played on ".$fbMonth."/".$fbDay."/".$fbYear.")"; } } echo "

*subject to change
12) { $hour="0".($hour-12); $ap = "pm"; } else $ap = "am"; if (substr($hour,0,1)==0) $hour=substr($hour,1); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } } ?>
Date Time (ET) Program
".$datePrsFmt."
".$hour.":".$minute." ".$ap."
".$row['series'].""; if ($row['episode']!="") echo"
".$row['episode']; $firstBroadcast = $row['firstBroadcast']; if ($firstBroadcast != "") { $firstBroadcastDate = substr($firstBroadcast,1); if ($firstBroadcastDate == $row['datetimestamp']) { if (substr($firstBroadcast,0,1)=="L") echo "
(Live)"; if (substr($firstBroadcast,0,1)=="T") echo "
(Tape Delay)"; if (substr($firstBroadcast,0,1)=="S") echo "
(Same Day Tape Delay)"; } else { $fbYear = substr($firstBroadcastDate,2,2); $fbMonth = substr($firstBroadcastDate,4,2); $fbDay = substr($firstBroadcastDate,6,2); if (substr($fbMonth,0,1)=="0") $fbMonth = substr($fbMonth,1); if (substr($fbDay,0,1)=="0") $fbDay = substr($fbDay,1); echo "
(DoubleTake, Played on ".$fbMonth."/".$fbDay."/".$fbYear.")"; } } echo "

*subject to change
= $todayFull "; } $query .= "ORDER by datetimestamp"; #echo "".$query."
"; $loopCount=0; $result = @ mysql_query ($query, $connection) or showerror(); if (mysql_query ($query, $connection)) { while ($row = mysql_fetch_array($result)) { if ($loopCount==0) { ?>
12) { $hour="0".($hour-12); $ap = "pm"; } else $ap = "am"; $minute = substr($row['datetimestamp'],-2,2); if (substr($hour,0,1)==0) $hour=substr($hour,1); # assemble broadcast if ($row['broadcast']==0) { $broadcast=" (Live)"; } else if ($row['broadcast']==1) { $broadcast=" (Same Day Tape Delay)"; } else { $broadcast=" (Taped ".substr($row['broadcast'],4,2)."/".substr($row['broadcast'],6,2)."/".substr($row['broadcast'],2,2).")"; } if (($date>=$today)||($gameSel!="no")) { echo "\r\n"; echo "\r\n"; if ($hour == 87) echo "\r\n"; else echo "\r\n"; if ($gameSel!="no") { echo "\r\n"; } else { if ($row['series']!="CSTV Original") echo "\r\n"; } echo "\r\n"; $loopCount++; } } if ($loopCount>0) { ?>
Date Time (ET) Program
".$datePrsFmt."
TBD
".$hour.":".$minute." ".$ap."
"; echo ucwords(strtolower($row['sport']))."
"; echo $row['episode'].$broadcast."
".$row['series'].""; else echo "".$row['series'].""; if ($row['episode']!="") echo "
".$row['episode']; $firstBroadcast = $row['firstBroadcast']; if ($firstBroadcast != "") { $firstBroadcastDate = substr($firstBroadcast,1); if ($firstBroadcastDate == $row['datetimestamp']) { if (substr($firstBroadcast,0,1)=="L") echo "
(Live)"; if (substr($firstBroadcast,0,1)=="T") echo "
(Tape Delay)"; if (substr($firstBroadcast,0,1)=="S") echo "
(Same Day Tape Delay)"; } else { $fbYear = substr($firstBroadcastDate,2,2); $fbMonth = substr($firstBroadcastDate,4,2); $fbDay = substr($firstBroadcastDate,6,2); if (substr($fbMonth,0,1)=="0") $fbMonth = substr($fbMonth,1); if (substr($fbDay,0,1)=="0") $fbDay = substr($fbDay,1); echo "
(DoubleTake, Played on ".$fbMonth."/".$fbDay."/".$fbYear.")"; } } echo "

*subject to change

There are no matching results for your search criteria
on our current 30-day schedule.
$prevPrs AND datetimestamp <= $nowPrs ORDER by datetimestamp"; $result = @ mysql_query ($query, $connection) or showerror(); if (mysql_query ($query, $connection)) { while ($row = mysql_fetch_array($result)) { $dateRaw = substr($row['datetimestamp'],0,8); $datePrs = strtotime($dateRaw); if (substr($row['datetimestamp'],4,2)=="05") $datePrsFmt = date('D, M j',$datePrs); else $datePrsFmt = date('D, M. j',$datePrs); $hour = substr($row['datetimestamp'],-4,2); $minute = substr($row['datetimestamp'],-2,2); if ($hour==12) $ap = "pm"; else if ($hour==00) { $hour = 12; $ap = "am"; } else if ($hour>12) { $hour="0".($hour-12); $ap = "pm"; } else $ap = "am"; if (substr($hour,0,1)==0) $hour=substr($hour,1); $currentProgram=""; $currentProgram .= "\n"; $currentProgram .= "\n"; $currentProgram .= "\n"; $currentProgram .= "\n"; $currentProgram .= "\n"; } } echo $currentProgram; # grab remaining 24 hours $tomorrowRaw =(strtotime("tomorrow"))+7200; $tomorrowPrs = strftime('%Y%m%d%H%M',$tomorrowRaw); $query = "SELECT datetimestamp, series, episode FROM schedulelive WHERE datetimestamp > $nowPrs AND datetimestamp < $tomorrowPrs ORDER by datetimestamp"; $result = @ mysql_query ($query, $connection) or showerror(); if (mysql_query ($query, $connection)) { while ($row = mysql_fetch_array($result)) { $dateRaw = substr($row['datetimestamp'],0,8); $datePrs = strtotime($dateRaw); if (substr($row['datetimestamp'],4,2)=="05") $datePrsFmt = date('D, M j',$datePrs); else $datePrsFmt = date('D, M. j',$datePrs); $hour = substr($row['datetimestamp'],-4,2); $minute = substr($row['datetimestamp'],-2,2); if ($hour==12) $ap = "pm"; else if ($hour==00) { $hour = 12; $ap = "am"; } else if ($hour>12) { $hour="0".($hour-12); $ap = "pm"; } else $ap = "am"; if (substr($hour,0,1)==0) $hour=substr($hour,1); echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } } ?>
Date Time (ET) Program
".$datePrsFmt."
".$hour.":".$minute." ".$ap."
".$row['series'].""; if ($row['episode']!="") $currentProgram .= "
".$row['episode']; $firstBroadcast = $row['firstBroadcast']; if ($firstBroadcast != "") { $firstBroadcastDate = substr($firstBroadcast,1); if ($firstBroadcastDate == $row['datetimestamp']) { if (substr($firstBroadcast,0,1)=="L") $currentProgram .= "
(Live)"; if (substr($firstBroadcast,0,1)=="T") $currentProgram .= "
(Tape Delay)"; if (substr($firstBroadcast,0,1)=="S") $currentProgram .= "
(Same Day Tape Delay)"; } else { $fbYear = substr($firstBroadcastDate,2,2); $fbMonth = substr($firstBroadcastDate,4,2); $fbDay = substr($firstBroadcastDate,6,2); if (substr($fbMonth,0,1)=="0") $fbMonth = substr($fbMonth,1); if (substr($fbDay,0,1)=="0") $fbDay = substr($fbDay,1); $currentProgram .= "
(DoubleTake, Played on ".$fbMonth."/".$fbDay."/".$fbYear.")"; } } $currentProgram .= "
".$datePrsFmt."
".$hour.":".$minute." ".$ap."
".$row['series'].""; if ($row['episode']!="") echo"
".$row['episode']; $firstBroadcast = $row['firstBroadcast']; if ($firstBroadcast != "") { $firstBroadcastDate = substr($firstBroadcast,1); if ($firstBroadcastDate == $row['datetimestamp']) { if (substr($firstBroadcast,0,1)=="L") echo "
(Live)"; if (substr($firstBroadcast,0,1)=="T") echo "
(Tape Delay)"; if (substr($firstBroadcast,0,1)=="S") echo "
(Same Day Tape Delay)"; } else { $fbYear = substr($firstBroadcastDate,2,2); $fbMonth = substr($firstBroadcastDate,4,2); $fbDay = substr($firstBroadcastDate,6,2); if (substr($fbMonth,0,1)=="0") $fbMonth = substr($fbMonth,1); if (substr($fbDay,0,1)=="0") $fbDay = substr($fbDay,1); echo "
(DoubleTake, Played on ".$fbMonth."/".$fbDay."/".$fbYear.")"; } } echo "

*subject to change

close window