mirror of
http://git.frickel.earth/Tysox/BOS-Pinneberg.git
synced 2025-05-21 06:24:30 +02:00
~ fkz in function
This commit is contained in:
parent
7836d2e17c
commit
90196fe677
@ -19,329 +19,68 @@ if ($result->num_rows > 0) {
|
|||||||
// output data of each row
|
// output data of each row
|
||||||
|
|
||||||
echo("<h4>Führungskräfte</h4>");
|
echo("<h4>Führungskräfte</h4>");
|
||||||
?>
|
showTable($conn,1);
|
||||||
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
|
||||||
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
|
||||||
<table style="margin-left: auto; margin-right: auto"
|
|
||||||
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
|
||||||
<th>Beschreibung</th>
|
|
||||||
<th>Abkürzung</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = 1");
|
|
||||||
|
|
||||||
if ($funk->num_rows > 0) {
|
|
||||||
while ($frow = $funk->fetch_assoc()) {
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
|
||||||
</tr>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<?php
|
|
||||||
|
|
||||||
|
|
||||||
echo("<h4>Einsatzleit- und Mannschaftstransportwagen</h4>");
|
echo("<h4>Einsatzleit- und Mannschaftstransportwagen</h4>");
|
||||||
|
showTable($conn,2);
|
||||||
?>
|
|
||||||
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
|
||||||
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
|
||||||
<table style="margin-left: auto; margin-right: auto"
|
|
||||||
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
|
||||||
<th>Beschreibung</th>
|
|
||||||
<th>Abkürzung</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = 2");
|
|
||||||
|
|
||||||
if ($funk->num_rows > 0) {
|
|
||||||
while ($frow = $funk->fetch_assoc()) {
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
|
||||||
</tr>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<?php
|
|
||||||
|
|
||||||
echo("<h4>Tank- und Pulverlöschfahrzeuge</h4>");
|
echo("<h4>Tank- und Pulverlöschfahrzeuge</h4>");
|
||||||
|
showTable($conn,3);
|
||||||
?>
|
|
||||||
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
|
||||||
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
|
||||||
<table style="margin-left: auto; margin-right: auto"
|
|
||||||
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
|
||||||
<th>Beschreibung</th>
|
|
||||||
<th>Abkürzung</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = 3");
|
|
||||||
|
|
||||||
if ($funk->num_rows > 0) {
|
|
||||||
while ($frow = $funk->fetch_assoc()) {
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
|
||||||
</tr>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<?php
|
|
||||||
|
|
||||||
|
|
||||||
echo("<h4>Hubrettungsfahrzeuge</h4>");
|
echo("<h4>Hubrettungsfahrzeuge</h4>");
|
||||||
|
showTable($conn,4);
|
||||||
?>
|
|
||||||
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
|
||||||
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
|
||||||
<table style="margin-left: auto; margin-right: auto"
|
|
||||||
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
|
||||||
<th>Beschreibung</th>
|
|
||||||
<th>Abkürzung</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = 4");
|
|
||||||
|
|
||||||
if ($funk->num_rows > 0) {
|
|
||||||
while ($frow = $funk->fetch_assoc()) {
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
|
||||||
</tr>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<?php
|
|
||||||
|
|
||||||
echo("<h4>Löschgruppen- und Tragkraftspritzenfahrzeuge</h4>");
|
echo("<h4>Löschgruppen- und Tragkraftspritzenfahrzeuge</h4>");
|
||||||
|
showTable($conn,5);
|
||||||
?>
|
|
||||||
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
|
||||||
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
|
||||||
<table style="margin-left: auto; margin-right: auto"
|
|
||||||
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
|
||||||
<th>Beschreibung</th>
|
|
||||||
<th>Abkürzung</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = 5");
|
|
||||||
|
|
||||||
if ($funk->num_rows > 0) {
|
|
||||||
while ($frow = $funk->fetch_assoc()) {
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
|
||||||
</tr>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<?php
|
|
||||||
|
|
||||||
echo("<h4>Rüst- und Gerätewagen</h4>");
|
echo("<h4>Rüst- und Gerätewagen</h4>");
|
||||||
|
showTable($conn,6);
|
||||||
?>
|
|
||||||
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
|
||||||
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
|
||||||
<table style="margin-left: auto; margin-right: auto"
|
|
||||||
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
|
||||||
<th>Beschreibung</th>
|
|
||||||
<th>Abkürzung</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = 6");
|
|
||||||
|
|
||||||
if ($funk->num_rows > 0) {
|
|
||||||
while ($frow = $funk->fetch_assoc()) {
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
|
||||||
</tr>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<?php
|
|
||||||
|
|
||||||
echo("<h4>Schlauch- und Wechselbehälterfahrzeuge</h4>");
|
echo("<h4>Schlauch- und Wechselbehälterfahrzeuge</h4>");
|
||||||
|
showTable($conn,7);
|
||||||
?>
|
|
||||||
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
|
||||||
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
|
||||||
<table style="margin-left: auto; margin-right: auto"
|
|
||||||
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
|
||||||
<th>Beschreibung</th>
|
|
||||||
<th>Abkürzung</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = 7");
|
|
||||||
|
|
||||||
if ($funk->num_rows > 0) {
|
|
||||||
while ($frow = $funk->fetch_assoc()) {
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
|
||||||
</tr>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<?php
|
|
||||||
|
|
||||||
echo("<h4>Sonstige Feuerwehrfahrzeuge</h4>");
|
echo("<h4>Sonstige Feuerwehrfahrzeuge</h4>");
|
||||||
|
showTable($conn,8);
|
||||||
?>
|
|
||||||
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
|
||||||
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
|
||||||
<table style="margin-left: auto; margin-right: auto"
|
|
||||||
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Beschreibung</th>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Abkürzung</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = 8");
|
|
||||||
|
|
||||||
if ($funk->num_rows > 0) {
|
|
||||||
while ($frow = $funk->fetch_assoc()) {
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
|
||||||
</tr>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<?php
|
|
||||||
|
|
||||||
echo("<h4>Rettungsdienstfahrzeuge</h4>");
|
echo("<h4>Rettungsdienstfahrzeuge</h4>");
|
||||||
|
showTable($conn,9);
|
||||||
|
|
||||||
?>
|
|
||||||
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
|
||||||
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
|
||||||
<table style="margin-left: auto; margin-right: auto"
|
|
||||||
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
|
||||||
<th>Beschreibung</th>
|
|
||||||
<th>Abkürzung</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<?php
|
|
||||||
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = 9");
|
|
||||||
|
|
||||||
if ($funk->num_rows > 0) {
|
function showTable($conn,$number) {
|
||||||
while ($frow = $funk->fetch_assoc()) {
|
?>
|
||||||
?>
|
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
||||||
<tr>
|
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
<table style="margin-left: auto; margin-right: auto"
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
||||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
<thead>
|
||||||
</tr>
|
<tr>
|
||||||
<?php
|
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
||||||
|
<th class="mdl-data-table__cell--non-numeric">Beschreibung</th>
|
||||||
|
<th class="mdl-data-table__cell--non-numeric">Abkürzung</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<?php
|
||||||
|
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = ". $number);
|
||||||
|
|
||||||
|
if ($funk->num_rows > 0) {
|
||||||
|
while ($frow = $funk->fetch_assoc()) {
|
||||||
|
?>
|
||||||
|
<tr>
|
||||||
|
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
||||||
|
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
||||||
|
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
||||||
|
</tr>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
?>
|
||||||
?>
|
</tbody>
|
||||||
</tbody>
|
</table>
|
||||||
</table>
|
</div>
|
||||||
</div>
|
</section>
|
||||||
</section>
|
|
||||||
<?php
|
|
||||||
|
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
|
||||||
} ?>
|
} ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user