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
6c61e568
Commit
6c61e568
authored
Feb 13, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
2f4a6c66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
index.php
webapp/index.php
+17
-2
No files found.
webapp/index.php
View file @
6c61e568
...
...
@@ -29,7 +29,21 @@ if((isset($_SESSION['api-key']) OR (isset($_COOKIE['api-key']) AND isset($_COOKI
}
}
else
{
header
(
'location: /'
);}
$StatistikArray
=
$API
->
API_GetStatistic
(
array
(
"Statistik"
=>
"DBstatistik"
));
//var_dump($StatistikArray["Data"]);
if
(
$_GET
[
"action"
]
==
"bla"
){
}
else
if
(
isset
(
$_GET
[
"action"
])){
$titel
=
"404 Nicht gefunden!"
;
$content
=
'<div class="error-404 text-center">
<h2>404</h2>
<p>Sorry this was unexpected</p>
<a class="b-home" href="index.php">Back to Home</a>
</div> '
;
}
?>
<!--A Design by W3layouts
Author: W3layout
Author URL: http://w3layouts.com
...
...
@@ -39,7 +53,7 @@ License URL: http://creativecommons.org/licenses/by/3.0/
<!DOCTYPE HTML>
<html>
<head>
<title>
MediaDB - Startseite
</title>
<title>
<?php
echo
$titel
;
?>
- MediaDB
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<meta
name=
"keywords"
content=
"MediaDB"
/>
...
...
@@ -96,6 +110,7 @@ License URL: http://creativecommons.org/licenses/by/3.0/
</div>
<div
class=
"clearfix"
></div>
</div>
<?php
echo
$content
;
?>
<!--
<div class="slider">
<div class="callbacks_container">
...
...
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