-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
96 lines (79 loc) · 3.44 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
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
<?php
include_once("Config/funciones.php");
$datos = new Funciones;
if(!isset($p))
$p = "principal"; /* Siempre redigire al modulo principal */
else
$p = $p;
?>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Turismo en Colombia</title>
<meta name="author" content="Harold Pedraza">
<meta name="keywords" content="Colombia, Hoteles, Turismo, Pueblos, Restaurantes">
<meta name="description" content="Plataforma web para incentivar el turismo en mas partes de CVolombia">
<!-- Icono -->
<link rel="shortcut icon" type="image/x-icon" href="Recursos/img/1.png">
<!-- Estilos de fontAwesome -->
<link rel="stylesheet" href="Recursos/fontAwesome/css/all.min.css">
<!-- Fuente de texto de google -->
<link href="https://fonts.googleapis.com/css?family=Kalam:400,700&display=swap" rel="stylesheet">
<!-- Estilos de Bootstrap -->
<link rel="stylesheet" href="Recursos/bootstrap/css/bootstrap.css">
<!-- Animaciones libreria externa -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<!-- Estilos generales de la pagina -->
<link rel="stylesheet" href="Recursos/css/estilos.css">
<!-- Archivo JS -->
<script src="Recursos/js/app.js"></script>
<!-- Libreria de Jquery -->
<script src="Recursos/js/jquery.js"></script>
<!-- Js de bootstrap unicamente para cargar la ventana modal del modulo principal -->
<script type="text/javascript" src="Recursos/bootstrap/js/bootstrap.js"></script>
<!-- Libreira de wow.js para scroll con animacines -->
<script src="Recursos/js/wow.min.js"></script>
<!-- Inicializo el plugin -->
<script>
new WOW().init();
</script>
</head>
<body>
<div class="padre">
<header class="header">
<div class="menu">
<div class="logo">
<a href="index.php">
<div class="animated zoomInUp">
<img src="Recursos/img/1.png" width="70" height="70">
ColombiaTravel
</div>
</a>
</div>
<div class="nav animated zoomInUp">
<a href="?p=principal"><i class="fas fa-home"></i><span class="quitar">Inicio</span></a>
<a href="?p=pueblos"><i class="fas fa-place-of-worship"></i><span class="quitar">Pueblos</span></a>
<a href="?p=contacto"><i class="far fa-envelope"></i><span class="quitar">Contactanos</span></a>
</div>
</div>
<div class="text-principal">
<h1>Conoce mas acerca de los diversos pueblos en Colombia...!</h1>
</div>
</header>
<?php
if(file_exists("Modulos/".$p.".php"))
include "Modulos/".$p.".php"; /* Incluyo el principal */
else
echo "<br><br><i style='color:red;'>NO EXISTE ESTE RECURSO. <a style='text-decoration:none; color: red;' href='./'>Regresar</a></i><br><br>";
?>
<br><br><footer class="footer">
<nav class="pie">
<a href="http://www.uniminuto.edu/" target="_blank">Uniminuto <?=date("F j, Y");?> </a>
</nav>
</footer>
</div><br><br>
</body>
</html>