?>
</td>
</tr>
<tr style="background-color:#CCDAB4;">
    <td></td>
    <td><bold>Palavra Chave 3</bold></td>
    <td><bold>Apoiadores</bold></td> 
</tr>
<tr> 
    <td></td>
    <td><?php 
echo OtherFuctions::lmWord($trabalho->palavra1, 40);
?>
</td>
    <td><?php 
echo OtherFuctions::lmWord($trabalho->apoiadores, 40);
?>
</td>
</tr>
<tr style="background-color:#CCDAB4;">  
    <td></td>
    <td><bold>Primeiro Resumo</bold></td>
    <td><bold>Segundo Resumo</bold></td>  
</tr>
<tr>
    <td></td>
    <td><textarea rows="9" cols="38" disabled="disabled" style="text-align: left;"><?php 
echo $trabalho->resumo;
?>
</textarea></td>   
    <td><textarea rows="9" cols="38" disabled="disabled"><?php 
     $objPHPExcel->getActiveSheet()->setCellValue('L1', "Turno Noite");
     $objPHPExcel->getActiveSheet()->setCellValue('M1', "Status do Voluntário");
     $i = 2;
     foreach ($orgVoluntario as $volu) {
         $objPHPExcel->getActiveSheet()->setCellValue('A' . $i, $volu->usuario_id);
         $objPHPExcel->getActiveSheet()->setCellValue('B' . $i, OtherFuctions::lmWord($volu->usuario_nome, 100));
         $objPHPExcel->getActiveSheet()->setCellValue('C' . $i, OtherFuctions::lmWord($volu->usuario_email, 100));
         $objPHPExcel->getActiveSheet()->setCellValue('D' . $i, OtherFuctions::lmWord($volu->voluntario_curso_nome, 100));
         $objPHPExcel->getActiveSheet()->setCellValue('E' . $i, OtherFuctions::lmWord($volu->voluntario_campus_nome, 100));
         $objPHPExcel->getActiveSheet()->setCellValue('F' . $i, OtherFuctions::lmWord($volu->voluntario_instituicao_sigla, 20));
         $objPHPExcel->getActiveSheet()->setCellValue('G' . $i, OtherFuctions::lmWord($volu->voluntario_fone1, 10));
         $objPHPExcel->getActiveSheet()->setCellValue('H' . $i, OtherFuctions::lmWord($volu->voluntario_fone2, 10));
         $objPHPExcel->getActiveSheet()->setCellValue('I' . $i, OtherFuctions::lmWord($volu->voluntario_fone3, 10));
         $objPHPExcel->getActiveSheet()->setCellValue('J' . $i, OtherFuctions::lmWord($volu->voluntario_manha, 1));
         $objPHPExcel->getActiveSheet()->setCellValue('K' . $i, OtherFuctions::lmWord($volu->voluntario_tarde, 1));
         $objPHPExcel->getActiveSheet()->setCellValue('L' . $i, OtherFuctions::lmWord($volu->voluntario_noite, 1));
         $objPHPExcel->getActiveSheet()->setCellValue('M' . $i, $arr_status_usuario[$volu->voluntario_status][0]);
     }
     break;
 case 'autor':
     $autor = new AutorMySqlDAO();
     $autor_list = $autor->queryAllAutor();
     $objPHPExcel->getActiveSheet()->setCellValue('A1', "ID");
     $objPHPExcel->getActiveSheet()->setCellValue('B1', "Nome");
     $objPHPExcel->getActiveSheet()->setCellValue('C1', "Email");
     $objPHPExcel->getActiveSheet()->setCellValue('D1', "Curso");
     $objPHPExcel->getActiveSheet()->setCellValue('E1', "Campus");
     $objPHPExcel->getActiveSheet()->setCellValue('F1', "Sigla Inst");
     $objPHPExcel->getActiveSheet()->setCellValue('G1', "Status do Autor");
     $i = 2;
     foreach ($autor_list as $aut) {
    echo $aut->autor_curso_nome;
    ?>
"><?php 
    echo OtherFuctions::lmWord($aut->autor_curso_nome, 100);
    ?>
                    </td><td title="<?php 
    echo $aut->autor_campus_nome;
    ?>
"><?php 
    echo OtherFuctions::lmWord($aut->autor_campus_nome, 100);
    ?>
                    </td><td title="<?php 
    echo $aut->autor_instituicao_sigla;
    ?>
"><?php 
    echo OtherFuctions::lmWord($aut->autor_instituicao_sigla, 20);
    ?>
                    </td><td title="P=Pendente, R=Recusado, A=Aceito"><?php 
    echo $arr_status_usuario[$aut->autor_status][0];
    ?>
  
                    </td>
                </tr>
            <?php 
}
?>
            </tbody>
        </table>
        <a href="../../../2014/sistema/controller/ControllerDownloadCSV.php?user_type=autor" target="_blank" class="linkBotao">Download</a>
    </dd>
    
            <?php 
    echo OtherFuctions::lmWord($rev->nome_curso, 20);
    ?>
        </td><td title="<?php 
    echo $rev->nome_campus;
    ?>
">
            <?php 
    echo OtherFuctions::lmWord($rev->nome_campus, 20);
    ?>
        </td><td title="<?php 
    echo $rev->sigla;
    ?>
">
            <?php 
    echo OtherFuctions::lmWord($rev->sigla, 10);
    ?>
        </td>
        
        <?php 
    /*
            <td title="Titulo: <?php echo OtherFuctions::lmWord($rev->trabalho_titulo, 20); ?> - Visualize o trabalho e emita seu parecer !!!">
      <a href="#" class="linkBotao" style="padding: 0px;" onclick="getTrabalhos('<?php echo $rev->trabalho_id; ?>', '<?php echo $id; ?>');">T</a>
            </td>
    */
    ?>
    </tr>
    <?php 
}
?>
<script>