-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.php
46 lines (46 loc) · 1.75 KB
/
menu.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
<html>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="UTF-8"/>
<?php
if(!isset($_SESSION['permissao']))
session_start();
if($_SESSION['permissao'] <= 0 ){
echo "<div class='negada'>Permissão negada!</div>
<div class='negada'>É necessário efetuar login para acessar essa página... </div>
<div class='negada'><a href='index.php'>Logar</a></div>";
exit();
}
?>
<body>
<div id = "master">
<div id = "conteudo">
<form name = "form1" action="cadastro.php" method="POST">
<ul class="ul">
<li><a href="#"><input class="botao" type = "submit" value= "Home" name = "home"></a></li>
<li><a href="#">About</a>
<ul>
<li><a href="#"><input class="botao" type = "submit" value= "App Requirements" name = "appR"></a></li>
<li><a href="#"></a></li>
</ul>
</li>
<li><a href="#">Cadastros</a>
<ul>
<li><a href="#"><input class="botao" type = "submit" value= "Funcionários" name = "mTabela"></a></li>
<li><a href="#"><input class="botao" type = "submit" value= "Clientes" name = "mTabela"></a></li>
<li><a href="#"><input class="botao" type = "submit" value= "Serviços" name = "mTabela"></a></li>
<li><a href="#"></a></li>
</ul>
</li>
<!--<li><a href="#"><input class="botao" type = "submit" value= "Funcionários" name = "mTabela"></a>-->
<li><a href="#"><input class="botao" type = "submit" value= "Register" name = "cadastrar"></a>
<li><a href="#">Empty item</a>
<ul>
<li><a href="#">Empty item</a></li>
<li><a href="#">Empty item</a></li>
<li><a href="#"></a></li>
</ul>
</li>
<li><a href="#"><input class="botao" type = "submit" value= "Exit" name = "sair"></a></li>
</ul>
</body>
</html>