Ejemplo n.º 1
0
<?php

error_reporting(-1);
//ini_set('display_errors', 1);
session_start();
if (!array_key_exists('action', $_REQUEST)) {
    include_once './controler/controlador.php';
    $controler = new Controlador();
    $controler->indice();
} else {
    if ($_REQUEST['action'] == 'biografia') {
        include_once './controler/controlador.php';
        $controler = new Controlador();
        $controler->biografia();
    } else {
        if ($_REQUEST['action'] == 'eventos') {
            include_once './controler/controlador.php';
            $controler = new Controlador();
            $controler->eventos();
        } else {
            if ($_REQUEST['action'] == 'detalleEvento') {
                include_once './controler/controlador.php';
                $controler = new Controlador();
                $controler->detalleEventos();
            } else {
                if ($_REQUEST['action'] == 'galeria') {
                    include_once './controler/controlador.php';
                    $controler = new Controlador();
                    $controler->galeria();
                } else {
                    if ($_REQUEST['action'] == 'fotos') {