Na nemmintha lenne movie id mondva
"; } else { $movie_id = $_GET["movie_id"]; $datetime=$_GET["datetime"]; $parancs = "SELECT hun_title, title, year, season FROM movies WHERE movie_id =" . $movie_id ; $eredmeny = mysql_query($parancs, $conn) or die("Nem tudtam az adatokat lekérni. A hiba oka: ".mysql_error()); while ( $sor = mysql_fetch_array($eredmeny)) { $title= $sor['title']; $hun_title= $sor['hun_title']; $year= $sor['year']; $season= $sor['season']; } ?> ".$txt["modify"].": ".$txt["last_time"]." >>> " . $title; if ($season>0){ print " - ".$txt['season']." " . $season; } else { print " (".$year.")"; } print ""; ?>0){ print " - ".$txt['season']." " . $season; } ?>
";
print "".$txt["last_time"]." >>> ".$txt["modify"]."
"; $parancs = "SELECT episode, datetime, language FROM lastmovies WHERE movie_id =" . $movie_id ." AND nick='".$nick."' AND datetime='".$datetime."' ORDER BY episode DESC LIMIT 1"; $eredmeny = mysql_query($parancs, $conn) or die("Nem tudtam az adatokat lekérni. A hiba oka: ".mysql_error()); while ( $sor = mysql_fetch_array($eredmeny)) { $episode= $sor['episode']; $datetime=$sor['datetime']; $language=$sor['language']; } if ($language=="HUN"){ $languageval=strtolower($txt["hungarian"]); }else{ $languageval=strtolower($txt["original"]); } $pieces = explode(" ", $datetime); $date=$pieces[0]; $time=$pieces[1]; $datepieces = explode("-", $date); $year=$datepieces[0]; $month=$datepieces[1]; $day=$datepieces[2]; date_default_timezone_set('Europe/Budapest'); $currdatetime = date("Y.m.d G:i:s"); $pieces = explode(" ", $currdatetime); $currdate=$pieces[0]; $currtime=$pieces[1]; $datepieces = explode(".", $currdate); $curryear=$datepieces[0]; $currmonth=$datepieces[1]; $currday=$datepieces[2]; //print "-----".$year."-".$month."-".$day."-----"; print "