-
Notifications
You must be signed in to change notification settings - Fork 0
/
core.php
29 lines (27 loc) · 896 Bytes
/
core.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
<link rel="shortcut icon" href="model/img/logo/Logo-Diclase.ico">
<?php
//llamados css.
include 'model/route/css/route-css.php';
//llamados js.
include 'model/route/js/route-js.php';
//si no existe una sesion iniciada, me direcciona aqui, inicio.
$mantenimiento = false;
if ($mantenimiento == true) {
echo "<h1>pagina en mantenimiento</h1>";
}
elseif (!isset($_GET['sesion']) && ($mantenimiento == false)){
include('view/index.php');
}
elseif(isset($_GET['sesion']) && $_GET['sesion']=="universidad"){
include('view/1universidades/index.php');
}
elseif(isset($_GET['sesion']) && $_GET['sesion']=="educacion"){
include('view/2liceos/index.php');
}
elseif(isset($_GET['sesion']) && $_GET['sesion']=="cursos"){
include('view/3cursos/index.php');
}
elseif(isset($_GET['sesion']) && $_GET['sesion']=="/"){
include('(core.php)');
}
?>