28 lines
739 B
PHP
28 lines
739 B
PHP
<?php include dirname(path: __DIR__) . '/_header.html.php'; ?>
|
|
|
|
<?php if (false): ?>
|
|
You need Admin rights to access this area.
|
|
<?php else: ?>
|
|
<br>
|
|
|
|
<?php if ($message): ?>
|
|
<div class="info">
|
|
<?= $message ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
|
|
<form method="POST">
|
|
<label for="nick">Username</label>
|
|
<input type="text" name="nick" id="nick">
|
|
|
|
<label for="password">Password</label>
|
|
<input type="password" name="password" id="password">
|
|
|
|
<!-- maybe later -->
|
|
<!-- <input type="hidden" name="_csrf" value="csrf_token" -->
|
|
<input type="submit" value="Login">
|
|
</form>
|
|
<?php endif; ?>
|
|
|
|
<?php include dirname(path: __DIR__) . '/_footer.html.php' ?>
|