echo '<option value="' . $laDocentes[$a][0] . '" id="' . $laDocentes[$a][3] . '" >' . $laDocentes[$a][0] . ' - ' . $laDocentes[$a][1] . ' ' . $laDocentes[$a][3] . '</option>'; } ?> </select> </div> </div> <h5>Participantes</h5> <table class="table table-striped table-hover table-bordered bootstrap-datatable datatable dataTable" id="filtro"> <thead> <th>Foto</th><th>Cedula</th><th>Apellidos</th><th>Nombre</th><th>Edad</th><th>Inscribir</th><th>Fecha</th> </thead> <tbody> <?php if ($idcurso) { $lobjCurso->set_Asignatura($Datos_Curso[11]); $laParticipantes = $lobjCurso->consultar_participantes_noinscritos(); for ($i = 0; $i < count($laParticipantes); $i++) { $laParticipantes[$i][6] = $laParticipantes[$i][6] ? $laParticipantes[$i][6] : 'default.png'; echo '<tr>'; echo '<td><img style="width:52px;height:52px;" src="../media/img/participantes/' . $laParticipantes[$i][6] . '"/></td>'; echo '<td style="padding-top:20px">' . $laParticipantes[$i][4] . '</td>'; echo '<td style="padding-top:20px">' . $laParticipantes[$i][2] . ' ' . $laParticipantes[$i][3] . '</td>'; echo '<td style="padding-top:20px">' . $laParticipantes[$i][0] . ' ' . $laParticipantes[$i][1] . '</td>'; echo '<td style="padding-top:20px">' . $laParticipantes[$i][7] . '</td>'; if ($i < $Datos_Curso[3]) { $checked = "checked"; } echo '<td style="padding-top:20px"><input type="checkbox" onclick="activar_motivo(this,' . $i . ')" style=" -ms-transform: scale(2);-moz-transform: scale(2);-webkit-transform: scale(2);-o-transform: scale(2);" name="participante_inscribir[]" value="' . $laParticipantes[$i][5] . '" ' . $checked . '/></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="" /> <span class="add-on"><i class="icon-calendar"></i></span>