Esempio n. 1
0
<?php

include_once "../../../fachada/Fachada.php";
$fachada = new Fachada();
$fachada->verificarLogin();
$lista = $fachada->listarLideranca($_GET['bairro'], $_GET['genero'])->fetchAll(PDO::FETCH_OBJ);
$bairros = $fachada->listarBairro()->fetchAll(PDO::FETCH_OBJ);
if (!empty($_POST['pdf'])) {
    $fachada->pdfListarLideranca($lista);
} else {
    if (!empty($_POST['pdf_cidadao'])) {
        $fachada->pdfListarLiderancaCidadao($_POST['pdf_cidadao']);
    }
}
?>
<!DOCTYPE html>
<html lang="pt-br">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="Dashboard">
        <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">

        <title>SPS - Secretária de Participação Social</title>

        <!-- Bootstrap core CSS -->
        <link href="../../../assets/css/bootstrap.css" rel="stylesheet">
        <!--external css-->
        <link href="../../../assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
        <link rel="stylesheet" type="text/css" href="../../../assets/css/zabuto_calendar.css">