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
|
|
|
?>
|
2020-01-20 18:47:06 +01:00
|
|
|
|
|
|
|
<?php
|
|
|
|
if (!isset($API_OPTIONS['ulname'])) { $FRAME_OPTIONS->forceResult(400, "Wrong parameters."); return; }
|
|
|
|
$ulname = $API_OPTIONS['ulname'];
|
|
|
|
?>
|
|
|
|
|
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-20 18:47:06 +01:00
|
|
|
<?php foreach ($SITE->modules->UpdatesLog()->getEntries($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>
|