Skip to content

Commit

Permalink
Ajuste cartao de membro
Browse files Browse the repository at this point in the history
  • Loading branch information
hiltonbruce committed Jan 21, 2021
1 parent 224f116 commit 8430ece
Show file tree
Hide file tree
Showing 24 changed files with 484 additions and 796 deletions.
59 changes: 46 additions & 13 deletions autentica.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,29 +68,62 @@
}
else
{
if (isset($cpf))
{
if (isset($cpf)){
// se o usu�rio tentar efetuar o login e falhar
echo "<script> alert('Usuário desconhecido ou senha incorreta!');</script>";
}
// o usu�rio n�o tentou efetuar o login ainda ou saiu
// fornece um formul�rio para efetuar o login
if (empty($ind)){ $ind = 0;}
?>
<fieldset>
<legend>Entrar</legend>

<p>&nbsp;</p>
<div class="login-box-body">
<p class="login-box-msg">Fa&ccedil;a o login para iniciar a sess&atilde;o!</p>


<p>&nbsp;</p>
<form name="" method="post" action="">
<label>CPF:</label>
<div class="form-group has-feedback">
<input name="cpf" type="text" id="cpf" autofocus="autofocus"
required='required' class="form-control" tabindex="<?php echo ++$ind;?>" placeholder='CPF do Usu&aacute;rio' >
<label>Senha:</label>
required='required' class="form-control" tabindex="<?php echo ++$ind;?>" placeholder='CPF' >
<span class="glyphicon glyphicon-tags form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input name="senha" type="password" id="senha" required='required'
class="form-control" tabindex="<?php echo ++$ind;?>" placeholder='Senha de acesso' >
<br>
<input type="submit" name="Submit" value="logar"
class='btn btn-primary' tabindex="<?php echo ++$ind;?>" />
</form>
</fieldset>
class="form-control" tabindex="<?php echo ++$ind;?>" placeholder='Senha' >
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>

<p>&nbsp;</p>
<div class="row">
<div class="col-xs-8">
<div class="checkbox icheck">
<label>
&nbsp;
</label>
</div>
</div>
<!-- /.col -->
<div class="col-xs-4">
<input type="submit" name="Submit" value="logar" class='btn btn-primary' tabindex="<?php echo ++$ind;?>" />
</div>
<!-- /.col -->
</div>
</form>


<div class="social-auth-links text-center">
<a href="#" class="btn btn-block btn-social btn-facebook btn-flat"><i class="fa fa-facebook"></i> &nbsp;</a>
<!-- <a href="#" class="btn btn-block btn-social btn-google btn-flat"><i class="fa fa-google-plus"></i> &nbsp;</a> -->
</div>
<!-- /.social-auth-links -->

<!-- <a href="#">&nbsp;</a><br> -->


</div>
<?php
}
?>

Binary file added baseeliu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion css/docs.min.css

Large diffs are not rendered by default.

Binary file added img/ADPB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/Centenario2BKP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/Centenario2_bkp.png
Binary file not shown.
Binary file added img/baseeliu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/cartao_auxiliar.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/cartao_membro.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/cartao_presbitero.jpg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/eliu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/eliuLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/logoCarta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/marca_bkp.png
Binary file not shown.
Binary file modified img/menina.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/menino.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
111 changes: 84 additions & 27 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class="list-group-item <?PHP echo item_info ("");?>">
</div>
</ul>
<?PHP
require_once ("autentica.php");
// require_once ("autentica.php");
?>
</div>
<div id="content">
Expand All @@ -176,25 +176,25 @@ class="list-group-item <?PHP echo item_info ("");?>">
//Painel direito
echo $mainpanelIni;
if (!empty($_SESSION["valid_user"])){
if (strstr($escGET,"adm/")){
if (strstr($escGET,"adm/dados_pessoais"))
require_once ("top_dados.php");
else
require_once ("views/secretaria/menuTopDados.php");
}elseif (strstr($escPOST, "adm/")){
if (strstr($escPOST,"adm/dados_pessoais"))
require_once ("top_dados.php");
else
require_once ("views/secretaria/menuTopDados.php");
}elseif ($menuGET!='') {
require_once ($menuGET.'.php');
}elseif (!empty($menuPOST)){
require_once ($menuPOST.'.php');
}elseif (strstr($escGET,"aniv/")){
require_once ("top_aniv.php");
}
$cent = new central();//Chama o script da pagina de acordo com $_get ou $_post ["escolha"]
require ($cent->get());
if (strstr($escGET,"adm/")){
if (strstr($escGET,"adm/dados_pessoais"))
require_once ("top_dados.php");
else
require_once ("views/secretaria/menuTopDados.php");
}elseif (strstr($escPOST, "adm/")){
if (strstr($escPOST,"adm/dados_pessoais"))
require_once ("top_dados.php");
else
require_once ("views/secretaria/menuTopDados.php");
}elseif ($menuGET!='') {
require_once ($menuGET.'.php');
}elseif (!empty($menuPOST)){
require_once ($menuPOST.'.php');
}elseif (strstr($escGET,"aniv/")){
require_once ("top_aniv.php");
}
$cent = new central();//Chama o script da pagina de acordo com $_get ou $_post ["escolha"]
require ($cent->get());
}else {
require_once ('views/login.php');
}
Expand All @@ -207,13 +207,70 @@ class="list-group-item <?PHP echo item_info ("");?>">
</div>
</div>
<div class="info1">
<div style="display:inline; float:left;">&copy; 2016 <a href="http://<?php echo $igSede->site();?>/"><?php
echo $igSede->site();?></a>. Design <span class="text-muted">Joseilton Costa Bruce</span>.</div>
<div style="display:inline; float:right;"><a href="http://jigsaw.w3.org/css-validator/check/referer"></a>
<a href="http://validator.w3.org/check?uri=referer"><img style="border:0;width:88px;height:31px"
src="img/valid-xhtml11-blue.png" alt="Validar XHTML 1.1" /></a><img style="border:0;width:88px;height:31px"
src="img/vcss.gif" alt="Validar CSS!" align="bottom"/> <a href="mailto:[email protected]">
&nbsp;<span class="glyphicon glyphicon-envelope" aria-hidden="true"></span> Joseilton</a>

<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">

<div class="info-box-content">
<span class="info-box-text">&copy; 2016 Joseilton Costa Bruce Design</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<div class="col-md-2 col-sm-6 col-xs-12">
<div class="info-box">

<div class="info-box-content">

<span class="info-box-number">
<span class="info-box-text"><a href="http://<?php echo $igSede->site();?>/"><?php echo $igSede->site();?></a></span>
</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">

<div class="info-box-content">
<span class="info-box-text"><a href="http://jigsaw.w3.org/css-validator/check/referer"></a></span>
<a href="mailto:[email protected]"><span class="info-box-number">
</span> Joseilton - Bayeux - PB - Brasil</a> <span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="info-box">

<div class="info-box-content">
<span class="info-box-text"><img src="img/Eliu.png" alt="" width="88px"> </span>
<span class="info-box-number">Sistema de controle para Igrejas Evang&eacute;licas</span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
</div>



<div style="display:inline; float:left;">

</div>
<div style="display:inline; float:left; width:300px">

</div>
<div style="display:inline; float:right;">

</div>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@
<div class="banner"></div>
<div class="logar">
<div class="btn-group" role="group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<?php echo $_SESSION['nome']; ?>
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li>&nbsp;&nbsp;CPF: <?php echo $_SESSION['valid_user'];?></li>
<li>&nbsp;&nbsp;CPF: <?php echo $_SESSION['valid_user'];?>&nbsp;&nbsp;&nbsp;&nbsp;</li>
<!-- <li>&nbsp;&nbsp;Dept&ordm;: <?php //echo $_SESSION['setor'];?></li> -->
<li>&nbsp;&nbsp;Host: <?php echo $_SESSION['computador'];?></li>
<li>&nbsp;&nbsp;Host: <?php echo $_SESSION['computador'];?>&nbsp;&nbsp;&nbsp;&nbsp;</li>
<li role="separator" class="divider"></li>
<li>&nbsp;&nbsp;
<div class="btn-group text-center" role="group" aria-label="...">
<div class="btn-group t" role="group" aria-label="...">
<a class="btn btn-info" href="logout.php">Sair</a>
<a class="btn btn-info" href="./?escolha=alt_senha.php">Trocar Senha</a>
</div>&nbsp;&nbsp;
</li>
</div>
</li>
</ul>
</div>
<?php
Expand Down
4 changes: 2 additions & 2 deletions relatorio/cartaoImprimiModelo.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@
print "<b>Membro desde:</b> ".conv_valor_br ($rec_ecl->dat_aclam());
print " <br /><b>Data de Nascimento:</b> ".conv_valor_br ($rec_pessoais->datanasc());
print "<br /><b>Nacionalidade:</b> ".$rec_pessoais->nacionalidade();
$cidNatal = ($cidade->nome()=='') ? $rec_pessoais->naturalidade() : $cidade->nome().' - '.$cidade->coduf() ;
print '<br /><b>Natural de:</b> '.$cidNatal;
$cidNatal = ($cidade->nome() == '0') ? $rec_pessoais->naturalidade() . ' - ' . $rec_pessoais->uf_nasc() : $cidade->nome() . ' - ' . $cidade->coduf();
print '<br /><b>Natural de:</b> ' . $cidNatal;
?>
</div>
<div id="verso2">
Expand Down
Loading

0 comments on commit 8430ece

Please sign in to comment.