-
Notifications
You must be signed in to change notification settings - Fork 0
/
Painel.php
53 lines (48 loc) · 2.08 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
<?php
$host = "localhost";
$user = "root";
$pass = "";
$banco = "user";
$conexao = mysql_connect($host, $user, $pass) or die (mysql_error());
mysql_select_db($banco) or die (mysql_error());
?>
<?php
session_start();
if(!isset($_SESSION["user"]) || !isset($_SESSION["password"])){
header("Location: login.php");
exit;
}
$NomeUser=$_SESSION["user"];
?>
<!DOCTYPE html PUBLIC ".//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1//DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>PARAE - Redes de Estacionamento</title>
<link rel="shortcut icon" href="css/imagens/parae.ico" type="image/x-icon" />
<link href="css/formulario.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="css/fonte"/>
<div class="logo2"><a title="<?php echo $title;?>"><img src="css/imagens/paraefinal.png" onclick="location.href='paginicial.php'" alt="<?php echo $title;?>" title="<?php echo $title;?>" width="200" height="78"/> </a> </div>
<div id="sair">Olá , <?php echo $NomeUser ?> | <a href="logout.php">Sair</a></div><br>
</head>
<body background="css/imagens/vaga.png.jpg">
<center></center><div class="row-fluid">
<div class="span3"></div>
<div class="span3">
<center><h2><em><strong>ATENDIMENTO:</strong></em></h2>
</div>
<div class="span3">
<center><button class="sb bradius 2 btn-primary" onclick="location.href='PainelE.php?passo='">Entrada Veículo</button>
</div><br>
<div class="span3">
<center><button class="sb bradius 2 btn-primary" onclick="location.href='PainelS.php?passo='">Saída Veículo</button>
</div><br>
<div class="span3">
<center><button class="sb bradius 2 btn-primary" onclick="location.href='FormularioCadastroCliente.php'">Cadastrar Cliente</button>
</div><br>
<div class="span3">
<center><button class="sb bradius 2 btn-primary" onclick="location.href='FormularioBuscaCliente.php'">Consultar Cliente</button>
</div><br>
</div>
</body>
</html>