pages/log.php
Snapshot 2026.09.17-a2894de (current) · 10 lines · 593 bytes · tree · plain text
SHA-256
d2dcca3ce3f704a32ddc74a71ab4ca065d53b198879fbe3a9764d43d137cc967| 1 | <?php |
| 2 | require_once __DIR__.'/../inc/layout.php'; |
| 3 | page_header('Activity Log','log'); |
| 4 | echo '<h1>Activity log</h1><p class="lede">System, cron, admin and API activity. Visitor analytics are not collected; this is an operations log, not a tracker.</p>'; |
| 5 | $q=db()->query("SELECT * FROM activity_log ORDER BY ts DESC LIMIT 300"); |
| 6 | echo '<table class="data"><tr><th>When</th><th>Actor</th><th>Action</th><th>Detail</th></tr>'; |
| 7 | foreach($q as $l) echo '<tr><td>'.h($l['ts']).'</td><td>'.h($l['actor']).'</td><td>'.h($l['action']).'</td><td>'.h($l['detail']).'</td></tr>'; |
| 8 | echo '</table>'; |
| 9 | page_footer(); |
| 10 | |
Lines can be cited as pages/log.php L120-L140, platform code 2026.09.17-a2894de; add #L120-L140 to this page's address to highlight them. Source shown for scrutiny of the research platform. All rights reserved. Not offered as installable software.