Commit 7cc7ca61 authored by Nico Schallehn's avatar Nico Schallehn

test

parent cd31f0ca
......@@ -288,7 +288,7 @@ if($_GET["action"] == "filme"){
// if(isset($fanart["movieposter"][0]["url"])) {
if(!isset($MovieArray["Data"][0]["imdbID"])){
$youtubearray = explode(":", $value["youtube"]);
$neu = ((strtotime($value["added"])-strtotime(file_get_contents("neuab.txt")))>0?"Neu":"Alt");
$neu = ((strtotime($value["added"])-strtotime(file_get_contents("neuab.txt")))>0?'<font color="red">Neu!</font>':"");
//echo strtotime($value["added"])."<>".strtotime(file_get_contents("neuab.txt"))."<br>".PHP_EOL;
$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>
......@@ -305,7 +305,7 @@ if($_GET["action"] == "filme"){
}
$content = '<div class="content">neue Filme:'.$counterNeu.'<br>defekte Filme:'.$countermd5.'<br>Vorhandene Filme Filme:'.$countereql.'<br><form method="POST">
<input type="submit" name="update"></form>
<input type="submit" name="update" value="Liste als gesehen markieren"></form>
<table><tr><th>Filmname</th><th>Daten</th></tr>'.$movies.'</table></div>';
}else if (isset($_GET["action"])){
$titel = "404 - Nicht gefunden";
......
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