| Server IP : 74.208.250.37 / Your IP : 216.73.216.114 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : miferval ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/brainwavemx/app/Model/ |
Upload File : |
<?php
declare(strict_types=1);
namespace App\Model;
use Mosaico\Model\BaseModel;
class PageModel extends BaseModel
{
public function getServices(): bool|object
{
$query = $this->connect()->query(
"SELECT
id_service,
name_1,
name_2,
url_name,
description,
image
FROM services
"
);
return $query;
}
public function getService($url_name): bool|object
{
$query = $this->connect()->query(
"SELECT
id_service,
name_1,
name_2,
url_name,
description,
content,
image
FROM services
WHERE url_name = '" . $url_name . "'
"
);
return $query;
}
public function getClients(): bool|object
{
$query = $this->connect()->query(
"SELECT
id_cliente,
image
FROM clientes
"
);
return $query;
}
}