-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
112 lines (105 loc) · 4.23 KB
/
Copy pathindex.php
File metadata and controls
112 lines (105 loc) · 4.23 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?php
require('app/Config.inc.php');
if (isset($_GET["Controller"])) {
include "app/Controller/" . $_GET["Controller"] . "Controller.class.php";
$class = $_GET["Controller"] . "Controller";
eval("\$Controller = new $class();");
if (isset($_GET["Action"])) {
eval("\$Controller->\$_GET['Action']();");
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php include './View/section/header.php'; ?>
</head>
<body class="nav-md">
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="index.php" class="site_title"><i class="fa fa-bank"></i> <span>CashGcop</span></a>
</div>
<div class="clearfix"></div>
<br />
<!-- sidebar menu -->
<?php
include './View/menu/menusolicitante.php';
?>
<!-- /sidebar menu -->
</div>
</div>
<!-- top navigation -->
<?php
include './View/section/navigation.php';
?>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<?php
error_reporting(E_ERROR);
$menu = (isset($_GET['content'])) ? $_GET['content'] : '';
switch ($menu) {
case "home":
include 'View/solicitante/indexSolicitante.php';
;
break;
case "solicitante":
include 'View/solicitante/cadastroSolicitante.php';
;
break;
case "viagem":
include 'View/viagem/solicitacaoViagem.php';
;
break;
case "fundoFixo":
include 'View/fixo/solicitacaoFundoFixo.php';
;
break;
case "outros":
include 'View/outras/solicitacaoOutros.php';
;
break;
case "consultar":
include 'View/content/consultarSolicitacao.php';
;
break;
case "custo":
include 'View/custo/centrodecusto.php';
;
break;
case "relatorio":
include 'View/ireport/relatorio.php';
;
break;
case "prestacaoDeConta":
include 'View/prestacao/formularioPrestacaoConta.php';
;
break;
case "sair":
echo '<script language = "JavaScript">
location.href = "login.php";
</script>';
break;
default:
include './pages/content/indexSolicitante.php';
}
?>
<br />
<!-- footer content -->
<?php include 'View/section/footer.php'; ?>
<!-- /footer content -->
</div>
<!-- /page content -->
</div>
</div>
<div id="custom_notifications" class="custom-notifications dsp_none">
<ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group">
</ul>
<div class="clearfix"></div>
<div id="notif-group" class="tabbed_notifications"></div>
</div>
</body>
</html>