Beispiel #1
0
     }
     echo "</ul></td></tr>\n";
 }
 flush();
 # Taglines
 $taglines = $movie->taglines();
 if (!empty($taglines)) {
     ++$rows;
     echo '<tr><td valign=top><b>Taglines:</b></td><td><ul>';
     for ($i = 0; $i < count($taglines); $i++) {
         echo "<li>" . $taglines[$i] . "</li>\n";
     }
     echo "</ul></td></tr>\n";
 }
 # Seasons
 if ($movie->is_serial() || $movie->seasons()) {
     ++$rows;
     $episodes = $movie->episodes();
     echo '<tr><td valign=top><b>Episodes:</b></td><td>';
     foreach ($episodes as $season => $ep) {
         foreach ($ep as $episodedata) {
             echo '<b>Season ' . $episodedata['season'] . ', Episode ' . $episodedata['episode'] . ': <a href="' . $_SERVER["PHP_SELF"] . '?mid=' . $episodedata['imdbid'] . '">' . $episodedata['title'] . '</a></b> (<b>Original Air Date: ' . $episodedata['airdate'] . '</b>)<br>' . $episodedata['plot'] . '<br/><br/>';
         }
     }
     echo "</td></tr>\n";
 }
 # Locations
 $locs = $movie->locations();
 if (!empty($locs)) {
     ++$rows;
     echo '<tr><td valign="top"><b>Filming Locations:</b></td><td><ul>';