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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user