show

“FRED TV 17”, “id” => 1),
array(“name” => “FRG TV 18”, “id” => 2),
);
date_default_timezone_set(‘America/New_York’);

//End Setup

function padWithZeros($s, $n)
{
return sprintf(“%0” . $n . “d”, $s);
}

$server= $server.”/CablecastWS/CablecastWS.asmx?WSDL”;
$client = new SoapClient($server, array(‘cache_wsdl’ => 0));

if(!$_GET[‘ShowID’])
{
echo “Error! No Show ID supplied”;
}

else
{
$result = $client->GetShowInformation(array(‘ShowID’ => $_GET[‘ShowID’]));

$searchLength = strtotime(date(“Y-m-d”).”T”.date(“H:i:s”)) + (60*60*24*35);

echo “

\n”;

//Arange Field order by copy and pasting. Use Two slashes to comment out a field ‘//’

//Show Title
echo “

\n”;
//Show Producer
echo “

\n”;
//Show Comments
echo “

\n”;
//Show EventDate
echo “

\n”;
//StreamingFileURL
echo “

Program Title “.$result->GetShowInformationResult->Title.”
Producer “.$result->GetShowInformationResult->Producer.”
Comments “.$result->GetShowInformationResult->Comments.”
Event Date “.date($eventDateFormat,strtotime($result->GetShowInformationResult->EventDate)).”
Watch Online “.($result->GetShowInformationResult->StreamingFileURL != “” ? “