public function perfilAction() { //carga la vista de perfil if (!isset($_SESSION['registro_cief']['id_participante'])) { header("Location:./"); } $filescripts = array("upImagenes.min.js", "perfil.js", "funcionesModales.js", "comentarios.js"); $pag_title = "PERFIL USUARIO - CIEFT"; $participante = new participantesModel(); $eventosModel = new eventosModel(); $cLibreria = new cLibreria(); $datos = $participante->getDatosParticipante($_SESSION['registro_cief']['id_participante']); $paises = $participante->getPaises(); $escuelas = $participante->getEscuelas(); $eventos = $participante->getNewEventos(); //Obtengo los nuevos eventos. $relNewEventParticipante = $participante->getNewEventParticipantes($_SESSION['registro_cief']['id_participante']); //Obtengo la relacion que existe entre un participante y los nuevos eventos $eventos_participante = $participante->getEventosParticipantes($_SESSION['registro_cief']['id_participante']); //Obtengo la relacion que existe entre un participante con los eventos anteriores foreach ($datos as $key => $row) { $id_participante = $row['id_participante']; $tipo_afiliacion = $row['id_tipo_afiliacion']; $id_estado = $row['id_estado']; $id_escuela = $row['id_escuela']; $id_pais = $row['id_pais']; $nombre = $row['nombre']; $correo = $row['correo']; $pass = $row['contrasenna']; $estatus = $row['estatus']; $numero_afiliacion = $row['numero_afiliacion']; $telefono = $row['telefono']; $ciudad = $row['ciudad']; $img_perfil = $row['img_perfil']; $facebook = $row['facebook']; } $tipoEstatus = $eventosModel->getEventosTarifasTipos($tipo_afiliacion); //obtengo los tipos de estatus que se encuentren para afiliados. // sleep(1); include 'view/head.php'; include 'view/modalAsistir.php'; include 'view/perfil.php'; include 'view/footer.php'; }