Ejemplo n.º 1
0
}
?>
            </select>
        </div>
        <div class="col-lg-6 span6">
            <label>Curso <span class="label label-warning" data-trigger="hover" data-container="body" data-toggle="popover" data-placement="right" data-content="Curso en el cual se encuentra el participante a evaluar."><i class="fa fa-question" ></i></span></label>
            <select name="idcurso" id="cam_idcurso" class="form-control span12" onchange="consultar_evaluacion(this.value);" <?php 
echo $_GET['idcurso'] == '' ? 'disabled' : '';
?>
>
                <option value=""></option>
                <?php 
require_once "../clases/clase_curso.php";
$lobjCurso = new clsCurso();
$lobjCurso->set_Lapso($_GET['idlapso']);
$lacurso = $lobjCurso->consultar_cursos_lapso_participante($_GET['idparticipante']);
for ($i = 0; $i < count($lacurso); $i++) {
    $selected = $lacurso[$i][0] == $_GET['idcurso'] ? 'selected' : '';
    echo '<option value="' . $lacurso[$i][0] . '" ' . $selected . '>' . $lacurso[$i][1] . '</option>';
}
?>
            </select>
        </div>
    </div>
    <table class="table table-striped table-hover table-bordered bootstrap-datatable datatable dataTable" id="filtro">
            <thead>
                <th>Código</th><th>Fecha</th><th>Curso</th><th>Participante</th><th>Instrumento</th><th>Estatus</th><th>Acción</th>
            </thead>
            <tbody>
            <?php 
require_once '../clases/clase_evaluacion.php';