3
0
mirror of http://git.frickel.earth/Tysox/BOS-Pinneberg.git synced 2025-12-16 14:24:21 +01:00

[+] Webinterface Update

This commit is contained in:
2018-02-14 22:40:46 +01:00
parent 5c1ca3b921
commit de0558aa6d
11 changed files with 292 additions and 42 deletions

View File

@@ -43,22 +43,11 @@ try {
</head>
<body>
<?php
if ($_SESSION['status'] == 'logged_in') { ?>
<!-- Dashboard -->
<div id="content">
<h1>Willkommen im SH-SRV.info Status ACP
<a style="float: right" href="scripts/logout.php">
<button type="button" class="btn btn-default btn-lg"><span class="glyphicon glyphicon glyphicon-log-out" aria-hidden="true"> Logout</span> </button>
</a>
</h1>
<form id="status_message">
<textarea name="message" placeholder="Meldung" rows="6" minlength="10"></textarea>
<button class="btn btn-success" type="submit">Absenden</button>
<button class="btn btn-danger" type="reset">Reset</button>
</form>
</div>
<?php } ?>
if ($_SESSION['status'] == 'logged_in') {
header("Status: 301 Moved Permanently");
header("Location: index.php");
exit;
} ?>
<?php