$ts->buscar(); echo '<h4>' . $ts->getDescripcion() . ':</h4>'; $cp->setPunto($punto->getId()); $data = $cp->buscar(); $campo = new Campo('', ''); echo '<p>'; for ($h = 0; $h < count($data); $h++) { $campo->setId($data[$h]['id_campo']); $campo->buscar(); echo ' <b>' . $campo->getDescripcion() . ':</b> ' . $data[$h]['contenido']; } echo '</p>'; } echo '<br /> <div class="span6" style="margin-left: 0px">'; if ($punto->getDetalle() != '') { echo '<h4>Detalles:</h4> <p>' . $punto->getDetalle() . '</p>'; } if ($punto->getDecision() != '') { echo '<h4>Decision:</h4> <p>' . $punto->getDecision() . '</p>'; } $obs = new Observacion($consejero->getId(), $punto->getId(), ''); $obs->buscar(); echo '<div id="observaciones_' . $punto->getId() . '"> '; if ($obs->getDescripcion() != '') { echo '<b>Comentarios:</b> <div class="media well"> <a class="pull-left"><img class="media-object" width="64px" heigth="64px" src="' . $consejero->getImagen() . '"></a> <div class="media-body">