move error message

This commit is contained in:
2025-10-01 17:09:19 +02:00
parent cbf6ef27a2
commit 725518ca8a

View File

@@ -39,12 +39,12 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
<!-- Container login -->
<div class="login-container">
<h1>Login Admin</h1>
<?php if(isset($error)) echo "<div class='error'>$error</div>"; ?>
<form method="post">
<input type="text" name="username" placeholder="Username" required><br>
<input type="password" name="password" placeholder="Password" required><br>
<button type="submit">Login</button>
</form>
<?php if(isset($error)) echo "<div class='error'>$error</div>"; ?>
</div>
<p style="text-align: center;">Copyright (C) 2025 EmmeV. - Released under <a href="https://git.vichingo455.freeddns.org/emmev-code/orario/src/branch/stable/LICENSE.txt" target="_blank">GNU AGPL 3.0 License</a>.</p>
</body>