VOD Display

AdvancedShowSearch(array(
‘ChannelID’ => 3,
‘searchString’ => ‘Selectmen’,
‘eventDate’ => date(“Y-m-d”) . “T00:00:00”,
‘dateComparator’ => ‘<', 'restrictToCategoryID' => 0,
‘restrictToProducerID’ => 0,
‘restrictToProjectID’ => 0,
‘displayStreamingShowsOnly’ => 1,
‘searchOtherSites’ => 0,));

if(!isset($result->AdvancedShowSearchResult->SiteSearchResult->Shows->ShowInfo)) {
$vods = array();
} else {
$vods = is_array($result->AdvancedShowSearchResult->SiteSearchResult->Shows->ShowInfo) ?
$result->AdvancedShowSearchResult->SiteSearchResult->Shows->ShowInfo :
array($result->AdvancedShowSearchResult->SiteSearchResult->Shows->ShowInfo);
}

if(count($vods) == ‘0’) {
//There is probably something wrong if this shows up.
echo “There are now Shows currently available for on demand viewing.”;
} else {
// Prints out a table with time and show title with link to show detial page
echo “

\n”;
echo “

\n”;

foreach($vods as $vod) {
echo “

\n”;
echo “

\n”;
echo “

Program Title Link
” . $vod->Title . “

slot gacor rtp live https://puskesmaskemangkon.purbalinggakab.go.id/-/gacor/