Commit f72d3aa5 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 99d0c3e5
......@@ -14,16 +14,11 @@ if((isset($_SESSION['api-key']) OR (isset($_COOKIE['api-key']) AND isset($_COOKI
if($dologin){
$API = new MediaDBAPI ();
if (!$API->APIinit($_SESSION['api-key'])) {
//header('location: /');
echo"1";
}
if (!$API->APIinit($_SESSION['api-key'])) { header('location: /'); }
}
}else{
//header('location: /');
echo"2";
}
}else{ header('location: /');}
$StatistikArray = $API->API_GetStatistic(array("Statistik"=>"DBstatistik"));
$StatistikArray["Data"][""]
?><!--A Design by W3layouts
Author: W3layout
Author URL: http://w3layouts.com
......@@ -74,7 +69,7 @@ License URL: http://creativecommons.org/licenses/by/3.0/
<div class="col-sm-3 header_right">
<ul class="header_right_box">
<!-- <li><img src="images/p1.png" alt=""/></li>-->
<li><p><a href="login.html"><?php echo $_SESSION['api-key']; ?></a></p></li>
<li><p><?php echo $_SESSION['api-key']; ?></p></li>
<!-- <li class="last"><i class="edit"> </i></li> -->
<div class="clearfix"> </div>
</ul>
......@@ -105,8 +100,8 @@ License URL: http://creativecommons.org/licenses/by/3.0/
<div class="banner_desc">
<div class="col-md-7">
<ul class="list_1">
<li>Filme Insgesamt: <span class="m_1">Feb 20, 2015</span></li>
<li>Letztes Update <span class="m_1">Feb 20 2015</span></li>
<li>Filme Insgesamt: <span class="m_1"><?php echo $StatistikArray["Data"]["FilmeCount"];?></span></li>
<li>Letztes Update <span class="m_1"><?php echo $StatistikArray["Data"]["FilmeLastAdded"];?></span></li>
<!-- <li>Rating <span class="m_1"><img src="images/rating.png" alt=""/></span></li>-->
</ul>
</div>
......
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