real_escape_string($status) . "'"; } if ($q !== "") { $safe = $conn->real_escape_string($q); $w[] = "nomor_resi LIKE '%{$safe}%'"; } $where = count($w) ? "WHERE " . implode(" AND ", $w) : ""; // Ambil data log $logs = $conn->query("SELECT * FROM log_akses {$where} ORDER BY created_at DESC LIMIT 300"); ?>

Log Akses

Riwayat autentikasi barcode (berhasil/gagal) + bukti foto.
Tambah Log Dummy