fiche film

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.")

";
echo "

".$genre_dh.", ".$nationality_dh." ".$year_dh."
Dur√¢¬à¬ö√Ǭ©e : ".$duree_dh."
Langue : ".$langue_dh.", ".$apartir_dh."

";
echo "

de ".$directors_dh."
";
echo "avec ".$actors_dh."

";
echo "

".$synopsis_dh."

";
echo "

Séance(s) :
".$timings."

";
echo "

";
echo "Fiche ALLOCIN√¢¬à¬ö√ɬ¢ | ";
echo "Bande Annonce";
//echo "";
echo "

";
echo $clear;
echo "

";
//echo "

";
//

}

catch( ErrorException $error )
{
// Error
echo "Error ", $error->getCode(), ": ", $error->getMessage(), PHP_EOL;
}

?>