Commit 6c61e568 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 2f4a6c66
......@@ -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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment