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
63c33b1c
Commit
63c33b1c
authored
Jan 15, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
series_nr Filter für Staffeln und Episonden
parent
2a9f7d49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
api.class.php
api.class.php
+11
-3
No files found.
api.class.php
View file @
63c33b1c
...
...
@@ -118,9 +118,17 @@ class MediaDBViewerAPI{
}
}
// Wenn irgenein filter gesetzt ist Filterung nur für Tablle Filme!!
if
(
(
isset
(
$GET_arr
[
'imdbID'
])
OR
isset
(
$GET_arr
[
'3d'
])
)
AND
$GET_arr
[
'Tabelle'
]
==
"Staffeln"
){
// Filterung nur für Tablle Filme!!
if
(
(
isset
(
$GET_arr
[
'series_nr'
])
OR
isset
(
$GET_arr
[
'dummerPlatzhalter'
])
)
AND
((
$GET_arr
[
'Tabelle'
]
==
"Staffeln"
)
OR
((
$GET_arr
[
'Tabelle'
]
==
"Episoden"
)))
){
// Filterung nur für Tablle Filme!!
$first
=
true
;
//$imdbArrToCompar = 0;
$Where
=
"WHERE "
;
if
(
isset
(
$GET_arr
[
'series_nr'
])
){
$Where
.=
(
$first
?
""
:
" AND "
)
.
'series_nr = "'
.
$GET_arr
[
'series_nr'
]
.
'"'
;
$first
=
false
;
}
}
// Überprüfen ob Schauspieler oder Genre gefordert wird
$SpaltenArr
=
explode
(
","
,
$GET_arr
[
'Spalten'
]);
...
...
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