-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfuncao-f.php
48 lines (45 loc) · 1.62 KB
/
funcao-f.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
<?php
session_start();
if(empty($_SESSION)){
echo "<script language='javascript' type='text/javascript'>alert('Faça o login no sistema.');window.location.href='login.php';</script>";
}
?>
<html lang="pt-BR">
<head>
<title>Cadastrar - Função</title>
<?php
include("tmpl/head.php");
?>
</head>
<body>
<!--includes-->
<?php
include("tmpl/header.php");
include("tmpl/footer.php");
?>
<!--form-->
<div class="container h-100">
<div class="row h-100 justify-content-center align-items-center">
<!--form-->
<form name="dadosFuncao" action="funcao-c.php" method="POST">
<h3>Cadastro - Função</h3>
<table class="table">
<tbody>
<tr>
<td>Código Função:</td>
<td><input type="text" name="idFuncao" value="" disabled="true" /></td>
</tr>
<tr>
<td>Função:</td>
<td><input type="text" name="nomeFuncao" value="" /></td>
</tr>
<tr>
<td><input type="submit" name="acao" value="Enviar" onclick="alert('Cadastro efetuado com sucesso.');"></td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
</body>
</html>