$controler = new Controlador(); $controler->compras(); /* }else if($_REQUEST['action'] == 'comentarios'){ include './controler/controlador.php'; $controler = new Controlador(); $controler->comentarios();*/ } else { if ($_REQUEST['action'] == 'borrarcomentarios') { include './controler/controlador.php'; $controler = new Controlador(); $controler->borrarcomentarios(); } else { if ($_REQUEST['action'] == 'logout') { include './controler/controlador.php'; $controler = new Controlador(); $controler->logout(); } else { if ($_REQUEST['action'] == 'agregarevento') { include './controler/controlador.php'; $controler = new Controlador(); $controler->agregarevento(); } else { if ($_REQUEST['action'] == 'loginerror') { include './controler/controlador.php'; $controler = new Controlador(); $controler->Loginerror(); } else { if ($_REQUEST['action'] == 'ingresar') { include './controler/controlador.php'; $controler = new Controlador(); $controler->Ingresar();