Ejemplo n.º 1
0
                     </p>
                     <p style="display:inline" class="col-sm-3">
                         <b>Nome de usuário:</b>
                         <?php 
 echo htmlspecialchars($aluno->getLogin());
 ?>
                     </p>
                     <p style="display:inline" class="col-sm-3">
                         <b>Número de inscrição:</b>
                         <?php 
 echo htmlspecialchars($aluno->getNumeroInscricao());
 ?>
                     </p>
                     <?php 
 $status = "";
 if ($aluno->getStatus() === "inscrito") {
     $status = "Inscrito";
 } else {
     if ($aluno->getStatus() === "preinscrito") {
         $status = "Pré-inscrito";
     } else {
         if ($aluno->getStatus() === "desistente") {
             $status = "Desistente";
         } else {
             if ($aluno->getStatus() === "formado") {
                 $status = "Formado";
             } else {
                 if ($aluno->getStatus() === "inativo") {
                     $status = "Inativo";
                 }
             }
                 <div class="row">
                     <p style="display:inline" class="col-sm-3">
                         <b>Aluno:</b>
                         <?php 
 echo htmlspecialchars($aluno->getNome());
 ?>
                     </p>
                     <p style="display:inline" class="col-sm-3">
                         <b>Número de inscrição:</b>
                         <?php 
 echo htmlspecialchars($aluno->getNumeroInscricao());
 ?>
                     </p>
                     <?php 
 $status = "";
 if ($aluno->getStatus() === "inscrito") {
     $status = "Inscrito";
 } else {
     if ($aluno->getStatus() === "preinscrito") {
         $status = "Pré-inscrito";
     } else {
         if ($aluno->getStatus() === "desistente") {
             $status = "Desistente";
         } else {
             if ($aluno->getStatus() === "formado") {
                 $status = "Formado";
             } else {
                 if ($aluno->getStatus() === "inativo") {
                     $status = "Inativo";
                 }
             }