-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
59 lines (52 loc) · 1.4 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
<?php
include_once("controller/Enrutador.php");
include_once("controller/ctrFutbolista.php");
include_once("controller/ctrPosicion.php");
include_once("controller/ctrPais.php");
include_once("controller/ctrClub.php");
?>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>index</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/base.css">
</head>
<body>
<nav class="navbar navbar-inverse ">
<div class="container">
<ul class="nav navbar-nav">
<li><a href="?cargar=inicio">Inicio</a></li>
<li><a href="?cargar=Agregar">Agregar</a></li>
</ul>
</div>
</nav>
<br>
<div class="container">
<?php
$enrutador = new Enrutador();
if ($enrutador->ValidarVista($_GET['cargar']))
{
$enrutador->CargarVista($_GET['cargar']);
}
?>
</div>
<br><br>
<footer class="footer1">
<div class="container">
<div class="row">
<p>Futbolistas Ejemplo CRUD PHP.</p>
</div>
<div class="div-footer row">
</div>
</div>
</footer>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jsbase.js"></script>
</body>
</html>