require_once 'controller/constantes.php';
require_once 'controller/metodos.php';
require_once 'view/slideShow.php';
require_once 'view/classFormAdesao.php';
require_once 'texto/classTexto.php';
$formulario = new formulario();
$texto = new classTexto();
error_reporting(0);
//echo "<meta HTTP-EQUIV='refresh' CONTENT='5;URL=meditcrista.php'>";
//    $texto->modalDownload();
/* @var $_GET type */
$sucesso = $_GET['s'];
$download = $_GET['d'];
if ($_GET) {
    if ($sucesso) {
        $texto->preparaDownload($sucesso);
    }
    switch ($download) {
        case "107":
            $texto->downloaPdf("MC107Paragem113.pdf");
            break;
        case "108":
            $texto->downloaPdf("MC108Paragem114.pdf");
            break;
        case "109":
            $texto->downloaPdf("MC109Paragem121.pdf");
            break;
        case "110":
            $texto->downloaPdf("MC110Paragem122.pdf");
            break;
        case "111":