-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
205 lines (185 loc) · 9.04 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!doctype html>
<html class="no-js" lang="zxx">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>FSA </title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="shortcut icon" type="image/x-icon" href="assets/img/favicon.ico">
<!-- CSS here -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/owl.carousel.min.css">
<link rel="stylesheet" href="assets/css/slicknav.css">
<link rel="stylesheet" href="assets/css/animate.min.css">
<link rel="stylesheet" href="assets/css/magnific-popup.css">
<link rel="stylesheet" href="assets/css/fontawesome-all.min.css">
<link rel="stylesheet" href="assets/css/themify-icons.css">
<link rel="stylesheet" href="assets/css/slick.css">
<link rel="stylesheet" href="assets/css/nice-select.css">
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body class="body-bg">
<!-- Preloader Start -->
<div id="preloader-active">
<div class="preloader d-flex align-items-center justify-content-center">
<div class="preloader-inner position-relative">
<div class="preloader-circle"></div>
<div class="preloader-img pere-text">
<img src="assets/img/logo/logo.png" alt="">
</div>
</div>
</div>
</div>
<!-- Preloader Start -->
<header>
<!-- Header Start -->
<div class="header-area header-sticky">
<div class="header-wrapper d-flex flex-wrap align-items-center justify-content-between">
<!-- Logo -->
<div class="logo">
<a href="?vista=main"><img src="assets/img/logo/logo.png" alt=""></a>
</div>
<!-- Main-menu -->
<div class="main-menu d-none d-lg-block">
<nav>
<ul id="navigation">
<!-- Inicio
Noticas
Tsumes
Asociaciones y clubes
Galeria
Torneos
Elaces de Interés
Nosotros
<li><a href="blog.html">Noticias</a>
<ul class="submenu">
<li><a href="blog.html">Blog</a></li>
.... <li><a href="single-blog.html">Blog Details</a></li>
</ul>
</li>
-->
<li><a href="?vista=main">Inicio</a></li>
<li><a href="?vista=noticias">Noticias</a>
</li>
<li><a href="?vista=Tsumes">Tsumes</a>
</li>
<li><a href="?vista=gellary">Galeria</a></li>
<li><a href="?vista=Torneos">Torneos</a>
</li>
<li><a href="?vista=about">Nosotros</a></li>
<li><a href="#">Enlaces de Interés</a></li>
</ul>
</nav>
</div>
<!-- Header-btn -->
<div class="d-none d-xl-block">
<a href="?vista=contact" class="btn btn2">Contáctanos</a>
</div>
<!-- Mobile Menu -->
<div class="col-12">
<div class="mobile_menu d-block d-lg-none"></div>
</div>
</div>
</div>
<!-- Header End -->
</header>
<main>
<?php
require_once "php/core/router.php";
$router = new Router();
if(isset($_GET["vista"]))
{
$router->returnView($_GET["vista"]);
}else{
$router->returnView("main");
}
?>
</main>
<footer>
<div class="footer-area fix">
<!-- Footer Caption -->
<div class="footer-caption wow fadeInRight" data-wow-delay=".6s">
<div class="footer-tittle">
<h3>Federación Americana<br> de Shogi</h3>
</div>
<div class="footer-menu ">
<div class="single-menu">
<div class="single-menu1">
<div class="single-footer-caption mb-50">
<div class="footer-tittle">
<h4>Contáctanos</h4>
<div class="footer-pera">
<p> (+56) 933-204-806 [email protected] </p>
</div>
</div>
</div>
</div>
<div class="single-menu2">
<div class="single-footer-caption mb-50">
<div class="footer-tittle">
<h4>Enlaces</h4>
<ul>
<li><a href="#">Inicio</a></li>
<li><a href="#"> Torneos</a></li>
<li><a href="#"> F.S.A </a></li>
<li><a href="#">Contáctanos</a></li>
</ul>
</div>
</div>
</div>
<div class="single-menu3">
<div class="single-footer-caption">
<div class="footer-tittle">
<h4>Social</h4>
<!-- Social -->
<div class="footer-social">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fas fa-globe"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="copyright pt-40">
<p><p><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="fa fa-heart" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank">Colorlib</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></p></p>
</div>
</div>
</div>
</footer>
<!-- JS here -->
<!-- All JS Custom Plugins Link Here here -->
<script src="./assets/js/vendor/modernizr-3.5.0.min.js"></script>
<!-- Jquery, Popper, Bootstrap -->
<script src="./assets/js/vendor/jquery-1.12.4.min.js"></script>
<script src="./assets/js/popper.min.js"></script>
<script src="./assets/js/bootstrap.min.js"></script>
<!-- Jquery Mobile Menu -->
<script src="./assets/js/jquery.slicknav.min.js"></script>
<!-- Jquery Slick , Owl-Carousel Plugins -->
<script src="./assets/js/owl.carousel.min.js"></script>
<script src="./assets/js/slick.min.js"></script>
<!-- One Page, Animated-HeadLin -->
<script src="./assets/js/wow.min.js"></script>
<script src="./assets/js/animated.headline.js"></script>
<script src="./assets/js/jquery.magnific-popup.js"></script>
<!-- Scrollup, nice-select, sticky -->
<script src="./assets/js/jquery.scrollUp.min.js"></script>
<script src="./assets/js/jquery.nice-select.min.js"></script>
<script src="./assets/js/jquery.sticky.js"></script>
<!-- contact js -->
<script src="./assets/js/contact.js"></script>
<script src="./assets/js/jquery.form.js"></script>
<script src="./assets/js/jquery.validate.min.js"></script>
<script src="./assets/js/mail-script.js"></script>
<script src="./assets/js/jquery.ajaxchimp.min.js"></script>
<!-- Jquery Plugins, main Jquery -->
<script src="./assets/js/plugins.js"></script>
<script src="./assets/js/main.js"></script>
</body>
</html>