<?php include_once "action/listar_cargos.php"; include_once "action/editar_membro.php"; $id = $_GET["edtMembro"]; $dao = new PessoaDAO(); $pessoa = $dao->getPorId($id); ?> <div class="row" id="titleForm"> <div style="font-size: 20px;" class="col-md-12 fontTitleForm" > :: Edição de Membros </div> </div> <form class="form-horizontal" id="formEditarMembro" method="post" enctype="multipart/form-data" role="form"> <div class="row" id="formCadastro"> <div class="col-md-10"> <!-- NOME --> <div class="col-md-6"> <label class="control-label fontLabelForm">Nome </label> <input class="form-control" value="<?php echo $pessoa->getNome(); ?> " type="text" name="nome" id="nome" /> <input class="form-control" value="<?php echo $pessoa->getId();
include_once "../dao/PessoaDAO.php"; include_once "../dao/CargoDAO.php"; include_once "../model/Pessoa.class.php"; include_once "../model/Cargo.class.php"; include_once "../model/Cartao.class.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Carteiras Membros</title> <link rel="stylesheet" type="text/css" href="../css/estilodiv.css"> </head> <body> <?php $registros = explode(',', $_GET["ar"]); $dao = new PessoaDAO(); $html = ""; for ($i = 0; $i < count($registros); $i++) { $pessoa = $dao->getPorId($registros[$i]); $cartao = $pessoa->geraCartao(); } echo $html; ?> </body> </html>