-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
64 lines (57 loc) · 1.89 KB
/
index.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
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap CSS -->
<link href="libs/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link rel="icon" type="image/png" href="./favicons/favicon-16x16.png">
<title>Pokedex</title>
<style>
body {
background: linear-gradient(to bottom, #6ab7f5, #fff);
min-height: 100vh;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
<div class="container">
<a class="navbar-brand" href="#">Pokedex</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col mt-5">
<?php
include("config.php");
switch (@$_REQUEST["page"]) {
case 'novo':
include("novo-usuario.php");
break;
case 'listar':
include("listar-usuario.php");
break;
case 'salvar':
include("salvar-usuario.php");
break;
case 'editar':
include("editar-usuario.php");
break;
case 'test-login';
include("test-login.php");
break;
default:
include("login.php");
}
?>
</div>
</div>
</div>
<script src="libs/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>