if ($hechoGE == "1") { $hechoGE1 = "si"; } else { $hechoGE1 = "no"; } $tabla = "<b>Rol:</b> " . $rolGE . "</br>\n <b>Hecho:</b> " . $hechoGE1 . "</br>"; $tabla .= " <form class='form-horizontal'> <fieldset class='campos-border'> <table class='table table-bordered table-responsive table-highlight'>\n <thead>\n <tr>\n \n <th>Actividad</th>\n <th>Resultado</th>\n <th>Conclusion</th>\n <th>Observacion</th>\n </tr>"; $tabla .= "<tr>\n \n <td class='col-md-2'>\n <div class='form-group'>\n <div class='col-md-12'>\n " . $actividad . "\n </div>\n </div>\n </td>"; $tabla .= "\n <td class='col-md-2'>\n <div class='form-group'>\n <div class='col-md-12'>\n " . $resultado . "\n </div>\n </div>\n </td>\n <td class='col-md-2'>\n <div class='form-group'>\n <div class='col-md-12'>\n " . $conclusion . "\n </div>\n </div>\n </td>\n <td class='col-md-2'>\n <div class='form-group'>\n <div class='col-md-12'>\n " . $obserGE . "\n </div>\n </div>\n </td>\n \n </tr>"; $tabla .= " </thead> \n </table> </fieldset></form></div>"; echo $tabla; } } break; case 'registrar reportes': $rr = Reporte::listaRolesReporte(); $rolesReporte = '<select class="btn-primary" name="roles" multiple="multiple">'; for ($i = 0; $i < count($rr); $i++) { $rolesReporte .= '<option value="' . $rr[$i] . '">' . $rr[$i] . '</option>'; } $rolesReporte .= '</select>'; echo '<div class="container-fluid"> <div id="registroRol"> <legend>Registro del rol y las actividades</legend> <div class="bs-callout bs-callout-info"> <h4>Nota</h4> <p> Elija un rol y escriba las actividades a realizarse... </p> </div> <form class="form-horizontal">