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';
 }
    function getBancosEvento2()
    {
        $id_evento = $_POST['id_evento'];
        $eventosModel = new eventosModel();
        $datosEvento = $eventosModel->getEvento($id_evento);
        $bancosEventos = $eventosModel->getEventoBancos($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'];
        }
        ?>
			<table class="table table-hover table-bordered" id="tabla_bancos">
                <caption class="bold text-center">DATOS DEL EVENTO: <?php 
        echo mb_strtoupper($nombre_evento);
        ?>
</caption>
                <thead>
                    <tr>
                        <th>País</th>
						<!-- <th>Precio</th> -->
						<th>Moneda</th>
						<th>Banco</th>
						<th>Número de deposito</th>
						<th>Número de transferencia</th>
						<th>Nombre de deposito</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
						<td><?php 
        echo $pais;
        ?>
</td>
						<!-- <td><?php 
        echo $precio;
        ?>
</td> -->
						<td><?php 
        echo $moneda;
        ?>
</td>
						<td><?php 
        echo $nombre_banco;
        ?>
</td>
						<td><?php 
        echo $numero_deposito;
        ?>
</td>
						<td><?php 
        echo $numero_transferencia;
        ?>
</td>
						<td><?php 
        echo $nombreDeposito;
        ?>
</td>
					</tr>
					<?php 
        if (count($bancosEventos) > 0) {
            foreach ($bancosEventos as $key => $rowBancos) {
                echo "<tr>\n\t\t\t\t\t\t\t\t\t<td>" . $rowBancos['pais'] . "</td>\n\t\t\t\t\t\t\t\t\t<!--<td>" . $rowBancos['precio'] . "</td>-->\n\t\t\t\t\t\t\t\t\t<td>" . $rowBancos['CurrencyName'] . " " . $rowBancos['CurrencyISO'] . " " . $rowBancos['Money'] . " " . $rowBancos['Symbol'] . "</td>\n\t\t\t\t\t\t\t\t\t<td>" . $rowBancos['nombre_banco'] . "</td>\n\t\t\t\t\t\t\t\t\t<td>" . $rowBancos['numero_deposito'] . "</td>\n\t\t\t\t\t\t\t\t\t<td>" . $rowBancos['numero_transferencia'] . "</td>\n\t\t\t\t\t\t\t\t\t<td>" . $rowBancos['nombre_persona_deposito'] . "</td>\n\t\t\t\t\t\t\t\t</tr>";
            }
        }
        ?>
                </tbody>
            </table>
		<?php 
    }