Willkommen statistik
This commit is contained in:
@@ -1,6 +1,32 @@
|
||||
<?php include dirname(__DIR__).'/header.phtml'; ?>
|
||||
<?php
|
||||
use ppa\Model\NotesModel;
|
||||
include dirname(__DIR__).'/header.phtml';
|
||||
|
||||
$parsedown = new Parsedown();
|
||||
$parsedown->setSafeMode(true);
|
||||
|
||||
$this->notesModel = new \ppa\Model\NotesModel();
|
||||
$this->userModel = new \ppa\Model\UserModel();
|
||||
?>
|
||||
|
||||
<h2>Willkommen in der Notiz App!</h2>
|
||||
|
||||
<p>Um loszulegen, wählen Sie bitte eine Option aus der Navigation.</p>
|
||||
|
||||
<h2>Notiz App Statistiken</h2>
|
||||
<b style="font-size: 20px; margin: 20px">
|
||||
<?php
|
||||
echo $this->notesModel->getNoteCount();
|
||||
?>
|
||||
Notizen
|
||||
</b><br>
|
||||
|
||||
<b style="font-size: 20px; margin: 20px">
|
||||
<?php
|
||||
echo $this->userModel->getUserCount();
|
||||
?>
|
||||
Benutzer
|
||||
</b>
|
||||
|
||||
<h2>Baustelle</h2>
|
||||
|
||||
<?php include dirname(__DIR__).'/footer.phtml'; ?>
|
||||
|
||||
|
Reference in New Issue
Block a user