user group statistics can now only read statistics

This commit is contained in:
2022-06-18 12:58:20 +02:00
parent 144c56b33c
commit 3781581ec4
2 changed files with 7 additions and 3 deletions

View File

@@ -24,9 +24,13 @@
echo "<a href=\"mannschaft.php\">Mannschaftsverwaltung</a>\n";
echo "<a href=\"stationen.php\">Stationen</a>\n";
}
if ($_SESSION['user_group'] == 'statistics') {
echo "<a href=\"statistik.php\">Ergebnisse</a>";
} else {
echo "<a href=\"statistik.php\">Ergebnisse eintragen</a>";
}
}
?>
<a href="statistik.php">Ergebnisse eintragen</a>
</nav>
</section>
</header>