\n”;
echo ““;
echo “

\n”;
echo “

\n”;
echo “

Title Contains
“;
echo “

\n”;
echo “

“;

if($_GET[“search_title”])
{
//Do Search on Search terms
$result = $client->SimpleShowSearch(array(“ChannelID” => $channelID, “searchString” => $_GET[“search_title”]));

echo “

Results

“;
//Build Results Table
$results_count = count($result->SimpleShowSearchResult->SiteSearchResult->Shows->ShowInfo);
if($results_count > 0)
{
echo “

“;
foreach($result->SimpleShowSearchResult->SiteSearchResult->Shows->ShowInfo as $show)
{
echo “

“;
echo “

“;
}
echo “

“.$show->Title.”
“;
echo “

“;
echo $show->Comments.”
“;
echo “ShowID.”\”>View Detials“;
echo “

“;
echo “

“;
}
else
{
echo “Your Search yeilded no results. Please try again.”;
}

}
?>

Public Channel Schedule
GetScheduleInformation(array(
‘ChannelID’ => $channelID,
‘FromDate’ => $dateString,
‘ToDate’ => $endDate,
‘restrictToShowID’ => 0));

//Loop through runs creating a table
$startDay = “”;
echo “

\n

\n”;
foreach($result->GetScheduleInformationResult->ScheduleInfo as $run)
{
$day = date(“Y-m-d”, strtotime($run->StartTime));
if($day != $startDay)
{
echo “

\n”;
$startDay = $day;
}
echo “

\n”;
$count++;
}
echo “

Time Program Title
“.date(“l F jS, Y”, strtotime($day)).”
“.date(“g:i a”, strtotime($run->StartTime)).” ShowID.”\”>”.$run->ShowTitle.”

\n”;

?>

Education Channel Schedule
GetScheduleInformation(array(
‘ChannelID’ => $channelID,
‘FromDate’ => $dateString,
‘ToDate’ => $endDate,
‘restrictToShowID’ => 0));

//Loop through runs creating a table
$startDay = “”;
echo “

\n

\n”;
foreach($result->GetScheduleInformationResult->ScheduleInfo as $run)
{
$day = date(“Y-m-d”, strtotime($run->StartTime));
if($day != $startDay)
{
echo “

\n”;
$startDay = $day;
}
echo “

\n”;
$count++;
}
echo “

Time Program Title
“.date(“l F jS, Y”, strtotime($day)).”
“.date(“g:i a”, strtotime($run->StartTime)).” ShowID.”\”>”.$run->ShowTitle.”

\n”;

?>

Government Channel Schedule
GetScheduleInformation(array(
‘ChannelID’ => $channelID,
‘FromDate’ => $dateString,
‘ToDate’ => $endDate,
‘restrictToShowID’ => 0));

//Loop through runs creating a table
$startDay = “”;
echo “

\n

\n”;
foreach($result->GetScheduleInformationResult->ScheduleInfo as $run)
{
$day = date(“Y-m-d”, strtotime($run->StartTime));
if($day != $startDay)
{
echo “

\n”;
$startDay = $day;
}
echo “

\n”;
$count++;
}
echo “

Time Program Title
“.date(“l F jS, Y”, strtotime($day)).”
“.date(“g:i a”, strtotime($run->StartTime)).” ShowID.”\”>”.$run->ShowTitle.”

\n”;

?>