Upload via GUI (10 Dateien)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
// Seite des Beispiel-Plugins. Verfügbar: $staff, $pdo.
|
||||
$rows = $pdo->query('SELECT ticket_id, event, created_at FROM plugin_beispiel_log ORDER BY id DESC LIMIT 50')->fetchAll();
|
||||
?>
|
||||
<h1>Ticket-Protokoll</h1>
|
||||
<p class="muted">Letzter Plugin-Cron: <?= e(plugin_setting('beispiel', 'last_cron', 'noch nie')) ?></p>
|
||||
<div class="card"><table>
|
||||
<thead><tr><th>Ticket</th><th>Ereignis</th><th>Zeit</th></tr></thead>
|
||||
<tbody>
|
||||
<?php foreach ($rows as $r): ?><tr><td>#<?= (int) $r['ticket_id'] ?></td><td><?= e($r['event']) ?></td><td><?= e($r['created_at']) ?></td></tr><?php endforeach; ?>
|
||||
<?php if (!$rows): ?><tr><td colspan="3" class="muted">Noch keine Ereignisse.</td></tr><?php endif; ?>
|
||||
</tbody>
|
||||
</table></div>
|
||||
Reference in New Issue
Block a user