-
Notifications
You must be signed in to change notification settings - Fork 0
/
Permissao.php
28 lines (27 loc) · 1.06 KB
/
Permissao.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
<?php
session_start();
if(!isset($_SESSION["user"]) || !isset($_SESSION["password"])){
header("Location: Login.php");
exit;
} else {
if ($_SESSION["tuser"]==1) {
header("Location: Painel.php");
}
$NomeUser=$_SESSION["user"];
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<title>ERRO 200</title>
<link rel="shortcut icon" href="css/imagens/parae.ico" type="image/x-icon" />
<center><img src="css/imagens/paraefinal.png" class="img-rounded" width="200" height="205" onclick="location.href='paginicial.php'"></center>
<div align="right"> Olá, <?php echo $NomeUser ?> | <a href="paginicial.php"><i class="icon-home"></i></a> | <a href="logout.php">Sair</a></div>
<body>
<br><br><br>
<center><img src="css/imagens/erro.png" class="img-rounded" width="100" height="105"></center>
<center><h2>Você não tem permissão para efetuar esta ação!</h2></center>
<center><button class="btn btn-default" type="button" onclick="location.href='javascript:window.history.go(-1)'">Voltar</button></center>
</body>
</head>