Commit e28df465 authored by Nico Schallehn's avatar Nico Schallehn

test

parent ed2ca294
<?php session_start(); <?php session_start();
include('../api.class.php'); include('../api.class.php');
define("","9902c9197f457401ff7a7eba839213ba");
if(isset($_GET["logoff"])){ if(isset($_GET["logoff"])){
echo "abmelden!!"; echo "abmelden!!";
unset($_SESSION); unset($_SESSION);
...@@ -47,10 +49,15 @@ if($_GET["action"] == "bla"){ ...@@ -47,10 +49,15 @@ if($_GET["action"] == "bla"){
//Filme für Coverflow holen... //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" =>"5"));
foreach ($MovieArray["Data"] as $key => $value) {
$fanart = json_decode(file_get_contents("http://webservice.fanart.tv/v3/movies/tt".$value["imdbID"]."?api_key=".Fanart_Key), true);
var_dump($fanart);
}
var_dump($MovieArray);
echo PHP_EOL;
var_dump($API->APIrespons());
$content = ' $content = '
<div class="slider"> <div class="slider">
......
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