1
0
www.mikescher.com/www/commands/updates_show.php

27 lines
709 B
PHP
Raw Normal View History

2018-02-03 15:44:40 +01:00
<?php
2020-01-16 13:21:14 +01:00
require_once (__DIR__ . '/../internals/website.php');
2018-02-03 15:44:40 +01:00
2020-01-16 13:21:14 +01:00
/** @var PageFrameOptions $FRAME_OPTIONS */ global $FRAME_OPTIONS;
/** @var URLRoute $ROUTE */ global $ROUTE;
/** @var Website $SITE */ global $SITE;
2018-02-03 15:44:40 +01:00
?>
<div class="stripedtable_container" style="width: 100%;">
<table class="stripedtable">
<thead>
<tr>
<th>IP</th>
<th>Version</th>
<th>Timestamp</th>
</tr>
</thead>
<tbody>
2020-01-16 13:21:14 +01:00
<?php foreach ($SITE->modules->UpdatesLog()->getEntries($_GET['ulname'], 512) as $entry): ?>
2018-02-03 15:44:40 +01:00
<tr>
<td><?php echo $entry['ip']; ?></td>
<td><?php echo $entry['version']; ?></td>
<td><?php echo $entry['date']; ?></td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
</div>