38 lines
876 B
PHP
38 lines
876 B
PHP
<?php
|
|
session_start();
|
|
|
|
include("../scripts/connection.php");
|
|
include("../scripts/functions.php");
|
|
$user_data = check_login($con);
|
|
|
|
include("header_footer/header.php");
|
|
?>
|
|
|
|
<body>
|
|
<div class="headline">
|
|
<h2>Mannschaftsverwaltung</h2>
|
|
</div>
|
|
<div>
|
|
<form action="add_team.php" method="get">
|
|
<input id="butto" type="submit" value="Mannschaft hinzufügen">
|
|
</form>
|
|
</div>
|
|
<div class="table-div">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Name</th>
|
|
<th scope="col">Feuerwehr</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php load_teams_table($con); ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
|
|
<?php
|
|
echo file_get_contents("header_footer/footer.html");
|
|
$con = null;
|
|
?>
|