EpisodeArray[$epnum - 1]; $oneOrMore = $epdata['comments'] == 1 ? $epdata['comments'] . " Comment" : $epdata['comments'] . " Comments"; if ($epdata['comments'] == 0) { $epComments = '
No comments? Be the first to comment on this video!
'; } else { $epComments = $episode->GetEpisodeComments($_GET['episode']); } if(!empty($_COOKIE['MadSplashUser'])) { $form = render('comments/episodeform', ['epid' => $_GET['episode'], 'id' => $_GET['show']]); } else { $form = ''; } echo render('projects/show', [ 't' => $epdata['title'], 'l' => $epdata['embed'], 'd' => $epdata['description'], 'thumb' => $episode->Thumbnail, 'comments' => $epComments, 'ccount' => $oneOrMore, 'form' => $form ]); echo render('footer');