Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MediaDBViewerAPI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SI-Projekt
MediaDBViewerAPI
Commits
55183e9e
Commit
55183e9e
authored
Feb 10, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final mit youtube-Filter
parent
36f2c000
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
api.class.php
api.class.php
+5
-5
No files found.
api.class.php
View file @
55183e9e
...
...
@@ -208,18 +208,18 @@ class MediaDBAPI{
}
$first
=
false
;
}
if
(
isset
(
$GET_arr
[
"
y
outube"
])){
if
(
$GET_arr
[
'
y
outube'
]
==
"DE"
){
if
(
isset
(
$GET_arr
[
"
Y
outube"
])){
if
(
$GET_arr
[
'
Y
outube'
]
==
"DE"
){
$Where
.=
(
$first
?
""
:
" AND "
)
.
'youtube LIKE "%DE%"'
;
}
else
if
(
$GET_arr
[
'
y
outube'
]
==
"EN"
){
else
if
(
$GET_arr
[
'
Y
outube'
]
==
"EN"
){
$Where
.=
(
$first
?
""
:
" AND "
)
.
'youtube LIKE "%EN%"'
;
}
else
{
$Where
.=
(
$first
?
""
:
" AND "
)
.
'youtube '
.
(
$GET_arr
[
'
y
outube'
]
==
"1"
?
"!="
:
"="
)
.
'""'
;
$Where
.=
(
$first
?
""
:
" AND "
)
.
'youtube '
.
(
$GET_arr
[
'
Y
outube'
]
==
"1"
?
"!="
:
"="
)
.
'""'
;
}
}
if
(
isset
(
$GET_arr
[
'Suche'
])){
//TODO Rechte einbauen
if
(
isset
(
$GET_arr
[
'Suche'
])){
$SucheWort
=
$GET_arr
[
'Suche'
];
$Suche
=
" (`name` LIKE '%"
.
$SucheWort
.
"%' OR `md5` LIKE '%"
.
$SucheWort
.
"%' OR `comment` LIKE '%"
.
$SucheWort
.
"%')"
;
//OR `year` = '".$GET_arr['Suche']."' OR `resolution` LIKE '%".$GET_arr['Suche']."%'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment