admin menue nach oben und bennennung admin menu statt nur admin

This commit is contained in:
Karsten Siegmund 2024-01-11 19:07:14 +01:00
parent fca23f11f3
commit fbe91babc7
1 changed files with 21 additions and 22 deletions

View File

@ -40,11 +40,21 @@ if ($HelferIsAdmin) {
?> ?>
</b> </td> </b> </td>
</tr> </tr>
<?php
if ($HelferIsAdmin) {
?>
<tr onclick="window.location.href='Admin.php';">
<td><img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"><b> Admin Menü</b></td>
</tr>
<?php
}
?>
<tr onclick="window.location.href='MeineSchichten.php';"> <tr onclick="window.location.href='MeineSchichten.php';">
<td> <td>
<img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"> <b>Nächste Helferschichten:</b> <img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"> <b>Nächste Helferschichten:</b>
<ul style="display: block; list-style-type: none; margin-left: 20px;margin-top: 0px;margin-bottom: 0px"> <ul style="display: block; list-style-type: none; margin-left: 20px;margin-top: 0px;margin-bottom: 0px">
<?php <?php
//<li>Fr 08:00 Leitung Halle</li> //<li>Fr 08:00 Leitung Halle</li>
//<li>So 12:00 Abbau</li> //<li>So 12:00 Abbau</li>
@ -67,7 +77,7 @@ while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC) and $iCount < 3) {
?> ?>
</ul> </ul>
</td> </td>
</tr> </tr>
@ -76,31 +86,31 @@ while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC) and $iCount < 3) {
<tr onclick="window.location.href='Ereignisse.php';"> <tr onclick="window.location.href='Ereignisse.php';">
<td> <td>
<img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"> <b>Nächste Ereignisse:</b> <img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"> <b>Nächste Ereignisse:</b>
<ul style="display: block; list-style-type: none; margin-left: 20px;margin-top: 0px;margin-bottom: 0px"> <ul style="display: block; list-style-type: none; margin-left: 20px;margin-top: 0px;margin-bottom: 0px">
<li>Sa 20:00 Show im Milchwerk</li> <li>Sa 20:00 Show im Milchwerk</li>
<li>So 15:00 Gaukelgames</li> <li>So 15:00 Gaukelgames</li>
</ul> </ul>
</td> </td>
</tr> </tr>
<tr onclick="window.location.href='Workshop.php';"> <tr onclick="window.location.href='Workshop.php';">
<td> <td>
<img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"> <b>Nächste Workshops:</b> <img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"> <b>Nächste Workshops:</b>
<ul style="display: block; list-style-type: none; margin-left: 20px;margin-top: 0px;margin-bottom: 0px"> <ul style="display: block; list-style-type: none; margin-left: 20px;margin-top: 0px;margin-bottom: 0px">
<li>Sa 14:00 8 Bälle für Anfänger</li> <li>Sa 14:00 8 Bälle für Anfänger</li>
<li>Sa 15:00 Devilstick Hubschrauber beidseitig</li> <li>Sa 15:00 Devilstick Hubschrauber beidseitig</li>
</ul> </ul>
</td> </td>
</tr> </tr>
<tr onclick="window.location.href='Wichtig.php';"> <tr onclick="window.location.href='Wichtig.php';">
<td> <td>
<img src="Bilder/PfeilRunter.jpeg" style="width:30px;height:30px;"> <b>Wichtig:</b> <img src="Bilder/PfeilRunter.jpeg" style="width:30px;height:30px;"> <b>Wichtig:</b>
<ul style="display: block; list-style-type: none; margin-left: 20px;margin-top: 0px;margin-bottom: 0px"> <ul style="display: block; list-style-type: none; margin-left: 20px;margin-top: 0px;margin-bottom: 0px">
<li>Warnung vor Sturm ab 21 Uhr</li> <li>Warnung vor Sturm ab 21 Uhr</li>
</ul> </ul>
</td> </td>
</tr> </tr>
@ -118,23 +128,12 @@ while ($zeile = mysqli_fetch_array($db_erg, MYSQLI_ASSOC) and $iCount < 3) {
<td><img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"><b> Logs</b></td> <td><img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"><b> Logs</b></td>
</tr> </tr>
<?php
if ($HelferIsAdmin) {
?>
<tr onclick="window.location.href='Admin.php';">
<td><img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"><b> Admin</b></td>
</tr>
<?php
}
?>
</tr> </tr>
<tr onclick="window.location.href='index.php?logout=1';"> <tr onclick="window.location.href='index.php?logout=1';">
<td><img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"><b> Logout</b></td> <td><img src="Bilder/PfeilRechts2.jpeg" style="width:30px;height:30px;"><b> Logout</b></td>
</tr> </tr>
</table> </table>
</body> </body>