} echo '>' . $i . '</option>'; } ?> </select> </div> </div> <div class="row-fluid"> <div class="col-lg-6 span6"> <label>Condición Visual <span class="label label-warning" data-trigger="hover" data-container="body" data-toggle="popover" data-placement="right" data-content="Diagnostico general del participante."><i class="fa fa-question" ></i></span></label> <select type="text" class="span12" name="tdiagnostico_iddiagnostico" id="cam_tdiagnostico_iddiagnostico" required> <option value="">-</option> <?php require_once '../clases/clase_diagnostico.php'; $lobjDiagnostico = new clsDiagnostico(); $laDiagnosticos = $lobjDiagnostico->consultar_diagnosticos(); for ($i = 0; $i < count($laDiagnosticos); $i++) { echo '<option value="' . $laDiagnosticos[$i][0] . '"'; if ($Datos_Participante['tdiagnostico_iddiagnostico'] == $laDiagnosticos[$i][0]) { echo 'selected'; } echo '>' . $laDiagnosticos[$i][1] . '</option>'; } ?> </select> </div> <div class="col-lg-6 span6 hide"> <label>Institución <span class="label label-warning" data-trigger="hover" data-container="body" data-toggle="popover" data-placement="right" data-content="Institución de la que proviene el participante."><i class="fa fa-question" ></i></span></label> <select type="text" class="span12" name="tinstitucion_idinstitucion" id="cam_tinstitucion_idinstitucion1" > <option value="">-</option> <?php
<option <?php if ($Datos_Docente['tipodoc'] == "AULA") { print 'SELECTED'; } ?> value="AULA">AULA</option> </select> </div> <div class="col-lg-6 span6"> <label>Condición Visual <span class="label label-warning" data-trigger="hover" data-container="body" data-toggle="popover" data-placement="right" data-content="Condición visúal del docente."><i class="fa fa-question" ></i></span></label> <select name="tdiagnostico_iddiagnostico" id="cam_tdiagnostico_iddiagnostico" class="span12" required> <option value="">-</option> <?php include_once '../clases/clase_diagnostico.php'; $ObjDiagnostico = new clsDiagnostico(); $DatosDiagnostico = $ObjDiagnostico->consultar_diagnosticos(); for ($i = 0; $i < count($DatosDiagnostico); $i++) { ?> <option <?php if ($Datos_Docente['tdiagnostico_iddiagnostico'] == $DatosDiagnostico[$i][0]) { print 'SELECTED'; } ?> value="<?php print $DatosDiagnostico[$i][0]; ?> "><?php print $DatosDiagnostico[$i][1]; ?> </option> <?php