<div class="col-sm-10">
                                            <input type="text" name="telefone_entidade_religiosa" class="form-control">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 col-sm-2 control-label"> E-Mail </label>
                                        <div class="col-sm-10">
                                            <input type="text" name="email_entidade_religiosa" class="form-control">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-sm-2 col-sm-2 control-label"> Presidente </label>
                                        <div class="col-sm-10">
                                            <select class="form-control" name="presidente_entidade_religiosa">
                                                <?php 
$lista = $fachada->listarCidadao()->fetchAll(PDO::FETCH_OBJ);
foreach ($lista as $linha) {
    ?>
                                                    <option value="<?php 
    echo $linha->id_cidadao;
    ?>
"><?php 
    echo $linha->nome_cidadao;
    ?>
</option>
                                                <?php 
}
?>
                                            </select>
                                        </div>
                                    </div>
Esempio n. 2
0
<?php

include_once "../../../fachada/Fachada.php";
include_once "../../../assets/php/mpdf/mpdf.php";
$mpdf = new mPDF();
$mpdf->allow_charset_conversion = true;
$fachada = new Fachada();
$fachada->verificarLogin();
$lista = $fachada->listarCidadao($_GET['bairro'], $_GET['genero'])->fetchAll(PDO::FETCH_OBJ);
$bairros = $fachada->listarBairro()->fetchAll(PDO::FETCH_OBJ);
if (!empty($_POST['pdf'])) {
    $fachada->pdfListarCidadao($lista);
}
?>

<!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">