movie($code, $profile, $url);
$toto = $donnees->getArray();
//
//
$hall = $helper2->showtimesByTheaters( $theaters, $date, $code, $count, 1, $url );
$hall_table = $hall->getArray();
//
//
$clear ="
";
$title_dh = $toto['title'];
$origtitle_dh = $toto['originalTitle'];
$poster_dh = "";
$year_dh = $toto['productionYear'];
$production_dh = $toto['productionYear']['nationality']['0']['$'];
$synopsis_dh = $toto['synopsis'];
$directors_dh = $toto['castingShort']['directors'];
$actors_dh = $toto['castingShort']['actors'];
$code_dh = $toto['code'];
$trailer_dh = $toto['trailer']['href'];
$media_dh = $toto['media']['0']['type']['code'];
//
$nationality_dh = $toto['nationality']['0']['$'];
$genre_dh = $toto['genre']['0']['$'];
$release_dh = $toto['productionYear']['release']['releaseDate'];
$duree_dh = convertTime($toto['runtime']);
//
$display_dh = $hall_table['theaterShowtimes']['0']['movieShowtimes']['0']['display'];
$langue_dh = $hall_table['theaterShowtimes']['0']['movieShowtimes']['0']['version']['$'];
$apartir_dh = $hall_table['theaterShowtimes']['0']['movieShowtimes']['0']['onShow']['movie']['movieCertificate']['certificate']['$'];
$search = "Séances du";
$timings = str_replace($search, "-", $display_dh);
// Affchage des données
//echo "
"; echo " ".$poster_dh;
echo " ".$title_dh." (".$year_dh.")"; ".$genre_dh.", ".$nationality_dh." ".$year_dh." "; de ".$directors_dh." "; ".$synopsis_dh." "; Séance(s) : "; "; "; "; |
";
//
}
catch( ErrorException $error )
{
// Error
echo "Error ", $error->getCode(), ": ", $error->getMessage(), PHP_EOL;
}
?>