user_group station can now only access their own station
This commit is contained in:
@@ -17,16 +17,16 @@
|
||||
<nav>
|
||||
<a href="logout.php">logout</a>
|
||||
<a href="index.php">Home</a>
|
||||
<a href="mannschaft.php">Mannschaftsverwaltung</a>
|
||||
<a href="stationen.php">Stationen</a>
|
||||
<a href="statistik.php">Statistik</a>
|
||||
<?php
|
||||
if(isset($_SESSION['user_group'])) {
|
||||
if ($_SESSION['user_group'] == 'admin') {
|
||||
echo "<a href=\"manage_user.php\">Benutzerverwaltung</a>";
|
||||
echo "<a href=\"manage_user.php\">Benutzerverwaltung</a>\n";
|
||||
echo "<a href=\"mannschaft.php\">Mannschaftsverwaltung</a>\n";
|
||||
echo "<a href=\"stationen.php\">Stationen</a>\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
<a href="statistik.php">Ergebnisse eintragen</a>
|
||||
</nav>
|
||||
</section>
|
||||
</header>
|
||||
Reference in New Issue
Block a user