updateslog
This commit is contained in:
28
www/ajax/ul_entries.php
Normal file
28
www/ajax/ul_entries.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
require_once (__DIR__ . '/../internals/base.php');
|
||||
require_once (__DIR__ . '/../internals/database.php');
|
||||
require_once (__DIR__ . '/../internals/updateslog.php');
|
||||
|
||||
Database::connect();
|
||||
|
||||
?>
|
||||
<div class="stripedtable_container" style="width: 100%;">
|
||||
<table class="stripedtable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>IP</th>
|
||||
<th>Version</th>
|
||||
<th>Timestamp</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach (UpdatesLog::getEntries($_GET['ulname'], 512) as $entry): ?>
|
||||
<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>
|
||||
Reference in New Issue
Block a user