Commit b1be561e authored by Nico Schallehn's avatar Nico Schallehn

test

parent af33782e
......@@ -55,10 +55,10 @@ if($_GET["action"] == "bla"){
}else{// Startseite!
$titel = "Startseite";
//Filme für Coverflow holen...
$MovieArray = $API->API_GetDataList(array("Tabelle"=>"Filme", "Spalten"=>"imdbID,3d,name","3d"=>"0","Gesehenzaehler"=>"0","Sortierung"=>"rating DESC", "Anzahl" =>"5"));
$MovieArray = $API->API_GetDataList(array("Tabelle"=>"Filme", "Spalten"=>"imdbID,3d,name","3d"=>"0","Gesehenzaehler"=>"0","Sortierung"=>"rating DESC", "Anzahl" =>"7"));
$movies ="";
foreach ($MovieArray["Data"] as $key => $value) {
echo "http://webservice.fanart.tv/v3/movies/tt".$value["imdbID"]."?api_key=".Fanart_Key.PHP_EOL;
//echo "http://webservice.fanart.tv/v3/movies/tt".$value["imdbID"]."?api_key=".Fanart_Key.PHP_EOL;
$fanart = jsonCacheDecoder("http://webservice.fanart.tv/v3/movies/tt".$value["imdbID"]."?api_key=".Fanart_Key);
//var_dump();
if(isset($fanart["moviethumb"][0][url])){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment