Пример #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>