Commit 23afd297 authored by Nico Schallehn's avatar Nico Schallehn

test

parent bf177409
...@@ -43,7 +43,7 @@ class MediaDBViewerAPI{ ...@@ -43,7 +43,7 @@ class MediaDBViewerAPI{
else{ else{
// Array für istgleich vergleiche // Array für istgleich vergleiche
$IstgleichArr = array("imdbID" => "imdbID", "3d" => "3d", "acodecger" => "acodecger", "acodeceng" => "acodeceng", "vcodec" => "vcodec", $IstgleichArr = array("imdbID" => "imdbID", "acodecger" => "acodecger", "acodeceng" => "acodeceng", "vcodec" => "vcodec",
"resolution" => "resolution", "channelsger" => "channelsger", "channelseng" => "channelseng", "hdd" => "hdd", "checked" => "checked" "resolution" => "resolution", "channelsger" => "channelsger", "channelseng" => "channelseng", "hdd" => "hdd", "checked" => "checked"
); );
// Array für größer Kleiner Vergleich // Array für größer Kleiner Vergleich
...@@ -57,7 +57,7 @@ class MediaDBViewerAPI{ ...@@ -57,7 +57,7 @@ class MediaDBViewerAPI{
// Wenn irgenein filter gesetzt ist Filterung nur für Tablle Filme!! // Wenn irgenein filter gesetzt ist Filterung nur für Tablle Filme!!
if( (isset($GET_arr['GenreID']) OR isset($GET_arr['Genre']) OR isset($GET_arr['SchauspielerID']) OR isset($GET_arr['Schauspieler']) OR if( (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']) OR isset($GET_arr['Englisch']) OR isset($GET_arr['Deutsch']) OR isset($GET_arr['Suche']) OR isset($GET_arr['SchauspielerSuche']) OR isset($GET_arr['Englisch']) OR isset($GET_arr['Deutsch']) OR
isset($GET_arr['Jahr']) OR (count($Array)>0) isset($GET_arr['Jahr']) OR isset($GET_arr['3d']) OR (count($Array)>0)
) AND $GET_arr['Tabelle'] == "Filme" ){ // Filterung nur für Tablle Filme!! ) AND $GET_arr['Tabelle'] == "Filme" ){ // Filterung nur für Tablle Filme!!
$first = true; $first = true;
$imdbArrToCompar = 0; $imdbArrToCompar = 0;
...@@ -69,11 +69,11 @@ class MediaDBViewerAPI{ ...@@ -69,11 +69,11 @@ class MediaDBViewerAPI{
$first = false; $first = false;
} }
} }
/*
if(isset($GET_arr['3d']) ){ if(isset($GET_arr['3d']) ){
$Where .= ($first?"":" AND ").'3d '.($GET_arr['3d']?"!=":"=").'""'; $Where .= ($first?"":" AND ").'3d '.($GET_arr['3d']?"!=":"=").'""';
$first = false; $first = false;
}*/ }
if(isset($GET_arr['Englisch']) ){ if(isset($GET_arr['Englisch']) ){
$Where .= ($first?"":" AND ").'acodeceng'.($GET_arr['Englisch']?" IS NOT ":" IS ").'null'; $Where .= ($first?"":" AND ").'acodeceng'.($GET_arr['Englisch']?" IS NOT ":" IS ").'null';
$first = false; $first = false;
......
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