3
0
mirror of http://git.frickel.earth/Tysox/BOS-Pinneberg.git synced 2026-03-16 08:19:42 +01:00

[+] fixed Bugs ins FrontEnd

This commit is contained in:
2018-03-02 11:50:13 +01:00
parent b4569550f0
commit a1ed1d6c80
8 changed files with 49 additions and 81 deletions

View File

@@ -1,5 +1,4 @@
<?php
include 'admin/config/config.inc.php';
$data = new Config();
@@ -43,8 +42,7 @@ if ($result->num_rows > 0) {
}
?>
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
<div class="mdl-card mdl-cell mdl-cell--12-col">
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
<h4 style="text-align: center"><?php echo $row['Ort'] . " [" . $row['id']; ?>]</h4>
<table style="margin-left: auto; margin-right: auto"
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
@@ -62,16 +60,26 @@ if ($result->num_rows > 0) {
while ($frow = $fahrzeuge->fetch_assoc()) {
?>
<tr>
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Fahrzeugtyp'] ?></td>
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Fahrzeugtyp'] ?></td>
<?php if ($frow['Fahrzeugkennung'] == 0) {
?>
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Organistationskennung'] ?></td>
<?php } else if ($frow['Fahrzeugkennung'] > 0) { ?>
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Organistationskennung'] . " " . $row['id'] . "-" . $frow['Fahrzeugkennung'] ?></td>
</tr>
<?php
}
<?php }
} ?>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</section>
<?php }
<?php
}
} ?>