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
23afd297
Commit
23afd297
authored
Jan 19, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
bf177409
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
api.class.php
api.class.php
+4
-4
No files found.
api.class.php
View file @
23afd297
...
@@ -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
;
...
...
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