This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SQLyog Community v13.3.0 (64 bit) | |
MySQL - 10.4.27-MariaDB : Database - odsalling | |
********************************************************************* | |
*/ | |
/*!40101 SET NAMES utf8 */; | |
/*!40101 SET SQL_MODE=''*/; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "", | |
"description": "", | |
"type": "project", | |
"license": "MIT", | |
"require": { | |
"php": "^7.4", | |
"ezyang/htmlpurifier": "^4.18", | |
"phpmailer/phpmailer": "^6.9" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DB_HOST=localhost | |
DB_NAME= | |
DB_USER=root | |
DB_PASS= | |
DB_CHARSET=utf8 | |
NOME_CLIENTE= | |
BASE_URL=/admin | |
URL= | |
DEBUG_MODE=true | |
SMTP_HOST=smtp.gmail.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// View: public_html/views/pagamento/pix.php | |
// Recebe a variável $transacao do pagamento.php | |
/** @var \Site\Transacao $transacao */ | |
$idiomaAtual = defined('IDIOMA_ATUAL') ? IDIOMA_ATUAL : 'pt'; | |
// Formatar valor para exibição | |
$valorFormatado = 'R$ ' . number_format($transacao->getValor(), 2, ',', '.'); | |
$pixCopiaECola = $transacao->getPixCopiaCola(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// View: public_html/views/pagamento/cancelado.php | |
// Recebe $mensagem, $alertType e $transacao (opcional) | |
/** @var \Site\Transacao $transacao */ // Ajuda IDEs | |
$alertClass = 'alert-' . ($alertType ?? 'info'); // Default para info se não definido | |
$defaultMessage = 'A operação foi concluída.'; | |
// Link para voltar - pode ser para o evento, painel do usuário, etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Em /public_html/views/oferendas/form_tsog.php | |
// Variáveis esperadas do controller/ponto de entrada via extract(): | |
/** @var string $pageTitle (Ex: "Oferenda de Tsog") */ | |
/** @var array|null $erros (array de erros de validação, se houver) */ | |
/** @var array $dadosForm (array para repopular o formulário, se houver erro) */ | |
/** @var string $idiomaAtual (ex: 'pt' ou 'en') */ | |
// Funções auxiliares para repopular (podem ser as mesmas da espontânea se nomeadas genericamente) | |
if (!function_exists('old_oferenda_form_data')) { // Nome genérico para helper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Em /public_html/views/oferendas/form_lamparina.php | |
// Variáveis esperadas do controller via extract(): | |
/** @var string $pageTitle */ | |
/** @var array|null $erros (array de erros de validação, se houver) */ | |
/** @var array $dadosForm (array para repopular o formulário, se houver erro) */ | |
/** @var float $valorUnitarioLamparina (para cálculo JS e exibição) */ | |
/** @var string $idiomaAtual */ | |
// Funções auxiliares para repopular (similares às de inscricao/formulario.php) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// public_html/views/oferendas/form_espontanea.php | |
/** | |
* Variáveis esperadas do script chamador (ex: oferenda-espontanea.php) via extract($viewData): | |
* @var string $pageTitle (Título da página, já traduzido) | |
* @var string $idiomaAtual (ex: 'pt' ou 'en') | |
* @var array $dadosForm (Para repopular o formulário em caso de erro, vindo de $_SESSION['form_data_oferenda']) | |
* @var array $erros (Para exibir erros de validação, vindo de $_SESSION['validation_errors_oferenda']) | |
* @var array|null $flashMessage (Mensagem flash geral, vinda de $_SESSION['flash_message']) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// View: public_html/views/inscricao/perfil_incompleto.php | |
// Recebe: $mensagemAviso (já deve vir do controller, idealmente traduzida ou uma chave), | |
// $linkEdicaoPerfil (URL para editar perfil, JÁ com parâmetro redirect_to) | |
// Assume IDIOMA_ATUAL e __() disponíveis | |
// Assume que $pagina (objeto Pagina) ou $evento (objeto Evento) podem estar disponíveis via extract() | |
$idiomaAtual = defined('IDIOMA_ATUAL') ? IDIOMA_ATUAL : 'pt'; | |
// Tenta obter a URL da página do evento para o link "Voltar" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Em /public_html/views/inscricao/formulario.php | |
// Este arquivo é incluído pelo InscricaoController::exibirFormulario() | |
// Variáveis vindas do controller via extract(): | |
/** @var \Site\Evento $evento */ | |
/** @var \Site\Pagina|null $pagina */ | |
/** @var string $paginaNome */ | |
/** @var array $eventoDatas */ | |
/** @var array $erros */ | |
/** @var array $dadosForm */ |
NewerOlder