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>'; echo '<img src="images/icone_email.png" height="50">'; echo '<TD>'; echo '<div id="bhc" style="cursor: pointer;">' . $comu->show_resume() . '</div>'; echo '<div id="the_email_show" style="display:none;">'; /***************************************************************************************/ echo '<table width="100%" bgcolor="#F0F0F0">'; echo '<TR valign="top"><TD>'; echo '<font class="lt2">' . msg('comunication') . '</font>'; echo '<TD><img src="images/icone_close.png" id="bhd" width="25" style="cursor: pointer;">'; echo '<TR><TD>'; echo $comu->display(); echo '</table>'; echo '</div><BR>'; /***************************************************************************************/ echo $postnew; echo '</table>'; echo '</fieldset>'; echo '</div>';