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
dffb556d
Commit
dffb556d
authored
Feb 08, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Aufgeräumt
parent
5888f6cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
26 deletions
+2
-26
org.eclipse.core.resources.prefs
.settings/org.eclipse.core.resources.prefs
+1
-0
api.class.php
api.class.php
+1
-26
No files found.
.settings/org.eclipse.core.resources.prefs
View file @
dffb556d
eclipse.preferences.version=1
eclipse.preferences.version=1
encoding/api.class.php=UTF-8
encoding/api.class.php=UTF-8
encoding/api.php=UTF-8
encoding/api.php=UTF-8
encoding/ergaenzung.txt=ISO-8859-1
api.class.php
View file @
dffb556d
...
@@ -373,32 +373,7 @@ class MediaDBAPI{
...
@@ -373,32 +373,7 @@ class MediaDBAPI{
return
$this
->
error
(
1008
,
(
$Query
));
//utf8_encode
return
$this
->
error
(
1008
,
(
$Query
));
//utf8_encode
}
}
}
/*
}
else if(isset($POST_arr["season_nr"]) AND ($GET_arr["Tabelle"] == "Staffeln") ){
//UPDATE ".$GET_arr["Tabelle"]." WHERE imdbID = ".$POST_arr["imdbID"];
$Set = "SET ";
$first = true;
if(isset($POST_arr["Gesehen"])){ //AND is_numeric($GET_arr[$key])
$Set .= ($first?"":" , ")."views = views+1";
$first = false;
}
if(isset($POST_arr["checked"])){ //AND is_numeric($GET_arr[$key])
$Set .= ($first?"":" , ")."checked = '".$POST_arr["checked"]."'";
$first = false;
}
if(isset($POST_arr["comment"])){ //AND is_numeric($GET_arr[$key])
$Set .= ($first?"":" , ")."comment = '".$POST_arr["comment"]."'";
$first = false;
}
if($first){// Fehler...
return $this->error(1004, "Mindestens einer der folgenden Paramter war erwartet = Gesehen, checked, comment!");
}else{
$Query = "UPDATE Filme ".$Set." WHERE imdbID = '".$POST_arr["imdbID"]."' AND `3d` = '".$POST_arr["3d"]."';";
return $this->error(1001, "Auszuführender Query: ".$Query);
}
}*/
else
{
else
{
return
$this
->
error
(
1004
,
"Erwartet war Tabelle=(Filme und imdbID, 3d) ODER (Episoden und season_nr,episodenumber) ODER (Staffeln und season_nr)!"
);
return
$this
->
error
(
1004
,
"Erwartet war Tabelle=(Filme und imdbID, 3d) ODER (Episoden und season_nr,episodenumber) ODER (Staffeln und season_nr)!"
);
}
}
...
...
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