Commit 29da217f authored by Nico Schallehn's avatar Nico Schallehn

test

parent ce1f6f8c
......@@ -288,9 +288,10 @@ if($_GET["action"] == "filme"){
// if(isset($fanart["movieposter"][0]["url"])) {
if(!isset($MovieArray["Data"][0]["imdbID"])){
$youtubearray = explode(":", $value["youtube"]);
$neu = ((strtotime($Film["added"])-strtotime(file_get_contents("neuab.txt")))>0?"Neu":"Alt");
$youtube = (isset($youtubearray[1])?'<a href="https://www.youtube.com/watch?v='.$youtubearray[1].'">Trailer('.$youtubearray[0].')</a>':"");
$movies .= '<tr><td><img src="http://mediadb.ddns.net/cover/Filme/low/'.$value["imdbID"].'.jpg"><!--<br>'.$value["imdbID"].", ".substr($value["name"],0,50)." ".$value["3d"]."--></td>
<td>".$value["added"]."<br>".$value["resolution"]."<br>".$value["rating"]."*<br>".round($value["size"]/pow(1024,3),2)."GB<br>".$youtube."</td>
<td>".$value["added"]."<br>".$value["resolution"]."<br>".$value["rating"]."*<br>".round($value["size"]/pow(1024,3),2)."GB<br>".$youtube."<br>".$neu."</td>
<td><h3>".$value["imdbID"].", ".substr($value["name"],0,50)."</h3>".$value["summary"]."</td></tr>";
$counterNeu++;
}else if(!($MovieArray["Data"][0]["md5"] == $value["md5"]) AND ($MovieArray["Data"][0]["3d"] == $value["3d"])){
......
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