Commit 3c2fda59 authored by Nico Schallehn's avatar Nico Schallehn

3d Working

parent 8d8fe463
...@@ -61,10 +61,10 @@ class MediaDBViewerAPI{ ...@@ -61,10 +61,10 @@ class MediaDBViewerAPI{
$Where .= ($first?"":" AND ").'imdbID = "'.$GET_arr['imdbID'].'"'; $Where .= ($first?"":" AND ").'imdbID = "'.$GET_arr['imdbID'].'"';
$first = false; $first = false;
} }
echo $GET_arr['3d'].">"; //echo $GET_arr['3d'].">";
if(isset($GET_arr['3d']) ){ if(isset($GET_arr['3d']) ){
echo "in GET_arr 3d"; //echo "in GET_arr 3d";
$Where .= ($first?"":" AND ").'3d '.($GET_arr['3d']?"=":"!=").'""'; $Where .= ($first?"":" AND ").'3d '.($GET_arr['3d']?"!=":"=").'""';
$first = false; $first = false;
} }
...@@ -77,7 +77,7 @@ class MediaDBViewerAPI{ ...@@ -77,7 +77,7 @@ class MediaDBViewerAPI{
.$this->iset($GET_arr['Order'], " ", " ORDER BY ", " ") .$this->iset($GET_arr['Order'], " ", " ORDER BY ", " ")
.$this->iset($GET_arr['Limit'],"", " Limit "," ") .$this->iset($GET_arr['Limit'],"", " Limit "," ")
.";"; .";";
echo $Query; //echo $Query;
$entrys = $this->DB_Objekt->query($Query); $entrys = $this->DB_Objekt->query($Query);
......
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