stats(); $history = $repo->latest(20); $singleResult = flash('single_result'); $bulkResults = flash('bulk_results'); $apiExample = [ 'single' => 'api/verify.php', 'bulk' => 'api/bulk.php', 'history' => 'api/history.php?limit=10', ]; function badgeClass(string $status, string $result): string { return match (true) { $status === 'valid' => 'badge-valid', $status === 'invalid' => 'badge-invalid', $status === 'mailbox_full' => 'badge-mailbox', $status === 'accept_all' => 'badge-risky', $result === 'risky' => 'badge-risky', default => 'badge-info', }; } ?>
email atau kolom pertama berisi email.= e(json_encode($singleResult, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)) ?>
| Status | Type | Result | Score | |
|---|---|---|---|---|
|
= e($item['email']) ?>
= e($item['summary'] ?? '') ?>
|
= e($item['status']) ?> | = e($item['type'] ?? 'unknown') ?> | = e($item['result']) ?> | = e((string)$item['score']) ?> |
| Status | Type | Score | Time | |
|---|---|---|---|---|
|
= e($row['email']) ?>
= e($row['summary'] ?? '') ?>
|
= e($row['status']) ?> | = e($row['type'] ?? 'unknown') ?> | = e((string)$row['score']) ?> | = e($row['created_at']) ?> |
= e(json_encode($apiExample, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)) ?>