<?php error_reporting(E_ALL); ini_set('display_errors', 1); session_start(); if (!array_key_exists('action', $_REQUEST)) { include './controler/controlador.php'; $controler = new Controlador(); $controler->index(); } else { if ($_REQUEST['action'] == 'eventos') { include './controler/controlador.php'; $controler = new Controlador(); $controler->eventos(); } else { if ($_REQUEST['action'] == 'fotos') { include './controler/controlador.php'; $controler = new Controlador(); $controler->fotos(); } else { if ($_REQUEST['action'] == 'usuarios') { include './controler/controlador.php'; $controler = new Controlador(); $controler->usuarios(); } else { if ($_REQUEST['action'] == 'compras') { include './controler/controlador.php'; $controler = new Controlador(); $controler->compras(); /* }else if($_REQUEST['action'] == 'comentarios'){ include './controler/controlador.php';