Commit ac63a4ee authored by Nico Schallehn's avatar Nico Schallehn

Englische Filter eingebaut

parent 2d7ca63a
......@@ -53,7 +53,8 @@ class MediaDBViewerAPI{
else{
// Wenn irgenein filter gesetzt ist...
if( (isset($GET_arr['imdbID']) OR isset($GET_arr['3d']) OR isset($GET_arr['GenreID']) OR isset($GET_arr['Genre']) OR
isset($GET_arr['SchauspielerID']) OR isset($GET_arr['Schauspieler']) OR isset($GET_arr['Suche']) OR isset($GET_arr['SchauspielerSuche']) )
isset($GET_arr['SchauspielerID']) OR isset($GET_arr['Schauspieler']) OR isset($GET_arr['Suche']) OR isset($GET_arr['SchauspielerSuche']) OR
isset($GET_arr['englisch']))
AND $GET_arr['Tabelle'] == "Filme" ){ // Filterung nur für Tablle Filme!!
$first = true;
$imdbArrToCompar = 0;
......@@ -67,6 +68,10 @@ class MediaDBViewerAPI{
$Where .= ($first?"":" AND ").'3d '.($GET_arr['3d']?"!=":"=").'""';
$first = false;
}
if(isset($GET_arr['englisch']) ){
$Where .= ($first?"":" AND ").'acodeceng '.($GET_arr['3d']?"!=":"=").'null';
$first = false;
}
if(isset($GET_arr['Suche'])){
$Suche = " `name` LIKE '%".$GET_arr['Suche']."%' OR `md5` LIKE '%".$GET_arr['Suche']."%' OR `comment` LIKE '%".$GET_arr['Suche']."%'";
//OR `year` = '".$GET_arr['Suche']."' OR `resolution` LIKE '%".$GET_arr['Suche']."%'
......
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