diff --git a/igreja/membro_print.php b/igreja/membro_print.php index 623a5509..75a2b4a1 100755 --- a/igreja/membro_print.php +++ b/igreja/membro_print.php @@ -29,8 +29,11 @@ function __autoload ($classe) { Lista de Membros - Igreja: <?php echo $igreja->razao();?> - + + + + + @@ -54,17 +57,17 @@ function __autoload ($classe) { { ?> - +
- @@ -72,22 +75,21 @@ function __autoload ($classe) { - - - + + - - + + - - + + @@ -106,27 +108,19 @@ function __autoload ($classe) { while($coluna = mysql_fetch_array($sql3)) { - $ls++; if (!empty($_GET['foto'])) { - $foto = ''; + $foto = ' '; }else { $foto = ''; } - - if ($ls>1){ - $cor="class='dados'"; - $ls=0; - } - else - {$cor="class='odd'"; - } - + ?> + + + - > - - - - - > - - > -
- +

+

RolNome
Rol
Nome
Nascido em:Telefones
Nascido em:
Telefones
CongregaçãoCargo
Congregação
Cargo
**** + ?>

+ Endereço: bairro() + .' - '.$cidade->nome().'-'.$cidade->coduf(). + ', Complem.: '.$coluna["complemento"];?> +

Endere�o: bairro() - .' - '.$cidade->nome().'-'.$cidade->coduf(). - ', Complem.: '.$coluna["complemento"];?> + ?>
- "; +echo '

'; if ($total>"1"){ - printf("Com %s registros!",number_format($total, 0, ',', '.')); -}elseif ($total=="1") { - print "Apenas um registro!"; + printf("%s registros!",number_format($total, 0, ',', '.')); +}elseif ($total=='1') { + print 'Apenas um registro!'; }else { - print "Não há registros para esta pesquisa!"; + print 'Não há registros para esta pesquisa!'; } - -if ($_GET["Submit"]=="Imprimir") { +echo '

'; +if ($_GET['Submit']=='Imprimir') { ?> diff --git a/models/cad_usuario.php b/models/cad_usuario.php index e24c90ac..dbf60f87 100755 --- a/models/cad_usuario.php +++ b/models/cad_usuario.php @@ -36,17 +36,12 @@ } } -// echo "string -> ".$perfil.'
'; - $dataUser = "SELECT * FROM usuario LIMIT 1"; $stmtUser = $conn->prepare($dataUser); $stmtUser->execute(); $resultsUser = $stmtUser->fetchAll(PDO::FETCH_ASSOC); -// var_dump($resultsUser[0]); - foreach ($resultsUser[0] as $key => $value) { - // $stmt ->bindParam($optionLimp, .$value); $optionsVlr = strtoupper($key); if (!empty($_POST[$key]) && $key!='id') { @@ -58,9 +53,6 @@ } } -// echo "string perfilUser-> ".$optWhere.'
'; - -// $optWhere .= $perfilUser;; $addUser = "INSERT INTO usuario VALUE ($optWhere)"; $stmtAddUser = $conn->prepare($addUser); @@ -68,10 +60,8 @@ $optionsVlr = ':'.strtoupper($key); if (!empty($_POST[$key]) && $key!='id' && $key!='perfil') { $stmtAddUser -> bindParam($optionsVlr, $_POST[$key]); - // echo "$optionsVlr -> ".$_POST[$key].'
'; }elseif ($key=='perfil') { $stmtAddUser -> bindParam($optionsVlr,$perfil ); - // echo "$optionsVlr -> ".$perfil.'
'; } } @@ -85,7 +75,6 @@

Perfil de acesso:

'12' && $rec<'20') { session_start(); if ($_SESSION["setor"]=="2" || $_SESSION["setor"]>"50" || $_SESSION["setor"]==1){ - require "../help/impressao.php";//Include de funções, classes e conexões com o BD + require "../help/impressao.php";//Include de fun��es, classes e conex�es com o BD if ($idIgreja==0) { $igrejaSelecionada = $igSede; //$igLanc = $igrejaSelecionada; @@ -28,7 +28,7 @@ }else { $origem = $igreja->cidade(); } - require_once '../help/tes/receitaImprimir.php';//Opções de impressões para o script + require_once '../help/tes/receitaImprimir.php';//Op��es de impress�es para o script } }else { $ind=1; @@ -37,7 +37,9 @@ $_SESSION['lancar']=true; $linkLancamento = './?escolha=tesouraria/receita.php&menu=top_tesouraria'; $linkLancamento .= '&igreja='.$_GET['igreja']; + require_once 'views/tesouraria/menu.php';//Sub-Menu de links + $dizmista = new dizresp($_SESSION['valid_user'],'',$rec); if ($idIgreja==0) { $igrejaSelecionada = $igSede; @@ -62,7 +64,7 @@ require_once 'help/tes/receitaTela.php';//Opções de exibição na tela a escolha } } else { - echo ""; + echo ""; $_SESSION = array(); session_destroy(); header("Location: ./"); diff --git a/views/tesouraria/menu.php b/views/tesouraria/menu.php index 39f69b58..e6e373ba 100755 --- a/views/tesouraria/menu.php +++ b/views/tesouraria/menu.php @@ -23,7 +23,7 @@