function getRelEventosParticipantes($id_evento, $nombre)
{
    $eventos = new eventosModel();
    $relacion = $eventos->getRelEventosParticipantes($id_evento);
    ?>
		<table id="tabla" border="1" cellpadding="10" cellspacing="0">
			<caption>
				PARTICIPANTES INSCRITOS AL EVENTO: <span class="bold"><?php 
    echo strtoupper($nombre);
    ?>
</span>
			</caption>
			<thead>
				<tr>
					<th>NÚMERO AFILIACIÓN</th>
					<th>NOMBRE</th>
					<th>TELÉFONO</th>
					<th>CORREO</th>
					<th>CIUDAD</th>
					<th>ESTADO</th>
					<th>FECHA INSCRIPCIÓN</th>
					<th>PAGO</th>
					<th>MATERIAL</th>
				</tr>
			</thead>
			<tbody>
			<?php 
    foreach ($relacion as $key => $row) {
        echo "<tr>\n\t\t\t\t\t\t<td class='text-left'>" . $row['numero_afiliacion'] . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . $row['nombre'] . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . $row['telefono'] . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . $row['correo'] . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . $row['ciudad'] . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . $row['estado'] . "</td>\n\t\t\t\t\t\t<td class='text-center'>" . $row['fecha_inscripcion'] . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . getEstatusPago($row['estatus_pago']) . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . getEstatusMaterial($row['material']) . "</td>\n\t\t\t\t\t</tr>";
    }
    ?>
			</tbody>
		</table>
		<?php 
}
    /**
     * Regresa los participantes que ya se inscribieron a un evento en especifico
     * @return [type] [description]
     */
    public function getRelEventosParticipantes()
    {
        $eventos = new eventosModel();
        $id_evento = $_POST['id_evento'];
        $nombreEvento = $_POST['nombre'];
        $relacion = $eventos->getRelEventosParticipantes($id_evento);
        ?>
		<table class="table table-striped table-bordered table-hover" id="tabla2">
			<caption class="bold">
				PARTICIPANTES INSCRITOS AL EVENTO: <span class="bold"><?php 
        echo strtoupper($nombreEvento);
        ?>
</span>
				<a href="../admin/imprimirTablaAdmin?id_evento=<?php 
        echo $id_evento;
        ?>
&nombre=<?php 
        echo $nombreEvento;
        ?>
" class="btn blue-madison" target="_blank"><i class="fa fa-print"></i></a>
				</caption>
			<thead>
				<tr>
					<th>NÚMERO AFILIACIÓN</th>
					<th>NOMBRE</th>
					<!-- <th>TELÉFONO</th> -->
					<!-- <th>CORREO</th> -->
					<th>CIUDAD</th>
					<th>ESTADO</th>
					<th>MONTO PAGADO</th>
					<th>FICHAS BANCARIAS</th>
					<th>FECHA INSCRIPCIÓN</th>
					<th>PAGO</th>
					<th>MATERIAL</th>
				</tr>
			</thead>
			<tbody>
			<?php 
        foreach ($relacion as $key => $row) {
            echo "<tr>\n\t\t\t\t\t\t<td class='text-left'>" . $row['numero_afiliacion'] . "</td>\n\t\t\t\t\t\t<td class='text-left' style='cursor:pointer' onclick='getDatosParticipante(" . $row['id_participante'] . ")'>" . $row['nombre'] . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . $row['ciudad'] . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . $row['estado'] . "</td>\n\t\t\t\t\t\t<td class='text-right'>\$" . $row['cantidad_pago'] . "</td>\n\t\t\t\t\t\t<td>";
            if ($row['forma_pago'] != 4) {
                $adjuntos = $eventos->getAdjuntos($row['id_participante'], $id_evento);
                if (count($adjuntos) > 0) {
                    echo "<button class='btn blue-madison' onclick='showAdjuntos({$id_evento}," . $row['id_participante'] . ");'>VER FICHAS BANCARIAS</button>";
                } else {
                    echo "<span class='label label-blue-madison'>NO HAY FICHAS BACARIAS</span>";
                }
            } else {
                echo "<span class='label label-blue-madison'> PAGO POR PAYPAL</span>";
            }
            echo "</td>\n\t\t\t\t\t<td class='text-center'>" . $row['fecha_inscripcion'] . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . $this->getEstatusPago($row['estatus_pago'], $row['id_participantes_eventos']) . "</td>\n\t\t\t\t\t\t<td class='text-left'>" . $this->getEstatusMaterial($row['material'], $row['id_participantes_eventos']) . "</td>\n\t\t\t\t\t</tr>";
        }
        ?>
			</tbody>
		</table>
		<?php 
    }