Beispiel #1
0
    echo '<input type="hidden" name="dd0" value="' . $dd[0] . '">';
    echo '<input type="hidden" name="dd1" value="' . $dd[1] . '">';
    echo '<input type="hidden" name="dd2" value="' . $dd[2] . '">';
    echo '<input type="hidden" name="dd5" value="TO_CANCEL">';
    echo '<input type="submit" value="' . msg('confirm_cancel', 1) . '" class="form_submit">';
    echo '</form>';
    echo '<TD>';
    echo '<form method="post">';
    echo '<input type="hidden" name="dd0" value="' . $dd[0] . '">';
    echo '<input type="hidden" name="dd1" value="' . $dd[1] . '">';
    echo '<input type="hidden" name="dd2" value="' . $dd[2] . '">';
    echo '<input type="hidden" name="dd5" value="">';
    echo '<input type="submit" value="' . msg('botton_return', 1) . '" class="form_submit">';
    echo '</form>';
}
if ($acao == 'TO_CANCEL') {
    if ($submit->protocolo_cancel()) {
        echo '<font class="message_ok"><center>';
        echo msg('successfully_operation');
        echo '</center></font>';
        echo ' <META HTTP-EQUIV=Refresh CONTENT="5; URL=main.php">';
    }
}
$comm->protocolo = $submit->doc_protocolo;
echo $comm->display();
echo '</table></div>';
echo $hd->foot();
?>
<script>
	
</script>
Beispiel #2
0
     /***************************************************************************************/
     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>';
     echo '<BR>';
 }
 /* avaliable only status is up "C" */
 if ($perfil->valid('#ADM') or $perfil->valid('#MAS') or $perfil->valid('#SCR') or $perfil->valid('#MEM')) {
     if ($status != '@' and $status != 'A' and $status != 'B' and $status != 'H') {
         /** Avaliations **/
         if ($perfil->valid('#ADM') or $perfil->valid('#MAS') or $perfil->valid('#SCR')) {
             $editar = 1;