21 lines
403 B
PHP
21 lines
403 B
PHP
<?php
|
|
function admin_log() {
|
|
$log_entries_source = LogEntries();
|
|
$log_entries = array();
|
|
foreach($log_entries_source as $log_entry) {
|
|
$log_entry['date'] = date("H:i", $log_entry['timestamp']);
|
|
$log_entries[] = $log_entry;
|
|
}
|
|
|
|
return page(array(
|
|
msg(),
|
|
table(array(
|
|
'date' => "Time",
|
|
'nick' => "Angel",
|
|
'message' => "Log Entry"
|
|
), $log_entries)
|
|
));
|
|
}
|
|
?>
|
|
|