-
Notifications
You must be signed in to change notification settings - Fork 0
/
painel.php
116 lines (94 loc) · 4.26 KB
/
painel.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?php
require_once('conexao.php'); //CONECÃO COM BANCO
require_once('verificar_login.php'); //ARQUIVO DE VERIFICÃO DE SESSÃO
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<!--META TAGS-->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--FIM DE METATGS-->
<link rel="stylesheet" type="text/css" href="css/painelStyle.css"/> <!--CSS-->
<!--LINK JQUERY-->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<title>Painel</title>
</head>
<body>
<header>
<div class="box">
<div class="msg">
<h2>Bem vindo(a)!</h2>
</div><!--box-->
<div class="sair">
<h2><a href='logout.php'>Sair</a></h2><!--chama arquivo php de logout-->
</div><!--sair-->
</div><!--box-->
<div class="clear"></div>
</header><!--header-->
<div class="container">
<div class="content">
<section class="listagem">
<div class="table">
<table >
<thead>
<tr>
<th>Nome</th>
<th>Email</th>
<th>Senha</th>
<th>Endereço</th>
</tr>
</thead><!--thead-->
<tbody></tbody><!--TABELA VINDA DO BANCO DE DADOS SERÁ EXIBIDA AQUI-->
</table><!--tag table-->
</div><!--table-->
<div class="confirm-delete">
<h3>Tem certeza que deseja apagar o usuário ?</h3>
<button id="confirmar">Sim</button>
<button id="cancelar" >Cancelar</button>
</div><!--confirm-delete-->
</section><!--listagem-->
</div><!--contetn-->
<div class="second-content">
<section class="editar">
<div class="edit_fechar">
<button class="fechar" id="btn_fechar"><img src="imagens/fechar.png" /></button>
</div><!--editar-->
<h2 class="title">EDITAR</h2>
<form method="post">
<div class="input nome">
<h3>Nome completo</h3>
<input type="text" name="nome" id="nome_editar" autocomplete="off"/>
</div><!--input nome-->
<br>
<div class="input email">
<h3>Email</h3>
<input type="email" name="email" id="email_editar" autocomplete="off"/>
</div><!--input email-->
<br>
<div class="input endereco">
<h3>Endereço</h3>
<input type="text" name="endereco" id="endereco_editar" autocomplete="off"/>
</div><!--input endereco-->
<br>
<div class="input senha">
<h3>Senha</h3>
<input type="password" name="senha" id="senha_editar" autocomplete="off"/>
</div><!--input senha-->
<div class="mostrar">
<input type="checkbox" onclick="senha_trocar_edit()" />
<p>Mostrar senha</p>
</div><!--mostrar-->
<div class="submit">
<input type="button" name="editar" value="Confirmar edição" id="btn_editar"/>
</div><!--submit-->
</form><!--form de edição de usuários-->
</section><!--editar-->
</div><!--second content-->
</div><!--container-->
<!--SCRIPTS-->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="js/edit_list.js"></script>
</body>
</html>