/
transp.php
53 lines (44 loc) · 1.21 KB
/
transp.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
include("./functions/conexao_sginfra.php");
include("./functions/sessao.php");
include("./functions/defaults.php");
session_start();
// Testa se o usuario está logado
if(!session_isValid()){
header('Location: login.php');
die();
}
// variaveis
$pageTitle = "Solicitação de Transporte - Área Administrativa";
$pageUrl = "transp.php";
$data_hoje = date("d/m/Y");
// Header
$navBackUrl = "index.php";
$navOptions = "";
require_once('./includes/header.php');
require_once('./includes/navbar_transp.php');
?>
<div class="container-fluid">
<div class="row">
<?php
//if(missedReqField()){
//$errorMessage="<strong>Atenção!</strong> Preencha todos os campos obrigatórios";
//require('./includes/alert_error.php');
//}
//if(isset($_POST[$inputLogin])){
//if(db_exists($sqlTabUsuario, 'login', $_POST[$inputLogin])){
//$errorMessage="<strong>Atenção!</strong> Login já cadastrado!";
//require('./includes/alert_error.php');
//}
//}
?>
</div>
</div>
<!-- Footer -->
<?php require_once('./includes/footer.php'); ?>
<script type="text/javascript">
// altera o estilo do selectpicker
$('.selectpicker').selectpicker();
</script>
</body>
</html>