layout angepasst
This commit is contained in:
@@ -32,23 +32,16 @@ if ($result) {
|
||||
$users[] = $row;
|
||||
}
|
||||
}
|
||||
|
||||
require_once 'inc/header.php'; ?>
|
||||
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<h1>Benutzerverwaltung</h1>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Benutzerverwaltung</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<?php if (isset($message)) echo "<p><strong>$message</strong></p>"; ?>
|
||||
|
||||
<body>
|
||||
<h1>Benutzerverwaltung</h1>
|
||||
|
||||
<?php if (isset($message)) echo "<p><strong>$message</strong></p>"; ?>
|
||||
|
||||
<form method="post">
|
||||
<form method="post">
|
||||
<label>Benutzername: <input type="text" name="username" required></label><br>
|
||||
<label>Passwort: <input type="password" name="password" required></label><br>
|
||||
<label>Rolle:
|
||||
@@ -58,10 +51,10 @@ if ($result) {
|
||||
</select>
|
||||
</label><br>
|
||||
<button type="submit">Benutzer hinzufügen</button>
|
||||
</form>
|
||||
</form>
|
||||
|
||||
<h2>Benutzerübersicht</h2>
|
||||
<table border="1" cellpadding="5">
|
||||
<h2>Benutzerübersicht</h2>
|
||||
<table border="1" cellpadding="5">
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Benutzername</th>
|
||||
@@ -74,6 +67,6 @@ if ($result) {
|
||||
<td><?= htmlspecialchars($user['role']) ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
<?php include('inc/footer.php'); ?>
|
||||
<?php include('inc/footer.php'); ?>
|
||||
Reference in New Issue
Block a user