diff --git a/vendor/controller/main/Main.class.php b/vendor/controller/main/Main.class.php index 64aad16..f65c0e9 100644 --- a/vendor/controller/main/Main.class.php +++ b/vendor/controller/main/Main.class.php @@ -383,76 +383,6 @@ class Main return $output; } - - - - /** paginação */ - public function pagination(int $numberRecords, int $start, int $max, int $page, string $queryString, string $message, string $form=null) - { - - /** Quantidade de registros junto ao banco de dados */ - $this->numberRecords = $numberRecords; - $this->start = $start; - $this->max = $max; - $this->page = $page; - $this->queryString = $queryString; - $this->message = $message; - $this->form = $form; - - /** Número de colunas para a paginação */ - $this->pagination = $this->LoadConfigPublic()->{'app'}->{'datagrid'}->{'pagination'}; - - /** Define o número de colunas de acordo com a quantidade de registros */ - $this->paginationColumns = ceil($this->numberRecords / $this->max); - - /** Verifica se é para gerar a paginação */ - if($this->paginationColumns > 1){ - - /** Prepara a paginação de registros */ - $this->nav = ''; - - } - - /** Retorna o objeto de paginação */ - return $this->nav; - } public function CentimeterToPoint($centimeter) { diff --git a/vendor/model/Host.class.php b/vendor/model/Host.class.php index 8e41b97..c84a1d3 100644 --- a/vendor/model/Host.class.php +++ b/vendor/model/Host.class.php @@ -16,21 +16,21 @@ class Host /** Pego o usuário de acesso **/ public function getUser() { - #return $user = (string)"softw846_backup"; + return $user = (string)"mysql"; } /** Pego a senha de acesso **/ public function getPassword() { - #return $password = (string)"@Sun147oi."; + return $password = (string)"sun147oi"; } /** Pego o charset de acesso **/ public function getCharset() { - #return $charset = (string)"charset=utf8"; + return $charset = (string)"charset=utf8"; } }