Commit 9139e606 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 73cb1c05
...@@ -208,6 +208,17 @@ class MediaDBAPI{ ...@@ -208,6 +208,17 @@ class MediaDBAPI{
} }
$first = false; $first = false;
} }
if(isset($GET_arr["youtube"])){
if($GET_arr['youtube'] == "DE"){
$Where .= ($first?"":" AND ").'youtube LIKE "%DE%"';
}
else if($GET_arr['youtube'] == "EN"){
$Where .= ($first?"":" AND ").'youtube LIKE "%EN%"';
}
else{
$Where .= ($first?"":" AND ").'youtube = "'.($GET_arr['youtube']=="NEIN"?"!=":"=").'""';
}
}
if(isset($GET_arr['Suche'])){ //TODO Rechte einbauen if(isset($GET_arr['Suche'])){ //TODO Rechte einbauen
$SucheWort = $GET_arr['Suche']; $SucheWort = $GET_arr['Suche'];
$Suche = " (`name` LIKE '%".$SucheWort."%' OR `md5` LIKE '%".$SucheWort."%' OR `comment` LIKE '%".$SucheWort."%')"; $Suche = " (`name` LIKE '%".$SucheWort."%' OR `md5` LIKE '%".$SucheWort."%' OR `comment` LIKE '%".$SucheWort."%')";
......
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