Skip to content

Commit

Permalink
At 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Natan-b201 committed Jan 11, 2020
1 parent 733403e commit 4123c81
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 36 deletions.
24 changes: 13 additions & 11 deletions Classes/Alunos_nome.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,24 @@ function pesquisa_nome($nome){
$stmt->execute(array('id','Cod_cur','Num_mat','Nome_civil','Nome_cur','Nome_social'));
$resultado = $stmt->fetchAll(PDO::FETCH_ASSOC);
if(isset($resultado[0]['id'])){
foreach($resultado as $item){
$this->tb .= "<tr>
<td style='display:none;'>".$item['id']."</td>
<td style='font-size:17px;'>".$item['Cod_cur']."-->".$item['Nome_cur']."</td>
<td style='font-size:17px;'>".$item['Num_mat']."</td>
<td style='font-size:17px;'>".$item['Nome_civil']."</td>
<td style='font-size:15px;'>".$item['Nome_social']."</td>
</tr>";
if(empty($resultado[1]['id'])){
header("Location:pg_res_pes_mat.php?alid=".$resultado[0]['id']."");
}else{
foreach($resultado as $item){
$this->tb .= "<tr>
<td style='display:none;'>".$item['id']."</td>
<td style='font-size:17px;'>".$item['Cod_cur']."-->".$item['Nome_cur']."</td>
<td style='font-size:17px;'>".$item['Num_mat']."</td>
<td style='font-size:17px;'>".$item['Nome_civil']."</td>
<td style='font-size:15px;'>".$item['Nome_social']."</td>
</tr>";
}
}
}else{
}else{
$_SESSION['ifon']="<script>alert('A pesquisa não retornou resultados')</script>";
header("Location:tela_inicial.php");
die;
}


}
function pesquisa_matricula($matricula){
$this->matricula = $matricula;
Expand Down
2 changes: 1 addition & 1 deletion conf.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/home/natat-pc/Área de Trabalho
/home/arquivo/Área de Trabalho
23 changes: 4 additions & 19 deletions css/es.css
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ width:100%;
#check_btn1:checked ~ #btn_pesquisa_mat{
display: block;
border-top: none;
animation: throw 0.7s linear;
animation: throw 0.4s linear;
}
/* segundo btn - o de nome*/
#btn_pesquisa_mat2{
Expand Down Expand Up @@ -1488,34 +1488,19 @@ width:100%;
#check_btn2:checked ~ #btn_pesquisa_mat2{
display: block;
border-top: none;
animation: throw 0.7s linear;
animation: throw 0.4s linear;
}
@keyframes throw {
0%,20% {
0%,50% {
opacity: 0.0;
background-color: #f88701;
height:0px;
}
21%,40% {
opacity: 0.0;
background-color: #f88701;
height:10px;
}
41%,50% {
opacity: 0.0;
background-color: #f88701;
height:20px;
}
51%,63% {
opacity: 0.4;
opacity: 0.4;
background-color: #f88701;
height:30px;
}
64%
{
opacity: 0.6;
background-color: lime;height:40px;
}
100%
{
opacity: 0.8;
Expand Down
10 changes: 5 additions & 5 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<meta charset="utf=8">
<title>Tela inicial</title>
<link rel="stylesheet" type="text/css" href="css/es.css">
<link type='image/x-icon' rel='shortcut icon' href='icones/ufamicon.ico'>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" charset="utf-8"></script>
<?php
if(isset($_SESSION['ifon'])){
Expand Down Expand Up @@ -40,7 +41,7 @@

<input class="logbtn" name="btnlo" type="submit" value="Entrar"></input>


<br/><a href='recupera_senha.php'>Esqueceu a senha ?</a>
</form>
<script type="text/javascript">
$(".txtb input").on("focus",function(){
Expand All @@ -51,10 +52,9 @@
if($(this).val() == "")
$(this).removeClass("focus");
});

</script>
</script>
</body>
<footer>
&copy;2019 N.B.O
</footer>
<label >&copy;2019 N.B.O <br>Suporte: [email protected]<label>
</footer>
</html>

0 comments on commit 4123c81

Please sign in to comment.