<h3>CURSOS INSCRITOS</h3>
    <form action="../controlador/control_inscripcion.php" method="POST" name="form_inscripcion">
        <input type="hidden" value="desincorporar_participante" name="operacion" />
        <input type="hidden" value="<?php 
echo $_GET['id'];
?>
" name="idparticipante" />
        <table class="table table-striped table-hover table-bordered bootstrap-datatable datatable dataTable" id="filtro">
            <thead>
                <th>Código</th><th>Nombre</th><th>Capacidad</th><th>Grupo</th><th>Asignatura</th><th>Desincorporar</th><th>Fecha</th><th>Motivo</th>
            </thead>
            <tbody>
            <?php 
require_once '../clases/clase_curso.php';
$lobjCurso = new clsCurso();
$laCursos = $lobjCurso->cursos_inscritos($_GET['id']);
for ($i = 0; $i < count($laCursos); $i++) {
    echo '<tr>';
    echo '<td>' . $laCursos[$i][0] . '</td>';
    echo '<td>' . $laCursos[$i][1] . '</td>';
    echo '<td>' . $laCursos[$i][3] . '</td>';
    echo '<td>' . $laCursos[$i][8] . '</td>';
    echo '<td>' . $laCursos[$i][11] . '</td>';
    echo '<td><input type="checkbox" style=" -ms-transform: scale(2);-moz-transform: scale(2);-webkit-transform: scale(2);-o-transform: scale(2);" onclick="activar_motivo(this,' . $i . ')" name="idcurso[]" value="' . $laCursos[$i][0] . '" /></td>';
    echo '<td><div class="input-append date datepicker"   data-date="' . date('d-m-Y') . '"  data-date-format="dd-mm-yyyy">
                            <input type="text" class="span2" value="' . date('d-m-Y') . '"  name="fecha[]"  id="cam_fecha' . $i . '" value="" disabled/>
                          <span class="add-on"><i class="icon-calendar"></i></span>
                        </div></td>';
    echo '<td><textarea name="motivo[]" id="cam_motivo' . $i . '" disabled></textarea></td>';
    echo '</tr>';
}