$fechado = 0; switch ($cep->status) { case 'P': $fechado = 1; break; } if ($perfil->valid('#SCR#MAS#COO#ADM') and $fechado == 0) { echo $ged->upload_botton_with_type($protocolo); } echo '</table>'; /* Dictamen */ if ($cep->status == 'D') { require "_class/_class_dictamen.php"; $dict = new dictamen(); $dict->protocol = $cep->protocolo; echo $dict->mostra_pareceres_emitidos(); } echo '<BR>'; if ($perfil->valid('#ADM') or $perfil->valid('#MAS') or $perfil->valid('#SCR')) { /* Comunication with investigator */ $email1 = trim($cep->line['us_email']); $email2 = trim($cep->line['us_email_alt']); $postnew = $comu->post_new_message($email1, $email2); echo '<table width="100%" border=0 class="table_normal" >'; echo '<TR class="hd"><TD>' . msg('messages_with_investigator'); echo '</table>'; /***************************************************************************************/ echo '<div id="mail">'; echo '<fieldset><legend>' . msg('messages_with_investigator') . '</legend>'; echo '<table width="100%" cellpadding=0 cellspacing=8 border=0 class="lt1">'; echo '<TR valign="top"><TD rowspan=6 width=25>';