-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpainel.php
More file actions
34 lines (33 loc) · 1013 Bytes
/
painel.php
File metadata and controls
34 lines (33 loc) · 1013 Bytes
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
<?php session_start();
include_once './autenticacao.php';
//esse comando serve para verificar se o usuario esta ou nao logado evitando invasao
?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h1></h1>
<p>Seja bem vindo(a):<?php echo $_SESSION["nome"]; ?></p>
<h3>Painel do Sistema</h3>
<?php if($_SESSION["perfil"]=="admin"){
include_once 'menuAdm.php';
}elseif($_SESSION["perfil"]=="user"){
include_once 'menuUser.php';
}
?>
</div>
<?php
// put your code here
?>
</body>
</html>