<?php
require_once __DIR__ . '/../config/config.php';
$db = Database::getInstance();
$rows = $db->fetchAll('SELECT * FROM operator_activity ORDER BY created_at DESC LIMIT 10');
foreach ($rows as $r) {
    echo json_encode($r) . PHP_EOL;
}
