Commit ce1f6f8c authored by Nico Schallehn's avatar Nico Schallehn

test

parent ef553494
......@@ -272,7 +272,9 @@ if($_GET["action"] == "filme"){
}else if($_GET["action"] == "vergleich"){
if(!file_exists("neuab.txt") OR isset($_POST["update"])){
file_put_contents("neuab.txt", date("Y-m-d", time()));
}
$titel = "Vergleich von 2 DB";
$MovieArray = jsonCacheDecoder("http://mediadb.ddns.net/api.php?key=ee3aTi5soo&action=GetDataList&Tabelle=Filme&Spalten=imdbID,3d,name,md5,added,size,resolution,rating,summary,youtube&3d=0&Sortierung=added%20DESC");
$movies="";
......@@ -300,7 +302,8 @@ if($_GET["action"] == "filme"){
}
$content = '<div class="content">neue Filme:'.$counterNeu.'<br>defekte Filme:'.$countermd5.'<br>Vorhandene Filme Filme:'.$countereql.'<br>
$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>
<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