This commit is contained in:
Halbe Bruno
2025-12-05 19:40:39 -03:00
commit f37bc712e6
4312 changed files with 359196 additions and 0 deletions

13
app/Models/Domain.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
namespace App\Models;
use App\Core\Model;
class Domain extends Model
{
protected $table = 'domains';
public function countBlocked()
{
$stmt = $this->conn->query("SELECT COUNT(*) as total FROM domains WHERE status = 'blocked'");
return $stmt->fetch()['total'];
}
}