public function deleteBancos() { $filescripts = array("bancos.js"); $pag_title = "TABLERO ADMIN - CIEFT"; $active = 1; $id_evento = $_POST['evento']; $id_evento_banco = $_POST['txtId_banco']; $eventosModel = new eventosModel(); $participantesModel = new participantesModel(); $datosEvento = $eventosModel->getEvento($id_evento); foreach ($datosEvento as $key => $rowEvent) { $nombre_evento = $rowEvent['nombre_evento']; $pais = $rowEvent['descripcion']; $precio = $rowEvent['costo_evento']; $moneda = $rowEvent['CurrencyName'] . " " . $rowEvent['CurrencyISO'] . " " . $rowEvent['Money'] . " " . $rowEvent['Symbol']; $nombre_banco = $rowEvent['nombre_banco']; $numero_deposito = $rowEvent['numero_deposito']; $numero_transferencia = $rowEvent['numero_transferencia']; $nombreDeposito = $rowEvent['nombre_deposito']; } $result = $eventosModel->deleteBanco($id_evento, $id_evento_banco); if ($result) { $msg = "<div class='alert alert-success'><i class='fa fa-thumbs-o-up'> </i>BANCO ELIMINADO.</div>"; } else { $msg = "<div class='alert alert-danger'><i class='fa fa-thumbs-o-up'> </i>ERROR AL ELIMINAR BANCO.</div>"; } $bancosEventos = $eventosModel->getEventoBancos($id_evento); $tiposMonedas = $eventosModel->getEventosMoneda(); $paises = $participantesModel->getPaises(); include 'view/head.php'; include 'view/bancos.php'; include 'view/footer.php'; }