add page
This commit is contained in:
@@ -181,10 +181,26 @@ $lastResult = $rennenIndex > 0 ? ($ergebnisse[$rennenIndex - 1] ?? null) : null;
|
||||
<div class="card-body">
|
||||
<?php if ($next): ?>
|
||||
<p><strong><?= htmlspecialchars($next['name']) ?></strong> um <?= htmlspecialchars($next['zeit']) ?></p>
|
||||
<ul>
|
||||
<ul class="list-group">
|
||||
<?php for ($i = 1; $i <= 3; $i++): ?>
|
||||
<?php if (!empty($next["bahn$i"])): ?>
|
||||
<li>Bahn <?= $i ?>: <?= htmlspecialchars($next["bahn$i"]) ?></li>
|
||||
<?php
|
||||
$bootName = $next["bahn$i"];
|
||||
$bootId = $bootIdMap[$bootName] ?? null;
|
||||
?>
|
||||
<li class="list-group-item">
|
||||
Bahn <?= $i ?>:
|
||||
<?= htmlspecialchars($bootName) ?>
|
||||
<?php if ($bootId): ?>
|
||||
<form method="post" class="d-inline float-end">
|
||||
<input type="hidden" name="action" value="page_team">
|
||||
<input type="hidden" name="bootid" value="<?= $bootId ?>">
|
||||
<button type="submit" class="btn btn-sm btn-warning">
|
||||
Page
|
||||
</button>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php endfor; ?>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user