A keresett szó: ".$genre." "; $yearfelirat=$year; } else { $year = ""; $yearfelirat=$txt["movies_by_year"]; } ?> ". $yearfelirat ." - FilmO"; ?> - FilmO">

  
  : !" >
A keresett szó: ".$genre." "; if ($year==$max_year){ $next_year=$min_year; }else{ $next_year=$year+1; } if ($year==$min_year){ $prev_year=$max_year; } else { $prev_year=$year-1; } print "

".$txt["movies_from_this_year"].":

"; /*
  Mitkeressen:
*/ print ""; print ""; print ""; print ""; print ""; ?>

"; $sorszam=0; print ""; Print("
\n"); print"
"; while ( $sor = mysql_fetch_array($eredmeny)) { $sorszam++; print "
"; if($_SESSION['role'] == 'admin'){ print ""; } print ""; print ""; } else { print ""; } print ""; */ print(""); //értékelősblokk if($_SESSION['belepett'] == true){ include 'ratingblock.php'; } print ""; } if($_SESSION['belepett'] == true){ print ""; } print("
"; print "  "; $poster = "pix/poster/".$sor['movie_id'].".jpg" ; if (file_exists($poster)) { print "  "; } else { print "  "; } print ""; if ( substr( $sor["language"] , 0 , 3) == "HUN"){ print "

".$sor['hun_title']; if ($sor['season'] > 0){ print " - " .$sor['season'] . ".".$txt['season'].""; } print "

[" .$sor['title'] ; if ($sor['season'] > 0){ print " - ".$txt['season']." " .$sor['season'] ; } print "]  

"; } else { print "

".$sor['title']; if ($sor['season'] > 0){ print " - ".$txt['season']." " .$sor['season'] ; } print "

(" .$sor['hun_title']; if ($sor['season'] > 0){ print " - " .$sor['season'] . ".".$txt['season'].""; } print ")  

"; } print "
"; print "

".$sor["year"]."

"; /* if ( substr( $sor["language"] , 0 , 3) == "HUN"){ print "
".$sor['hun_title']." [ " .$sor['title'] . " ]   ".$sor['title']." ( " .$sor['hun_title'] . " )   ".$sor["year"]."
"); print ""; ?>



".$txt["choose_year"]."!


"; $yearparancs = "SELECT year, COUNT(year) FROM movies GROUP BY year ORDER BY year DESC"; $yeareredmeny = mysql_query($yearparancs, $conn) or die("Nem tudtam az adatokat lekérni. A hiba oka: ".mysql_error()); $szamlalo=0; $yearsor=""; while ( $sor = mysql_fetch_array($yeareredmeny)) { if ($szamlalo%8 ==0){ $yearsor .= "
"; } $yearsor .= ""; if ($sor['COUNT(year)']>0 && $sor['COUNT(year)']<10){ $yearsor .= ""; } if ($sor['COUNT(year)']>9 && $sor['COUNT(year)']<40){ $yearsor .= ""; } if ($sor['COUNT(year)']>39 && $sor['COUNT(year)']<80){ $yearsor .= ""; } if ($sor['COUNT(year)']>69&& $sor['COUNT(year)']<99){ $yearsor .= ""; } if ($sor['COUNT(year)']>98){ $yearsor .= ""; } $yearsor .= " ".$sor['year']."   "; $szamlalo++; // } echo $yearsor; } ?>